Export/Import text files from Monkeys & Dragons

How to translate the files of a game
Pakolmo
Posts: 52
Joined: Thu Jun 09, 2016 1:15 am

Export/Import text files from Monkeys & Dragons

Post by Pakolmo »

Hi!

I need a quickbms script to export and import the texts files to a txt format from Monkeys & Dragons Game.
I need add more lenght and less lenght to original texts.

An example:

Original:

"Examine" 07 bytes

65 6E 07 00 00 00 45 78 61 6D 69 6E 65 02
e n 07 00 00 00 E x a m i n e 02

Translation:

"Examinar" 08 bytes.

65 6E 08 00 00 00 45 78 61 6D 69 6E 61 72 02
e n 08 00 00 00 E x a m i n a r 02

The codification must be UTF-8.

FILE:
https://www.dropbox.com/s/mkqqoeeoijh92e9/T2X7HDN0TT6KJWNQ83YN.fut?dl=0

Thanks!
LokiReborn
Posts: 190
Joined: Fri Aug 26, 2016 3:11 pm

Re: Export/Import text files from Monkeys & Dragons

Post by LokiReborn »

Pakolmo wrote:Hi!

I need a quickbms script to export and import the texts files to a txt format from Monkeys & Dragons Game.
I need add more lenght and less lenght to original texts.

An example:

Original:

"Examine" 07 bytes

65 6E 07 00 00 00 45 78 61 6D 69 6E 65 02
e n 07 00 00 00 E x a m i n e 02

Translation:

"Examinar" 08 bytes.

65 6E 08 00 00 00 45 78 61 6D 69 6E 61 72 02
e n 08 00 00 00 E x a m i n a r 02

The codification must be UTF-8.

FILE:
https://www.dropbox.com/s/mkqqoeeoijh92e9/T2X7HDN0TT6KJWNQ83YN.fut?dl=0

Thanks!


So this would have been really simple except English has one more entry than any other language, because of that you'll need to do this as a csv or something else that maintains the entry numbers otherwise it will screw up the file. I can extract the string data file but getting it to repack properly because of this will take some tweaking. I'll try to post something in a bit.
ducan012456
Posts: 64
Joined: Mon Apr 08, 2019 8:20 am

Re: Export/Import text files from Monkeys & Dragons

Post by ducan012456 »

For reimport, use reimport3.
LokiReborn
Posts: 190
Joined: Fri Aug 26, 2016 3:11 pm

Re: Export/Import text files from Monkeys & Dragons

Post by LokiReborn »

This separates the languages to their own files etc. Can give it a go
Pakolmo
Posts: 52
Joined: Thu Jun 09, 2016 1:15 am

Re: Export/Import text files from Monkeys & Dragons

Post by Pakolmo »

LokiReborn and ducan012456: THANKS!!!!