http://www.geocities.com/nefariousdogooder/AF/AFprojectDistro.zip
The link is to a preliminary alpha-version patch that does a few rather silly things. First, allow me to dash your hopes: this is +not+ a full translation patch or even one that works especially well. This is a preliminary patch that should allow those who need to make the final script to do what they have to do.
Appologies about the size (I'll leave a little something at the shrine). It clocks in at 3 3/4 MB roughly, which isn't just a long download but a longer upload. Contained is a .ups format patch, tools that convert the text binaries into a SYLK file and back again, as well as a slew of documents of varying degrees of pertinence. The 7F command list is probably the only one anybody would care about.
The patch does a few things:
1) Moves the six main text banks to the end of the ROM. They can be moved around even more, though the size allotted is more than enough for the complete AC script, let alone the AF one.
2) Changes the number of allowed indices for each table. Each table (except the npc name list) can have upwards of as many entries as in AC without any likely problems.
3) Changes the 7F16-7F18 select menu to allow options longer than 10 characters long. This one has some repercussions, so in this patch the menu when you talk to the animals is all screwed up. I wrote up the fix this morning but haven't had the chance to find the binary it goes into, so you'll get that next update.
The current script is a direct AC copy, which causes almost all the issues you will experience. That's why this patch should only be fiddled with by those who want to work on the script, since the script is, well, bonkers.
+-+
The AFtoSYLK and SYLKtoBIN programs are used to convert the text binaries and tables into a SYLK-format table. SYLK can be opened as a table in OpenOffice, or worst case you can look at the thing in notepad and try to work around the formatting. Included in there is a doc about the format of the tables and the special commands used. It isn't complicated at all, just silly at times. The original japanese and english text binaries are provided in the english and japanese folders.
The easiest way to use AFtoSYLK is to copy the program into one of the folders, then drop the .bin files one-by-one onto it. The message.bin will take a good long time. Errors only appear once on-screen, but you will have to press enter to get past them. At the end of the usage document are listed all the different command line options, some more useful than others.
You can edit the SYLK file in OpenOffice or anything else that happens to use it Text only appears when it is in the second column. All other columns are ignored, so you can type any stupid thing in those and it will ignore it.
When you're done editting the script, drop the .slk file onto SYLKtoBIN and it should pop out a .bin and .tbl file. The file "Where to put stuff.txt" outlines where you place the things into the ROM. You'll need a hex editor for that step, and if you can't find one try hexedit.com
Oh, I forgot about one other thing...
To apply the patch the original DnM rom will need to be extended to 0x2000000 bytes. I'll make something to do this automatically later, but for now you'll need to open it in a hex editor and do it yourself.
In HexEdit, you can create a new document, size 0x1000000, fill it with 00, then copy that onto the end of the DnM rom. Then, you can apply the .ups.
The ups patcher (most likely in violation of the license) is provided as well. Why .ups? Ips can't handle files over 0x1000000, .ups compresses its data, it is a small guy that doesn't require any weird libraries or additional downloads, and best of all the patch can be removed.
The rom must +not+ be byteswapped. If the first two bytes read 1480, select the whole thing and choose byteswap 16bit.
If you do need to move a binary, there's a table that sets the size. Can't remember the offset right now, so just search the rom for its current position. These sizes assume a full AC script is being used, so you should have no trouble downsizing it.
+-+
In the next patch I'll add in three 7Fcommands used through AC: force to lower case, capitalize first letter, and a.m./p.m.
Smidgeon from getting 8-byte long names working. They're 8 bytes in the buffer but copied as 6. That will be in next update for sure.
Will have all select menus fully-operational next update.
Time and date is getting hacked after all that. 1st-31st, January-December, Sunday-Saturday, 1:23:45
So, no excuses now! Script editors, start your engines!
-Zoinkity
[edit]
Forgot to mention, it will probably be a few more weeks to a month before I can get to the internet again. Should have more technical issues out of the way. Go on now, edit the scripts ;*)