Hey, we have forums!

Author Topic: Translating Aquaria, few questions  (Read 24469 times)

0 Members and 1 Guest are viewing this topic.

Offline vegetamaker

  • Bit
  • ***
  • Posts: 24
    • View Profile
Translating Aquaria, few questions
« on: June 25, 2013, 07:02:44 am »
Hello. I am translating this game because I felt really good and wanted to enjoy "real" and, besides, I enjoy doing.

I've been digging a lot and I think I have almost everything and aims to translate well without errors. but there are a few things you can not find or worry me.

1 - If I change the name of the maps, affect in any way? For example I found in the file "savepoint.lua" a part which made ​​mention of whether it was on a map or not. Should I change the name that will change? Or does it not affect?

2 - I am also looking for the "strings" that reference the words "SLOT", "EMPTY" and "PAGE" saved menu but more I look I can not find either the "stringbank.txt" or anywhere. lua (or maybe I searched wrong). Does anyone know where I should be?

Thanks for everything!

------------

Hola. Estoy traduciendo este juego porque me pareció muy bueno y quería disfrutarlo "de verdad" y, además, me divierte hacerlo.

He estado indagando mucho y creo que tengo casi todo ya encaminado a traducirlo bien sin errores. pero hay unas pocas cosas que no consigo encontrar o me preocupan.

1- Si cambio el nombre de los mapas, afectará de alguna manera? Por ejemplo encontré en el archivo "savepoint.lua" una parte donde hacía mención a si estaba en un mapa o no. ¿Debería cambiarlo por el nombre que le cambiara? ¿O bien no afectaría?

2- También estoy buscando los "strings" que hacen referencia a las palabras "SLOT", "EMPTY" y "PAGE" del menú de guardado pero por más que busco no lo encuentro ni en el "stringbank.txt" ni en ningún .lua (o tal vez he buscado mal). ¿Alguien sabe donde debería estar?

Gracias por todo!

Offline False.Genesis

  • Administrator
  • Super Bit
  • **********
  • Posts: 461
  • PRESS COMPILE FOR RAINBOWS
    • View Profile
    • My source code!
Re: Translating Aquaria, few questions
« Reply #1 on: June 25, 2013, 08:46:23 am »
Nice!
1 - If I change the name of the maps, affect in any way? For example I found in the file "savepoint.lua" a part which made ​​mention of whether it was on a map or not. Should I change the name that will change? Or does it not affect?

Do NOT change the name of the map files or any references in script files. Change the map names in stringbank.txt. See worldmap.txt, the second number on every line is the index in stringbank.txt.
Do NOT change ingredients.txt, but you can freely change ingredientnames.txt

2 - I am also looking for the "strings" that reference the words "SLOT", "EMPTY" and "PAGE" saved menu but more I look I can not find either the "stringbank.txt" or anywhere. lua (or maybe I searched wrong). Does anyone know where I should be?

Stringbank.txt. If you're using an older version, they are hardcoded in the exe/binary.

Checkout locales/ru for a list of PNG files that need to be changed to make the translation complete.

Offline vegetamaker

  • Bit
  • ***
  • Posts: 24
    • View Profile
Re: Translating Aquaria, few questions
« Reply #2 on: June 25, 2013, 08:56:23 am »
Guess i have a old version. I havent ingredientsname.txt and in stringbank there arent slot or others.

I have 1.1.2 version from Steam.

Edit: Yes, i saw there is a 1.1.3+  ;D  version. Checked other post and found an update. Thanks!
« Last Edit: June 25, 2013, 09:05:00 am by vegetamaker »

Offline vegetamaker

  • Bit
  • ***
  • Posts: 24
    • View Profile
Re: Translating Aquaria, few questions
« Reply #3 on: June 25, 2013, 09:41:29 am »
Checked the file for the translate tu russian. I dont have idea how to change the GLF file. What i was doing was change few symbol from font.png to those letters that i needed (http://www.bit-blot.com/forum/index.php?topic=1767.0 is where i found it and saved a lot of time ^^

Offline False.Genesis

  • Administrator
  • Super Bit
  • **********
  • Posts: 461
  • PRESS COMPILE FOR RAINBOWS
    • View Profile
    • My source code!
Re: Translating Aquaria, few questions
« Reply #4 on: June 25, 2013, 10:41:49 am »
Hm, ideally you do not need to change the GLF file at all. All that file is used for is mapping an alphabet to rectangles on font.png.
If you need to add additional characters and don't have any spare/unused ones, you may require a change however. I can hack the GLF file if necessary, just tell me what you need.

Offline vegetamaker

  • Bit
  • ***
  • Posts: 24
    • View Profile
Re: Translating Aquaria, few questions
« Reply #5 on: June 25, 2013, 10:50:03 am »
Hm, ideally you do not need to change the GLF file at all. All that file is used for is mapping an alphabet to rectangles on font.png.
If you need to add additional characters and don't have any spare/unused ones, you may require a change however. I can hack the GLF file if necessary, just tell me what you need.

Thanks ^^, but i guess is enough with i have already. With a simple program i can change between letters withouth prob (ie for 'á' i need type '=' and for 'ñ' i need use '%'). Isn't the ideal way to do it, but it work perfect. ^^

Btw Really easier work with the ingredientsname.txt. I wasted alot hours b4.

Edit: Oh, a question. Isn't very important really, but what is "vedha"?  Dont sound like a name and is used in a mapa and few items. Really dunno what is the translation exactly.
« Last Edit: June 25, 2013, 10:52:15 am by vegetamaker »

Offline False.Genesis

  • Administrator
  • Super Bit
  • **********
  • Posts: 461
  • PRESS COMPILE FOR RAINBOWS
    • View Profile
    • My source code!
Re: Translating Aquaria, few questions
« Reply #6 on: June 25, 2013, 11:14:53 am »
Vedha is a character from during development, but doesn't exist anymore. More detail in http://www.bit-blot.com/forum/index.php?topic=4198.0 .

EDIT:

Btw Really easier work with the ingredientsname.txt. I wasted alot hours b4.

Indeed. Do not change the ingredient names in the map XML files, that'll break the game if not used with a translated ingredients.txt file. C1 did this with the russian translation but it was a very stupid way to do it. ingredientnames.txt keeps the internal names intact and just changes the names displayed within the game.
« Last Edit: June 25, 2013, 11:18:09 am by False.Genesis »

Offline vegetamaker

  • Bit
  • ***
  • Posts: 24
    • View Profile
Re: Translating Aquaria, few questions
« Reply #7 on: June 26, 2013, 02:11:15 am »
Is there any difference between uppercase and lowercase?

I think so by font.txt file contents but not sure.

Offline False.Genesis

  • Administrator
  • Super Bit
  • **********
  • Posts: 461
  • PRESS COMPILE FOR RAINBOWS
    • View Profile
    • My source code!
Re: Translating Aquaria, few questions
« Reply #8 on: June 26, 2013, 02:16:32 am »
Is there any difference between uppercase and lowercase?

Yes, but... font.txt is not used at all. Neither are warpkeys.txt, font.glf, automap.txt.

Offline vegetamaker

  • Bit
  • ***
  • Posts: 24
    • View Profile
Re: Translating Aquaria, few questions
« Reply #9 on: June 26, 2013, 02:22:54 am »
Ok, perfect. And if you can help me again... I changed songs.xml for songs's names, but in Spanish those are too long and look bad in the menú. Is there any way for press "enter"?

And for achievements, wheren can i translate them? I see a achievements.txt, but dont look like stringbank and dunno if i can change it without problems.
« Last Edit: June 26, 2013, 02:36:55 am by vegetamaker »

Offline False.Genesis

  • Administrator
  • Super Bit
  • **********
  • Posts: 461
  • PRESS COMPILE FOR RAINBOWS
    • View Profile
    • My source code!
Re: Translating Aquaria, few questions
« Reply #10 on: June 26, 2013, 05:20:07 am »
It should be possible to use | (pipe) as a newline, but i don't know if it works in the songs.xml file. In strinkbank.txt it does.
You can change achievements.txt without problems as long as you keep the lines in the same order.

Btw, would you mind if I add your translation to my updates whenever you're done and happy with it? :)

Offline vegetamaker

  • Bit
  • ***
  • Posts: 24
    • View Profile
Re: Translating Aquaria, few questions
« Reply #11 on: June 26, 2013, 02:40:37 pm »
It should be possible to use | (pipe) as a newline, but i don't know if it works in the songs.xml file. In strinkbank.txt it does.
You can change achievements.txt without problems as long as you keep the lines in the same order.

Btw, would you mind if I add your translation to my updates whenever you're done and happy with it? :)


Sure, I always share my work. Well it's the first thing I do of this nature, but as others share: P

I tried it on | but in the XML does not get it. I tried to abbreviate the name of the songs, but still are quite long (Energy Form -> Form of Energy -> Energy F.)

By now I have already done 90% of the translation (and is fully playable.) It remains to check a spelling error in hidden out there, check tenses while playing. It is also translating the achievements, but it is a quick thing.

After that I would see if I could translate the menu (although the graphics is not exactly my strong point) and the texts of the walls in the Aquarian language.

Offline False.Genesis

  • Administrator
  • Super Bit
  • **********
  • Posts: 461
  • PRESS COMPILE FOR RAINBOWS
    • View Profile
    • My source code!
Re: Translating Aquaria, few questions
« Reply #12 on: June 26, 2013, 03:33:39 pm »
Texts on the walls currently require to change the map files. But i guess this isn't a big deal as they won't be changed anytime soon.
I might add better support for this when i figure out a good way to do it...

Offline vegetamaker

  • Bit
  • ***
  • Posts: 24
    • View Profile
Re: Translating Aquaria, few questions
« Reply #13 on: June 26, 2013, 04:44:44 pm »
Well, it's laborious, but can be done.

I've been researching the code to see where and how to make those words (because, as are also a kind of "font.png") was made ​​by code.

So I found it, I researched and I tested:

Few pics with a font legible

Original-> http://img845.imageshack.us/img845/5429/fvpq.jpg
Changed "home" for "casa -> http://img703.imageshack.us/img703/1791/ceic.jpg
Changed "home" for "hogar" -> http://img35.imageshack.us/img35/9927/mam7.jpg
"Home" in Aquarian Language -> http://img515.imageshack.us/img515/9493/a8v5.jpg
"Hogar" in Aquarian Language -> http://img189.imageshack.us/img189/8661/67ha.jpg new version: http://img818.imageshack.us/img818/55/i3j8.jpg

Still need few work for look better, but that is the way ^^

Btw, is there any way for save anywhere? is a bit frustrating move to the site every try :P
« Last Edit: June 26, 2013, 06:40:39 pm by vegetamaker »

Offline False.Genesis

  • Administrator
  • Super Bit
  • **********
  • Posts: 461
  • PRESS COMPILE FOR RAINBOWS
    • View Profile
    • My source code!
Re: Translating Aquaria, few questions
« Reply #14 on: June 26, 2013, 05:40:11 pm »
Btw, is there any way for save anywhere? is a bit frustrating move to the site every try :P

Huh? o.O

Are you using the dev build for this? With this you can simply load up any map in the editor right from the title screen, teleport yourself around, etc...
It can also save anywhere - on the main menu, bottom, there's a text you can click: "Debug save".