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.

Island Xtreme Stunts Quest (.qst) Files

Featured Replies

  • Author
  • Localization

Xiron, posted Tue Sep 29, 2015 8:23 am (7808)


First off, I apologize if I'm posting this in the wrong section, but I didn't see a sections for non-specific file types and saw the description of archive have " decoding of unknown files", so yeah...

Anyhow. Quest files!
Every single on of them in the game come in one big folder called QUEST.

I'm completely clueless as to how data is stored. If you need to know what any of the quest files contain in for ingame content, then I can probably say. Some have checkpoints and timers, some don't.
I've attached the whole folder since it is only a measly 113Kb.
  • Author
  • Localization

aluigi, posted Tue Sep 29, 2015 2:05 pm (7820)


Compressed but I don't know what's the exact algorithm.
I scanned from offset 4 and 8 without obtaining the expected data.
  • Author
  • Localization

Xiron, posted Fri Oct 02, 2015 9:43 am (7892)


[In ANSI] I did notice that at offset C to F is always .y.. followed by u##: (where ## is the script number, usually in the name of the file) followed by the title of the script. Not sure if you should be starting the scan at a bit later offset...? (Educate me, I'm completely clueless. =P)
  • Author
  • Localization

Xiron, posted Wed Oct 28, 2015 7:35 pm (9046)


I was... not expecting this, thank you! :)

There is a problem with some files like BBT2.QST and BTCSGATES.QST that cause "incomplete input file" with a "can't read # bytes from offset ########" errors.
  • Author
  • Localization

aluigi, posted Wed Oct 28, 2015 7:59 pm (9049)


Here everything works correctly.
Are you sure to have not overwritten the original files?
The output name is the same of the original one so you have to specify a different output folder.
  • Author
  • Localization

Xiron, posted Thu Oct 29, 2015 12:41 am (9055)


I did overwrite, the majority of the files worked fine like that except for a select few.
  • Author
  • Localization

Xiron, posted Thu Oct 29, 2015 7:22 am (9060)


On a second note, all the files that DIDN'T have an overwrite problem all requested to load a function from the dll MEMORY_FILE3 while the ones that did, didn't.

It's too bad the script can't re-encrypt the files as the game can't run with decrypted. I understand though as that compressed line looks long and complex.



This script is great because it work for other files outside of quests. Like some dialouge .txt files in another folder, and the Level.PKG file that comes with every place in the game. Maybe this script should be named just "Island Xtreme Stunts Decompressor" with no Quests attached. :P
Heck, it even works on the .bmb material files!
The rest of Rock Raiders United will thank you for your hard work. :)
  • Author
  • Localization

aluigi, posted Thu Oct 29, 2015 9:06 am (9062)


You must NOT ovewrite the files.
That's the problem.

Technical explanation:
When a file is compressed quickbms decompresses it in memory and then writes the data in the output.
When a file is not compressed quickbms tries to write directly to the output file by using a small cache (to save memory), so in this second situation there are problems that may happen because input and output are the same.
I can try to disable this "direct write" in quickbms 0.6.8 when input and output are the same.

This algorithm is a compression and not an encryption.
I don't think that the recompression algorithm is available in the game so the only solution is creating a script that adds the 32bit size at the beginning of each file and the game will read them without problems.
Something like:
Code:
get SIZE asize
log MEMORY_FILE 0 0
put SIZE long MEMORY_FILE
append
log MEMORY_FILE 0 SIZE
append
math SIZE 4
get NAME filename
log NAME 0 SIZE MEMORY_FILE
  • Author
  • Localization

Xiron, posted Thu Oct 29, 2015 9:33 am (9064)


Interested at all in going beyond that example and making that into an actual script, and better yet, implementing it into the current?
  • Author
  • Localization

aluigi, posted Thu Oct 29, 2015 9:38 am (9066)


The example works, it's a full script for making the decompressed files compatible with the game.

If I add that 32bit size to the decompressed files then you will not be able to edit/view them correctly.
  • Author
  • Localization

Xiron, posted Thu Oct 29, 2015 5:58 pm (9081)


It does? Oh goodness, yes! :D
Welp. Case closed then.

Thank you for your time!
  • Author
  • Localization

aluigi, posted Thu Oct 29, 2015 7:08 pm (9084)


Happy modding :D
  • Author
  • Localization

aluigi, posted Thu Oct 29, 2015 7:42 pm (9085)


When working with many small files to convert/extract, my suggestion goes to the -D (higher case, not lower) option of quickbms, for example:
quickbms -C -D island_xtreme_stunts.bms quests output

Note: -C disables the "the script has requested to load a function from the dll" prompt.

If there are sub-folders, they will be recreated too till generating the original tree.

I tell you because in some situations it's very useful.

Ah, in quickbms 0.6.8 will be possible to overwrite the original files (I prefer to not suggest it, but if it happens it should work).
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.