Marcio

Roadrunner for Lighnting and Strike Detonator
Veteran
Joined
Jan 2, 2013
Messages
63
Reaction score
2
First Language
German
Primarily Uses
That's the Idea behind the whole "Make your Game" and extract everything, when you want to start with your translating stuff. ;)
 

Ewaldar

Villager
Member
Joined
Sep 25, 2013
Messages
27
Reaction score
3
First Language
French
Primarily Uses
Hi,

So, now, everything's working, but the Event Choice Command. I extracted all, all my message + the scroll text work, but

not the choices, and I don't know why.

I copy and paste the containt from the demo into my project, I just change the small <<eng>> by <<Choice1>> in the dialoguesFrench and DialoguesEnglish.rvtext because it's easier to rember which is what.

Of couse I changed this in my event choice command, but it displays not the containt (as in the demo), but juste Choice1 and Choice2, so it's stupid !

I hope you have a solution, or maybe I can use a script call for the command choice ? Because thoses script calls work for the message and scroll texts.

Thanks guy,

EDIT : It was an other script which modified the choice options !

I have a question (still I know :p ), how can you translate custom script ? For exemple, my custom item menu or something like this.

Thanks
 
Last edited by a moderator:

Marcio

Roadrunner for Lighnting and Strike Detonator
Veteran
Joined
Jan 2, 2013
Messages
63
Reaction score
2
First Language
German
Primarily Uses
DerTraveler is working on an option for translatin customscripts, too.

Though, it'll take a couple of time. In the meanwhile better work on the Game and translate the custom scripts later on. :)
 

Ewaldar

Villager
Member
Joined
Sep 25, 2013
Messages
27
Reaction score
3
First Language
French
Primarily Uses
Ok, really good to know, because it's the only default, now !

That's what I'm going to do, thanks

EDIT :

I have one more question : How do I update my dialogue files ? I extracted one time all the data and I translated, and now, I keep working

on my project and I want to add this to the files. So, I use again the command to extract all data, but it destroys the first one... My choices

don't display, and some dialogues are bugged.

Thanks

EDIT 2 : I made it manually, once you get the way, just to copy past and change some number and face, not so long.
 
Last edited by a moderator:

Ewaldar

Villager
Member
Joined
Sep 25, 2013
Messages
27
Reaction score
3
First Language
French
Primarily Uses
Hi,

I'm back with a new question ;)

I want to export my game, so I use this command LanguageFileSystem::encrypt

Then, I make a backupof my .rvtext files in an other folder. I set enable_encryption on true and I test to see if everything is correct.

So, if I choose English, everything's working, but not for french. My screen title is in french, but all dialogues and entries in

database are still in English ! I checked my game.ini and language is set on french, my default language is french too.

So, I don't understand why.. I you have an answer, it'd be awesome !

All the rest is working really good, now
 

DerTraveler

Veteran
Veteran
Joined
Jun 19, 2013
Messages
48
Reaction score
39
First Language
German
Primarily Uses
Sorry at the moment I'm quite busy with my regular work here, but I will look into the issues...

Upcoming features would be:

  • Translating custom scripts
  • Adding support for incremental text extraction (should not be too difficult, just ignore all texts that already include \dialogue-tags.
  • Looking into the multilanguage encryption bug (which is quite strange)
 

Ewaldar

Villager
Member
Joined
Sep 25, 2013
Messages
27
Reaction score
3
First Language
French
Primarily Uses
No problem, you already do amazing work ;)

I'm still working on my project, there is no huge issues, so it's really not a big deal.
 

Ewaldar

Villager
Member
Joined
Sep 25, 2013
Messages
27
Reaction score
3
First Language
French
Primarily Uses
Little up, just to have some news.
 

Marcio

Roadrunner for Lighnting and Strike Detonator
Veteran
Joined
Jan 2, 2013
Messages
63
Reaction score
2
First Language
German
Primarily Uses
@DerTraveler

Buddy, you're stil alive? ^^

Didn't hear from you in a long time! ^^

Alter schwede, meld' dich mal! ^^
 

DerTraveler

Veteran
Veteran
Joined
Jun 19, 2013
Messages
48
Reaction score
39
First Language
German
Primarily Uses
I'm still alive :) But very busy at the moment. But it will be a little bit better at the end of this Month, then I can start working on all the requests :)

Happy new Year everybody by the way!
 

Marcio

Roadrunner for Lighnting and Strike Detonator
Veteran
Joined
Jan 2, 2013
Messages
63
Reaction score
2
First Language
German
Primarily Uses
Hey good to hear from you again. :)

Happy new year! You're stil in japan? ^^
 

KalmTraveler

Warper
Member
Joined
Jan 9, 2014
Messages
1
Reaction score
0
First Language
German
Primarily Uses
Really like this script, mailed you dear Traveler buddy :)
 
Joined
Jan 18, 2014
Messages
1
Reaction score
0
First Language
english
Primarily Uses
I'm new to rpgmaker and ruby...

When I try to use this script in a japaneese rpg game it gave me a error in line 1359

"result = LanguageFileSystem::database[sUBCLASS_KEYS[self.class]][var.to_sym]"

It says "Type Error... Cannot convert symbol into integer..."

if there is a way to correct this please let me know
 

DerTraveler

Veteran
Veteran
Joined
Jun 19, 2013
Messages
48
Reaction score
39
First Language
German
Primarily Uses
Okay, now that I have some more time, let's tackle some of the requests... proceeding chronologically...

I want to export my game, so I use this command LanguageFileSystem::encrypt

Then, I make a backupof my .rvtext files in an other folder. I set enable_encryption on true and I test to see if everything is correct.

So, if I choose English, everything's working, but not for french. My screen title is in french, but all dialogues and entries in

database are still in English ! I checked my game.ini and language is set on french, my default language is french too.
To see if I understand you correctly.
So you have setup everything properly. That means you have 4 files "DatabaseTextFrench.rvtext", "DatabaseTextEnglish.rvtext", "DialoguesEnglish.rvtext" and "DialoguesFrench.rvtext" containing the correct texts for both languages in your game directory.
Using these 4 files without the encryption option, everything works fine - even switching languages in-game.

But when you encrypt the files and play again with the Encryption enabled and try to change languages ingame, in that case it suddenly doesn't work anymore?

I'm new to rpgmaker and ruby...

When I try to use this script in a japaneese rpg game it gave me a error in line 1359

"result = LanguageFileSystem::database[sUBCLASS_KEYS[self.class]][var.to_sym]"

It says "Type Error... Cannot convert symbol into integer..."

if there is a way to correct this please let me know
When exactly is it giving you that error? Directly when starting the game? This is really strange, since this is a part of the script that is not dependent on the particular game... 

What kind of language files are you using? Have you written them yourself? Or are they extracted? I fear I need some more details....
 

Marcio

Roadrunner for Lighnting and Strike Detonator
Veteran
Joined
Jan 2, 2013
Messages
63
Reaction score
2
First Language
German
Primarily Uses
Is it even possible to change from japanese characters to west? I'm no programmer, but my gues is, when you try it, you also need a new font.

Or did prasadmadanayake only uses a japanese copy of rpgmaker vxa and uses west fonts?
 

DerTraveler

Veteran
Veteran
Joined
Jun 19, 2013
Messages
48
Reaction score
39
First Language
German
Primarily Uses
It is definitely possible. The game I made here in Osaka was translated from English to Japanese and it works without any problems.

But, indeed, perhaps the problem is, that the game was made with the Japanese RPG Maker (which is most probably the case) and perhaps the Class or variable names are different in that version... But that would make absolutely no sense from a programmer's perspective...
 

Marcio

Roadrunner for Lighnting and Strike Detonator
Veteran
Joined
Jan 2, 2013
Messages
63
Reaction score
2
First Language
German
Primarily Uses
Well most japanese developers aren't that standard.

Maybe someone can clarify if this is true?

@DerTRaveler Have you looked into the translation topic we talked about for translating other vocab in scripts? ^.^
 

DerTraveler

Veteran
Veteran
Joined
Jun 19, 2013
Messages
48
Reaction score
39
First Language
German
Primarily Uses
@Ewaldar: Just ignore my last post. I found the mistake. There was a bug in the encryption, which caused only one language file to be encrypted (and sometimes even with the wrong contents). I will soon post an update that will fix everything.

@Marcio: That will be the next point I'm looking into. ;)
 

Mekos

Warper
Member
Joined
Feb 16, 2014
Messages
2
Reaction score
0
Primarily Uses
I got an error similar to prasadmadanayake's error regarding line 1359, while playing around with a game created by some japanese developer. Here the line in question:

result = LanguageFileSystem::database[SUBCLASS_KEYS[self.class]][var.to_sym]Not just a conversion error though, but a NoMethodError. Which seems even stranger to me. See attachement.

And as you assumed for prasadmadanayake's error, the error is raised directly upon starting the game.

May I ask what the class RPG::BaseItem is for, though? Deleting the whole class (or even just commenting out the line in question) avoids the error message. Furthermore, the extraction of dialogue and database text still works fine.

Which, however, leads me to another issue. While it also works perfectly fine to edit the Dialogues.rvtext file and have the ingame script calls retrieve the data, it does not work for the DatabaseText.rvtext and database.

At first I thought it had to do with the above issue. But then I created a new, perfectly clean project and tested the script. Extraction works fine (without error, obviously), but then I get the same issue with the DatabaseText.rvtext. Is it even supposed to work? Editing the database via the DatabaseText.rvtext, that is?

Regards,

Mekos

error.png
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top