Dolphin, the GameCube and Wii emulator - Forums
Which way Dolphin outputs text? - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Development Discussion (https://forums.dolphin-emu.org/Forum-development-discussion)
+--- Thread: Which way Dolphin outputs text? (/Thread-which-way-dolphin-outputs-text)



Which way Dolphin outputs text? - Alphelion - 03-04-2012

Hello. I have a crazy idea about turning Dolphin into translation toolAngel
but need more info about that.
So, my idea is hook Dolphin text output functions and make this strings / text currently displaying in game (menus, npc dialogs, etc) also to be displayed in special window where you can write translated version of this text.
then after all text translated you can press button and it generates file in format:
ORIGINAL TEXT : TRANSLATED TEXT
after that special tool read this file and does binary replaces in game executable.

err, well if that ever possible.

how Dolphin outputs game text? i mean it uses some api functions like TextOut or etc?
searching whole sources just to find it out is kinda hard, when i can get clear answer from developers


RE: Which way Dolphin outputs text? - dannzen - 03-04-2012

if you can't read the code...
you don't have any clue of programming...

ask the question in the irc-channel...
nearly all developers are crawling there around


RE: Which way Dolphin outputs text? - delroth - 03-04-2012

This is not possible to implement in Dolphin because displaying text is completely game dependent. The emulator does not know if a game is displaying text or something else, it's all textured triangles Smile


RE: Which way Dolphin outputs text? - Alphelion - 03-04-2012

ouch. that's what i was scared the most. thanks for the answers


RE: Which way Dolphin outputs text? - scummos - 03-04-2012

It's also a really *really* weird idea. Why would you want to do something like that. Use a proper UI toolkit like Qt.