Front End Support > MaLa Frontend

Info Window for Hi Score (HiToText)

<< < (6/14) > >>

Fyrecrypts:

--- Quote from: kernelpanic on September 10, 2010, 09:23:43 am ---Maybe I'm not doing things right. I downloaded the hiToText.exe and XML files - crammed them into the hi folder under MAME, and my MAME batch file runs it on the game just completed and saves the output to a file named .txt for that rom. All I ever get with pacman is that "not supported" error.

300 is very overkill - dorunrun's saving of 50 is way overkill too - IMHO - 5, maybe 10 seems adequate to me. But I'm a ole pinhead and only used to a top 5, so that may be the problem  :dunno

--- End quote ---

No, you were doing things right, there was a bug. I've fixed it and will release it shortly, probably within the next couple hours.

As for overkill, I agree, 300 scores is a lot, however that is how many scores Crystal Castles saves. I only save what the game saves, and display what the game displays. Thankfully, HiToText output is fairly basic, and you are free to use the information however you see fit. =)

kernelpanic:
here is a preliminary version of my guide to get hi scores displayed via the MaLa info window. This may change depending on how Loadman implements the remaining parts and is currently based on the .txt files being read from the mame/hi folder. Fyrecrypts may want to add to/change the way that hiToText is being called.

Please NOTE that this technique does not currently work and may not ever - depending on Loadman's decision as to how/if he's going to implement this idea!

----------------------------------------------
Step #1:
    Obtain a command line version of MAME that has the "no nag" (optional) and "hi score" (required) hacks compiled into it.

    You have to compile that yourself - there are detailed instructions on the MAME site, so I won't go into those details here

Step #2:
    You need two files from the hiToText project. These can be obtained from this thread

        http://forum.arcadecontrols.com/index.php?topic=83614.0

    download the hiToText.exe and hiToText.xml files

    put both these files in the "hi" folder underneath MAME

Step #3:

    create a hi folder subordinate to your MaLa folder

Step #4:

    create a hi.BAT file that looks like this

    
--- Code: ---    echo off
    cd c:\emulators\programs\mame\hi
    hitotext -ra %1 > \emulators\mala\hi\%1.txt
    cd\emulators\mala
    
--- End code ---

    NOTE: the paths used above are for my config - adjust accordingly to fit yours


Step #5:

    save the BAT file you created in the hi folder you created in Step 3


Step #6:
    Access MaLa options, GUI tab, Info Window tab
    and create a new Info page of type Hi Score

    See mala-options-2.png attached


Step #7: (especially if upgraded from a previous version (<1.713) of MaLa
    Access MaLa options, Controller tab, Advanced tab
    and specify your desired Info Left and Info Right keys

    See mala-options-3.png attached




kernelpanic:

--- Quote from: Fyrecrypts on September 10, 2010, 11:47:20 am ---No, you were doing things right, there was a bug. I've fixed it and will release it shortly, probably within the next couple hours.

--- End quote ---

Cool - thanks for the prompt attention  :applaud:


--- Quote ---As for overkill, I agree, 300 scores is a lot, however that is how many scores Crystal Castles saves. I only save what the game saves, and display what the game displays. Thankfully, HiToText output is fairly basic, and you are free to use the information however you see fit. =)

--- End quote ---

Yeah, my next thought/project may be a program to massage the .txt file after it comes out of hiToText and maybe trim things down some - as well as do some formatting of those .txt files.

Fyrecrypts:

--- Quote from: kernelpanic on September 10, 2010, 11:50:42 am ---Fyrecrypts may want to add to/change the way that hiToText is being called.


Step #3:

    create a MAME.BAT file that looks like this

    
--- Code: ---    echo off
    c:\emulators\programs\mame\mame %1
    cd c:\emulators\programs\mame\hi
    hitotext -r %1 > %1.txt
    cd\emulators\mala
    
--- End code ---

    NOTE: the paths used above are for my config - adjust accordingly to fit yours


--- End quote ---

Only thing I would consider is utilizing the -ra command instead of -r. -ra will get alternate scores in addition to the standard scores. Games like moon patrol that have best times per stage section, or the earlier mentioned track and field event entries. Finding a way to incorporate those as well would be interesting.

kernelpanic:

--- Quote from: Fyrecrypts on September 10, 2010, 12:06:27 pm ---Only thing I would consider is utilizing the -ra command instead of -r. -ra will get alternate scores in addition to the standard scores. Games like moon patrol that have best times per stage section, or the earlier mentioned track and field event entries. Finding a way to incorporate those as well would be interesting.

--- End quote ---

Ok, I changed the above post to reflect that - thanks!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version