entropia / tip-toi-reveng

Trying to understand the file format of Tip Toi
http://tttool.entropia.de/
MIT License
644 stars 121 forks source link

unset language #272

Closed uli42 closed 2 years ago

uli42 commented 2 years ago

While reading https://github.com/entropia/tip-toi-reveng/wiki/GME-Header I noticed this sentence:

If the language is missing any TipToi pen will accept the file.

https://github.com/entropia/tip-toi-reveng/wiki/Languages shows different ways how to set the language but I see no hints how to unset it. So I suggest an option to do just that. Maybe reuse the --set-language option with the special language "ANY" or "ALL" or "NONE"

nomeata commented 2 years ago

I think that’s supported, via --empty

$ tttool set-language --help
Usage: tttool set-language (--empty | LANG) GME
  sets the language field of an GME file

Available options:
  LANG                     Language (e.g. GERMAN, ENGLISH, FRENCH, DUTCH…)
  GME                      GME file to modify
  -h,--help                Show this help text

If the language of a GME file is not empty and does not match the pen's
language, the pen will refuse to play it. So for example you cannot play a
French GME file using a pen set to German. This command allows you to adjust a
GME file's language to match the pen's language, so you can play the GME file.

WARNING: This modifies the given GME file in place.
uli42 commented 2 years ago

Ok, I did not have a way to run tool here so I missed that. However, mentioning that a game with empty language will work on any pen would be helpful here

Joachim Breitner @.***> schrieb am Mo., 4. Apr. 2022, 12:44:

I think that’s supported, via --empty

$ tttool set-language --help

Usage: tttool set-language (--empty | LANG) GME

sets the language field of an GME file

Available options:

LANG Language (e.g. GERMAN, ENGLISH, FRENCH, DUTCH…)

GME GME file to modify

-h,--help Show this help text

If the language of a GME file is not empty and does not match the pen's

language, the pen will refuse to play it. So for example you cannot play a

French GME file using a pen set to German. This command allows you to adjust a

GME file's language to match the pen's language, so you can play the GME file.

WARNING: This modifies the given GME file in place.

— Reply to this email directly, view it on GitHub https://github.com/entropia/tip-toi-reveng/issues/272#issuecomment-1087397884, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQHBZGDC2SAKRJBOO4LQHLVDLBYTANCNFSM5SPCFBDA . You are receiving this because you authored the thread.Message ID: @.***>

nomeata commented 2 years ago

Sure, feel free to edit the wiki :-)

uli42 commented 2 years ago

I am talking about the help message in tttool...

On Mon, Apr 4, 2022 at 1:51 PM Joachim Breitner @.***> wrote:

Sure, feel free to edit the wiki :-)

— Reply to this email directly, view it on GitHub https://github.com/entropia/tip-toi-reveng/issues/272#issuecomment-1087458980, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQHBZFBIVVRDM6NZX56ICTVDLJVTANCNFSM5SPCFBDA . You are receiving this because you authored the thread.Message ID: @.***>

nomeata commented 2 years ago

OK, bin runter vom Schlauch. Kann ich machen.

uli42 commented 2 years ago

;-)

On Mon, Apr 4, 2022 at 3:08 PM Joachim Breitner @.***> wrote:

OK, bin runter vom Schlauch. Kann ich machen.

— Reply to this email directly, view it on GitHub https://github.com/entropia/tip-toi-reveng/issues/272#issuecomment-1087533935, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQHBZD4O4WAFDBQW6PNXPLVDLST3ANCNFSM5SPCFBDA . You are receiving this because you authored the thread.Message ID: @.***>