1.80 star(s) 54 Votes

Hvost3

New Member
Aug 8, 2023
14
5
The developers use non-Latin characters in Ren`py labels for some reason. This closes the possibility of using the SDK to translate the game, and negatively affects stability. If someone explains to me why they are not pleased with the Latin letters, I will be extremely grateful.
 
  • Like
Reactions: capitanqueso

SonsOfLiberty

Discussion Dynamo
Compressor
Sep 3, 2022
24,670
210,101
The developers use non-Latin characters in Ren`py labels for some reason. This closes the possibility of using the SDK to translate the game, and negatively affects stability. If someone explains to me why they are not pleased with the Latin letters, I will be extremely grateful.
Maybe contact the dev and ask them?
 

n00bi

Active Member
Nov 24, 2022
501
583
python 3.x uses unicode by default. so why would non latin chars cause problems for translations?
im not a renpy dev, but have done a lot of python in the past.
 
  • Like
Reactions: Hvost3

Hvost3

New Member
Aug 8, 2023
14
5
python 3.x uses unicode by default. so why would non latin chars cause problems for translations?
im not a renpy dev, but have done a lot of python in the past.
The translation starts normally from the SDK, but when you run the exe file it gives an error. I changed all non-Latin letters to Latin, it worked, but the old saves stopped loading.
Снимок экрана 2024-10-23 104432.png
 

n00bi

Active Member
Nov 24, 2022
501
583
Yea, this is stupid, i took a look at some of the files.
I dont know what the dev is thinking.

You can argue until the cows come home. but when coding write it all in English is the best thing to do, Period.
That goes for variables names, comments and so on.
Even tho English is not your main language. You should force yourself into only writing in English.

Why? cos you avoid a lot of problems.
Have you ever seen a lib written in lets say Arabic ? nop..
And you will get a ton more help when stuck using English than other languages.
And when looking for examples, 99% of the time you find some, the best ones use English.
Oh the list goes on as to why to use English.

Someone should sit down and have a talk to the dev about coding practices :p

i Guess you could unpack the archive. unrpy the files and use notepad++'s repace in files function.
where you replace the lables like Parla_del_più_e_del_meno to a proper name. Ie: Speak_of_more_and_less or whatever the correct name would be in English.
and pack it all together. but meh thats a lot of work and would require you to upload your own version.
 
Last edited:
  • Like
Reactions: $@~ and Hvost3

n00bi

Active Member
Nov 24, 2022
501
583
The translation starts normally from the SDK, but when you run the exe file it gives an error. I changed all non-Latin letters to Latin, it worked, but the old saves stopped loading.
View attachment 4169318
TheCollege_BEd4tSUFk6.png

So.. i found a solution for you. but you will probably not like it.

Write down every label you want to translate.
Like: Parla_del_più_e_del_meno and so forth.

Next open the game. Without any modifications.
Start the Debug Console and for each lable type.

hex(hash("Label_Name"))
Example
hex(hash("Parla_del_più_e_del_meno"))
This should give you a hex number in the console. ignore if its negative.
0x334b7e7b

You will use this number as the label. so in you translation.rpy you do.
Code:
translate ru 0x334b7e7b:
    Mc "So Tiffany... what’s up? Remember that time..."
    "Так, Тиффани... как дела? Помнишь тот случай?"
    Tif "Eheh... it’s always a pleasure to talk to you [nameMc]."
    "Хех... всегда приятно поговорить с тобой, [nameMc]."
    Mc "Me too Tiffany, see you soon!"
    "Мне тоже, Тиффани, до скорого!"

translate ru 0x61bea374:
    scene intro_01
    window hide
    show screen skipIntro with dissolve
    menu:
        "YES":
            jump stanza_mc
        "NO":
            jump intro_01_sub
    label intro_01_sub:
    hide screen skipIntro 
    play music sottofondo_06 volume 0.2
    scene intro_02
    Fa "[nameMc]..."
    scene intro_03
    Fa "[nameMc]..."
    scene intro_04
    Mc "Что ты хочешь?"
    Fa "Извини, что разбудил, но мне нужно тебе кое-что сказать..."
    Mc "Нам нечего друг другу сказать, чего уже не было сказано. Не трать время на свои бредовые лекции о моем будущем."
    Fa "Давай, [nameMc], я знаю, что тебе было нелегко, но нам тоже было тяжело. Никому это не нравится."
    Mc "Серьезно? У тебя есть стипендия в кулинарном институте, и у тебя успешный ресторан. А я остался ни с чем."
    Mc "Я мог бы пойти в колледж, закончить его и иметь всё... но нет."
    Fa "[nameMc]..."
    ....
....
Next i did was to toss in the orginal options.rpy after i extracted it and added the lines to the top.
default current_language = "ru"
define config.language = "ru"

hope this can help you some..
 
  • Like
Reactions: $@~ and Hvost3

Hvost3

New Member
Aug 8, 2023
14
5
Thank you so much.
You are a true professional. I was looking for information about where the index comes from after the label and couldn't find it. I didn't expect to get real help. Thanks, man.
 
  • Like
Reactions: n00bi

billyjackson

Newbie
May 2, 2020
51
8
Can you help me with this? It has happened to me in previous versions too, when trying to do 77 (fears) I find Rose in the room, and when I tell her who I am doing, she gives me the error: There are problems with winx32 and the game closes. Too when I find Rose in the room, and when I tell her: talk now. I already reinstalled the game and the problem persists.
The same thing happens to me when I find Ju in the library... With the rest I have no problems


1724039990316.png
 

ja_pizgam

Newbie
Aug 24, 2017
73
78
and where you found the 0.60?
gamcore site, i can upload but the new animation is missing and there are some errors with the game code but it is possible to continue the story (I think the sounds are also missing), from what I have seen there is already version 0.61.0 on patreon so maybe it is better to wait until someone uploads this one
 

n00bi

Active Member
Nov 24, 2022
501
583
I found a "web" version of 0.60.


I do not know if it will work or not as i have not tested it.
atm downloading it on my slow inet.

It looks like DevaGames is using another forum to post "free web updates".
found the link to mega from this post.

edit:
Cant test it as Mega is shit. Download randomly stops at misc %. tried several times now.
Mega mostly useless for me. This happens every damn time i try to dl from mega.
And its only mega i have this issue with. Arg.
 
Last edited:

SonsOfLiberty

Discussion Dynamo
Compressor
Sep 3, 2022
24,670
210,101
I found a "web" version of 0.60.
Mega

I do not know if it will work or not as i have not tested it.
atm downloading it on my slow inet.

It looks like DevaGames is using another forum to post "free web updates".
found the link to mega from this post.

edit:
Cant test it as Mega is shit. Download randomly stops at misc %. tried several times now.
Mega mostly useless for me. This happens every damn time i try to dl from mega.
And its only mega i have this issue with. Arg.
They are doing it for , you can play (almost) any Ren'Py game from the web.

You can build a normal version with the SDK form this, only takes a couple of minutes.
 
Last edited:

n00bi

Active Member
Nov 24, 2022
501
583
well. my problem is. i cant even dl it it from mega.
so its kind of hard to try and make a normal version
 
1.80 star(s) 54 Votes