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.

Star Wars: The Force Unleashed (Xbox 360) - compression?

Featured Replies

  • Author
  • Localization

AlphaTwentyThree, posted Tue Nov 17, 2015 7:13 am (9822)


Can somebody check these errornous files for a possible compression?
samples: http://www2.zippyshare.com/v/HarM8toj/file.html
The folder "normal" shows how the xp files should look, the folder "error" shows the variant.
Extraction script:
Code:
open FDDE xd 0
open FDDE xp 1

endian big
get UNK long 0
get UNK long 0
get FILES long 0
get NAMESTART long 0
set NAMEOFF FILES
math NAMEOFF *= 0x1c
math NAMEOFF = 0x10
math NAMEOFF = NAMESTART # only in some files
get FOLDER basename
get FSIZE asize 1
for i = 1 <= FILES
   get CRC long 0
   get OFFSET long 0
   get OFFSET2 long 0
   get SIZE long 0
   get FFFF long 0
   get UNK long 0
   get ZERO long 0
   savepos MYOFF 0
   goto NAMEOFF 0
   get NAMEL long 0
   getDstring NAME NAMEL 0
   string NAME p= "%s~%s.swa" FOLDER NAME
   savepos NAMEOFF 0
   math OFFSET2 -= 0x800
   goto OFFSET2 1
   getDstring DUMMY 0x806 1
   get TEST byte 1
   if TEST != 0xfc
      string NAME p= "%s_0xx" NAME OFFSET2
   endif
   xmath TEST "OFFSET2 SIZE"
   if TEST <= FSIZE
      log NAME OFFSET2 SIZE 1
   endif
   goto MYOFF 0
next i

Thanks for your help!
  • Author
  • Localization

aluigi, posted Tue Nov 17, 2015 11:51 am (9830)


The xp files are compressed with xbcompress.exe.
quickbms can handle them automatically when you specify comtype xmemdecompress.

For some unknown reasons cp_kaz.re.nv.xp doesn't decompress and quickbms remains freeded.
I will chek it but that feature has been tested very well some months ago so I don't know why that file gives problems.
  • Author
  • Localization

aluigi, posted Tue Nov 17, 2015 2:44 pm (9839)


As I already said, you are supposed to use xbdecompress.exe to decompress them.

Consider that supporting those files is a feature of quickbms and not part of the xmemcompress algorithm, it's like uclpack for UCL.
I will review and try to fix the problem in quickbms 0.7.2
  • Author
  • Localization

AlphaTwentyThree, posted Wed Nov 18, 2015 7:26 am (9875)


Oh ok... Tested and works fine.
Thanks for trying to fix this in quickbms!
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.