andwn / cave-story-md

A fan port of Cave Story for the Sega Mega Drive
555 stars 34 forks source link

Russian language support #383

Open 10522 opened 1 year ago

10522 commented 1 year ago

I found Russian translation for PC version here and here. Is it possible to add it to Mega Drive version?

Dima353 commented 8 months ago

I saw that the author had already added Russian localization - https://github.com/andwn/cave-story-md/commit/8076e5115f1cb51eeb78f6992560982440329765 That's cool! I made a few fixes for her - https://github.com/Dima353/cave-story-md/commit/564129eea678d0efa85de5e7626f189946c91489 Updating the translation to version 1.1 from Lupus - https://github.com/Dima353/cave-story-md/commit/3c6be52f9399326bf50440179f6771439ed661c7

In the new version of the translation, the names of the levels have been updated, but I do not know how to generate ru_stagename.dat ru_stagename.txt

andwn commented 8 months ago

Hey, thanks! I wasn't aware of the 1.1 version of the translation. It might be worth contacting cavestory.org about it. That's where I got the one I used.

The level names are embedded in the exe, so I wrote a small tool to extract them into a stagename.txt file, then another one for the dat, which has a custom encoding used in-game.

But uhh... they are kind of hacked together for the one time use and I didn't document anything, so you can just link the 1.1 translation or exe and I'll do it lol.

Dima353 commented 8 months ago

You can take the .exe from here CaveStory_PC_RUS_V1.1.zip

And is it possible to translate the menu?

andwn commented 8 months ago

Not at the moment, I'll have to add support for it later.

Dima353 commented 8 months ago

The level names are embedded in the exe, so I wrote a small tool to extract them into a stagename.txt file, then another one for the dat, which has a custom encoding used in-game.

Thank you, I have successfully updated the translation of stagename_ru.dat. https://github.com/Dima353/cave-story-md/commit/5ba666335aa25a7fdc6acc6896daa95f8f536d69