Main > Software Forum

HiToText (Version 2010.11.4).

<< < (29/117) > >>

headkaze:
Definately a great idea and you know you could probably implement it without them needing an update. Since they currently pass the full path to the .hi file you could just get the Mame folder from that.

Eg. Something like this

--- Code: ---mameFolder = Path.GetDirectoryName(args[1]);
romName = Path.GetFileNameWithoutExtension(fileName);
hiFolder = Path.Combine(mameFolder, "hi");
nvFolder = Path.Combine(mameFolder, "nvram");
hiFilename = Path.Combine(hiFolder, romName + ".hi");
nvFilename = Path.Combine(nvFolder, romName + ".nv");

if(File.Exists(hiFilename))
   // Process the hi file
else if(File.Exists(nvFilename))
   // Process the nv file

--- End code ---

headkaze:
HiToText support now added to CPWizard  :cheers:

Also Fyrecrypts any chance you could change HiToText from a "Debug" to a "Release" binary for next version?

wwwombat:

--- Quote from: Fyrecrypts on November 28, 2008, 03:20:29 pm ---
--- Quote from: redhorse on November 28, 2008, 02:34:05 pm ---Ok, I have it running now and after updating the GameEx HiScore_SupportedGames.txt file I can see my R-Type Higscores now!!

One question: In most of the samples that I've looked at the highest score gets a rank of 0. Why don't you use rank 1 for the highest score. IMO the highscore tables should show a "1" at the top, not a "0".

BTW: I've decoded the .hi file for Slapfight and programmed the decoding methods in a C# class. As soon as I've done the encoding methods for writing a file I will post the C# code  here.

--- End quote ---

I agree with this, and I probably need to go back through the game files already created to change this. For R-type I actually changed this from 0 to 1 (and so on down the line) in the version you posted when I made the last version of HiToText. I'll look through the old ones again and see where this occurs. For HiToText it's only where games actually save or display rank.

--- End quote ---

Just want to do a quick check on this... I believe I have the latest HiToText installed in both the GameEx and CPWizard directories (trying to figure out how to do without one of them but that's a separate question for Headkaze) as well as the supplied hiscore.dat in my mame/hi directory.

Currently, my high scores do show however both Galaga and Donkey Kong still show the best score as being Rank "0" (instead of "1") and so on down the chain... do I need to do anything else or just wait for a future amended HiToText.exe?

Fyrecrypts:

--- Quote from: wwwombat on January 05, 2009, 03:43:42 am ---Just want to do a quick check on this... I believe I have the latest HiToText installed in both the GameEx and CPWizard directories (trying to figure out how to do without one of them but that's a separate question for Headkaze) as well as the supplied hiscore.dat in my mame/hi directory.

Currently, my high scores do show however both Galaga and Donkey Kong still show the best score as being Rank "0" (instead of "1") and so on down the chain... do I need to do anything else or just wait for a future amended HiToText.exe?

--- End quote ---

Yes, I need to get the next version out that includes some more games, and normalizes the output of every game. With the holidays and some setbacks due to... well... I'm not sure yet, still trying to figure that one out, I haven't released the newest version yet.

Fyrecrypts:

--- Quote from: headkaze on December 29, 2008, 12:50:45 am ---Definately a great idea and you know you could probably implement it without them needing an update. Since they currently pass the full path to the .hi file you could just get the Mame folder from that.

Eg. Something like this

--- Code: ---mameFolder = Path.GetDirectoryName(args[1]);
romName = Path.GetFileNameWithoutExtension(fileName);
hiFolder = Path.Combine(mameFolder, "hi");
nvFolder = Path.Combine(mameFolder, "nvram");
hiFilename = Path.Combine(hiFolder, romName + ".hi");
nvFilename = Path.Combine(nvFolder, romName + ".nv");

if(File.Exists(hiFilename))
   // Process the hi file
else if(File.Exists(nvFilename))
   // Process the nv file

--- End code ---

--- End quote ---

Had to do this a little differently, but as you'll see whenever I can get the next update in, I took your advice and used the mame directory from the full path.


--- Quote from: headkaze on January 01, 2009, 05:30:04 am ---HiToText support now added to CPWizard  :cheers:

Also Fyrecrypts any chance you could change HiToText from a "Debug" to a "Release" binary for next version?

--- End quote ---

Hooray! Thanks headkaze! As for the release binary, I'll go ahead and do that from now on, just makes more sense.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version