xboxscene.org forums

Author Topic: Xbox360 Games Easy Updater v1.1 for Linux  (Read 117 times)

shyzza313

  • Archived User
  • Newbie
  • *
  • Posts: 31
Xbox360 Games Easy Updater v1.1 for Linux
« on: January 10, 2012, 09:41:00 PM »

Sounds good thanks. smile.gif
Logged

pabloalcantara

  • Archived User
  • Newbie
  • *
  • Posts: 6
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #1 on: January 11, 2012, 02:59:00 AM »

Great tool.....  biggrin.gif

But it´s possible to create a command line version only? And better yet, liberate the source code, because many of users, like me, have an NAS that runs on ARM processor, and we need to manually compile to run on these boxes.

anyway, Thanks for your software.
Logged

AceVanquish

  • Archived User
  • Newbie
  • *
  • Posts: 9
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #2 on: January 11, 2012, 06:45:00 AM »

Title Updates or...? unsure.gif
ISO patches  uhh.gif
Which "update"
Logged

tqila

  • Archived User
  • Newbie
  • *
  • Posts: 1
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #3 on: January 11, 2012, 01:37:00 PM »

seems great!

but.. i would like a program that runs on the xbox360 and does the same thing (checking the games on the xbox360 harddrive instead), because saving all the isos "installed" on the xbox360 just to get the newest game updates seems a bit unnecessary as they take up space smile.gif

anyone know if such a program exists?
Logged

Aldanga

  • Archived User
  • Hero Member
  • *
  • Posts: 1747
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #4 on: January 11, 2012, 03:03:00 PM »

QUOTE(AceVanquish @ Jan 11 2012, 06:45 AM) View Post

Title Updates or...? unsure.gif
ISO patches  uhh.gif
Which "update"

Title update.


QUOTE(tqila @ Jan 11 2012, 01:37 PM) View Post

seems great!

but.. i would like a program that runs on the xbox360 and does the same thing (checking the games on the xbox360 harddrive instead), because saving all the isos "installed" on the xbox360 just to get the newest game updates seems a bit unnecessary as they take up space smile.gif

anyone know if such a program exists?

FreeStyle Dash has a title update manager.
Logged

polarz

  • Archived User
  • Jr. Member
  • *
  • Posts: 79
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #5 on: January 11, 2012, 10:07:00 PM »

Once downloaded do these updates need a jtag box to be installed or will they be recognized and installed from a usb stick using any xbox?
Logged

4NZ33

  • Archived User
  • Newbie
  • *
  • Posts: 14
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #6 on: January 12, 2012, 02:49:00 AM »

Xbox360 Games Easy Updater v2.0 is now available and has a GUI now.  Works fine for me. smile.gif
Logged

molukki

  • Archived User
  • Newbie
  • *
  • Posts: 2
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #7 on: January 12, 2012, 08:51:00 AM »

QUOTE(pabloalcantara @ Jan 11 2012, 11:59 AM) View Post
But it´s possible to create a command line version only?

Creating such thing is not really rocket science.

It took me maybe 10 minutes to create a bash script that automatically downloads the latest title update from xbuc.net for a given iso.
Download it from http://pastebin.com/1Em0xkrv and save as titleupdate.sh, give it exectue permissions (chmod 755 titleupdate.sh) and maybe move to /usr/local/bin.

Feel free to modify it to your needs. You need abgx360, curl and wget in your path.

Unlike Red Squirrel's updater, this one scrapes the title updates directly from xbuc.net.
Red Squirrel's tool seems to use his own site as a proxy by requesting the updates via "http://www.redsquirrel87.com/TU.php?ID=[mediaid]&pass=RedSquirrelTHEbestSquirrelintheWorld!" instead of xbuc.net.

CODE

% titleupdate.sh /scratch/xbox360/Dead_Island/DeadIsland.iso
 === Searching for Media ID 2BCF9BDE
 === 2BCF9BDE  Dead Island TU  Region Free  12. Nov 11 14:39  2.68 MB  CDN | Direct | (3114)

=== Downloading Dead Island TU from http://xbuc.net.nyud.net/uploads/1213/TU_15KQ1UV_0000008000000.00000000000G2

--2012-01-12 16:36:33--  http://xbuc.net.nyud.net/uploads/1213/TU_15KQ1UV_0000008000000.00000000000G2
Resolving xbuc.net.nyud.net (xbuc.net.nyud.net)... 129.107.35.131, 150.65.32.66, 204.85.191.10
Connecting to xbuc.net.nyud.net (xbuc.net.nyud.net)|129.107.35.131|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.xbuc.net.nyud.net/uploads/1213/TU_15KQ1UV_0000008000000.00000000000G2 [following]
--2012-01-12 16:36:38--  http://www.xbuc.net.nyud.net/uploads/1213/TU_15KQ1UV_0000008000000.00000000000G2
Resolving www.xbuc.net.nyud.net (www.xbuc.net.nyud.net)... 204.85.191.10, 129.107.35.131, 150.65.32.66
Connecting to www.xbuc.net.nyud.net (www.xbuc.net.nyud.net)|204.85.191.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2809856 (2.7M) [application/octet-stream]
Saving to: `TU_15KQ1UV_0000008000000.00000000000G2'

100%[==========================================================================>] 2,809,856    777K/s   in 3.5s

2012-01-12 16:36:43 (777 KB/s) - `TU_15KQ1UV_0000008000000.00000000000G2' saved [2809856/2809856]

% ls -l
total 0
drwxrwxr-x 2 molukki wheel 51 Jan 12 16:36 Dead Island TU
% ls -l Dead\ Island\ TU
total 2744
-rw-rw-r-- 1 molukki wheel 2809856 Nov 12 22:39 TU_15KQ1UV_0000008000000.00000000000G2

Logged

Hondabots

  • Archived User
  • Newbie
  • *
  • Posts: 8
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #8 on: January 12, 2012, 08:56:00 AM »

I would like to know the same.


QUOTE(polarz @ Jan 12 2012, 06:07 AM) View Post

Once downloaded do these updates need a jtag box to be installed or will they be recognized and installed from a usb stick using any xbox?

Logged

pabloalcantara

  • Archived User
  • Newbie
  • *
  • Posts: 6
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #9 on: January 12, 2012, 09:25:00 AM »

QUOTE(molukki @ Jan 12 2012, 12:51 PM) View Post

Creating such thing is not really rocket science.

It took me maybe 10 minutes to create a bash script that automatically downloads the latest title update from xbuc.net for a given iso.
Download it from http://pastebin.com/1Em0xkrv and save as titleupdate.sh, give it exectue permissions (chmod 755 titleupdate.sh) and maybe move to /usr/local/bin.

Feel free to modify it to your needs. You need abgx360, curl and wget in your path.

Unlike Red Squirrel's updater, this one scrapes the title updates directly from xbuc.net.
Red Squirrel's tool seems to use his own site as a proxy by requesting the updates via "http://www.redsquirrel87.com/TU.php?ID=[mediaid]&pass=RedSquirrelTHEbestSquirrelintheWorld!" instead of xbuc.net.

CODE

% titleupdate.sh /scratch/xbox360/Dead_Island/DeadIsland.iso
 === Searching for Media ID 2BCF9BDE
 === 2BCF9BDE  Dead Island TU  Region Free  12. Nov 11 14:39  2.68 MB  CDN | Direct | (3114)

=== Downloading Dead Island TU from http://xbuc.net.nyud.net/uploads/1213/TU_15KQ1UV_0000008000000.00000000000G2

--2012-01-12 16:36:33--  http://xbuc.net.nyud.net/uploads/1213/TU_15KQ1UV_0000008000000.00000000000G2
Resolving xbuc.net.nyud.net (xbuc.net.nyud.net)... 129.107.35.131, 150.65.32.66, 204.85.191.10
Connecting to xbuc.net.nyud.net (xbuc.net.nyud.net)|129.107.35.131|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.xbuc.net.nyud.net/uploads/1213/TU_15KQ1UV_0000008000000.00000000000G2 [following]
--2012-01-12 16:36:38--  http://www.xbuc.net.nyud.net/uploads/1213/TU_15KQ1UV_0000008000000.00000000000G2
Resolving www.xbuc.net.nyud.net (www.xbuc.net.nyud.net)... 204.85.191.10, 129.107.35.131, 150.65.32.66
Connecting to www.xbuc.net.nyud.net (www.xbuc.net.nyud.net)|204.85.191.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2809856 (2.7M) [application/octet-stream]
Saving to: `TU_15KQ1UV_0000008000000.00000000000G2'

100%[==========================================================================>] 2,809,856    777K/s   in 3.5s

2012-01-12 16:36:43 (777 KB/s) - `TU_15KQ1UV_0000008000000.00000000000G2' saved [2809856/2809856]

% ls -l
total 0
drwxrwxr-x 2 molukki wheel 51 Jan 12 16:36 Dead Island TU
% ls -l Dead\ Island\ TU
total 2744
-rw-rw-r-- 1 molukki wheel 2809856 Nov 12 22:39 TU_15KQ1UV_0000008000000.00000000000G2




Thanks, i´ll try that.....
Logged

pabloalcantara

  • Archived User
  • Newbie
  • *
  • Posts: 6
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #10 on: January 12, 2012, 12:17:00 PM »

@molukki,
I changed your script to search for a TU for just one ISO, or for all ISOs in a folder.
It search for ISOs in the given folder, then create a TU folder inside each ISO folder, verify if the update already exists to not download again.

My next step is delete an older TU if a new one is find.

Help is apreciated.

http://pastebin.com/CDyXMziZ
Logged

molukki

  • Archived User
  • Newbie
  • *
  • Posts: 2
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #11 on: January 12, 2012, 02:56:00 PM »

QUOTE(pabloalcantara @ Jan 12 2012, 09:17 PM) View Post
It search for ISOs in the given folder, then create a TU folder inside each ISO folder, verify if the update already exists to not download again.
My next step is delete an older TU if a new one is find.
Help is apreciated.

Try this one: http://pastebin.com/G6s7yDQk (edit: Argh messed the url, fixed now)

- It will now handle any number of arguments and you can also give it a directory, which it will recursively scan for .iso files.
- It will now create the title update folder in the same path where the .iso file is.
- It won't download again if the update has been already downloaded.

I commented the script a bit to help you understand what's going on.
I left deleting the old title updates when new update is found as an excercise for you :-)

You may also want to add a shorter timeout for the wgets (add --timeout=10 to the wget command to get a 10 seconds timeout)

Here's the script in action:
CODE

% titleupdate.sh /scratch/xbox360
 === Searching for Media ID 4A2B74A4 for file /scratch/xbox360/Batman_Arkham_Asylum/baa.iso
 ===
 === Searching for Media ID 6473199D for file /scratch/xbox360/Fable_2/fable2.iso
 === 6473199D  Fable 2 Eng TU 4  Region Free  20. Dec 09 19:26  3.97 MB  CDN | Direct | (2127)

=== Downloading /scratch/xbox360/Fable_2/Fable 2 Eng TU 4 from http://xbuc.net.nyud.net/uploads/261/TU_16L61VH_0000004000000.0000000000101

--2012-01-12 22:41:57--  http://xbuc.net.nyud.net/uploads/261/TU_16L61VH_0000004000000.0000000000101
Resolving xbuc.net.nyud.net (xbuc.net.nyud.net)... 138.15.10.56
Connecting to xbuc.net.nyud.net (xbuc.net.nyud.net)|138.15.10.56|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Retrying.

--2012-01-12 22:42:09--  (try: 2)  http://xbuc.net.nyud.net/uploads/261/TU_16L61VH_0000004000000.0000000000101
Connecting to xbuc.net.nyud.net (xbuc.net.nyud.net)|138.15.10.56|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Retrying.

--2012-01-12 22:42:21--  (try: 3)  http://xbuc.net.nyud.net/uploads/261/TU_16L61VH_0000004000000.0000000000101
Connecting to xbuc.net.nyud.net (xbuc.net.nyud.net)|138.15.10.56|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Giving up.


 === Downloading /scratch/xbox360/Fable_2/Fable 2 Eng TU 4 from http://xbuc.net/uploads/261/T
U_16L61VH_0000004000000.0000000000101

--2012-01-12 22:42:31--  http://xbuc.net/uploads/261/TU_16L61VH_0000004000000.0000000000101
Resolving xbuc.net (xbuc.net)... 174.132.162.131
Connecting to xbuc.net (xbuc.net)|174.132.162.131|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.xbuc.net/uploads/261/TU_16L61VH_0000004000000.0000000000101 [following]
--2012-01-12 22:42:31--  http://www.xbuc.net/uploads/261/TU_16L61VH_0000004000000.0000000000101
Resolving www.xbuc.net (www.xbuc.net)... 174.132.162.131
Reusing existing connection to xbuc.net:80.
HTTP request sent, awaiting response... 200 OK
Length: 4161536 (4.0M) [application/octet-stream]
Saving to: `TU_16L61VH_0000004000000.0000000000101'

100%[==========================================================================>] 4,161,536    794K/s   in 6.4s

2012-01-12 22:42:38 (636 KB/s) - `TU_16L61VH_0000004000000.0000000000101' saved [4161536/4161536]


 === Searching for Media ID 66420EB4 for file /scratch/xbox360/Fallout_3/fallout3.iso
 === 66420EB4  Fallout 3 TU 1  PAL NTSC/U   25. Mar 11 03:36  2 MB  CDN | Direct | (491)

=== Downloading /scratch/xbox360/Fallout_3/Fallout 3 TU 1 from http://xbuc.net.nyud.net/uploads/968/TU_11561UL_000004C000000.0000000000093

--2012-01-12 22:42:40--  http://xbuc.net.nyud.net/uploads/968/TU_11561UL_000004C000000.0000000000093
Resolving xbuc.net.nyud.net (xbuc.net.nyud.net)... 131.179.150.72, 195.113.161.83, 88.255.65.219
Connecting to xbuc.net.nyud.net (xbuc.net.nyud.net)|131.179.150.72|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.xbuc.net.nyud.net/uploads/968/TU_11561UL_000004C000000.0000000000093 [following]
--2012-01-12 22:42:43--  http://www.xbuc.net.nyud.net/uploads/968/TU_11561UL_000004C000000.0000000000093
Resolving www.xbuc.net.nyud.net (www.xbuc.net.nyud.net)... 88.255.65.219, 131.179.150.72, 195.113.161.83
Connecting to www.xbuc.net.nyud.net (www.xbuc.net.nyud.net)|88.255.65.219|:80... failed: Connection timed out.
Connecting to www.xbuc.net.nyud.net (www.xbuc.net.nyud.net)|131.179.150.72|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2101248 (2.0M) [application/octet-stream]
Saving to: `TU_11561UL_000004C000000.0000000000093'

100%[==========================================================================>] 2,101,248    449K/s   in 5.5s

 === Searching for Media ID 694292BA for file /scratch/xbox360/Guitar_Hero_5/gh5.iso
 ===
 === Searching for Media ID 3DF550B0 for file /scratch/xbox360/Guitar_Hero_Smash_Hits/ghsh.iso
 ===
 === Searching for Media ID 6C6A8EF1 for file /scratch/xbox360/Guitar_Hero_World_Tour/ghwt.iso
 === 6C6A8EF1  Guitar Hero World Tour TU 1  Region Free  08. Dec 09 12:55  1.35 MB  CDN | Direct | (1804)

=== Downloading /scratch/xbox360/Guitar_Hero_World_Tour/Guitar Hero World Tour TU 1 from http://xbuc.net.nyud.net/uploads/53/TU_10LC20Q_0000008000000.0000000000082

--2012-01-12 22:43:03--  http://xbuc.net.nyud.net/uploads/53/TU_10LC20Q_0000008000000.0000000000082
Resolving xbuc.net.nyud.net (xbuc.net.nyud.net)... 195.113.161.83, 88.255.65.219, 131.179.150.72
Connecting to xbuc.net.nyud.net (xbuc.net.nyud.net)|195.113.161.83|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.xbuc.net.nyud.net/uploads/53/TU_10LC20Q_0000008000000.0000000000082 [following]
--2012-01-12 22:43:03--  http://www.xbuc.net.nyud.net/uploads/53/TU_10LC20Q_0000008000000.0000000000082
Resolving www.xbuc.net.nyud.net (www.xbuc.net.nyud.net)... 131.179.150.72, 195.113.161.83, 88.255.65.219
Connecting to www.xbuc.net.nyud.net (www.xbuc.net.nyud.net)|131.179.150.72|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1413120 (1.3M) [application/octet-stream]
Saving to: `TU_10LC20Q_0000008000000.0000000000082'

100%[==========================================================================>] 1,413,120    470K/s   in 2.9s

2012-01-12 22:43:11 (470 KB/s) - `TU_10LC20Q_0000008000000.0000000000082' saved [1413120/1413120]


 === Searching for Media ID 456C0258 for file /scratch/xbox360/Left_4_Dead/l4d.iso
 === 456C0258  Left 4 Dead TU 6  Region Free  12. Dec 10 23:05  3.11 MB  CDN | Direct | (616)

=== Downloading /scratch/xbox360/Left_4_Dead/Left 4 Dead TU 6 from http://xbuc.net.nyud.net/uploads/870/TU_12K221G_0000004000000.00000000001G1

--2012-01-12 22:43:12--  http://xbuc.net.nyud.net/uploads/870/TU_12K221G_0000004000000.00000000001G1
Resolving xbuc.net.nyud.net (xbuc.net.nyud.net)... 138.15.10.56
Connecting to xbuc.net.nyud.net (xbuc.net.nyud.net)|138.15.10.56|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Retrying.

2012-01-12 22:42:59 (370 KB/s) - `TU_11561UL_000004C000000.0000000000093' saved [2101248/2101248]


--2012-01-12 22:43:23--  (try: 2)  http://xbuc.net.nyud.net/uploads/870/TU_12K221G_0000004000000.00000000001G1
Connecting to xbuc.net.nyud.net (xbuc.net.nyud.net)|138.15.10.56|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Retrying.

--2012-01-12 22:43:35--  (try: 3)  http://xbuc.net.nyud.net/uploads/870/TU_12K221G_0000004000000.00000000001G1
Connecting to xbuc.net.nyud.net (xbuc.net.nyud.net)|138.15.10.56|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Giving up.


 === Downloading /scratch/xbox360/Left_4_Dead/Left 4 Dead TU 6 from http://xbuc.net/uploads/870/TU_12K221G_0000004000000.00000000001G1

--2012-01-12 22:43:46--  http://xbuc.net/uploads/870/TU_12K221G_0000004000000.00000000001G1
Resolving xbuc.net (xbuc.net)... 174.132.162.131
Connecting to xbuc.net (xbuc.net)|174.132.162.131|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.xbuc.net/uploads/870/TU_12K221G_0000004000000.00000000001G1 [following]
--2012-01-12 22:43:46--  http://www.xbuc.net/uploads/870/TU_12K221G_0000004000000.00000000001G1
Resolving www.xbuc.net (www.xbuc.net)... 174.132.162.131
Reusing existing connection to xbuc.net:80.
HTTP request sent, awaiting response... 200 OK
Length: 3256320 (3.1M) [application/octet-stream]
Saving to: `TU_12K221G_0000004000000.00000000001G1'

100%[==========================================================================>] 3,256,320    752K/s   in 5.3s

2012-01-12 22:43:52 (604 KB/s) - `TU_12K221G_0000004000000.00000000001G1' saved [3256320/3256320]
Logged

pabloalcantara

  • Archived User
  • Newbie
  • *
  • Posts: 6
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #12 on: January 13, 2012, 04:38:00 AM »

New version too:
Changes:
    - Speed-up second ABGX360 run for an ISO;
    - Create a log inside the TU folder to register all TU downloads for that ISO;
    - Creates 2 files under the directory TU folder created inside the iso folder:
            - MEDIAID - When the first time ABGX360 run, the script creates this file writing the media id in it, and when you run this script a second time it didn´t re-run ABGX, it simples read this file when checking for new updates;
            - update.txt - Inside each TU sub-folder, this file is created when any TU is downloaded, and it register the date, the game, the TU version and the name file downloaded.


For me the biggest gain here is the speed-up gained when running it a second time, it´s way faster, and this way I can put it in cron to run every 24h or less and not stress my storage, that have an slow 1.2GHz processor.

And thanks again for @molukki for the start-up script.

Any ideias is appreciated.

download: http://pastebin.com/CDyXMziZ
Logged

pabloalcantara

  • Archived User
  • Newbie
  • *
  • Posts: 6
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #13 on: January 13, 2012, 09:38:00 AM »

QUOTE(Seacrest @ Jan 13 2012, 09:25 AM) View Post

molukki: Thank you for using -o to prevent wasting the resources and bandwidth of abgx360.net.

Unfortunately, redsquirrel87 does not do this... in fact he is also doing a full stealth check and probably only preventing the game CRC check. This is only wasting resources and time, and redistributing an abgx360 binary without permission is also not cool... I would prefer it if he would just use the version of abgx360 installed on the user's system.

Here is the best command line to use if you would like to use abgx360 in a programmatic way to get the media ID:

CODE
abgx360 -sword --noheader --dontparsefs --


This will strip colors, prevent writes, stay offline, skip the stealth check (which in turn skips verification/autofix/game CRC check), skip the .dvd check, skip displaying the abgx360 header, skip parsing the filesystem, and allow checking filenames that start with a hyphen.

If it's the title ID you're after, just use -swordv instead of -sword (-v adds high verbosity, and short options can be combined into a single argument if you didn't already notice).

Just please remember to use -o or --stayoffline unless you have a useful reason to access the online database and get my permission. Thanks.

If someone could tweet @redsquirrel87 a link to this post I'd appreciate it.


Hi,
I have made the changes you suply on my adapted script from molukki... and on mine ABGX360 run on an iso justo one time and save the Mediaid in a file for other searchs.

It´s in: http://pastebin.com/CDyXMziZ
Logged

pabloalcantara

  • Archived User
  • Newbie
  • *
  • Posts: 6
Xbox360 Games Easy Updater v1.1 for Linux
« Reply #14 on: January 18, 2012, 08:35:00 AM »

A new version, now it downloads TU from xbuc.net and http://marketplace.jqe360.com.
The script is now more organized:

http://pastebin.com/CDyXMziZ

Logged