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.

Double Fine Productions games

Featured Replies

  • Author
  • Localization

aluigi, posted Sun Mar 06, 2016 6:18 pm (11820)


In my collection I had two scripts covering the games Stacking and Brutal Legend.
Both these games are developed by Double Fine Productions and would be nice to have one script to open most of these games.
So I updated the following script to make it at least compatible with the game Massive Chalice:
http://aluigi.org/bms/stacking.bms

I have many doubts about the other games because the format is very "dynamic" and it was ever slightly different for these 3 games.
  • Author
  • Localization

Savage, posted Wed Mar 23, 2016 12:03 am (12194)


Thanks MerlinSVK, it worked fine :D
  • Author
  • Localization

Savage, posted Thu Jul 28, 2016 6:36 am (15797)


Hi! i tried the script with the game Headlander but i get errors

Quote:
quickbms.exe db.bms Rg_UI.~h .


Quote:
offset filesize filename
--------------------------------------
- enter in folder d:\headlander\Win\Packs\a
coverage file 0 0% 0 3772
- open input file d:\headlander\Win\Packs\a\Rg_UI.~h
- enter in folder d:\headlander\Win\Packs\a
- open input file d:\headlanderWin\Packs\a\Rg_UI.~p
00000000 1048592 twod/screens/adultswim/adultswim_0

-------------------
*EXCEPTION HANDLER*
-------------------
An error or crash occurred:

*EH* ExceptionCode c0000005 access violation
*EH* ExceptionFlags 00000000
*EH* ExceptionAddress 00555c19
00180000 003d5c19 quickbms.exe
*EH* NumberParameters 00000002
*EH* 00000000
*EH* 057a98dc

*EH* Stack Trace:
0x555c19 : d:\headlander\Win\Packs\a\quickbms.exe : spookyhash_fi
nal
0x5558b1 : d:\headlander\Win\Packs\a\quickbms.exe : spookyhash_fi
nal
0x20000 : [unknown module] : [unknown file]

Last script line before the error or that produced the error:
103 clog NAME OFFSET ZSIZE SIZE 1

Press ENTER or close the window to quit


Here is the example: (6mb's)
http://www99.zippyshare.com/v/8QfuU5ks/file.html
  • Author
  • Localization

aluigi, posted Thu Jul 28, 2016 4:14 pm (15813)


Do you have samples from this and/or other games of Double Fine for Xbox?
There is a problem recognizing what is the compression algorithm to use.
  • Author
  • Localization

Savage, posted Fri Jul 29, 2016 11:06 am (15855)


aluigi wrote:
Do you have samples from this and/or other games of Double Fine for Xbox?
There is a problem recognizing what is the compression algorithm to use.

No, but its zlib compression, precomp works with that and offzip too, the example data is from PC version
  • Author
  • Localization

aluigi, posted Fri Jul 29, 2016 11:11 am (15856)


Yeah I know but I need to find a way to recognize the archives that use xmemdecompress, I found them in the past but I no longer have samples. Anyone has samples from other xbox games of the same developers?
  • Author
  • Localization

aluigi, posted Fri Jul 29, 2016 11:17 am (15857)


For example Brutal Legend for xbox.
  • Author
  • Localization

Savage, posted Fri Jul 29, 2016 8:40 pm (15895)


aluigi wrote:
For example Brutal Legend for xbox.

As "requested" here is some files from Brutal Legend for xbox360

http://www21.zippyshare.com/v/WsinuuCm/file.html (1,26Mb's)

If you need more files just say it :mrgreen: i hope it helps
  • Author
  • Localization

aluigi, posted Sat Jul 30, 2016 12:24 pm (15922)


Eh unfortunately there is no data with xmemdecompress there.
Anyway if and when we will encounter one of these archives compressed with xmemdecompress (you will get a compression error) I will check them :)
Script 0.2.3
  • Author
  • Localization

Savage, posted Sat Jul 30, 2016 1:35 pm (15930)


I can upload all the files (xbox 360) if you want, it's only 1,07 Gb's
  • Author
  • Localization

Savage, posted Sat Jul 30, 2016 1:38 pm (15931)


With the script 0.2.3 it worked with 00Startup.~h i will check all the files :D
  • Author
  • Localization

Savage, posted Sat Jul 30, 2016 1:46 pm (15932)


to delete
  • Author
  • Localization

aluigi, posted Sat Jul 30, 2016 3:58 pm (15936)


RgB_Stuff != RgS_Stuff
quickbms is perfectly right
  • Author
  • Localization

Savage, posted Sat Jul 30, 2016 4:36 pm (15938)


Shit! xDDD delete the last two posts.
  • Author
  • Localization

Savage, posted Sat Jul 30, 2016 4:56 pm (15941)


Okay here we go..

Example from PC version:
Rg_EnvMtrl_ComputerCore.~p 262Mb's

21.130 Rg_EnvMtrl_ComputerCore.~h
275.054.592 Rg_EnvMtrl_ComputerCore.~p


Code:
quickbms.exe stacking2.bms Rg_EnvMtrl_ComputerCore.~h unpacked

239 files and only 17.0 Mb's

Using precomp

Quote:
New size: 703300292 instead of 275054592
Recompressed streams: 241/514
zLib streams (intense mode): 241/514
  • Author
  • Localization

aluigi, posted Sat Jul 30, 2016 6:42 pm (15945)


Do you mean that quickbms extracted only 17 Mb from an archive of 270 Mb?
  • Author
  • Localization

Savage, posted Sat Jul 30, 2016 7:01 pm (15947)


Exactly, but it happens in a lot of files, not only in this one
  • Author
  • Localization

aluigi, posted Sat Jul 30, 2016 9:32 pm (15953)


I understand and the problem is just with the work-arounds for calculating zsize and size (long story).
Honestly I don't think there is something I can fix because doesn't exist a real "format", different versions and different games use different ways to store OFFSET, ZSIZE and SIZE and use different compression algorithms (zlib vs xmem).
It's really a pain.

Now while testing my old samples I found that version 2 doesn't want ZSIZE >> 1 so I have just removed it (even if it was there for a reason).
Your files are version 6 and I have found a way that now seems to work.

The current version of the script is 0.2.4 and seems to work correctly with the samples I have but I don't think I'm going to spend other time on this weird format.
  • Author
  • Localization

Savage, posted Sun Jul 31, 2016 12:05 pm (15981)


Now it worked, extracted 690mb's not 17mb's :D

I really appreciate (and a lot of people from here) your work

Thanksx x1000 :D
  • Author
  • Localization

aluigi, posted Sun Jul 31, 2016 1:17 pm (15985)


Good.
With these strange formats I'm ever scared to break compatibility with the other games when I change something.
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.