US English files need the use "KH1 US", it covers both EVT and SYS for that game. And for ARDs, you need the EVT font. ;)
Well, let's give this a go. If nothing else, it will consolidate all the files for a bit, since they are everywhere. https://drive.google.com/folderview?id=0B_BCRWkclDn2Y2J1SzFsUk9iNDQ&usp=sharing (Note: To edit\upload, on an alt account, I had to "Add to Drive" then "Open in drive".) This folder should have full permissions for anyone with the link; can change to "only allowed people can edit" if necessary/preferred. (Keep backups of what you upload, since anyone can override. :p) Btw, both folder and spreadsheet link in my sig. Spreadsheet's been there for a bit, now.
I can work with whatever service\site we decide on, so w\e. --- Beginning to translate the SLPS file. View attachment 36425 It's working, but man is it slow and tedious. Not to mention character limits, I cannot go longer then the original Japanese did (Hasn't made too much of a problem, in most cases). I didn't see any tables for these strings though, they're referenced directly through the code. So this seems like the only option.
I have the Journal done: http://crazycatz00.x10host.com/KH/files/mod_FinalMixEnglishFilesPartial.7z. KMB files are only used there, and simple enough, so I just used a hex editor.
It's not that you don't need to translate it, but that it's almost the same between ARDs. So if you do it in one, there's a good chance the next ARD uses the same one. --- I'm taking a look at the SLPS file.... man, looks like it's going to be manual hex editing all the way. Not even sure which font which string uses, meaning that needs to be tested for each one too. This is going to be a long, slow file.....
To add anything bigger with the current replacer, when it asks you "Do you want to append file to ISO (Increases size)? [Y,N]" press y then enter. To do it manually, it's more involved. ARD Editor v2.01 is up. It detects file by their name now. If it ends in ".ard" it's an ARD, if its name is "btltbl*.bin" (where * is any characters) it's a btltbl, everything else it will complain and offer to parse as ARD. Supports the 3 string tables in btltbl, I failed to find any more. (Do tell if there are :p) Make sure to use "KH1 US" for the US English version, "KH1 Final Mix SYS" on unmodified Final mix versions, and "KH1 Final Mix English SYS" for translations! NOTE: I've only tried the btltbl.bin support for FM and US versions. It might work on others, but no guarantees. And yes... I know it's a little annoying the way btltbl is presented... Just how the back-end works. That's why I made the 2 import\export buttons, which are disabled unless used through this link. Also fixed a small bug in the String mapping arrays, where it failed to remember last selected type if it was "KH1 Final Mix English SYS". Attached a semi-translated btltbl.bin (with swapped O<->X ;)). Note there's 2 files: 1 normal, and 1 not optimized. If you have problems with the normal one, but it's fine with the not-opti one, please tell me.
Made 2 "advanced" functions in the ARD editor: 1 exports all the sections separated by 2 line-breaks, 1 imports all the sections separated by a literal \n. So all I did is line the US export text with the FM text, added the few new names I could, then re-imported it. Took maybe 20 mins total. :p I know the buttons need to be switched, was just a quick test. Also there's a "bug" where spaces for command code arguments are set to 0xFF instead of 0x01, so it can change their meaning. I plan I making it treat command code args as {0x00} codes, to prevent this. Also want to add in a size optimization for btltbl, which should be pretty fast since I already have a model in mind. I'll throw up the file when I at least fix the 0x01->0xFF bug, that's really screwing some messages up.
Just to add my opinion of the font: The FM version of the font wasn't made to handle "handing letters". In the English font, the letters are actually a bit taller then in the Japanese one, and the hanging letters are just lower then the rest. I even found the line height in the FM ver, so I could try to make it bigger, but it's hard-coded. Every-time it's needed, a different version is used. So if you don't change every version, it won't work right. And if they do some fancy math that looks different somewhere, I'd probably miss it, so that part would always look broken when used. Or if something looks like it affects the font, but really doesn't, it could break the game. Just too much to go wrong to be worth it, imo. And the ARD editor btltbl.bin editor is working, just not complete. I have to add each table manually, and just found the keyblade table + format. Edit: Ok, so I got my ARD editor able to edit the btltbl.bin, and seems consistently OK. A bit annoying to make, though, since this bin has 3 separate tables of string pointers.... So look out for version 2 of that, soon; a few bugs\features to edit before I post it. (BTLTBL## means that string was FM-only & I wasn't comfortable translating) Also, this thing internally works the same as Gledson99's method, so thanks for that!
Just gonna post this: View attachment 36410 ARD editor seems to work fine on btltbl now (unreleased version, still). I hit a bug earlier, but that might of been my fault, so I still have some testing to do.
Guys, heads up, I'm trying to add btltbl support in the ARD editor. It's able to read it fine, afaik; adding saving support now. I'm interested in your method, if you want to post it sometime. ;)
Ok, so I think this is stable enough. In-browser ARD editor: http://crazycatz00.x10host.com/KH/ard editor.html I've tried it on a few files, and all seems well. A heads up, when you edit a section you need to click "Save section" for the changes to take affect. Problems\Questions, just say something. Also note you need a recent browser for this to work. In specific, I made this in Pale Moon 20.2.1-x64 (Firefox 20 codebase), though I'll try to support others (not Internet Explorer, there's no way this will ever work in it ). Another heads up: There are still junk sections in this, there's not a real good way to know which are which without possible removing real sections too. Just "Close section" on the junk ones.
Ya, it just asks for what file YOU want to replace. As for making it easier, I have another one almost done that works better then this replacer. It just picks up all the files itself, you just point it at an un-modified ISO. Just need to finish a part of the header-patcher.
Ohh, lol. You mean the replacer?
Take a relative path from the export folder, using "/" instead of "\". So "export\kanji.knj" is just "kanji.knj", "export\menu\sysfont.bin" is "menu/sysfont.bin", and "export\random\folder\structure\file.ard" would be "random/folder/structure/file.ard". You can also look at the hashpair.log file, that lists every filename it will accept.
Try "menu/sysfont.bin". :P
Make sure you have the _HashPairs.log file that came with the extractor. It tells my tools the filenames. If it's loading right, you'll see "Using HASHPAIRS file version 1.09 (Crazycatz00) with 3294 entries!." as the first line of anything that uses it. If you re-extract with that, you should have nice names. Edit: Woa, disappearing posts, gg. From the ReadMe: "for those who know what they're doing." You don't need anything in the Dev folder. Also, the guide linked around in here is pretty step-by-step, just skip the "For ARD files:" and "For ARD files:" parts if you're not making them yourself. Ex. Extract game, replace files in "export" with the new downloaded ones, run the replacer and type the new file's names in it, done.
So I have a semi-working in-browser ARD editor. Right now it can open the ARD itself, and extract the string tables the same as the console tools. It will also be able to save the new ARD directly, and that is almost working. Not sure if it's a bug, but the conversion for saving by the browser is clobbering changed data; it's somehow turning 242 into 195... So I'm looking at work-arounds for that... Nice to see most people here using FireFox... It'll probably run faster for it, since I'm programming in it. :P
The line count it literally how many lines are in the file. In normal Windows notepad, if you enable the status bar (View->Status bar) and go to the end of the file it will tell you something line "Ln 346 Col 1". So this random file I opened has 346 lines. Skype might be easier, and less forum spam. Username: crazycatz00 If anyone adds me, put your forum name in the invite please; I don't like adding completely random people.
If it was from "he07.ard-7.txt", for example, you would put it in the same one for FM. Also, you do need to make sure they have the same number of lines. he07.ard, again, has 346 lines in the US version but 374 in the Final Mix. This means they added stuff. At this point, you would go through and try to find where they added the new lines, and translate them (or use a single 00 on that line to skip). I've used google translator for this (adding 00 lines), it's usually close enough to line them up. And ya, some txt files are the same. If they're the same, use the same new hex codes on them all. Just make sure you don't touch the first line.
Which version? If you start typing numbers in the bottom field yourself, does the top update then? What if you type in the top field? Ohh, and the hex codes are separated by a space, right? The thing uses the space to know which are individual numbers.