View previous topic :: View next topic |
Author |
Message |
xorloser
Joined: 06 Mar 2008 Posts: 68
|
Posted: Mon Mar 10, 2008 6:34 am Post subject: |
|
|
Ok got it sorted now. It seems any file that ends in .dtb (ie *.dtb files) are encrypted. So running any of these files thru my GH2Crypt tool above will decrypt them. I have made an extractor that extracts all files from the untouched hdr/ark files on disc. It checks for *.dtb files and decrypts them during extraction. You can get the extractor tool from:
www.xorloser.com/GH2Tool.rar
Assuming your files are in the same dir as the exe file you would use it like this to extract all files into a dir called "root":
GH2Tool main.hdr main_0.ark root
I am keen to have crypt support added to the existing x360 GH tool, however the author has not returned my PMs yet.
As for storing all files unencrypted i don't think it will work without altering the games exe file (which we can't do without breaking the signature on it). |
|
Back to top |
|
|
xorloser
Joined: 06 Mar 2008 Posts: 68
|
Posted: Mon Mar 10, 2008 6:56 am Post subject: |
|
|
Now that all files can be decrypted you can find nice things such as cheats (yes i realise they probabaly already exist on cheat sites)
from long_cheats.dtb
unlock all B Y O R Y O B Y B Y B Y B Y B Y
air guitar Y B Y O Y B
performance mode B Y B B O B B
hyper speed B O Y O B O Y Y
flaming head Y O Y Y O Y Y O
eyeball head Y O B B B O Y
monkey head O Y B B Y O B B |
|
Back to top |
|
|
xorloser
Joined: 06 Mar 2008 Posts: 68
|
Posted: Mon Mar 10, 2008 1:47 pm Post subject: |
|
|
I've almost completed my new version of the tool, "ArkTool". Currently this is able to decrypt and unpack guitar hero 2 and rockband files for ther xbox360. Hopefully tomorrow i'll finsh off the packing parts of the tool so that you can alter and then repack your changes.
For now you can try the tool to look into all the files. It appears as if the rockband mogg files are encrypted or something after a their header. They do not play for me and they look different to the ones from gh2, anyone want to take a look at then and post their findings?
When i release the finished tool (hopefully tomorrow) ill also be including the sourcecode. Until then have a play and let me know what your thoughts are:
Staff Edit: Removed. Read more here. |
|
Back to top |
|
|
GameZelda
Joined: 30 Mar 2007 Posts: 1705
|
Posted: Mon Mar 10, 2008 4:46 pm Post subject: |
|
|
Wow! That's really exciting :P
Can you share the encryption method or the source for your decrypter? That will be really useful
It also works for PS2... I will try if it also works with the VGS files! _________________
(Ok, I failed to do it in 24 hours... ).
GH:WT-PS2 Customization Progress
[ 100%] Make it work (w/songs loading) in a DVD5 (thanks psychospacefish!)
[ 100%] Modify audio (Finally done 25/11/2008)
[ 100%] Modify charts (Done 26/11/2008! Customs finally ) |
|
Back to top |
|
|
Desertman123
Joined: 29 Jul 2007 Posts: 2957 Location: Central FL
|
Posted: Mon Mar 10, 2008 11:04 pm Post subject: |
|
|
GameZelda wrote: |
It also works for PS2... I will try if it also works with the VGS files! |
Oh. My FUCK!!!! YES!!!! If this works with VGS files I will love xorloser FOREVER!!!! _________________
Consoles:
Original Xbox, 1.0 TSOP flashed w/ 500gb HDD
PS3, Rebug 4.82
Xbox 360, Halo edition Jasper RGH1.2 |
|
Back to top |
|
|
GameZelda
Joined: 30 Mar 2007 Posts: 1705
|
Posted: Mon Mar 10, 2008 11:06 pm Post subject: |
|
|
Desertman123 wrote: | GameZelda wrote: |
It also works for PS2... I will try if it also works with the VGS files! |
Oh. My FUCK!!!! YES!!!! If this works with VGS files I will love xorloser FOREVER!!!! |
I'm still writting the HDR unpacker, should be ready soon. I will also write a repacker after this
Aparently xorloser HDR/ARK extractor doesn't work on PS2 (endian issues probably) _________________
(Ok, I failed to do it in 24 hours... ).
GH:WT-PS2 Customization Progress
[ 100%] Make it work (w/songs loading) in a DVD5 (thanks psychospacefish!)
[ 100%] Modify audio (Finally done 25/11/2008)
[ 100%] Modify charts (Done 26/11/2008! Customs finally ) |
|
Back to top |
|
|
tma
Joined: 03 May 2007 Posts: 1414 Location: Australia
|
Posted: Tue Mar 11, 2008 12:38 am Post subject: |
|
|
GameZelda wrote: | Desertman123 wrote: | GameZelda wrote: |
It also works for PS2... I will try if it also works with the VGS files! |
Oh. My FUCK!!!! YES!!!! If this works with VGS files I will love xorloser FOREVER!!!! |
I'm still writting the HDR unpacker, should be ready soon. I will also write a repacker after this
Aparently xorloser HDR/ARK extractor doesn't work on PS2 (endian issues probably) |
No, endian is the same in these files on 360 and PS2. More likely is that xorloser's depacker doesn't recognize the PS2 archive without the u32 key at the beginning. As the algorithm is a rotating XOR (I believe) you may be able to put 0x00000000 or 0xFFFFFFFF at the start of the HDR file and have it work. |
|
Back to top |
|
|
Desertman123
Joined: 29 Jul 2007 Posts: 2957 Location: Central FL
|
|
Back to top |
|
|
nickb611
Joined: 23 Oct 2006 Posts: 3731 Location: Villanova, PA
|
Posted: Tue Mar 11, 2008 1:59 am Post subject: |
|
|
Desertman123 wrote: | dum dum turmz pl0x. |
Wait for them to fix it. _________________
|
|
Back to top |
|
|
Desertman123
Joined: 29 Jul 2007 Posts: 2957 Location: Central FL
|
Posted: Tue Mar 11, 2008 2:05 am Post subject: |
|
|
Thanks. _________________
Consoles:
Original Xbox, 1.0 TSOP flashed w/ 500gb HDD
PS3, Rebug 4.82
Xbox 360, Halo edition Jasper RGH1.2 |
|
Back to top |
|
|
xorloser
Joined: 06 Mar 2008 Posts: 68
|
Posted: Tue Mar 11, 2008 1:17 pm Post subject: |
|
|
while adding support for ps2 hdr/ark files i noticed that the decryption didnt always work. (i reversed ps2 gh1 for the crypt routines and used them on ps2 gh1 files.)
when i noticed the errors i then tried existing ps2 software and it too had prolems. has anyone headr about these files and knows if there is anything special? the files from ps2 gh1 that gave problems were:
ERROR: config/gen/ghedit_tool.dtb : 92 95 8D 5A
ERROR: ../../system/run/config/gen/str_test.dtb : EB 08 35 FE
ERROR: ../../system/run/config/gen/sysutl.dtb : CA CF 7C CA
ERROR: ../../system/run/config/gen/vagutl.dtb : 5F 83 1C E7
ERROR: ../../system/run/config/gen/pad2midi.dtb : 9D F7 AC 89
ERROR: ../../system/run/config/gen/sch_test.dtb : 01 D0 4F C5
ERROR: ../../system/run/config/gen/arena_test.dtb : FE 53 F8 21
ERROR: ../../system/run/config/gen/sivmaker.dtb : FA ED A7 C8
ERROR: ../../system/run/config/gen/midi_test.dtb : 68 D2 1E D1
ERROR: ../../system/run/config/gen/math_test.dtb : 20 3F 48 38
ERROR: ../../system/run/config/gen/systest.dtb : 32 98 2C A2
ERROR: ../../system/run/config/gen/camedit.dtb : 43 FC 8A 62
ERROR: ../../system/run/config/gen/digimask_test.dtb : 2D 90 67 F6
ERROR: ../../system/run/config/gen/rndedit.dtb : AA 4C D8 84
ERROR: ../../system/run/config/gen/rndmax.dtb : C0 82 9D 6C
ERROR: ../../system/run/config/gen/uiutl.dtb : 29 38 59 EF
ERROR: ../../system/run/config/gen/sliptest.dtb : C2 48 6C 8B
ERROR: ../../system/run/config/gen/rndedit_tool.dtb : 6B E5 33 18
ERROR: ../../system/run/config/gen/synth_test.dtb : F0 9B 7A 73
ERROR: ../../system/run/config/gen/ui_test.dtb : 4C 6F 3C 49
ERROR: ../../system/run/config/gen/arkbuild.dtb : 83 8B 16 28
ERROR: ../../system/run/config/gen/bankedit.dtb : 31 15 1C A4
ERROR: ../../system/run/config/gen/bankedit_tool.dtb : 93 D3 69 53
ERROR: ../../system/run/config/gen/arkbuild-sliptest.dtb : BB 7F 8B 43
ERROR: ../../system/run/config/gen/os_test.dtb : F3 14 76 AA
ERROR: ../../system/run/config/gen/heaper.dtb : 81 59 68 1E
ERROR: ../../system/run/config/gen/anim_test.dtb : B8 D6 91 88 |
|
Back to top |
|
|
GameZelda
Joined: 30 Mar 2007 Posts: 1705
|
Posted: Tue Mar 11, 2008 1:27 pm Post subject: |
|
|
GH1/GH2-PS2 DTB algorithm and format are already known, check that:
http://www.scorehero.com/forum/viewtopic.php?t=14652
I still think that posting the crypt/decrypt algorithm code will be awesome *requests* _________________
(Ok, I failed to do it in 24 hours... ).
GH:WT-PS2 Customization Progress
[ 100%] Make it work (w/songs loading) in a DVD5 (thanks psychospacefish!)
[ 100%] Modify audio (Finally done 25/11/2008)
[ 100%] Modify charts (Done 26/11/2008! Customs finally )
Last edited by GameZelda on Tue Mar 11, 2008 2:08 pm; edited 2 times in total |
|
Back to top |
|
|
xorloser
Joined: 06 Mar 2008 Posts: 68
|
Posted: Tue Mar 11, 2008 1:40 pm Post subject: |
|
|
yes thats the tools and source code i checked my ps2 decryption code against. and it also has problems with those same files i listed above. |
|
Back to top |
|
|
GameZelda
Joined: 30 Mar 2007 Posts: 1705
|
Posted: Tue Mar 11, 2008 1:54 pm Post subject: |
|
|
Mmmm, I tried extracting them from the GH1 disc and using DTBDecrypt ( http://www.scorehero.com/forum/viewtopic.php?t=10987 , a compiled version of the source in the thread that I posted) and the output files are right. Did you extract them correcly?
EDIT: I've looked at RB-360 HDR and the format is a bit older.
PS2 is HDR 4.5, 360 is 3.2
Looking quickly at the file the differences seem to be that PS2 uses 8-byte values for the ARK filesizes and for the file offsets and 360 uses just 4-byte values for offset and ARK sizes. _________________
(Ok, I failed to do it in 24 hours... ).
GH:WT-PS2 Customization Progress
[ 100%] Make it work (w/songs loading) in a DVD5 (thanks psychospacefish!)
[ 100%] Modify audio (Finally done 25/11/2008)
[ 100%] Modify charts (Done 26/11/2008! Customs finally ) |
|
Back to top |
|
|
Teancum
Joined: 25 Jun 2007 Posts: 437
|
Posted: Tue Mar 11, 2008 6:13 pm Post subject: |
|
|
So I suppose it would be the bane of foolishness to ask whether the ability to completely decrypt/recrypt the hdr/ark would allow for inserting new files into the ark (such as character skins or additional songs). I know GHex can't, but I wasn't sure if we are getting to the point of understanding this HDR/ARK better. |
|
Back to top |
|
|
|