Author Topic: [FF8] Translation tools + minitutorial  (Read 32955 times)

Colly

  • Crazy poster
  • *
  • Posts: 149
  • Karma: 18
    • View Profile
    • Final Fantasy VIII PL
[FF8] Translation tools + minitutorial
« on: 2009-05-23 13:07:53 »
If you want translate Final Fantasy VIII into your language, you just read the most correct topic ;) Below you find all links to the tools and minitutorial for this.

In Final Fantasy VIII you can translate:
I. Dialogues
II. Menu
III. Kernel (magic names, item names, descriptions, battle system messages)
IV. Battle dialogues
V. Texts from the world map
VI. Card game
VII. Backgrounds & LZS
VIII. Textures from the battle (for example "Timber Maniacs" inside battles in Timber)
IX. Textures from the magic (Scan, The End)
X. Descriptions from the Scan
XI. Draw points
XII. Compiling



I. Dialogues

I.1. Garden


First of all, you must have Garden from Qhimm. This program can decompile (extract) all files from the game. I don't have original file, I have only version with Polish menu. You can find this program (compiled) here: Garden by Qhimm.

Quote
Small translation:
Otwórz Projekt -> Open Project
Dekompiluj pliki -> Decompile files
Kompiluj pliki -> Compile files
Wyjście -> Quit
Widok -> View
Pasek Narzedzi -> Toolbar
Pasek Statusu -> Status bar
Pomoc -> Help
O Garden -> About Garden

To extract all files from the game, you must choose Dekompiluj pliki. After this process, you'll get GPR project file, which have 1209 KB... but it must have 1409 KB, if you want reinsert dialogue files back to the game. Correct GPR file you have in archive with Garden.

Dialogue files have MSD extension. You can edit them by Garden, but this program don't have functions such as Copy and Paste and you'll have to a lot of time, if you want translate all files by this program. Besides, Garden will crash if you'll try open empty MSD file (0 KB). So, better do this by my editor...

I.2. Moomba

You can find this program here: Moomba by Colly.
You will have to unpack this program into folder with GPR file. Thanks for this, Moomba finds MSD files. On the left you have list of dialogue files. Choose one of them and click [LOAD]. After editing file, click [SAVE].
Warning! Before clicking [SAVE], better copy all text from the file to clipboard. Sometimes program crashes, I don't know why (I create this program few years ago, so I don't remember how it works exactly).

I.3. Compiling dialogues into the game

You can do this by Garden. Please choose Kompiluj pliki (Compile, F5 key) and choose only field file.

II. Game Menu

II.1. FF8msg.exe.


You can edit menu by a M4v3R program, ff8msg.exe. BUT, if you want translate all in the menu correctly, you have to know "pointers" and how hexeditor works.
Menu has many sections, and you have to open mngrp.bin file by hexeditor and find all sections. The first sections starts at offset 24, the rest start offsets you have to find alone.
Tutorials, SeeD test questions and other texts after half of the mngrp.bin you have to translate alone, by hexeditor, and change pointers manually.

II.2. Hexeditor & tables.

I use Translhextion, you can find it here: Translhextion.
You have to thingy table for this, you can all find here: Thingy tables for FF8.

II.3. Textures from the menu.

Mngrp.bin file has almost all texts from the menu, but NOT ALL. Open the rest files from the menu.fs and look into it by Translhextion. Some of these files are textures, and fonts. You can edit them by...

II.4. Omega.

It's next program wrote by M4v3R (yes, we all should send big thanks to him) :) You can find it here: Omega by M4v3R. Bitmaps extracted by this program, better edit (save) by MS Paint, Photoshop can break these files.

III. Main

III.1. Kernel.bin has 25 sections (for magic names, item names, etc.). Every section has 2 subsections - one for pointers, and one for text.

Inside pointer subsection, very often there is "interval" between correct pointers, which has some other data (I don't know what this data is). So I create this table (click to view it).

Texts inside kernel.bin use DTE, but only in descriptions for items, etc., not in the names.

You can edit this ONLY by hexeditor, there is no other program you can edit this file correctly.

I created an application to do it, Carbuncle: Link to the forum, Carbuncle, version 0.9

III.2. Inside main.fs you have namedic.bin file - look into it, and edit by hexeditor.

IV. Battle dialogues.

Files for enemies (inside these you can find dialogues) are located in battle.fs archive. This is the files with names c0mXXX.dat (from c0m001.dat to c0m143.dat).
When you'll open this file (by hexeditor), look on the 0x1C, go into address from this offset, go down, and you'll see texts (don't forget turn on thingy table). This dialogues has the same structure as MSD files, so you can edit them by Moomba, but you'll have to change arena.cpg file for it and you'll have to, of course, extract this dialogue part to the new file.

Warning! If text lines will be too long, inside FF8 it will be corrupted.

V. Texts from the world map.

When you open Moomba, scroll the list to the end. :) Better create backup of the wmsetus.obj file.

VI. Card game.

VI.1. Text.


All of them is stored inside FF8.exe file. Open by hexeditor and find texts from the card game. You can search it for example by word "Rules". Edit - it has the same structure as MSD files (pointers + text).

VI.2. Texture.

If you want change textures from the game, search TIM file inside FF8.exe. Download TIMViewer or PSicture, and you get it easily.

But editing this file isn't easy. It's multipalette TIM. How I edit them? Here is the answer:

- I open TIM in PSicture, chose proper palette for some part of TIM (for example for "SAME!" in cardmes.tim) and save as BMP.
- I open this BMP in Gimp with TIM plugin, change mode to indexed and save as TIM with proper number of bits (4 in example).
- I open this saved TIM in Photoshop with TIM plugin, select and copy this proper place ("SAME!"). I open new document, paste from clipboard, and edit this normally in RGB mode.
- I open saved one-palette TIM in hexeditor and I change this palette into proper from original.
- I open this TIM with proper palette in GIMP, in Photoshop I select what I edited and use function "Copy Merged". I paste this into TIM in GIMP and after save, this is only one part in this file in proper colors. So...
- I create a copy of this TIM, open in Translhextion, in program preferences change bytes in line into bytes in width of this TIM, change font size into "5". After that, I delete header&palette, and I see only RAW image in Translhextion ;). Then I copy only proper lines of bytes into original, multipalette file, into proper place. The rest of graphic is untouched, so this works good :)

It looks great - you can see that here:


VII. Backgrounds.

Do you want edit background, such as this?


You can do it by programs and bats created by Czech translation group (Kruci), you can find they homepage here: http://www.rk-translations.wz.cz

Programs you can find here: FF8 background editing and here: LZS graphics editing... and we have to send big thanks to Kruci ;)

VIII. Textures from the battle.

Scan unpacked files from battle.fs by TIMViewer or PSicture. Edit them such as card game texture or by GIMP/Photoshop plugins, if TIM is single-palette.

IX. Textures from the magic.

Just do the same as in the VIII point, but change battle.fs into magic.fs ;)

X. Descriptions from the Scan magic.

Open hexeditor and load FF8.exe. Find these texts, edit, and save. ;)

XI. Draw points.

Please look at the previous point.

XII. Compiling.

All modified files (except dialogues) you can insert into the game by FF8 Archive Commander by M4v3R. You can find it here: FF8 Archive Commander by M4v3R.


All that things works for sure. Effects you can see here: Final Fantasy VIII in Polish
« Last Edit: 2012-09-09 21:39:22 by Colly »

gonomodevil

  • Guest
Re: [FF8] Translation tools + minitutorial
« Reply #1 on: 2009-05-23 14:21:49 »
Excellent topic, Colly.
I'm sure it will be of great help.
Many thanks! :lol:

Alkor

  • Cool newbie
  • *
  • Posts: 81
  • Karma: -2
  • O_o
    • View Profile
Re: [FF8] Translation tools + minitutorial
« Reply #2 on: 2009-05-24 17:14:50 »
Ohohoh nice man  :wink:
PS Now i can mod my FF8  :mrgreen:
« Last Edit: 2009-05-24 18:11:48 by Alkor »

kurdtkobain

  • Guest
Re: [FF8] Translation tools + minitutorial
« Reply #3 on: 2009-05-25 04:30:48 »
Does some of this information still hold true for the psx version as well?

Colly

  • Crazy poster
  • *
  • Posts: 149
  • Karma: 18
    • View Profile
    • Final Fantasy VIII PL
Re: [FF8] Translation tools + minitutorial
« Reply #4 on: 2009-05-25 09:27:51 »
Does some of this information still hold true for the psx version as well?

According to some formats, yes, but you have to extract files from the CDs and I don't have program for this, yet ;) But I extracted these files manually, and it works:
« Last Edit: 2012-09-11 19:18:09 by Colly »

ignitz

  • Fast newbie
  • *
  • Posts: 44
  • Karma: 0
    • View Profile
Re: [FF8] Translation tools + minitutorial
« Reply #5 on: 2009-08-01 08:52:53 »
I extracted all the files of ff8 PSX version of the scripts files, of 4 CDs (that have some files in one and other don't have) and extract scripts too, I can send you to help you... not tested yet the insertion... I don't want to translate, only curious the system of the PACK file

Colly

  • Crazy poster
  • *
  • Posts: 149
  • Karma: 18
    • View Profile
    • Final Fantasy VIII PL
Re: [FF8] Translation tools + minitutorial
« Reply #6 on: 2009-08-01 12:28:21 »
I extracted all the files of ff8 PSX version of the scripts files, of 4 CDs (that have some files in one and other don't have) and extract scripts too, I can send you to help you... not tested yet the insertion... I don't want to translate, only curious the system of the PACK file

I extract all, too and inserted 2CDs already :) I have one limit - offsets to the begining of the files. I don't know how to change it and have to limiting inserted files, if compressed size overwrites the begining of next file. Do you know how to change it?

LeeHiOoO

  • Crazy poster
  • *
  • Posts: 128
  • Karma: 0
    • View Profile
Re: [FF8] Translation tools + minitutorial
« Reply #7 on: 2009-08-12 05:24:32 »
Just wondering... does anyone are willing to improve the compile method?
The released progs that compiles makes the files WAY over the original size.

Colly

  • Crazy poster
  • *
  • Posts: 149
  • Karma: 18
    • View Profile
    • Final Fantasy VIII PL
Re: [FF8] Translation tools + minitutorial
« Reply #8 on: 2009-08-12 09:44:35 »
Just wondering... does anyone are willing to improve the compile method?
The released progs that compiles makes the files WAY over the original size.

Just extract all files, overwrite some by modified files, choose "replace many" and replace all files inside archive.

LeeHiOoO

  • Crazy poster
  • *
  • Posts: 128
  • Karma: 0
    • View Profile
Re: [FF8] Translation tools + minitutorial
« Reply #9 on: 2009-08-12 15:18:09 »
The 'replace many' function doesn't care where the files are in correct path or not?
I mean, if i put the files in the same root.. the prog will replace them in it's correct path for the game?


EDIT: Btw, Colly, do u have an kind of list of the lvls sorted as they appear in game sequence...?
I'm having a hard time findind the 'spot' where I need to translate next.
Do u have messenger or icq? I would like to make some more questions too.
« Last Edit: 2009-08-12 15:24:58 by LeeHiOoO »

Zure

  • Fast newbie
  • *
  • Posts: 15
  • Karma: 0
    • View Profile
Re: [FF8] Translation tools + minitutorial
« Reply #10 on: 2010-02-03 12:41:51 »

VII. Backgrounds.

Do you want edit background, such as this?


You can do it by programs and bats created by Czech translation group (Kruci), you can find they homepage here: http://www.rk-translations.wz.cz

Programs you can find here: FF8 background editing and here: LZS graphics editing... and we have to send big thanks to Kruci ;)


I'm sorry, but... Who can tell me how these two programs function? Please :( :(
 

Colly

  • Crazy poster
  • *
  • Posts: 149
  • Karma: 18
    • View Profile
    • Final Fantasy VIII PL
Re: [FF8] Translation tools + minitutorial
« Reply #11 on: 2010-02-03 14:49:59 »
I'm sorry, but... Who can tell me how these two programs function? Please :( :(
 

Open "mimsAll.zip" and run .BAT file.
Which? It depends on what do you want to do now - look at the names of these .BAT files (and into, if you want).
At first, you have to extract BMP from MIM, you should test it *with* or *without* transparency - some background should be extracted with transparency, some without. :)
After running, for example "!ff8mimExtractBMPToExtractNoTransparency.bat", open "extract" folder and edit indexed BMPs. After that you should create MIM from BMP and insert MIM to the game.

Zure

  • Fast newbie
  • *
  • Posts: 15
  • Karma: 0
    • View Profile
Re: [FF8] Translation tools + minitutorial
« Reply #12 on: 2010-02-03 14:51:58 »
I'm sorry, but... Who can tell me how these two programs function? Please :( :(
 

Open "mimsAll.zip" and run .BAT file.
Which? It depends on what do you want to do now - look at the names of these .BAT files (and into, if you want).
At first, you have to extract BMP from MIM, you should test it *with* or *without* transparency - some background should be extracted with transparency, some without. :)
After running, for example "!ff8mimExtractBMPToExtractNoTransparency.bat", open "extract" folder and edit indexed BMPs. After that you should create MIM from BMP and insert MIM to the game.

ok thank you... now I try...

Zure

  • Fast newbie
  • *
  • Posts: 15
  • Karma: 0
    • View Profile
Re: [FF8] Translation tools + minitutorial
« Reply #13 on: 2010-02-03 15:40:57 »
Sorry I'm new for these things... so it is not easy... I have to go step by step :)

so I have questions

1) I extract file from ff8backgrounds.7z, then I have a folder MIM, and in it I have 5 .zip files. Do I have to extract the content of all this .zip files? And after that I have to run a .bat file inside the folder "mimsAll", right ?

2) I extract .mim files with Garden.exe, do I have to put those files in a specific folder to convert them into BMP using .bat files?

Thank you

Colly

  • Crazy poster
  • *
  • Posts: 149
  • Karma: 18
    • View Profile
    • Final Fantasy VIII PL
Re: [FF8] Translation tools + minitutorial
« Reply #14 on: 2010-02-04 09:59:44 »
OK, I looked deeper in the files :)

1) I extract file from ff8backgrounds.7z, then I have a folder MIM, and in it I have 5 .zip files. Do I have to extract the content of all this .zip files? And after that I have to run a .bat file inside the folder "mimsAll", right ?

At this case, you have to extract only "mimsAll.zip".

Quote
2) I extract .mim files with Garden.exe, do I have to put those files in a specific folder to convert them into BMP using .bat files?

Inside .BAT files you have for example:
Code: [Select]
if EXIST bccent_1.mim ..\!ff8mim2  -p  bccent_1  ..\extract\bccent_1.bmp  >aaaa

...So you have to put .mim files into subfolder ("bmp", "mim", "extract"), and move .BAT into it, too (or you can even create new subfolder and name it for example "bats_and_org_mims" and put MIMs and BATs here). You should run BAT file from this subfolder.

If you have any other questions, ask :)
« Last Edit: 2010-02-04 10:03:21 by Colly »

Zure

  • Fast newbie
  • *
  • Posts: 15
  • Karma: 0
    • View Profile
Re: [FF8] Translation tools + minitutorial
« Reply #15 on: 2010-02-04 12:19:21 »
Thank you very much! Now it is okay!

 :-D

Yugisokubodai

  • Fast newbie
  • *
  • Posts: 47
  • Karma: 2
    • View Profile
Re: [FF8] Translation tools + minitutorial
« Reply #16 on: 2010-09-06 06:34:46 »
Hello!
I'm a newbie here, I found this forum when Googling on how to translate FF8.
I'm a Rom hacker who has done several translation hack for console games.
To some degree, I have knowledge and experience in Romhacking (Nes and Snes things). From the beginning, I intended to translate FF8 PSX version (to my language, not English, offcourse) but I can't locate where the font is. I guess datum in PSX version is compressed.

Then I found this topic and changed my mind to hack on the PC version. I also downloaded the tools you mentioned above, but I still have many things to ask about the PC version. But the first thing I want to ask is that how to locate the font? My language has more complicated symbols than Latin symbols so I need to locate the font and edit it.

Necroposting is not allowed. Warned and locked

Thank you for reading and best regards.
« Last Edit: 2010-09-06 14:11:46 by sl1982 »

Zure

  • Fast newbie
  • *
  • Posts: 15
  • Karma: 0
    • View Profile
Re: [FF8] Translation tools + minitutorial
« Reply #17 on: 2011-12-05 23:20:42 »
I'm sorry again to up this topic but I have a question about ff8msg.exe and mngrp.bin

Someone here knows which is the offset to translate SAVE Menu?
For example "Save for FINAL FANTASY VIII", "Load for FINAL FANTASY VIII", "Slot 1", "Slot 2" etc.

I couldn't found it.
Thank you.