Page 1 of 1

Waren Story

Posted: Fri Jul 20, 2012 12:58 am
by Rimbros
Waren History files samples in the repository. I shure finale see this format before and its a head paint to he. jejejeje.

Re: Waren Story

Posted: Fri Jul 20, 2012 4:41 am
by finale00
img files are compressed.
Don't know about sobject.

Re: Waren Story

Posted: Fri Jul 20, 2012 5:39 am
by Rimbros
game its from aeria games, sobject its same format of twelve sky 2

Re: Waren Story

Posted: Fri Jul 20, 2012 6:19 am
by finale00
No, it is slightly different. About half of the file is something else, followed by the compressed data that you can decompress with the existing twelve sky unpacker.

How the data is stored is also not the same. It is the same compression format, but a new script will need to be written.

It is possible that the model data is uncompressed, and all of the compressed data is just textures.

EDIT: Ok from the samples there are two types of sobjects. If you look at the header, it starts with SOBJECT2 (so it's not the same SOBJECT format as before), followed by two integers. If the first integer is a 1, then it's a model. If it's an 0x28, I don't know what it is but it doesn't look like a model. If you see something else then you should upload that as well.

I would like some decently large files (600-700 KB) and maybe some monsters/weapons (even if they load, for reference)

Plugin: http://db.tt/ryDE45s9
Loads meshes and textures from the file. Don't bother extracting the textures I don't bother checking.

Image

The compressed data is just the textures.
If you run it through offzip you'll get them fine

Image

It would be a lot easier to just load the textures directly without bothering to extract them, but I'll have to figure out where it's getting the sizes from.

The img files are also compressed. You can use offzip to get them out. They're just DDS files with some extra stuff before it

Image

Re: Waren Story

Posted: Fri Jul 20, 2012 11:28 am
by Rimbros
I would like some decently large files (600-700 KB) and maybe some monsters/weapons (even if they load, for reference)

In repository, More Folders

Coz the names i cant see wath its weapons or armors, i start search and upload lather.

Wath its the diference betwen this .SOBJECT and 12 sky 2 .SOBJECT?

BTW .SOBJECT and i see .MOBJECT from twelve sky 2 in the repository now.

Re: Waren Story

Posted: Fri Jul 20, 2012 6:39 pm
by finale00
Everything in twelvesky is compressed (models, textures, ...)
This one just has textures compressed.

I've removed the "limiter" on the plugin so that it doesn't bother checking that first integer I mentioned.
Each model comes in pairs; one that contains the model information, the other containing...I don't know.

It looks like all of the files whose names end with a 2 are models, while the ones that end with a 1 comes with it but doesn't contain mesh/texture info. So I changed it to check the filename instead.

I don't really understand why the same copy of the model is stored multiple times in the file (LOD maybe?), but it looks like you only need to load the first one to get the full model.

I've provided an option to load just the first mesh at the top of the script.

Image

I have no idea where the normals are stored in the vertices (maybe it's not just 3 floats)

Re: Waren Story

Posted: Fri Jul 20, 2012 9:13 pm
by Rimbros
Lol, this its nice, impresive see how u can find how the models are stored, thanks finale