Дракон Сходу Posted April 26 Share Posted April 26 Hi, can anyone tell me how to edit text files in the game Front Mission Evolved? English.zip Link to comment Share on other sites More sharing options...
EmptyMan Posted April 27 Share Posted April 27 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. 1 Link to comment Share on other sites More sharing options...
Дракон Сходу Posted April 27 Author Share Posted April 27 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. Link to comment Share on other sites More sharing options...
EmptyMan Posted April 27 Share Posted April 27 Okay, I'll upload the toolkit once I finish it. 1 Link to comment Share on other sites More sharing options...
Thief1987 Posted April 27 Share Posted April 27 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. Link to comment Share on other sites More sharing options...
EmptyMan Posted April 28 Share Posted April 28 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? Link to comment Share on other sites More sharing options...
Thief1987 Posted April 28 Share Posted April 28 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. Link to comment Share on other sites More sharing options...
Дракон Сходу Posted April 28 Author Share Posted April 28 3 hours ago, EmptyMan said: Can you please upload localization files for other languages? Yes, sure. text.zip 1 Link to comment Share on other sites More sharing options...
EmptyMan Posted April 28 Share Posted April 28 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. Link to comment Share on other sites More sharing options...
Solution EmptyMan Posted April 28 Solution Share Posted April 28 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 1 Link to comment Share on other sites More sharing options...
Дракон Сходу Posted April 28 Author Share Posted April 28 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 Link to comment Share on other sites More sharing options...
EmptyMan Posted April 29 Share Posted April 29 Maybe the localization files are compressed. Try to delete the text folder and run the game. 1 Link to comment Share on other sites More sharing options...
Thief1987 Posted April 29 Share Posted April 29 (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 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 April 29 by Thief1987 1 Link to comment Share on other sites More sharing options...
Дракон Сходу Posted April 29 Author Share Posted April 29 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now