Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Grand Theft Auto Chinatown Wars - DS files

Featured Replies

  • Author
  • Localization

AnonBaiter, posted Wed Jun 01, 2016 2:02 am (13879)


The samples are in the attachment.
  • Author
  • Localization

aluigi, posted Wed Jun 01, 2016 7:18 am (13883)


game.pak has no sense, probably no information.
rom.toc has no sense too:
Code:
get DUMMYSZ long
#math NUM = DUMMYSZ
#math NUM / 3
#for i = 0 < NUM
#    get DUMMY threebyte
#next i
math DUMMYSZ 4
goto DUMMYSZ
for i = 0
    get DUMMY1 long
    get DUMMY2 long
    get DUMMY3 long
next i
  • Author
  • Localization

AnonBaiter, posted Wed Jun 01, 2016 12:12 pm (13887)


I got an error:
Code:
Error: incomplete input file 0: E:\NDS\3517 - Grand Theft Auto - Chinatown Wars multi5 (US)\game.pak
       Can't read 1 bytes from offset 024ddcd2.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 0    99%   38639271   38657234

Last script line before the error or that produced the error:
  12  get DUMMY3 long

It's also the same for the ROM.WAD file.
  • Author
  • Localization

Ekey, posted Wed Jun 01, 2016 12:34 pm (13889)


This script does not unpacks anything.
  • Author
  • Localization

aluigi, posted Wed Jun 01, 2016 1:59 pm (13893)


Yeah AnonBaiter it was just for debugging with -V to show you the content of the fields.
  • Author
  • Localization

AnonBaiter, posted Wed Jun 01, 2016 2:14 pm (13894)


So that script was just for debugging purposes? Okay. I'll post the results when I'm done.
  • Author
  • Localization

aluigi, posted Wed Jun 01, 2016 2:25 pm (13897)


Oh no need of the results, it was just for your information.
  • Author
  • Localization

AnonBaiter, posted Wed Jun 01, 2016 2:35 pm (13899)


Huh. I wonder if this script is even ready for extracting.
  • Author
  • Localization

aluigi, posted Wed Jun 01, 2016 3:31 pm (13901)


No offsets/sizes = no extraction. Easy.
I give you an example of what I mean, the byte used in the space between the archived files is 0xad so in rom.wad you can see that a file starts at offset 0x1ff800 but this number is not available in rom.toc and even its div 0x800 value (0x3ff) isn't available.
So the information are somewhere else.
  • Author
  • Localization

AnonBaiter, posted Wed Jun 01, 2016 3:34 pm (13903)


Ahh, I get it now.
Here's the utility.bin file. It might have some information.
  • Author
  • Localization

aluigi, posted Wed Jun 01, 2016 3:42 pm (13904)


no
  • Author
  • Localization

AnonBaiter, posted Wed Jun 01, 2016 3:46 pm (13905)


You know what, I give up. Rockstar always had this habit of making archive files in a strange way so... yeah?
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.