Front End Support > MaLa Frontend
Info Window for Hi Score (HiToText)
kernelpanic:
--- Quote from: loadman on September 10, 2010, 09:29:28 pm ---
after processing please as that is what MaLa will load right?
--- End quote ---
--- Quote ---My Knee Jerk reaction is I am not supportive (Step#4) of putting batch files in the mame exe section.
I think I can either
1) Write a basic plug-in that calls the batch file on MaLa exit
2) Write a sexy plugin that does all this with Config gui for users to set path
3) Add section in options-gui-game start/quit to optionally call a batch file on game exit. I guess it would just call at reduced bat like:
--- End quote ---
One of us is coooonfuuuuuuuuuused, lol :dizzy: prolly me - I'm used to it :laugh2:
Please find attached the only three that my batch file converted since I put it in place - maybe someone else can chime in here and provide more data :-)
loadman:
Am I right in thinking:
1) You want MaLa to load the appropriate text file (based on rom name) into the info window
2) My suggestions on how to execute HiToTxt on MaLa quit an/or my options on how you should think it should work?
I am sure we can make this work pretty quickly
kernelpanic:
--- Quote from: loadman on September 10, 2010, 10:25:30 pm ---Am I right in thinking:
1) You want MaLa to load the appropriate text file (based on rom name) into the info window
2) My suggestions on how to execute HiToTxt on MaLa quit an/or my options on how you should think it should work?
I am sure we can make this work pretty quickly
--- End quote ---
well, I was under the impression you wanted it simple - IMHO, the batch file idea and just displaying that text file seems that way, but again, I've not seen the code so have no idea what fits the best.
Granted it likely won't be pretty - you could make some basic improvements based on the test data - like a | char equates to a TAB, and center each line (or create tab stops based on the | chars), pick a font that looks like a vid machine, etc.
If you want more control, then you could always write the plugin later to add more value to the text to displayable text conversion.
Seems like there is room to do both - doing the text file now at least gets it working and opens up feedback for new ideas to improve upon it all.
Let me know how if I can help.
kernelpanic:
let me add that I personally have no issue with a DOS based batch file - I cut my teeth on those (and miss those days in a way) - YMMV - not sure a plugin could do that particular task any better. As far as the ability to massage the text file to something more display friendly - yeah, I think a plugin may be better for that idea.
In the end, this is your train robbery ... just let me know if/how I can help.
loadman:
--- Quote ---One of us is coooonfuuuuuuuuuused, lol ??? prolly me - I'm used to it Ha! Ha! Ha! Ha! Ha! Ha!
--- End quote ---
I'm not saying that that batch file is a bad idea at all. I was simply saying it would be problmatic for other users to enable it using that method of subsittuting the mame.exe path with the batch file. It would be better to call a batch file another way. The reason is MaLa expects a real exe to be there when it tried to creat a mame.ini (if missing) or a mame.xml if missing
I use unix shell scripts at work all the time so I understand the value.
Yep, I am sold on the idea on the batch file generating / updating the .txt files?
I will get MaLa natively to trigger it on game exit. I will work on that. I will write the MaLa code to trigger it. ;D
Can you finish them appropriate batch file.? It will prbnably be just a sub set of what you have done already I guess?
Is this plan cool with you? ???
Also Have a look at this MaLa beta to prompt more discussion on the Info Display format.
All it does it display a %ROM.txt file if present in subfolder 'hi' at this point.
No fancy tabs yet , just replacing | with 3 spaces for now. if you have some Delphi Tabs Stop code do pass it as it will save me time writing my own
-Stale Download Link Removed-
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version