Format IDX
-
- Posts: 15
- Joined: Sun Nov 02, 2014 9:17 pm
Format IDX
Good day. Help unpack format .IDX
I think it stores the text files for the game ...
Throw off 2 files
https://mega.co.nz/#!L9lSnTiI!kabBT0Qxy ... sfv8slEJ3g
https://mega.co.nz/#!ngNwCbqK!8M5E3_s3K ... yRLvGVLZHo
I think it stores the text files for the game ...
Throw off 2 files
https://mega.co.nz/#!L9lSnTiI!kabBT0Qxy ... sfv8slEJ3g
https://mega.co.nz/#!ngNwCbqK!8M5E3_s3K ... yRLvGVLZHo
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Format IDX
Name of the game?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
-
- Posts: 15
- Joined: Sun Nov 02, 2014 9:17 pm
Re: Format IDX
Thank you very much. but how to repack back?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Format IDX
You can't reimport because the compression is applied on the whole data file, in fact the script uses MEMORY_FILE
-
- Posts: 15
- Joined: Sun Nov 02, 2014 9:17 pm
Re: Format IDX
That is, you can not back pack?
-
- Posts: 15
- Joined: Sun Nov 02, 2014 9:17 pm
Re: Format IDX
Then unpack it makes no sense((
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Format IDX
In reality there is a solution.
It's not quick as using that script but it should work perfectly.
Step 1:
open data.cnt with 7-zip and unpack it, the output file will be just "data" without extension.
Step 2:
Use this script, it's just the same of the website but without automatic decompression of data.cnt
Step 3
edit your files and delete those that have not been modified
Step 4
use reimport.bat
Step 5
use gzip on the modified "data" file.
If you don't have gzip or don't know how to use it, use this script:
Done, it should work perfectly.
Maybe the game is even able to use the extracted files without archive, have you tried it?
And remember that extracting the files makes EVER sense.
It's not quick as using that script but it should work perfectly.
Step 1:
open data.cnt with 7-zip and unpack it, the output file will be just "data" without extension.
Step 2:
Use this script, it's just the same of the website but without automatic decompression of data.cnt
Code: Select all
open FDDE "" 1
open FDDE "IDX"
set PATH string ""
set NAME string ""
math SUB_ENTRIES = 1
callfunction EXTRACT
startfunction EXTRACT
string PATH += NAME
string PATH += /
math ENTRIES = SUB_ENTRIES
for i = 0 < ENTRIES
get TYPE long
get NAME string
if TYPE == 0
get SUB_ENTRIES long
callfunction EXTRACT
else
get OFFSET long
get SIZE long
set FNAME string PATH
string FNAME += NAME
log FNAME OFFSET SIZE 1
endif
next i
endfunction
Step 3
edit your files and delete those that have not been modified
Step 4
use reimport.bat
Step 5
use gzip on the modified "data" file.
If you don't have gzip or don't know how to use it, use this script:
Code: Select all
comtype gzip_compress
get SIZE asize
get NAME basename
string NAME += ".cnt"
clog NAME 0 SIZE SIZE
Done, it should work perfectly.
Maybe the game is even able to use the extracted files without archive, have you tried it?
And remember that extracting the files makes EVER sense.
-
- Posts: 15
- Joined: Sun Nov 02, 2014 9:17 pm
Re: Format IDX
You will not believe what I just did not try .. I can give you a link to download the game, there's a lot of that has to be interesting for you, I'm already half a year I suffer to translated into Russian
The problem ?
This data are text files that I need to change, but there is no text at unpacking
The problem ?
reomport.bms
Code: Select all
comtype gzip_compress
get SIZE asize
get NAME basename
string NAME += ".cnt"
clog NAME 0 SIZE SIZE
This data are text files that I need to change, but there is no text at unpacking
-
- Posts: 15
- Joined: Sun Nov 02, 2014 9:17 pm
Re: Format IDX
I was given the text in binary form(
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Format IDX
As far as I remember the INI are compiled.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Format IDX
Basically the INI files are not in clear text, they are in binary form.
If you open them with a hex editor you can see that each file is divided in at least two parts, one with numbers and one with text.
I can't help with decompilers.
If you open them with a hex editor you can see that each file is divided in at least two parts, one with numbers and one with text.
I can't help with decompilers.
-
- Posts: 15
- Joined: Sun Nov 02, 2014 9:17 pm
Re: Format IDX
Thanks for the help, I would like to stop at the last as pack files back? You can be more specific?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Format IDX
Personally I can't help further.
-
- Posts: 15
- Joined: Sun Nov 02, 2014 9:17 pm
Re: Format IDX
No, I mean to repack more back pack files
-
- Posts: 15
- Joined: Sun Nov 02, 2014 9:17 pm
Re: Format IDX
There is a problem if the file is large, then it does not repack
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Format IDX
That's a rule of the reimport feature, the file or re-compressed file must be the same or smaller than the original file.