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.

World of Subways 4 - new C4 engine GRAF variant

Featured Replies

  • Author
  • Localization

AlphaTwentyThree, posted Wed Mar 25, 2015 6:46 pm (4099)


Hi!
World of Subways 4 uses a different kind of archive than the previous titles. I've written an in-progress script but I'm unable to get the offsets. Here is a sample archive: http://*USE_ANOTHER_FILEHOSTING*/d355d84 ... ameData.7z

And this is my script so far. I have no idea what the three unknown fields are for - somewhere has got to be the offset and size but I just can't figure it out. :\
Anyway:
Code:
get INFO long
math INFO = 4
for i = 0 # only for number_of_files retrieval...
   get NAME string
   savepos MYOFF
   if MYOFF == INFO
      break
   endif
next i
set FILES i
for i = 0 < FILES
   get CRC long
   get NAMEPOS long
   math NAMEPOS = 4
   savepos MYOFF
   goto NAMEPOS
   get NAME string
   goto MYOFF
   get UNK1 long
   get UNK2 long
   get UNK3 long
next i
  • Author
  • Localization

AlphaTwentyThree, posted Fri Mar 27, 2015 11:58 am (4123)


Damn, didn't recognize that! Thanks! :D
  • Author
  • Localization

aluigi, posted Fri Mar 27, 2015 3:37 pm (4127)


I have replaced Encryption with Filexor so that it doesn't load the whole file in memory.

Why don't you have 2Gb of RAM free?!? :)
  • Author
  • Localization

AlphaTwentyThree, posted Sat Mar 28, 2015 12:34 am (4154)


Haha ;)
Thanks Luigi! :)
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.