Suggestion/Wish/Request: Babel Fish.

Started by Dualnames, Sun 21/09/2008 21:07:06

Previous topic - Next topic

Dualnames

Ok, so.. translations, well we all like em. I was thinking that it would be cool to add as many of those as possible to HHGTG. Thus creating a sort of a Babel Fish. So I came up with the idea of you know just making either an exterior program or something interior. However the only way of changing translations is only via winsetup.. So question:

There's really no way to do it via AGS? Can I ask if it's possible to create a function like SetTranslation? Or someway to change the winsetup program?


However I noticed this on the acsetup.cfg.

Code: ags

[sound]
digiid=-1
midiid=-1
digiwin=1096302880
midiwin=-1
digiindx=0
midiindx=0
digiwinindx=0
midiwinindx=0
[misc]
gamecolordepth=16
defaultres=1
screenres=0
letterbox=0
windowed=0
refresh=0
gfxfilter=None
[language]
[b]translation=Spanish//that is the filename(Spanish.tra).[/b]



So how is this possible via AGS File functions? I can think of something to code at this point, and I might actually do it. if you remove last line translation becomes default. But will the game be able to edit in-game without crashing?

Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Lt. Smash

static bool Game.ChangeTranslation(string newTranslationName)
supported by one of the latest ags betas.


Dualnames

Quote from: Lt. Smash on Sun 21/09/2008 21:17:54
static bool Game.ChangeTranslation(string newTranslationName)
supported by one of the latest ags betas.



My God, I feel so embarassed. It's in game right? Thanks Chris. I did check ags beta 3.17 but didn;t noticed it..
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk