Front End Support > MaLa Frontend

Info Window for Hi Score (HiToText)

<< < (4/14) > >>

Fyrecrypts:
loadman,

I saw your post on the HiToText thread in the software forum and wanted to let you know I appreciate the work you're putting in to get HiToText incorporated into MaLa. I don't really have anything super productive to add, I like the idea of making it a text-style window. Maybe even have it be variables for any text field, however I'm not sure what variables you allow since the scores can be so wildly different. Some are almost always there: rank, score, and name. And with the XML format you can change those fields to be whatever you want I suppose.

I'm not sure, perhaps I'm just rambling, I'll let the experts sort out the details with programming in MaLa, however I am lurking and excited to see what comes out of these threads. =)

loadman:
Stage1 ) Well at the very least I will put a extra window to allow display of text files in a directory.
I can then alter the required file format and display depending on the feedback I get after this is done.

Stage 2) How will those files be generated and refreshed?

Using HiToText I hope. I am counting on others to find a solution or just give me the basic recipe that I can fire off when you quit a game (either in MaLa code or a new plugin)

Stage 3) I parse the text files and allow these details to be displayed in the layout. Don't feel too enthusiastic about the this. Lot's of effort required for minimum gain I feel at this point.

Fyrecrypts:

--- Quote from: loadman on September 10, 2010, 12:14:19 am ---Stage 2) How will those files be generated and refreshed?

Using HiToText I hope. I am counting on others to find a solution or just give me the basic recipe that I can fire off when you quit a game (either in MaLa code or a new plugin)

--- End quote ---

The .hi (or nvram, or save state) file will change only on a successful exit of MAME, so the best time to generate these files would be immediately on returning to MaLa from the emulator. Should only take a max of 100 ms for HiToText to decipher the score, and then some other amount of time dependent on hardware to actually write the file to disk. So showing these updated scores may not be available immediately upon returning to your layout.

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 ---

Yeah that is weird

 ???

Can someone post a few .hi files here so I can see the file structure please

Anyway here is a rough BETA version with a Dummy Hi Score page and options to navigate left and right through info windows. Please give feedback

STALE LINK REMOVED

DownLoad Here

kernelpanic:
that didn't work for me - left/right keys do nothing and the space bar seems to auto repeat but not access all the screens.

This does allow me to specify a type of "Hi Score" - where do those text files need to be? in a particular folder?


here are 2 files that I created using hiToText

dorunrun is the largest one I've found so far - the pacman one is shown as some games are not supported in the XML file and generated this type of txt file




Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version