Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Sonic & SEGA All-Stars Racing (*.XPAC)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Ekey »

Code: Select all

# Sonic & SEGA All-Stars Racing (PC) (XPAC format)
# 
# By Ekey (h4x0r)
# http://www.progamercity.net
#
# script for QuickBMS http://quickbms.aluigi.org

comtype unzip_dynamic

goto 0x8
get TABLESIZE long
goto 0xc
get FILES long
goto 0x18

for i = 0 < FILES
	get HASH long
	get OFFSET long
	get SIZE long
	get SIZED long
	get NULLS long
	string NAME p= "%08X" HASH
	clog NAME OFFSET SIZE SIZE
next i
FileNames hashed
You do not have the required permissions to view the files attached to this post.
Last edited by Ekey on Sat Aug 25, 2012 11:45 pm, edited 2 times in total.
Delacroix
advanced
Posts: 70
Joined: Thu Sep 15, 2011 2:12 pm
Has thanked: 10 times
Been thanked: 2 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Delacroix »

This for PC or X360? If PC, are you able to deal w/ X360 ver as well?

Any chances for repacking archives?
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Ekey »

It's for PC. For Repack read section 3 in QuickBMS readme.
Delacroix
advanced
Posts: 70
Joined: Thu Sep 15, 2011 2:12 pm
Has thanked: 10 times
Been thanked: 2 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Delacroix »

Will you be able to check out the X360 version of the format as well?

I can send you archives required if you do not have them.
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Ekey »

Send me any small archive in pm.
Delacroix
advanced
Posts: 70
Joined: Thu Sep 15, 2011 2:12 pm
Has thanked: 10 times
Been thanked: 2 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Delacroix »

OK, time to look for'em on my DVDs. Standby, please.
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Ekey »

Same format. Just before

Code: Select all

comtype unzip_dynamic
add

Code: Select all

endian big
Delacroix
advanced
Posts: 70
Joined: Thu Sep 15, 2011 2:12 pm
Has thanked: 10 times
Been thanked: 2 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Delacroix »

I seem to have errors:

- invalid zlib compressed data (-3)
- there is an error with the decompression
the returned output size is negative (-1)

Please advise!
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Ekey »

What the pak you try unpack ?
Delacroix
advanced
Posts: 70
Joined: Thu Sep 15, 2011 2:12 pm
Has thanked: 10 times
Been thanked: 2 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Delacroix »

The two I sent you, Sir.
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Ekey »

Ok here updated script for Xbox

Code: Select all

# Sonic & SEGA All-Stars Racing (Xbox) (XPAC format) v0.2
# 
# By Ekey (h4x0r)
# http://www.progamercity.net
#
# script for QuickBMS http://quickbms.aluigi.org

endian big
comtype unzip_dynamic

goto 0x8
get TABLESIZE long
goto 0xc
get FILES long
goto 0x18

for i = 0 < FILES
   get HASH long
   get OFFSET long
   get SIZE long
   get SIZED long
   get NULLS long
   string NAME p= "%08X" HASH
if ZSIZE == SIZE
   clog NAME OFFSET SIZE SIZE
else
   clog NAME OFFSET SIZED SIZE
 endif
next i
Delacroix
advanced
Posts: 70
Joined: Thu Sep 15, 2011 2:12 pm
Has thanked: 10 times
Been thanked: 2 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Delacroix »

OK. Now is ther any way to get the filenames set properly, Sir? :)
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Ekey »

I do not know how get filenames for Xbox. For PC need debugging.
Delacroix
advanced
Posts: 70
Joined: Thu Sep 15, 2011 2:12 pm
Has thanked: 10 times
Been thanked: 2 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Delacroix »

Debugging of what -- the exe's process? Oh. That might be a problem. It is in NO WAY stored in the files, you are certain of that, Sir?
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Sonic & SEGA All-Stars Racing (*.XPAC)

Post by Ekey »

Delacroix wrote:Debugging of what -- the exe's process?
Yep
Post Reply