Front End Support > MaLa Frontend
Info Window for Hi Score (HiToText)
arquillos:
Hi everone!
Iīve been testing the Hi2Text program (at last) and I have a question about how M.A.L.A. proccess the text input from hiscores.
The Hi2Text output format is just a <string>"|"<string> sequence but I really donīt understand how M.A.L.A reads this file and generates itīs output.
Some Hiscores lines get center aligned, others seem to be left aligned, etc.
I tried pre-formatting the HiScore output before M.A.L.A reads the file but Iīve got no success.
Is there any formatting options or configuration to make the M.A.L.A. Hiscore output prettier?
Thank you in advance!
Kurraak:
Just wanted to throw in a thanks to you guys too. Between this thread and a few others I figured out my issues with getting Hitotext to work the way I wanted in Mala via a batch file that does a few other things.
I'll show ya the batch file I use to launch the different Mame Versions and do the hitotext stuff.
Also, just for reference (I know it was mentioned earlier, but here it is again) the directory that the texts are read from should be in "<WHATEVER YOUR MALA FOLDER IS CALLED>\hi".
I must have skimmed over that like 3 or 4 times trying to find out where it was before I actually read it.
Anyway, here's my batch file, maybe someone will find it useful.
===================================================================
if "%2" == "C:\Emulator\mameinst\roms\MAME145" goto mame145
if "%2" == "C:\Emulator\mameinst\roms\MAME156" goto mame156
if "%2" == "C:\Emulator\mameinst\roms\MAME143" goto mame143
if "%2" == "C:\Emulator\mameinst\roms\MAME140" goto mame140
if "%2" == "C:\Emulator\mameinst\roms\MAME146" goto mame146
mame.exe %1
del C:\Emulator\MaLa174\MaLa174\hi\%1.txt
cd\Emulator\mameinst\hi
HiToText.exe -r C:\Emulator\mameinst\hi\%1.hi >> C:\Emulator\MaLa174\MaLa174\hi\%1.txt
exit
:mame146
cd\Emulator\altmame\Mame146
mame.exe %1
del C:\Emulator\MaLa174\MaLa174\hi\%1.txt
cd\Emulator\mameinst\hi
HiToText.exe -r C:\Emulator\mameinst\hi\%1.hi >> C:\Emulator\MaLa174\MaLa174\hi\%1.txt
exit
:mame145
cd\Emulator\altmame\Mame145
mame.exe %1
exit
:mame156
cd\Emulator\altmame\Mame156
mame.exe %1
del C:\Emulator\MaLa174\MaLa174\hi\%1.txt
cd\Emulator\mameinst\hi
HiToText.exe -r C:\Emulator\mameinst\hi\%1.hi >> C:\Emulator\MaLa174\MaLa174\hi\%1.txt
exit
:mame143
cd\Emulator\altmame\Mame143
mame.exe %1
exit
:mame140
cd\Emulator\altmame\Mame140
mame.exe %1
exit
=====================================================================
Don't forget to set up the %1 and %2 stuff in Mame tab in Mala config. I also edited the mame.ini for each version of mame I use to write the High Scores to the same directory.
If someone else posted the same kind of thing, I'm not trying to take credit for anyone else's ideas, I'm just trying to put a bunch of the info in one place because I had to do alot of looking/modifying to get all the info put together and working for myself.
I've got my cab working about 99% the way I want thanks to this board.
arquillos:
Hi!
Iīve been following the development of the "hi2txt.exe", and Iīd like to ask for a new MALA version that could interpret some special characters in the hi-score text files, like the spaces " " and the tabs "\n".
The actual MALA beta version only interpret the "|" character for a fixed number of spaces (three spaces)...It wouldnīt be hard to implement this new requirement so MALA would just read the hi-score file and write it to the screen.
Any user could add a post-processing command line (per example gwak, seds and the likes) to format the hi-score text file giving everyone the freedom to print it in any required way.
Would it be done in a new version? :dunno :dunno
And one more question...I donīt know if I am using it right...this is the screen Iīve got:
What are those "xxxxxxxx" in the image? Is there a way to avoid them?
retrometro:
Looks like the hitotext.com site has been down for a while.
I managed to find a copy on GitHub or sourceforge. Is anyone else using this for MaLa?
Navigation
[0] Message Index
[*] Previous page
Go to full version