Howdie folks I know alot of people are not happy with me but in a couple of days i'll be working on this project again because I have been digging into the ISO alot recently and have found that although not 100% but it doesn;t actual encrypt the data as I first thought it just compresses it abit with data jumbled up and out of order It is also clear now that forteg version uses uncompressed data in it and somehow still works so i'm going to try and inject some of my data into the ISO and i'll see if it works If it does then it definately going to be brown trouser time
I think I could possibly find where data is stored on the ISO and overwrite it with uncompressed data??
Also Forteg version is abit bigger in size than the original and still works with no fatal errors AFAIK so the file size doesn't seem to be a problem unless he has changed some data later on but I will see
If it does work I'll be able to include more dps of stuff and not have to worry bout running out of space Could also solve the colliseium problem
FINGERS CROSSED .... keep checking back for updates and progress --- My UCG: http://www.scribd.com/doc/86352624/FFX-Ultimate-Companion-Guide-v1-0 My Youtube: http://www.youtube.com/user/ppbirdman
YamiJustin Posted 6/12/2012 5:08:43 PM
[This message was deleted at the request of a moderator or administrator]
BrutalBrandon Posted 6/12/2012 8:33:17 PM
Hey man, don't feel bad. You don't owe anybody anything for donating your free time. Glad you're still working on it though.
tyrique12 Posted 6/12/2012 8:35:56 PM
yaaay! hope it isn't too rough to fix up .. good luck anyhow :)
Thomastm3 Posted 6/12/2012 9:12:17 PM
Woooo this has made my day :D this is awesome news thanks pbirdman.
Hopefully all goes well for you and we get a awesome patch :P --- Dragon's Dogma Pawn: Lenna Lv:41 Vocation: Warrior PSN: Thomastm
UrbanGt Posted 6/13/2012 7:17:39 AM
Wish you the best luck. I'm sure you'll find a way to fix that. By the way, thank you for doing what no one else was able to do.
xXFaloXx Posted 6/13/2012 10:49:07 AM
It's actually pretty easy to do if you know all this stuff..., - extract "iso_header" from sector 1-280 (offset = 0x0, size = 573440 bytes) - extract "cdrom.mdg" from sector 280-344 (offset = 0x8C000, size = 131072 bytes) - extract "cdrom.fid" from sector 344-345 (offset = 0xAC000, size = 130 bytes) - extract "sizetbl.bin" (it's file with id 15 in cdrom.mdg) - use information from these files to un/repack iso, files start at 0xAC800
cdrom.mdg format // file sector table 4 Byte = data, you need to read it bit-wise: - 22 bit = sector // sector * 0x800 = offset - 2 bit = flag // 0x1 = compressed, 0x2 = dummy - 8 bit = value // value * 8 = the "0x00 byte" size at end of file (aligned to 8)
cdrom.fid format: // file folder table, you don't need this for un/repack 2 byte = folder start id
sizetbl.bin format: 3 byte = value // value * 8 = size (without 0x00 bytes, aligned to 8)
But this doesn't solve your problems, the text files have a fixed size in ram, if they are to big you overwrite other stuff in ram (i tried translating FFX2+LM years ago, but never finished because of this problem)
PS: file 422 is the font (some strange 4 bit image file)
PM me if you want more info on iso repacking (i have lots of knowledge in square game file formats, compression, hashing, ...)
mogensu Posted 6/13/2012 12:18:56 PM
this isawesomesorry soe buttons not workingifeelhigh
ForteGSOmega Posted 6/13/2012 2:43:50 PM
Uncompressed files aren't a problem (although, IIRC, the compression flag has to be set to a specific value), but fixed RAM size allocation is (as Falo mentioned). That's the reason why I didn't pursue this further as well. You won't get around either digging into the memory allocation mechanics or messing around with font files (to at least make all ASCII characters 1 byte). For the latter, it looks like all the kanji have to be typed out for text extraction/reinsertion since they don't follow any standardized order in the game. --- "Naturally, I knows the hacker" - Kid, Ever17
xXFaloXx Posted 6/14/2012 12:00:52 AM
For the latter, it looks like all the kanji have to be typed out for text extraction/reinsertion since they don't follow any standardized order in the game.
see file 427, it contains all japanese (shift-jis) letters from 2C30 - 2CFF, 2D30 - 2DFF, 2E30 - 2EFF, 2F30 - 2FDD, the rest is easy to figure out
00 = end line 03 = new line 07XX = make space 0B30-40 = Buttons 0B80-89 = Symbols (Garmend Grid, Ability) 12XX = insert name/item/... 1330-46 = names (file 12793) 30 - FF = other japanese letters