Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Is there any way to ...  (Read 1092 times)

0 Members and 1 Guest are viewing this topic.

prophex

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:December 18, 2003, 02:49:27 pm
  • I'm a llama!
Is there any way to ...
« on: December 10, 2003, 06:50:21 pm »
First of all, I want to say thank you, this board and website have been a great help to me in building my arcade machine.
Ok, on to the question :
I have a crystalfontz 634 usb lcd, and i want to put some mame related information onto it depending on what game i am currently playing.  for now, i would just like it to display the full name of the current game.  i have found that mamewah (which is what i currently use as a FE) writes to mamewah\debug.log the command that it just passed, ie - c:\games\mame\mame.exe c:\games\mame\roms\tmnt
i can pass this through lcd smartie and sort of get the game i am playing.  the downside is, that lcdsmartie shows the entire line, not just the end of it, and not all roms are as easy to figure out as tmnt.
i was wondering if anyone knew a way to have the rom name translated into the games full name, or if any other front end would write this (or any other useful) information to a text file.

thanks

-prophex

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re:Is there any way to ...
« Reply #1 on: December 11, 2003, 12:14:43 am »
There always is docs/gamelist.txt (you can make a new one with mame -gamelist > newgamelist.txt)  Then there's the loaded mame -gameinfo > gameinfo.txt.   Both of these you'd make a list of all the games, and then when you start a game, serach for the rom name to get the game name.

One of the other of mame's list options might be better for you, such as -listfull.  This one you can also make a full list with mame -listfull.  However, it can also do only one game.  mame tmnt -listfull gets an output of
Name:     Description:
tmnt      "Teenage Mutant Ninja Turtles (World 4 Players)"
Robin
Knowledge is Power

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:Is there any way to ...
« Reply #2 on: December 11, 2003, 12:29:47 am »
In the future what info do you want to show?

prophex

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:December 18, 2003, 02:49:27 pm
  • I'm a llama!
Re:Is there any way to ...
« Reply #3 on: December 11, 2003, 03:36:58 pm »
ooh, that should work ... i guess i'll just whip up a .bat file and see how it goes ... as far as what i would want to show, primarily the name, but scrolling history and tips would be nice
i'm still trying to figure out the capabilities of lcdsmartie, it doesn't seem to be able to just display part of a line of text, it just shows the whole thing

-prophex

prophex

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:December 18, 2003, 02:49:27 pm
  • I'm a llama!
Re:Is there any way to ...
« Reply #4 on: December 11, 2003, 04:28:32 pm »
well, that worked well, now i just need some way to format all that text so that it will fit well on my 4x20 lcd   :)
this is how the text file looks:
Name:     Description:
tmnt      "Teenage Mutant Ninja Turtles (World 4 Players)"

know of any easy command driven way to strip off the tmnt     " and the trailing "?
if not, this is good enough for me for now, thank you for the help u_rebelscum   ;D

-prophex

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Is there any way to ...
« Reply #5 on: December 15, 2003, 06:46:19 pm »
First of all, I want to say thank you, this board and website have been a great help to me in building my arcade machine.
Ok, on to the question :
I have a crystalfontz 634 usb lcd, and i want to put some mame related information onto it depending on what game i am currently playing.  for now, i would just like it to display the full name of the current game.  i have found that mamewah (which is what i currently use as a FE) writes to mamewah\debug.log the command that it just passed, ie - c:\games\mame\mame.exe c:\games\mame\roms\tmnt
i can pass this through lcd smartie and sort of get the game i am playing.  the downside is, that lcdsmartie shows the entire line, not just the end of it, and not all roms are as easy to figure out as tmnt.
i was wondering if anyone knew a way to have the rom name translated into the games full name, or if any other front end would write this (or any other useful) information to a text file.

thanks

-prophex

Not a lot of help now but if you turn off 'Send ROM Path', the line:

c:\games\mame\mame.exe c:\games\mame\roms\tmnt

will become:

c:\games\mame\mame.exe tmnt

Maybe makes it slightly easier for you  ???