Opened 4 years ago

Last modified 2 years ago

#11917 new feature request

TEENAGENT: French Translation Support Patch

Reported by: legluondunet Owned by:
Priority: normal Component: Engine: TeenAgent
Version: Keywords:
Cc: Game: TeenAgent

Description (last modified by legluondunet)

Hello,
someone has translated Teen Agent in french.
I joined you the patch fr from Ghylard.
This patch is GOG compatible.
One applied you can play Teen Agent in french on Dosbox but not with ScummVM.
Do think you could support it to play Teen Agent in french with ScummVM?

Attachments (1)

Patch Fr Teen Agent.exe (653.1 KB ) - added by legluondunet 4 years ago.

Download all attachments as: .zip

Change History (6)

by legluondunet, 4 years ago

Attachment: Patch Fr Teen Agent.exe added

comment:1 by legluondunet, 4 years ago

Description: modified (diff)

comment:2 by digitall, 4 years ago

Component: --Unset--Engine: TeenAgent
Summary: Teen Agent french translationTEENAGENT: French Translation Support Patch

IIRC Teenagent embeds all the strings in the game executable, which must have been patched here. This would need a fair bit of work to add this support.

comment:3 by sev-, 4 years ago

Indeed, I checked the attached file. It is an innosetup bundle (use innoextract), which has TEENAGENT.fr file which is renamed to TEENAGENT.exe during installation.

Somebody needs to extract the strings from this new executable.

comment:4 by Thpwg, 2 years ago

I don't know if that can help. The french translation is in the *.exe file and not in the data files.

Last edited 2 years ago by Thpwg (previous) (diff)

comment:5 by digitall, 2 years ago

It is possible, but tricky. I have taken a look at the modified executable and the strings are visible in the data segment. If they still start at the same offsets, then we could duplicate the string data into the teenagent.dat file and switch based on language. If they are moved around, this could be tricky. However, I did fully reverse and document the dseg offsets a while back in: https://github.com/scummvm/scummvm/blob/master/engines/teenagent/resources.h

Note: See TracTickets for help on using tickets.