Russian translate is done!

Talk about anything related to Legend of Grimrock 2 here.
User avatar
Komag
Posts: 3658
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Russian translate is done!

Post by Komag »

This actually looks pretty legit
Finished Dungeons - complete mods to play
OlegDX
Posts: 27
Joined: Thu May 24, 2012 9:24 am

Re: Russian translate is done!

Post by OlegDX »

Our Group makes no burglary or engaged in resource utilization, we're just dealing with the translation of the game.
Although the correction in the "EXE" had to be made, and i am would like to discuss.
badhabit
Posts: 467
Joined: Sat May 05, 2012 2:24 pm

Re: Russian translate is done!

Post by badhabit »

Congratulation, good work! :)
Hope that the developers will see this as motivation providing a framework for translation communities in general...

PS: is your framework/tools/software useable for the czech and french translating community?

PPS: currently, you seems to distribute the whole enormous grimrock.dat ... big data amount and from legal point of view "problematic" ...could you not create a delta patch? (e.g with Xdelta, also available for windows) Whcih would solve both problems :)
OlegDX
Posts: 27
Joined: Thu May 24, 2012 9:24 am

Re: Russian translate is done!

Post by OlegDX »

Before translated need correct EXE file.

Two procedures need to be corrected because of the filter and an error
Font.loadTrueType("assets/fonts/*****.ttf", **)
Font.load("assets/fonts/******.tga", **, **)

Filter OEM (0x41.......0x7C, 0x40) need replace to ANSI (0x20 - 0xFF), (PS: russian char 0xC0..0xFF)
and correct procedure because of error Font.load(..)
error : max/min char -127...127 (work only 0..127)
need : max/min char 0...255
Last edited by OlegDX on Wed Dec 17, 2014 11:21 pm, edited 2 times in total.
OlegDX
Posts: 27
Joined: Thu May 24, 2012 9:24 am

Re: Russian translate is done!

Post by OlegDX »

Without these fixes is not possible to start
badhabit
Posts: 467
Joined: Sat May 05, 2012 2:24 pm

Re: Russian translate is done!

Post by badhabit »

OlegDX wrote:Before translated need correct EXE file.

Two procedures need to be corrected because of the filter and an error
Font.loadTrueType("assets/fonts/*****.ttf", **)
Font.load("assets/fonts/******.tga", **, **)

Filter OEM (0x41.......0x7C, 0x40) need replace to ANSI (0x20 - 0xFF), (PS: russian char 0xC0..0xFF)
and correct procedure because of error Font.load(..)
error : max/min char -127...127 (work only 0..127)
need : max/min char 0...255
Hi, I tested it just for fun. :)
Data file exchanged, resulted in this intro screen ;). But as Oleg already said, without the exe hack you can't enter the game.
Image

Questions to Oleg here:
hmm, I searched with a hexeditor for fitting strings in the EXE but didn't found them. Can you give me please addresses or another hint(s)? Also, what do you mean with the procedure correction? Datatype change from signed byte to unsigned byte?
User avatar
Zo Kath Ra
Posts: 937
Joined: Sat Apr 21, 2012 9:57 am
Location: Germany

Re: Russian translate is done!

Post by Zo Kath Ra »

Instead of modifying the executable, wouldn't it be simpler to write a wrapper that
- runs grimrock2.exe
- modifies data pointers and hooks into functions where necessary
?
badhabit
Posts: 467
Joined: Sat May 05, 2012 2:24 pm

Re: Russian translate is done!

Post by badhabit »

Zo Kath Ra wrote:Instead of modifying the executable, wouldn't it be simpler to write a wrapper that
- runs grimrock2.exe
- modifies data pointers and hooks into functions where necessary
?
Interesting, would it be? ;) Explanation please.
OlegDX
Posts: 27
Joined: Thu May 24, 2012 9:24 am

Re: Russian translate is done!

Post by OlegDX »

Hi, I tested it just for fun. :)
Data file exchanged, resulted in this intro screen ;). But as Oleg already said, without the exe hack you can't enter the game.
badhabit run new grimrock2_rus.exe or replace original grimrock2.exe
Post Reply