Jump to content

Front Mission Evolved *.bin


Go to solution Solved by EmptyMan,

Recommended Posts

Posted
21 hours ago, Дракон Сходу said:

Hi, can anyone tell me how to edit text files in the game Front Mission Evolved?

You need to write a tool in any programming language to modify binary files.
For example, here's a text export tool: FMEvolvedExport.7z

Usage:
Run ExportText.exe, select *.bin file.

  • Thanks 1
Posted
2 hours ago, EmptyMan said:

You need to write a tool in any programming language to modify binary files.
For example, here's a text export tool: FMEvolvedExport.7z

Usage:
Run ExportText.exe, select *.bin file.

Thank you very much, this works, but is there a way to import the text back. I'm just a translator and unfortunately I have zero programming skills.

Posted
5 hours ago, EmptyMan said:

You need to write a tool in any programming language to modify binary files.
For example, here's a text export tool: FMEvolvedExport.7z

Usage:
Run ExportText.exe, select *.bin file.

There are two string blocks, first is utf16, and the second one is utf8. Seems like you are extracting only the first one.

Posted
11 hours ago, Thief1987 said:

Seems like you are extracting only the first one.

Yes, of course.
And you want to do translation of constants, like button icons, etc.?

<TT>BUTTON_UP</TT>
<TT>LEFT_SHOULDER</TT>
<TT>LEFT_STICK</TT>
<TT>BUTTON_CONFIRM</TT>
<TT>WAIT_5HALF_SEC</TT>


Дракон Сходу,
Can you please upload localization files for other languages?

Posted
20 minutes ago, EmptyMan said:

Yes, of course.
And you want to do translation of constants, like button icons, etc.?

<TT>BUTTON_UP</TT>
<TT>LEFT_SHOULDER</TT>
<TT>LEFT_STICK</TT>
<TT>BUTTON_CONFIRM</TT>
<TT>WAIT_5HALF_SEC</TT>


Дракон Сходу,
Can you please upload localization files for other languages?

Well, it will be more convenient for repacking, though it's your business how to do it.

Posted
1 hour ago, Дракон Сходу said:

Yes, sure.

All right, thanks.
It seems like the hashes for the same strings match.

I've almost finished the toolkit and will upload it soon.

  • Solution
Posted

Usage:

Export text:
Run ExportText.exe, select folder with *.bin files
Import text:
Run ImportText.exe, select translated file & folder with the original *.bin files
The new files will be placed in the "Name"_New folder

FMETextToolByGier.7z

  • Thanks 1
Posted
3 hours ago, EmptyMan said:

Usage:

Export text:
Run ExportText.exe, select folder with *.bin files
Import text:
Run ImportText.exe, select translated file & folder with the original *.bin files
The new files will be placed in the "Name"_New folder

Thank you very much, everything works. But unfortunately the game does not seem to use the texts from this folder at all. I didn’t find any other places in the game files where the texts could be located, so I most likely won’t be able to translate this game

Posted (edited)

Yeah, text bins are packed in the W32\Levels\*.lvl_756 files, for example there are 3 text files in the gui.lvl_756 - global.bin, Singleplayer.bin, Multiplayer.bin

spacer.png

Mission files are strange as they can include multiple other mission's files and there are duplicates of the same text files in different archives.

For example M04_Escape.lvl_756 including M04_Escape.bin, M09_Antarctica.bin, M12_Subway.bin, M17_ControlRoom.bin on the other hand M09_Antarctica.lvl_756 including M08_Ship.bin, M09_Antarctica.bin, M13_Constantine.bin and so on so it's kinda messy.

 

Edited by Thief1987
  • Like 1
Posted
11 hours ago, EmptyMan said:

Try to delete the text folder and run the game.

Yes, I tried replacing folders, and completely deleting the "text" folder, it had no effect on the game.

3 hours ago, Thief1987 said:

Mission files are strange as they can include multiple other mission's files and there are duplicates of the same text files in different archives.

By searching the files in Notepad++, I found a mention of localization files in the files customization.lvl_756 and MP08_LastStand.lvl_756, but I don’t know what to do with it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...