Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: prophex 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
-
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)"
-
In the future what info do you want to show?
-
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
-
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
-
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 ???