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.

Space Marshals 2(.bar)

Featured Replies

  • Author
  • Localization

Rokki, posted Thu Jun 22, 2017 12:11 pm (24247)


It seems that there are several formats in the game.
CRAB .... PxZP
CRAB .... PSND
CRAB .... TLPB
Only uploaded a small file.
Thanks in advance!
  • Author
  • Localization

Rokki, posted Sun Jun 25, 2017 11:57 pm (24295)


Solved by using the default comtype.

Code:
Endian little
IDString "CRAB"
Get empty long

get fSize ASIZE
math FileInfoStart = fSize
math FileInfoStart - 8
GoTo FileInfoStart
get FileInfoOffset LONG
GoTo FileInfoOffset

get numFiles LONG
for i = 0 < numFiles
   get PackStartPos LONG
   get PackSize LONG
   get ehelper BYTE
   get lenPackName SHORT
   GetDString PackFPath lenPackName
   get wtf LONG

   SavePos cPackInfoPos

   GoTo PackStartPos
   get pxN LONG
   get dataSize LONG
   get zipSize LONG

   # ComType LZSS0_COMPRESS
   # ComType lz4_compress
   # ComType LZSS_Compress
   # ComType zlib
   # ComType zlib_compress
   # ComType zlib_noerror

   math packDataOffset = PackStartPos
   math packDataOffset 12
   Clog PackFPath packDataOffset zipSize dataSize
   GoTo cPackInfoPos
Next i
  • Author
  • Localization

MrCinematic, posted Tue Apr 05, 2022 6:21 pm (70879)


:?: I can't open any of the data files(.bar) or the obb files because the files are too big, how do I extend the file size limit? Should I use the command prompt? If so how do I do it? Any help with modding these games are greatly appreciated.
  • Author
  • Localization

rabatini, posted Sat May 14, 2022 8:05 pm (71555)


MrCinematic wrote:
:?: I can't open any of the data files(.bar) or the obb files because the files are too big, how do I extend the file size limit? Should I use the command prompt? If so how do I do it? Any help with modding these games are greatly appreciated.

use quickbms 4gb version
  • Author
  • Localization

MrCinematic, posted Sun May 15, 2022 4:49 pm (71566)


I tried that, but I'll try again.
  • Author
  • Localization

MrCinematic, posted Sun May 15, 2022 4:55 pm (71567)


Naa.. " offset filesize filename
--------------------------------------
0000000000000014 33414 data\Audio\Alert_GW.psn

Error: the compressed zlib/deflate input is wrong or incomplete (-3)
Info: algorithm 1
offset 0000000000000014
input size 0x0000000000000004 4
output size 0x0000000000008286 33414
result 0xffffffffffffffff -1

Error: the uncompressed data (-1) is bigger than the allocated buffer (33414)
It usually means that data is not compressed or uses another algorithm

Last script line before the error or that produced the error:
37 Clog PackFPath packDataOffset zipSize dataSize

Press ENTER or close the window to quit"
  • Author
  • Localization

MrCinematic, posted Tue May 31, 2022 4:26 pm (71760)


Maybe I didn't compile the scrip right... How is it done?
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.