BIN file of Heroes of oder and chaos
-
- Posts: 404
- Joined: Mon Oct 06, 2014 6:41 pm
-
- Posts: 161
- Joined: Sat Dec 13, 2014 1:01 am
Re: BIN file of Heroes of oder and chaos
There's info on the files at the end, starting at 0x221112, although I'm not sure how to find that automatically. However it's possible for a script to just read the files without a table since they have size, name, etc in the file itself. The main chunk of data seems compressed though and I don't know what kind of compression it is. The fact that the info at the end has chunks starting with PK might suggest that it's some sort of PKWARE algorithm, but again I don't know. It's also strange that only part of the files are compressed, so it's likely that they're just containers (seeing as the header is GBMP and the extension in the names are .tbl).
If somebody knows how to detect the file table at the end then I (or someone else) can make a script to extract them. Worst case scenario I'll have to hard-code the offset it but that means you can't reimport and it will only work with this file. After that's done then we can maybe take a look at the GBMP files individually.
If somebody knows how to detect the file table at the end then I (or someone else) can make a script to extract them. Worst case scenario I'll have to hard-code the offset it but that means you can't reimport and it will only work with this file. After that's done then we can maybe take a look at the GBMP files individually.
-
- Posts: 909
- Joined: Sat Aug 09, 2014 11:21 am
Re: BIN file of Heroes of oder and chaos
Or you could just extract the file with 7zip.
If you find a file table with a zip signature ("PK") at the end of an archive, you can always do that.
If you find a file table with a zip signature ("PK") at the end of an archive, you can always do that.
-
- Posts: 404
- Joined: Mon Oct 06, 2014 6:41 pm
Re: BIN file of Heroes of oder and chaos
I cant extract with 7zip
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: BIN file of Heroes of oder and chaos
The best script in the world
http://aluigi.org/papers/bms/zip.bms
http://aluigi.org/papers/bms/zip.bms
-
- Posts: 161
- Joined: Sat Dec 13, 2014 1:01 am
Re: BIN file of Heroes of oder and chaos
Neither 7-Zip nor the zip script work. With the script I get "unsupported compression method 32768".
-
- Posts: 404
- Joined: Mon Oct 06, 2014 6:41 pm
Re: BIN file of Heroes of oder and chaos
aluigi wrote:The best script in the world
http://aluigi.org/papers/bms/zip.bms
it works Thanks, i didn't remember this script
-
- Posts: 161
- Joined: Sat Dec 13, 2014 1:01 am
Re: BIN file of Heroes of oder and chaos
My mistake, I was testing it on the incorrect file. It does indeed work.
-
- Posts: 404
- Joined: Mon Oct 06, 2014 6:41 pm
Re: BIN file of Heroes of oder and chaos
aluigi wrote:The best script in the world
http://aluigi.org/papers/bms/zip.bms
Can you help me with this file ? When i edited it by hex editor and reimport, its error because not match size
I know rule of the file but i can't find length of it to modify.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: BIN file of Heroes of oder and chaos
quickbms or the game gives you that error?
For quickbms there is nothing that can be done.
For the game it's a bit more complex because it's necessary to understand about what size it refers.
If you reimport the file without editing it, do you have the same errors?
For quickbms there is nothing that can be done.
For the game it's a bit more complex because it's necessary to understand about what size it refers.
If you reimport the file without editing it, do you have the same errors?
-
- Posts: 404
- Joined: Mon Oct 06, 2014 6:41 pm
Re: BIN file of Heroes of oder and chaos
aluigi wrote:quickbms or the game gives you that error?
For quickbms there is nothing that can be done.
For the game it's a bit more complex because it's necessary to understand about what size it refers.
If you reimport the file without editing it, do you have the same errors?
quickbms error when i edited the files. Reason of quickbms: size not match ( size of new file is over than old file )
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: BIN file of Heroes of oder and chaos
In that case you need to make the edited file equal in size or smaller than the original.
The alternative to the reimport mode is writing your own rebuilder, find a way to not need to put the files in an archive or edit the archive manually.
In some cases it may be even possible to append the edited file at the end of the archive but it's not something "generic" that can be made in automatic by the reimport mode.
The alternative to the reimport mode is writing your own rebuilder, find a way to not need to put the files in an archive or edit the archive manually.
In some cases it may be even possible to append the edited file at the end of the archive but it's not something "generic" that can be made in automatic by the reimport mode.
-
- Posts: 404
- Joined: Mon Oct 06, 2014 6:41 pm
Re: BIN file of Heroes of oder and chaos
aluigi wrote:In that case you need to make the edited file equal in size or smaller than the original.
The alternative to the reimport mode is writing your own rebuilder, find a way to not need to put the files in an archive or edit the archive manually.
In some cases it may be even possible to append the edited file at the end of the archive but it's not something "generic" that can be made in automatic by the reimport mode.
Can you help me with EN.rar attached ??
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: BIN file of Heroes of oder and chaos
No sorry, only archives.
-
- Posts: 404
- Joined: Mon Oct 06, 2014 6:41 pm
Re: BIN file of Heroes of oder and chaos
aluigi wrote:No sorry, only archives.
thanks
-
- Posts: 404
- Joined: Mon Oct 06, 2014 6:41 pm
Re: BIN file of Heroes of oder and chaos
aluigi wrote:No sorry, only archives.
Aluigi, can you help me? When i reimport without edit, game still crash I think the reimport progress is fail
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: BIN file of Heroes of oder and chaos
The reasons can be many.
When a file is compressed, reimporting it will not generate the same identical compressed file of the original.
This is usually not a problem but with some rare games it may be, although it's very strange in this case.
When a file is compressed, reimporting it will not generate the same identical compressed file of the original.
This is usually not a problem but with some rare games it may be, although it's very strange in this case.
-
- Posts: 404
- Joined: Mon Oct 06, 2014 6:41 pm
Re: BIN file of Heroes of oder and chaos
Can you have anyways for resolve this for me? Thanks. Its very important for me
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: BIN file of Heroes of oder and chaos
Maybe others users are interested in the same game and will help you.
-
- Posts: 404
- Joined: Mon Oct 06, 2014 6:41 pm
Re: BIN file of Heroes of oder and chaos
aluigi wrote:Maybe others users are interested in the same game and will help you.
can you make another script for BIN file attached at #1 with another way not same as zip.bms script ??