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.

Way of the Samurai 2 [PS2] [SLUS_208.93] "alltask" compression

Featured Replies

  • Author
  • Localization

Samdou, posted Wed Nov 17, 2021 12:28 pm (67558)


Does anyone have any tools or quickbms scripts that can decompress and extract the contents of this file?

It's from the American version of Way of the Samurai 2 [SLUS_208.93] for the PS2.

alltask
http://www.solidfiles.com/v/GWVn38MDLML3q
  • Author
  • Localization

aluigi, posted Fri Dec 03, 2021 4:29 pm (67861)


Can you use a better hoster? ("Sorry, we're temporarily unavailable")
  • Author
  • Localization

Samdou, posted Thu Dec 23, 2021 3:48 pm (68444)


Is it working now?
If not, I'll upload it to a new host - do you know of any good ones?

Edit: I've just noticed that Solidfiles has added a .obj extension onto the file, it was originally just called "alltask".
I worry this may also change the contents of the file.
  • Author
  • Localization

aluigi, posted Thu Jan 06, 2022 4:38 pm (68754)


Yes, it works but the format is weird or the file is corrupted.

The files seem to be compressed but I don't know what algorithm was used.
The other problem is the file 0000009a.dat that should be located at offset 0xca400 based on the 64bytes alignment but it's the only one to be non-aligned since it's shifted one byte before.

I leave my test script in case someone else wants to check what's up with this format:
Code:
get FILES long
get DUMMY long
get OFFSET long
for i = 0 < FILES
    get XSIZE long

    savepos TMP
    goto OFFSET
    get ZSIZE long
    get SIZE long
    savepos OFFSET2
print "INFO %OFFSET2|x% %ZSIZE|x% %SIZE|x%"
    goto TMP

    log "" OFFSET SIZE
    math OFFSET XSIZE
    math OFFSET x 0x40
next i
  • Author
  • Localization

Samdou, posted Sat Feb 12, 2022 2:52 am (69830)


Thanks for that.

I notice when I use your script on the American version of alltask, it only produces 155 files,
but when I use it on the Japanese version, it produces 182 files.

The 0000009a.dat seems to refer to the number of files that have been extracted; if you convert 9a to decimal
it becomes 154, which is the number of files not including this one.

The same is true of the Japanese version of alltask. It produces a file called 000000b5.dat; if you convert b5 to decimal it becomes 181.

Here's the alltask from the Japanese version of Way of the Samurai 2 Special Edition/Samurai dou 2 Kettouban [SLPM_742.09] for PS2.
http://www.solidfiles.com/v/NV3gppLnzMMYd

EDIT: The "alltask" file is where NPC dialogue is stored. It's in a folder called "task" where there are lots of individual files containing dialogue.
Changing the dialogue in these files doesn't change the dialogue in game, so I believe these are decompiled source files.
I believe the "alltask" file is an archive containing the compiled version of these source files.
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.