by strange reactions I'm not able to insert these files
000000000A44FFEE|0000000027FF7000|0001F000|FILE223
000000000605044A|0000000028225000|00000800|FILE271
00000000860505E0|00000000282F0000|00005000|FILE289
00000000D005063B|000000002831D800|00002800|FILE297
000000001E45F343|000000002F9A1800|00001000|FILE357
000000003E46985D|0000000034C2E800|00059000|FILE806
000000000446DF9D|0000000036FCE800|00012000|FILE1100
00000000EB46DFC1|0000000036FE0800|00001000|FILE1101
00000000D246F048|0000000037824000|00006000|FILE1124
can anyone help me?
Here is the tool and source codehttp://www.4shared.com/archive/_2i9teuY/FFX_-_beta_Tools.html
If these files are bigger than the original, you have to change the values in the LBA. This tool probably doesn't do it.
LBA table is started on 280th sector of the ISO. Each value in this table has 4 bytes.
- sector, where the file is started in ISO
- flag (0 - not compressed, 4 - standard, 8 - dummy)
- value, how many bytes remain to the end of sector (and this value has to be changed)
Example, English file 292:
- start sector: 387897, so 0x5eb39
- filesize: 0xbc3, rounded up to 8B, so 0xbc8.
So, how many bytes are left to the end of sector:
0x800 - (0xbc8 % 0x800) = 0x800 - 0x3c8 = 0x438
LBA entry should look like this:
value = 0x5eb39 | (4 << 20) | ((0x438 >> 3) << 24) = 0x8745eb39