.LVL File Translator

Started by Bugmenot2017, October 13, 2021, 12:37:48 PM

Previous topic - Next topic
Any possibility to create a .lvl files translator to translate them to another language?

It would be great to translate maps and sides into my language, which by the way is Spanish.

If this does not belong to this forum, excuse me.

I think what you might need is the Spanish "localization" for the files.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

October 13, 2021, 04:40:03 PM #2 Last Edit: October 13, 2021, 04:56:01 PM by Bugmenot2017
Quote from: Led on October 13, 2021, 04:36:31 PMI think what you might need is the Spanish "localization" for the files.
I know, but a program would make things easier.

look for core.lvl tool to do localization
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

October 13, 2021, 05:07:20 PM #4 Last Edit: October 14, 2021, 04:00:27 PM by Bugmenot2017
Quote from: Led on October 13, 2021, 04:58:47 PMlook for core.lvl tool to do localization
But the core.lvl of an existing map has ".loc" and ".cfg" files inside that I can't modify.

If I extract them with the SleepKiller tool they become useless.

I guess the only hope I have is that SleepKiller continues with "SWBF-Unmunge" and the extracted localization is useful for editing.

the core lvl tool has a "Multi-Language Tool" exe with it.  That's how you edit the localizations, and it's the only way to do it at this time.
The BOBclan:  A Rich History


Quote from: Unit 33 on November 29, 2014, 03:44:44 AM
'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.

Quote from: Dark_Phantom on October 15, 2021, 08:01:40 AMthe core lvl tool has a "Multi-Language Tool" exe with it.  That's how you edit the localizations, and it's the only way to do it at this time.
I know friend, but in an existing map created by a person you have a "core.lvl" file and to edit the ".cfg" files I need to extract them with the SleepKiller tool, then put those ".cfg" files in your tool (very grateful for this by the way) and run "Multi-Language Tool.exe" and then translate the texts such as the name of the map, the description, etc...

The fact is that the ".cfg" files are not extracted correctly and it is impossible to translate them, so I can only wait for SleepKiller to continue working on its program.

What I am looking for is to translate all of this from English to my language, but from the existing mods the only way to get a mod in my language is to create it myself and I prefer to translate the existing ones.

another tactic is to Hexedit the file.  Any new words cannot be longer than the existing ones
e.g. use a hex editor, search for "hello"
and replace with "hola "
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

The odds of unmunge getting any more work are very low.
Led's method would be the only way to edit existing files or creating brand new ones using the tools provided.
The BOBclan:  A Rich History


Quote from: Unit 33 on November 29, 2014, 03:44:44 AM
'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.

I know that too, I guess I'll do it like that.

Anyway thank you both very much for helping.