READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

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: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

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

Post by Ekey » Mon Aug 20, 2012 5:09 pm

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.

User avatar
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 » Tue Aug 21, 2012 1:00 pm

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: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

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

Post by Ekey » Tue Aug 21, 2012 2:52 pm

It's for PC. For Repack read section 3 in QuickBMS readme.

User avatar
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 » Tue Aug 21, 2012 3:20 pm

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: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

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

Post by Ekey » Tue Aug 21, 2012 3:35 pm

Send me any small archive in pm.

User avatar
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 » Tue Aug 21, 2012 3:37 pm

OK, time to look for'em on my DVDs. Standby, please.

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

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

Post by Ekey » Tue Aug 21, 2012 8:24 pm

Same format. Just before

Code: Select all

comtype unzip_dynamic
add

Code: Select all

endian big

User avatar
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 » Wed Aug 22, 2012 3:14 am

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: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

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

Post by Ekey » Sat Aug 25, 2012 2:50 pm

What the pak you try unpack ?

User avatar
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 » Sat Aug 25, 2012 10:28 pm

The two I sent you, Sir.

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

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

Post by Ekey » Sat Aug 25, 2012 11:48 pm

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

User avatar
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 » Sun Aug 26, 2012 12:24 pm

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: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

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

Post by Ekey » Sun Aug 26, 2012 12:27 pm

I do not know how get filenames for Xbox. For PC need debugging.

User avatar
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 » Sun Aug 26, 2012 3:14 pm

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: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

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

Post by Ekey » Sun Aug 26, 2012 3:29 pm

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

Post Reply