The Forum is up for sale: XeNTaX Forum looking for new owner

S.W.I.N.E pak file

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

S.W.I.N.E pak file

Post by yair1221 »

ok, so here's the deal:
im trying to find an exporter for the game S.W.I.N.E
the file header tells me its a pack file(which it is...a .pak, i just wanted to make sure so i checked, maybe there are different versions of pak)
it goes like that:

Code: Select all

53 72 1A 1B 0D 0A 87 0A 50 41 43 4B AC C8 03
which means

Code: Select all

Sr....‡.PACK¬ָ.
i dont know alot about those things, but i can see a lot of filenames, so i dont think it has a complex compression...truth is i can see every filename in this archive...
the problem is, all the gamefiles are located in that pak, which makes it a 850MB file, i can try and upload it at night, but i doubt anyone will download a 500MB file(compressed)
the game is made by stormregion and fishtank studios, and i cant find a record on its engine, maybe its custom-made
i'd appreciate if you can tell me more about that file, but i dont think the header is enough to know...
here is something i found about the file, but it doesnt tell me anything, maybe it could help you lot...

Code: Select all

== SWN - S.W.I.N.E., ? ==
Header is first, then library and then data. Untested !
Offset is from Data start, so real file offset is 16 + lib size + offset

Header:	 offset	 length	 contents
ident1 0 4 53 72 1A 1B 'Sr'
?	 4	 4
ident2	 8	 4	 'PACK'
lib size	 12	 4	 long

Lib record:
?	 0	 1
name length	 1	 1	 0..255
name	 2	 namelen
offset	 2+namelen	 4	 ulong
size	 6+namelen	 4	 ulong
?	 10+namelen	 5
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: S.W.I.N.E pak file

Post by yair1221 »

anyone? please?
you have the structure of the file above...
if you need me to upload it i can...
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: S.W.I.N.E pak file

Post by chrrox »

you need to upload the first and last 10mb of the file.
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: S.W.I.N.E pak file

Post by yair1221 »

The contents of this post was deleted because of possible forum rules violation.
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: S.W.I.N.E pak file

Post by yair1221 »

can anyone please please give it a try? :(
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: S.W.I.N.E pak file

Post by yair1221 »

please? anyone?
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: S.W.I.N.E pak file

Post by yair1221 »

*up*
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 136 times

Re: S.W.I.N.E pak file

Post by WRS »

chrrox wrote:you need to upload the first and last 10mb of the file.
yair1221 wrote:er...how do i know what are the first 10MB, you mean the first 10 million bytes? oh...i have a lot of counting ahead :P
:mrgreen:

PACK section runs over the TEXT section, so could you run this script:

Code: Select all

for
  idstring "Sr\x1a\x1b\xd\xa\x87\xa"
  getdstring TYPE 4
  get SIZE long
  savepos POS

  if TYPE == "PACK"  

  elif TYPE == "TEXT"

  elif TPYE == "SCEN"

  else
    print "Not sure how to hanlde "%TYPE""
    cleanexit
  endif

  math POS += SIZE
  goto POS  

next
Useful tool links:
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: S.W.I.N.E pak file

Post by yair1221 »

it tells me this:

Code: Select all

signature doesn't match the one expected by the script:
this one: "; Effect
expected: "Sr><
c
"
the SR>< simply has arrows instead of ><, that was the closest thing so i wrote it...
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: S.W.I.N.E pak file

Post by yair1221 »

please?
i just love this game's models, and i want to extract them :P
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: S.W.I.N.E pak file

Post by yair1221 »

bump
im not giving up on this thread :P
i just love the models from this game :D
i think what i gave in the thread's open is the bloody struct, can anyone give it a try?
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: S.W.I.N.E pak file

Post by yair1221 »

humpty dumpty bump :P
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: S.W.I.N.E pak file

Post by yair1221 »

unbelievabe, 12 posts, only 2 made by others XD
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: S.W.I.N.E pak file

Post by yair1221 »

bummmmmmp
Post Reply