Sword of Etheria PS2 unpack chara.bin

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
roocker666
Posts: 20
Joined: Sun Jun 23, 2019 5:13 am

Sword of Etheria PS2 unpack chara.bin

Post by roocker666 »

Hello guys, Is it possible to unpack the chara.bin file from the game "sword of etheria"?
This file contains more .bin files(character files). There is a table of names in offset 0x09610800.

I tried to extract some manually but it is hard to see where starts and ends every character.

here are a few pictures and sample file:
Image1Image

Image2
Image

Sample chara bin:
http://www.mediafire.com/file/nz0l95vrsawyaz5/sword_of_etheria_chara_bin.rar/file

Thanks
LokiReborn
Posts: 190
Joined: Fri Aug 26, 2016 3:11 pm

Re: Sword of Etheria PS2 unpack chara.bin

Post by LokiReborn »

roocker666 wrote:Hello guys, Is it possible to unpack the chara.bin file from the game "sword of etheria"?
This file contains more .bin files(character files). There is a table of names in offset 0x09610800.

I tried to extract some manually but it is hard to see where starts and ends every character.

Thanks


It's something like this, I'm not sure what the data is supposed to look like to know if that is all correct but I'm guessing it's pretty close.

53 49 4D 42 //Magic
A7 00 00 00 //Count
02 00 00 00 //Number of Blocks in Offset Table (Note Block size is 0x800)
21 2C 01 00 //Number of Blocks to String Table (Start offset)
02 00 00 00 //Number of Blocks in String Table
00 00 00 00 00 00 00 00 00 00 00 00 //Unknown 12 Bytes from Example

00 00 00 00 //Relative Block Offset (For this section only)
1A 04 00 00 //Number of Blocks
55 CC 20 00 //Length
00 00 00 00 //String offset (Read bytes until 0x00)

Assuming it's all right the attached should work, you can try taking a look at the output.
roocker666
Posts: 20
Joined: Sun Jun 23, 2019 5:13 am

Re: Sword of Etheria PS2 unpack chara.bin

Post by roocker666 »

LokiReborn wrote:
It's something like this, I'm not sure what the data is supposed to look like to know if that is all correct but I'm guessing it's pretty close.

53 49 4D 42 //Magic
A7 00 00 00 //Count
02 00 00 00 //Number of Blocks in Offset Table (Note Block size is 0x800)
21 2C 01 00 //Number of Blocks to String Table (Start offset)
02 00 00 00 //Number of Blocks in String Table
00 00 00 00 00 00 00 00 00 00 00 00 //Unknown 12 Bytes from Example

00 00 00 00 //Relative Block Offset (For this section only)
1A 04 00 00 //Number of Blocks
55 CC 20 00 //Length
00 00 00 00 //String offset (Read bytes until 0x00)

Assuming it's all right the attached should work, you can try taking a look at the output.


OK!, I tested your tool and all .bin files were extracted. I compared a few in Hex editor and it seems like all files have the same structure, so yes, the tool works fine!

These .bin files are characters and enemies, each file contains animations, textures, meshes and more stuff. I still have a lot of work to do but it will be more easy with your tool.

Thank you very much! :)