• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 13
  •   
Script to Download, Install and Update Git-hosted Aeon Showmix/Auriga/Hitched
#1
Script to Download, Install and Update Git-hosted Aeon Skin/Mod(s)

This script is targeted at "Ordinary Users" who just want to get a copy of these skins (and keep it up to date) and who do not make any personal mods or develop code on top of the skins.

Quick Info
* Downloads, Installs and Updates Aeon Showmix, Aeon Auriga, Aeon Hitched and Aeon Phil65 skins for XBMC
* Already includes everything you need - fonts, git, etc
* Works on Windows, Linux and Mac OS X
* Even updates XBMC to latest SVN (Windows only)

Quick Start Instructions - How to use:
1. Copy all files in this package (or if this is a self extracting package, unextract it) to a new folder (eg. "C:\Program Files\ASMUpdate" or "~/asmupdate")
2. For MacOS X Users, install the latest Git from http://code.google.com/p/git-osx-installer/
3. Edit the file "ASMConfig.bat" (Windows) or "asmconfig.sh" (Linux or MacOS X) in the folder and set the options correctly:
* Step 1: Configure Path to XBMC Skins Folder
* Step 2: Choose the Skin You Want
* Step 3: (If Needed) Configure Path to Git
4. Double-click on "ASMUpdate.bat" (Windows) or type "./asmupdate.sh" from your shell/terminal prompt (Linux or Mac OS X)

Instructions for Upgrading and/or XBMCUpdate Integration:
Please see the README.TXT file

Latest Version: 20091006

Windows Download
Linux / Mac OS X Download

Most Recent Changes:
* Added Aeon Phil65 (thanks Mouton!)
* Added Error Messages to error conditions - users know where it went wrong
* Use "asmconfig" file to set configuration options - easier setup for new users
* Changed Windows script to use functions - easy to add new skins or other mods in the future
* Standardised operation between Win/Lin/Mac versions of scripts - common script logic
* Updated Windows package to include xbcmupdate 0.7.9
* Should now work more seamlessly across Mac OS X 10.5 and 10.6
* Removed "asmusb", "ASMUpdateExclude.txt"

Anyway, I hope users will give it a whirl and help to see if there are any bugs or problems.

Thanks in advance! Cheers!

Code:
Script to Download, Install and Update Git-hosted Aeon Skin/Mod(s)
-----------------------------------------------------------------
Script Version: 20091006, Patrick Khoo
Tested with:
* Git Portable 1.6.4-20090729, XBMCUpdate 0.7.9, Windows XP SP3
* Git 1.6.4 (requires libz, libcrypto, libpthread), Ubuntu 8.04.3
-----------------------------------------------------------------

---- Quick Info ----
* Downloads, Installs and Updates Aeon Showmix, Aeon Auriga,
  Aeon Hitched and Aeon Phil65 skins for XBMC
* Already includes everything you need - fonts, git, etc
* Works on Windows, Linux and Mac OS X
* Even updates XBMC to latest SVN (Windows only)

---- Normal Users - Quick Start Instructions ----
How to use:
1. Copy all files in this package (or if this is a self extracting
   package, unextract it) to a new folder
   (eg. "C:\Program Files\ASMUpdate" or "~/asmupdate")
2. For MacOS X Users, install the latest Git from
   http://code.google.com/p/git-osx-installer/
3. Edit the file "ASMConfig.bat" (Windows) or "asmconfig.sh" (Linux
   or MacOS X) in the folder and set the options correctly:
   Step 1: Configure Path to XBMC Skins Folder
   Step 2: Choose the Skin You Want
   Step 3: (If Needed) Configure Path to Git
4. Double-click on "ASMUpdate.bat" (Windows) or type "./asmupdate.sh"
   from your shell/terminal prompt (Linux or Mac OS X)

This will install the Aeon Skin/Mod(s) to your XBMC skins folder.

In the future, to update your Aeon Skin/Mod(s), just run "asmupdate"
according to No (4) again.

To see the last 10 changes you've just downloaded, run "asmver",
Press "space" for next page, "q" to exit.

---- Upgrading Instructions ----
1. Just delete all files and folders in your ASMUpdate folder _EXCEPT_
   ASMGIT, AAGIT, AHMGIT or APMGIT
2. Extract all the files from this new version into your existing
   ASMUpdate folder
3. Re-configure "asmconfig" accordingly

---- Running XBMCUpdate for Windows ----
1. Make sure you run XBMCUpdate from the "xbmcupdate" folder and
   update your XBMC installation successfully at least _ONCE_
   before. After that, every time you run "ASMUpdate.bat",
   XBMCUpdate will automatically fire to update XBMC at the same
   time.

---- Notes for Normal and Advanced Users ---
a) If you wish to, you can set a schedule for the script via
   Windows scheduler/crontab. If you use a shortcut link, make
   sure that the working directory is set to the current folder
   and not your home or XBMC directories.
b) If you have add-on ASM mods or do _NOT_ wish to automatically
   update your Aeon Skin/Mod(s), just comment out the path
   to XBMC in "asmconfig".
c) You can also comment out the XBMC path if you want to keep a
   local Git copy of the skin(s) on your HDD outside of XBMC.
d) If you have difficulties using the bundled git programs,
   please install a version for your platform and configure
   GITPATH in "asmconfig" as appropriate
e) If you want to get a fresh clone, just delete the ASMGIT,
   AAGIT, AHMGIT and/or APMGIT folders and run "asmupdate" again
f) Reminder for Windows Vista and Windows 7 users:
   If you have XBMC installed in C:\Program Files\ or any other
   system folder, this script and "ASMUpdate.bat" needs to be
   started with Aministrator priviledges. Try running this from
   an Administrator Console Prompt.

---- Notes for Technical Users ---
The thing about git is that unlike svn, it is a "distributed
version control system". Meaning that when you clone, you are
getting the _WHOLE_ repository and not just doing a checkout.
On top of that, the way git was designed, you (by default) are
supposed to be working on your own branch of the tree.

What we need to do therefore, is download or update a copy of
the respository locally, then force a checkout from our local
copy. This is close(r) in operation to SVN.

So, instead of git pull, which does fetch and merge (which can
result in merge conflicts) to our local branch, we use fetch
and checkout to force git to ignore any changes made locally.

Of course, the downside is that no merging will be performed,
and any changes you do make manually to the skin(s) _WILL_ be
overwritten. But I think for a target audience of "Just Plain
Ordinary Users" who just want to use the skin(s) and keep it up
to date, this is the right mode of operation.

---- Version History ----
20091006
* Added Aeon Phil65 (thanks Mouton!)
* Added Error Messages to error conditions - users know where it
  went wrong
* Use "asmconfig" file to set configuration options - easier setup
  for new users
* Changed Windows script to use functions - easy to add new skins
  or other mods in the future
* Standardised operation between Win/Lin/Mac versions of scripts
  - common script logic
* Updated Windows package to include xbcmupdate 0.7.9
* Should now work more seamlessly across Mac OS X 10.5 and 10.6
* Removed "asmusb", "ASMUpdateExclude.txt"

20090901
* Added XBMCUpdate support for Windows users
* Made Changes to better support MacOS X 10.5 and 10.6 users
* Fixed path bugs on Linux version

20090818
* Fixed problems related to incorrect paths after v20090814

20090814
* Modified XBMCFOLDER variable to allow for skin folders in other
  folder locations (eg. User Roaming Profile folders in Windows)

20090813
* Added Linux Ubuntu 8.04 version
* Stripped down Git on Windows and Ubuntu
* Added support for Aeon Auriga and Aeon Hitched

20090810
* Initial Release, Windows XP, Git Portable 1.6.4, Aeon Showmix

---- Credits ----
Credits to Git/MSysGit project and GitHub, without whom, this
package would not have been possible.

Credits of course to AndyBlac, djh, Hitcher, Phil and all XBMC
developers for coming up with some excellent software and the
reason for this script in the first place :)

Greetz to thread 52755 :)
Reply
#2
Thanks, stickied.
Reply
#3
Hitcher Wrote:Thanks, stickied.

Thanks, I do hope it is useful especially to plain ordinary users.. Please do give feedback if there is a problem, and I hope someone on a Mac can test this out as well..
Reply
#4
i have a mac and am willing to test it out, but i don't know what you mean by point it to git binaries. of course i am still half asleep. if anyone could help me out, i will give it a go
Reply
#5
jeebus112 Wrote:i have a mac and am willing to test it out, but i don't know what you mean by point it to git binaries. of course i am still half asleep. if anyone could help me out, i will give it a go

Hi Jeebus, well, first, install Git for MacOS
http://code.google.com/p/git-osx-installer/

Then, get the Linux version of this script, and un-tar-gz it somewhere.. /usr/local/asmupdate or something.. I don't know what works best for Macs..

Edit the asmupdate.sh, and on the line where it says "GITPATH=`pwd`/git-linux", change it to "GITPATH=...Huh..." where the git binaries are installed.. (/usr/local/git/ ?)

i wish I could give more specific instructions, but I don't know enough about running git on a mac, sorry.. Blush
Reply
#6
well, the directory is /usr/local/git
apparently it is in the rootand i couldn't find it until i broke down and broke out terminal. I have it all set, but when i go to run it xbmc doesn't see it as an executable script, i just get a list of files. I will look again to see if i did something wrong
Reply
#7
i don't think you supposed to run it from within xbmc or am i wrong?
Reply
#8
Oh for crying out loud, i guess it helps when you read the readme file...geeez..

yup, works (or at least i have it downloading right now)

thanks!
Reply
#9
For people running Vista or Win 7, I think you need to point the script to:

C:\Users\USERNAME\AppData\Roaming\XBMC\skin

I tried with Program Files but I kept getting a Access Denied, even with UAC and running the script as Admin
Image
Reply
#10
Smile 
one more thing, i had to change the directory for skin folder to /user name/library/application support/skin
Reply
#11
i would install programs that being updated alot with other software outside the program files folder if using vista\win7. its easyer to deal with then.
Reply
#12
Thanks for this. Really, an heartfelt thank you. I am on vacation right now and can't test it. But the idea is great and it helps in making me want to give Aeon a shot (before I was kind of terrorized my all the different versions and mods).
Reply
#13
for Windows 7 64 bit I had to set a line to
set XBMCFOLDER="C:\Program Files (x86)\XBMC\skin"
that's if you install xbmc in portable mode..
Reply
#14
Thank's for this a great piece of software, a lot easier to use than the official github software.
XBMC Frodo 12 - Windows 7 - Asrock Ion 330HT - Aeon Nox
Reply
#15
logictester Wrote:i don't think you supposed to run it from within xbmc or am i wrong?

Correct, at the moment, this is meant to be run from a cmdline or terminal or scheduler/crontab.

That said, I'm sure someone can add an option to a skin/etc to trigger this script as an external application.. Although, one problem is if you are using the skin that it is updating.. sort of like XBMC trying to run XBMC update..
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 13
  •   
 
Thread Rating:
  • 1 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
Script to Download, Install and Update Git-hosted Aeon Showmix/Auriga/Hitched51
This forum uses Lukasz Tkacz MyBB addons.