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

SoupToys .toy format

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
AngelSL
beginner
Posts: 29
Joined: Mon May 07, 2007 2:06 pm
Has thanked: 1 time
Been thanked: 6 times
Contact:

SoupToys .toy format

Post by AngelSL »

Hey. I've been playing this game http://www.souptoys.com, and have gotten considerably fed up with the "limit" of each toy available.

Hopefully, the format isn't too hard.
(File format header: 883F0305)

(If you download it, the toy files can be found at C:\Documents and Settings\All Users\Application Data\Souptoys\Toys.
You do not have the required permissions to view the files attached to this post.
Zench
VIP member
VIP member
Posts: 209
Joined: Sun May 04, 2008 9:11 pm
Has thanked: 4 times
Been thanked: 59 times
Contact:

Re: SoupToys .toy format

Post by Zench »

Here is just a quick little bit of info about this format:

It starts out with a 76 byte header that doesn't seem to be part of the format, since all offsets are relative to the end of this header (so to get the real offset you need to add 76 to the value in the file). The file table is at the end of the file, even though there seems to be something at the beginning too. Everything is little-endian.

Code: Select all

// At the very end of the file
uint32 {4} - Offset to the end header (subtract 4, but also remember to add 76 to it!)

// The end header
uint32 {4} - Offset to the file table (remember to add 76 to it!)

// The file table
uint32 {4} - Number of files

// For each file
  uint32 {4} - Filename length
  char {x} - Filename
  uint32 {4} - Offset to the file data (remember to add 76 to it!)
  uint32 {4} - Extension length
  char {x} - Extension, although already specified in the filename
  uint32 {4} - Size of the file
And I said, "The well has finally run dry." So then that will be my battle cry.
AngelSL
beginner
Posts: 29
Joined: Mon May 07, 2007 2:06 pm
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: SoupToys .toy format

Post by AngelSL »

Thanks for looking at it. So far it seems that it's some kind of archive file with AutoCAD 3d files in them?
Zench
VIP member
VIP member
Posts: 209
Joined: Sun May 04, 2008 9:11 pm
Has thanked: 4 times
Been thanked: 59 times
Contact:

Re: SoupToys .toy format

Post by Zench »

AngelSL wrote:Thanks for looking at it. So far it seems that it's some kind of archive file with AutoCAD 3d files in them?
The file you posted is an archive, but there are no AutoCAD files in it. It looks like it has a few pictures, sound effects, and script files. An extractor for it would probably not be difficult to write.
And I said, "The well has finally run dry." So then that will be my battle cry.
AngelSL
beginner
Posts: 29
Joined: Mon May 07, 2007 2:06 pm
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: SoupToys .toy format

Post by AngelSL »

I must be mistaken then. I hope to see an extractor soon, maybe even a repacker (okay I'm going way too far.. am I?)
Zench
VIP member
VIP member
Posts: 209
Joined: Sun May 04, 2008 9:11 pm
Has thanked: 4 times
Been thanked: 59 times
Contact:

Re: SoupToys .toy format

Post by Zench »

AngelSL wrote:I must be mistaken then. I hope to see an extractor soon, maybe even a repacker (okay I'm going way too far.. am I?)
Good thing I held off on making an extractor... it looks the format is not what I thought it is (I downloaded the demo). A repacker would not be too difficult to make.
And I said, "The well has finally run dry." So then that will be my battle cry.
Zench
VIP member
VIP member
Posts: 209
Joined: Sun May 04, 2008 9:11 pm
Has thanked: 4 times
Been thanked: 59 times
Contact:

Re: SoupToys .toy format

Post by Zench »

Just to mix things up a bit, here is a Game Extractor plugin to read this format. It's my first attempt at writing a Game Extractor plugin, so I may not have done things completely right. Just extract the ZIP into C:\Game Extractor\plugins.
You do not have the required permissions to view the files attached to this post.
And I said, "The well has finally run dry." So then that will be my battle cry.
AngelSL
beginner
Posts: 29
Joined: Mon May 07, 2007 2:06 pm
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: SoupToys .toy format

Post by AngelSL »

Thanks all. I'll look at the java source and try to reverse it (i.e repacker)
Snow
ultra-n00b
Posts: 2
Joined: Sun Nov 02, 2008 4:51 pm

Re: SoupToys .toy format

Post by Snow »

Nice job, ill be sure to contribute what i understand, and if i can get a repack script together
AngelSL
beginner
Posts: 29
Joined: Mon May 07, 2007 2:06 pm
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: SoupToys .toy format

Post by AngelSL »

The contents of this post was deleted because of possible forum rules violation.
Snow
ultra-n00b
Posts: 2
Joined: Sun Nov 02, 2008 4:51 pm

Re: SoupToys .toy format

Post by Snow »

My bad, i just have a mess of things, well thanks for the simplified versions
Zench
VIP member
VIP member
Posts: 209
Joined: Sun May 04, 2008 9:11 pm
Has thanked: 4 times
Been thanked: 59 times
Contact:

Re: SoupToys .toy format

Post by Zench »

Looks neat, but yet I haven't gotten around to trying it! :D
And I said, "The well has finally run dry." So then that will be my battle cry.
Post Reply