Front End Support > MaLa Frontend
Info Window for Hi Score (HiToText)
kernelpanic:
I'm playing with MaLa and the Info window. I have mine setup to load the Info window with the Alt key and toggle between the various windows with the space bar - typical I think.
What I notice is that every time I do that, the list of "Current Pages" grows - as shown in Options | GUI | Info Window - I now have three sets of "Recommended Games, Controls, History, Snap, Marquee, Control Panel, etc. If I quit MaLa, the list goes back to a singleton for each page. This may not be a problem, just wanted to make you aware.
I was hoping to use this to display the current hi score info by using the hitotext app (as noted in the thread about hi score plugins) but I see no way to create a new page that I can get the info into. If this were PHP, I'd just cram the output from hiToText into an image and use that.
Any chance we can get an addition to the Type of page that we can add to the info window? A simple text file would work, an HTML file would work better, but either of those would allow display of the current hi score info (if it's been converted by the hiToText app)
I envision a file with the same name as the ROM but with a TXT or HTM extension - I guess we'd also need a place to input a folder location for these files.
kernelpanic:
does anyone know where the info for Recommend Games comes from? maybe I can hack in that way, lol
loadman:
--- Quote ---What I notice is that every time I do that, the list of "Current Pages" grows - as shown in Options | GUI | Info Window - I now have three sets of "Recommended Games, Controls, History, Snap, Marquee, Control Panel, etc. If I quit MaLa, the list goes back to a singleton for each page. This may not be a problem, just wanted to make you aware.
--- End quote ---
Interesting
--- Quote ---I was hoping to use this to display the current hi score info by using the hitotext app (as noted in the thread about hi score plugins) but I see no way to create a new page that I can get the info into. If this were PHP, I'd just cram the output from hiToText into an image and use that.
Any chance we can get an addition to the Type of page that we can add to the info window? A simple text file would work, an HTML file would work better, but either of those would allow display of the current hi score info (if it's been converted by the hiToText app)
I envision a file with the same name as the ROM but with a TXT or HTM extension - I guess we'd also need a place to input a folder location for these files.
--- End quote ---
hmmm
I could make a window that read a text file sure.
Off the top of my head a simple plugin that ran to refersh the test file (calling hiToText). But would it not be cleaner to have HiToTest create just on file with all teh games in sections?
eg:
[1942]
loadman 3928739204397 Points
[Pacman]
loadman 3232323232323 Points
kernelpanic:
my thoughts are - and they may be erroneous - that a hi score only changes AFTER you play a game, so that is the time to run a new hiToText for that game just played.
I have this working for the most part. I modified Mala to call MAME via a mame.bat file - that batch file is similar to this
echo off
mame %1
hiToText %1 > %1.txt
this gets the hi score data in to a text file. THere are some other stuff in the batch file to change directories, etc
Right now, I am cramming the %1.txt files in a folder like C:\emulators\mala\scores
I am now working on converting that txt file to an image using imageMagick (free). Then I can just use the "Defineable 1" to hook the image into MaLa
It would be simpler if MaLa allowed us to create a defineable of type TXT and/or HTML, but this should at least work for proof of concept.
kernelpanic:
I say it would be simpler if MaLa would just read the TXT file, but you get what you pay for so to speak.
The info that is output from hiToText is in the most basic form which is understandable. But using ImageMagick, or HTML, so much more could be done to format the data, and each person could control what they wanted.
Navigation
[0] Message Index
[#] Next page
Go to full version