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.

Haze (PS3) - sample files

Featured Replies

  • Author
  • Localization

AnonBaiter, posted Sun Mar 05, 2017 6:56 pm (21223)


Well...

It does use zlib compression, though.
  • Author
  • Localization

AnonBaiter, posted Mon Mar 06, 2017 8:32 am (21233)


Yeah, it "kinda" works.
The .str file simply doesn`t exist in the game directory(it does work with the script so it`s not a complete loss), and there is also install.qik/install.val which has the rest of the archives among other stuff.

Not to mention that "uncompressed" archives simply doesn`t work with the script:
Code:
Last script line before the error or that produced the error:
  70  getarray CHUNK_ZSIZE 1 CHUNK_IDX
Here`s a sample.
  • Author
  • Localization

aluigi, posted Mon Mar 06, 2017 9:13 am (21238)


"str" is optional.
As far as I can see all the files have been correctly extracted, right?
  • Author
  • Localization

AnonBaiter, posted Mon Mar 06, 2017 9:15 am (21239)


Only on the ones that are compressed. Others such as "sound_french.pak"/"sound_french.pak.00"(it`s right there on the sendspace link) doesn`t work with the script as I`ve said earlier.
Code:
. 0000000000000000 get     ARCHIVE_NAME "sound_french.pak" -1000
. 0000000000000000 idstr              "PBCK" 4
    50 42 43 4b                                       PBCK
. 0000000000000004 get     DUMMY      0x0000000000000018 4
. 0000000000000008 get     FILES      0x00000000000020e8 4
. 000000000000000c get     CHUNKS_OFF 0x0000000000029238 4
. 0000000000000010 get     CHUNKS_SIZE 0x0000000000000000 4
. 0000000000000014 get     DUMMY      0x0000000000000001 2
. 0000000000000016 get     DUMMY      0x0000000000000002 2
. 00000000 putarr  0          0x0000000000000000 1:0
. 00000000 putarr             "" 0:8424
. 0000000000004000 putvarc            0x0000000000000000 1
. 0000000000000018 get     CRC        0x00000000000eb373 4
. 000000000000001c get     SIZE       0x0000000000008bc0 4
. 0000000000000020 get     ZSIZE      0x0000000000000000 4
. 0000000000000024 get     OFFSET     0x0000000000b38000 4
. 0000000000000028 get     CHUNK_IDX  0x0000000000d1e6fc 3
. 000000000000002b get     PAK_NUM    0x0000000000000000 1
. 00000000 getarr  NAME       "" 0:0
. 0000000000008bc0 putvarc            0x0000000000000000 1
The script just stops if CHUNKS_SIZE/ZSIZE value is zero.
  • Author
  • Localization

aluigi, posted Mon Mar 06, 2017 9:25 am (21240)


If the problem is just SIZE 0 then try script 0.2.3
  • Author
  • Localization

AnonBaiter, posted Mon Mar 06, 2017 4:46 pm (21263)


Thanks for the update mate, it works now!
There is one thing missing though, and it`s not these .pak files.
  • Author
  • Localization

AnonBaiter, posted Mon Mar 27, 2017 7:50 pm (21797)


So I`m trying to write a script based on these install.qik/install.val files.
Code:
open FDDE "val" 0
open FDDE "qik" 1

get VAL_SIZE asize

for CURR_OFF = 0 < VAL_SIZE
   get TMP line
   string TMP R "*" "  "
   string ELEMENTS S TMP IDENT NAME SIZE
   putarray 0 i TMP
   putarray 1 i IDENT
   putarray 2 i NAME
   putarray 3 i SIZE
   savepos CURR_OFF
next
The thing is I just want the script to break a line after it has been separated by " ", but I don`t know how to achieve that.
  • Author
  • Localization

aluigi, posted Wed Mar 29, 2017 3:24 pm (21838)


So you want to process all the TMP lines including the one that contains a space " " in it, and then breaking after it, correct?
go with do->while:
Code:
do
...
while TMP & " "
  • Author
  • Localization

AnonBaiter, posted Wed Mar 29, 2017 3:47 pm (21839)


Like this?
Code:
do
   get TMP line
   string TMP R "*" " "
   string ELEMENTS S TMP IDENT NAME SIZE
while TMP & " "
  • Author
  • Localization

aluigi, posted Wed Mar 29, 2017 10:20 pm (21842)


Ah right you need just the opposite of that condition (like !TMP&" ") which is not possible in quickbms, so use this:
Code:
for OK = 1 != 0
   get TMP line
   string TMP R "*" " "
   string ELEMENTS S TMP IDENT NAME SIZE
   if TMP & " "
      math OK = 1
   endif
next

The following works too:
Code:
for
   get TMP line
   string TMP R "*" " "
   string ELEMENTS S TMP IDENT NAME SIZE
   if TMP & " "
      break
   endif
next

Please note that the Break command had some problems in versions of quickbms before 0.8.0, it will work in the example above but in some different and more complex situations may give problems with these old versions.
  • Author
  • Localization

AnonBaiter, posted Wed Mar 29, 2017 11:03 pm (21843)


I tried both solutions and the result was still the same.
Code:
. 00000000 putarr  IDENT      "0" 0:0
. 00000000 putarr  NAME       "00369c0b.pak" 1:0
. 00000000 putarr  SIZE       "77948" 2:0
.
Only the first of the many files was processed, and this is from the latest version.
  • Author
  • Localization

aluigi, posted Thu Mar 30, 2017 11:32 am (21847)


It works exactly as expected.
You told me that you want to break when a space is found in the input and that's what it does.
If you meant something else then reformulate.
  • Author
  • Localization

AnonBaiter, posted Thu Mar 30, 2017 2:56 pm (21854)


Sorry.
  • Author
  • Localization

BRAGme, posted Fri Dec 22, 2017 3:36 am (30958)


So does the install.qik have the music as well? I know the sound_english has the music but does it have all the music? I would like the script to extract the install.qik please!
  • Author
  • Localization

AnonBaiter, posted Fri Dec 22, 2017 2:11 pm (30968)


Probably.
  • Author
  • Localization

EDXZ23, posted Wed Jul 24, 2019 3:39 am (49891)


Is there a script for the install.qik? swbf3.bms(0.2.3) doesn't extract it
  • Author
  • Localization

EDXZ23, posted Mon Aug 12, 2019 7:19 pm (50282)


Hi Luigi,

the SWBF3 bms 0.2.3 extracts Haze archives.

However it doesn't extract the 3D models to the right extension (.rax) but to .dat

is there a script that extracts to .rax or is there a way to convert them?
  • Author
  • Localization

aluigi, posted Mon Sep 30, 2019 4:47 am (51157)


The script dumps the files "as-is" without any conversion.
  • Author
  • Localization

EDXZ23, posted Tue Apr 07, 2020 1:36 pm (55601)


aluigi wrote:
The script dumps the files "as-is" without any conversion.


Managed to get around all of that by using a hex2obj program. I was wondering though if it was possible for you to update the script so all the dumps have the asset name? right now it dumps them and it has a string of numbers and i have to manually search over 28,000 files to find what I want. I appreciate your work though, I wouldn't be able to get as far on my project without it :D
  • Author
  • Localization

aluigi, posted Wed Apr 08, 2020 9:21 pm (55662)


The names of the files are stored in the file with STR extension which is automatically loaded by the script.
If your files have no filename it means that this file is not available and no filenames can be assigned.
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.