Page 1 of 5

Russian translate is done!

Posted: Wed Dec 17, 2014 12:48 pm
by OlegDX

Re: Russian translate is done!

Posted: Wed Dec 17, 2014 1:13 pm
by Komag
This actually looks pretty legit

Re: Russian translate is done!

Posted: Wed Dec 17, 2014 1:48 pm
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.

Re: Russian translate is done!

Posted: Wed Dec 17, 2014 6:04 pm
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 :)

Re: Russian translate is done!

Posted: Wed Dec 17, 2014 11:10 pm
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

Re: Russian translate is done!

Posted: Wed Dec 17, 2014 11:14 pm
by OlegDX
Without these fixes is not possible to start

Re: Russian translate is done!

Posted: Thu Dec 18, 2014 2:08 am
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?

Re: Russian translate is done!

Posted: Thu Dec 18, 2014 2:28 am
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
?

Re: Russian translate is done!

Posted: Thu Dec 18, 2014 2:31 am
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.

Re: Russian translate is done!

Posted: Thu Dec 18, 2014 12:46 pm
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