Author Topic: How do I edit the exit text when exiting?  (Read 3797 times)

tidyhunger

  • Newbie
  • *
  • Posts: 6
    • View Profile
How do I edit the exit text when exiting?
« on: August 28, 2016, 04:15:44 AM »
Hello, I am wanting to edit the text shown when pressing escape to exit the attract-mode front-end. At the moment, it shows "Exit Attract-Mode?" - I'm wanting to change this.

What file am I to edit to be able to do this?

Thanks for your help!

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: How do I edit the exit text when exiting?
« Reply #1 on: August 28, 2016, 10:13:08 PM »
@tidyhunger
it seems that you've set 'english' as default, haven't you?!

Edit this file : C:\attract\language\en.msg

Set this text in line #5:
Exit Attract-Mode?;Is this really my exit text?
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

tidyhunger

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: How do I edit the exit text when exiting?
« Reply #2 on: August 29, 2016, 12:15:15 AM »
Oh wow, thanks for that! Would you be able to tell me how the default text comes into play? It doesn't seem to be in the en.msg file.

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: How do I edit the exit text when exiting?
« Reply #3 on: August 29, 2016, 03:19:18 AM »
The text 'Is this really my exit text?' was an example of me ^-^
just modify it.

I think, it's hard-coded in AM itself (but I'm not sure).
If you look at AM-sourcecode, there is in main.cpp the line #445 with text "Exit Attract-Mode?",.

Probably it works like this:
if language xyz123 is selected & there is no translation of a specific command,
then so use default translation of AM itself (hard-coded in AM itself).
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM