It doesn't work :(

When extracting hiscores is not working as expected, let's do some debugging together.

Note that I cannot debug an issue if a testcase cannot be provided outside of a potential external tool calling hi2txt utility.


Step 1: understand the basic

hi2txt decodes game hiscores, taking them from a file generated:

hi2txt also needs a description of the score file content itself to decode it, provided by hi2txt.zip companion, where is stored all games hiscores file descriptions (hit2txt.zip -> <game>.xml).

hi2txt checks that <game>.xml content description is matching hiscore.dat memory location (address, size, etc.) as hiscore.dat can be updated by Leezer to better dump hiscores, and hi2txt must adapt in this case.

Still with me?


Step 2: locate all the parts, outside of an external software calling hi2txt


Step 3: be sure that hiscores can be saved by mame


Step 4: be sure that this game hiscores can be decoded by hi2txt


Step 5: call the hiscores decoding yourself

<your_hi2txt_install_path>/hi2txt.exe -hiscoredat <your_mame_install_path>/plugins/hiscore/hiscore.dat -r <your_mame_install_path>/hi/<game>

activate debug mode:

<your_hi2txt_install_path>/hi2txt.exe -hiscoredat <your_mame_install_path>/plugins/hiscore/hiscore.dat -rd <your_mame_install_path>/hi/<game>


Step 6: known problems and solutions


Step 7: report the issue

In case you cannot see the scores, but you think you should, please report me (hi2txt AT free.fr) the issue with the following information:

  1. email title: [issue] <game>
  2. mame release (official/non-official? version? where can I download it if not the official one?)
  3. attach the hiscore.dat file if possible
  4. attach the game .hi file or nvram file if possible
  5. hi2txt version (displayed from "hi2txt.exe -v" command)
  6. in case of a modified hi2txt.zip, attach the game.xml taken from this zip if possible
  7. what hiscores you expect to see from hi2txt
  8. what hiscores you get from hi2txt
  9. attach the output of hi2txt.exe with the debug mode activated

The more you provide, the easier it will be to help you.


Cheers,

GreatStone.