Jump to content
  • Announcement

    The HyperSpin 2 early access beta is here!

    We’re starting the first public testing phase with Platinum Members to keep the scope manageable while we test the current feature set and begin to add more. In the future, we’ll provide a version for basic members as well.  On behalf of the entire HyperSpin team, we look forward to another exciting adventure with our community.

HiToText working, but not in HS


erilong

Recommended Posts

Posted

The HiToText works on command line, but it doesn't display the highscore when viewing the game in HyperSpin. In HyperHQ, the wheel is configured for normal execution of mame.exe. In Settings\Settings.ini, it is enabled like this:

[HiScore]

Active=true

Y=500

Delay=1

And running on command line works fine, like this:

D:\hyperspin>HiToText.exe -r \hyperspin\emulators\mame\hi\popeye.hi

RANK|SCORE|NAME

1|32600|GET

2|29700|TJI

3|24150|HAM

4|23500|S*F

5|21150|YOK

I've looked in log.txt, hoping to see it running a command line for HiToText.exe, but there's nothing in there about it. Is there a way to turn up logging? What could I be missing to get it working?

Posted

Here are my settings.ini

[HiScore]

Active=true

Y=550

Delay=2

I have the hitotext exe and xml in the root of Hyperspin, do you have the .hi files in the hi folder in mame? And which games are you trying?

Posted

@adamnew: I have bezels disabled in HyperLaunch. I've tried switching between "Normal" and "HyperLaunch" execution of MAME, but it doesn't matter. When I use HyperLaunch, I do see the high scores menu correctly in HyperPause, so HiToText works there, but that's not what I'm trying to do. I'm trying to get HyperSpin to show the high score on the game theme as I browse games.

@gigapig: Thanks for your settings. I tried them in my Settings.ini, but I still don't see high scores on the game theme. I was trying smaller Y values to see if was displaying off-screen possibly. Yes, I have several games that have written a .hi file to the hi folder under MAME, including dkong and popeye. The example I posted was for popeye. I have HiToText.exe in the same D:\hyperspin folder with hyperspin.exe. In the example, I can run HiToText.exe and pass it the .hi file and it will run and output properly. I tried copying .hi files to different folders like D:\hyperspin and D:\hyperspin\emulators\mame, but that didn't help. Maybe I will make my own HiToText.exe that logs when it's called with the arguments passed so I can see if it's even being called by HyperSpin. I haven't found any logging to enable.

Posted

So I created my own wrapper named HiToText.exe that calls the real HiToText.exe and writes the call to a log file. It turns out that HyperSpin calls "HiToText.exe -l" when I'm on the system wheel, and then again for each game wheel I browse. It never calls HiToText.exe with a .hi file. The output of the "-l" is a list of all the games that are supported, which includes the games I have, like dkong and popeye. Why would it keep calling with "-l" over and over?

Posted

Does your Mame install have a "dats" folder and the 5 dat files inside?

Command.dat

hiscore.dat

history.dat

mameinfo.dat

story.dat

Also which version of Mame are you using? Hiscore support has been added back in to newer and certain versions, but you may have to switch it on.

Posted

To answer your questions, I have the "dats" folder with those dat files. I'm using MAME .151 from member FTP that was compiled with the HiScore patch. It does write out .hi files in the "hi" folder, which I can read with HiToText.exe from command line.

It looks like I found the issue, but I don't know what to do with it. The high score displays on the game themes inside of the "MAME" system, but not in the "MAME 80s" system. I've been in "MAME 80s" all this time because that's where I spend most of my time. :) Both systems are configured exactly the same in HyperHQ, except the names are different. As an experiment, I modified the database for "MAME" and added a game from "MAME 80s" to it, and now that game will display a high score from within the "MAME" system but not in "MAME 80s". It's almost like it will only work when the system name is "MAME".

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...