GreatStoneEx / hi2txt-xml

Games specific XML files, allowing hi2txt utility to decode hiscores saved by mame
GNU General Public License v2.0
8 stars 0 forks source link

XML help request 'tetrisp' and 'tetrisp2' #35

Open brianmiller opened 11 months ago

brianmiller commented 11 months ago

Super cool tool, BTW.

I've been struggling for the last few days with 'tetrisp' and 'tetrisp2'.

Here's a screenshot of my current leaderboard for 'tetrisp'. image

I've been able to tease out 1st and 2nd 'normal' names. I haven't cracked anything else--names and/or scores under 'normal' or 'puzzle'.

Here's my tetrisp.xml that I've been struggling with: It's very wrong, but I'm getting some data.

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE hi2txt SYSTEM "hi2txt.dtd">
<hi2txt>
  <!--
    tested with mame 0.153 and hiscore.dat 2014-08-22
      source: GreatStone
  //-->

  <structure file=".hi">
    <check>
      <size>1107</size>
    </check>
    <loop count="1">
      <elt size="108" type="raw" id="RAW1"/>
      <elt size="12" type="text" id="NAME1" charset="format_map" />
    </loop>
    <loop count="1">
      <elt size="20" type="raw" id="RAW2" />
      <elt size="12" type="text" id="NAME2" charset="format_map" />
    </loop>
  </structure>

  <output>
    <table>
     <column id="NAME1" />
     <column id="NAME2" />
    </table>
  </output>

  <charset id="format_map">
    <char src="0x0a" dst="A"/>
    <char src="0x0b" dst="B"/>
    <char src="0x0c" dst="C"/>
    <char src="0x0d" dst="D"/>
    <char src="0x0e" dst="E"/>
    <char src="0x0f" dst="F"/>
    <char src="0x10" dst="G"/>
    <char src="0x11" dst="H"/>
    <char src="0x12" dst="I"/>
    <char src="0x13" dst="J"/>
    <char src="0x14" dst="K"/>
    <char src="0x15" dst="L"/>
    <char src="0x16" dst="M"/>
    <char src="0x17" dst="N"/>
    <char src="0x18" dst="O"/>
    <char src="0x19" dst="P"/>
    <char src="0x1a" dst="Q"/>
    <char src="0x1b" dst="R"/>
    <char src="0x1c" dst="S"/>
    <char src="0x1d" dst="T"/>
    <char src="0x1e" dst="U"/>
    <char src="0x1f" dst="V"/>
    <char src="0x20" dst="W"/>
    <char src="0x21" dst="X"/>
    <char src="0x22" dst="Y"/>
    <char src="0x23" dst="Z"/>
  </charset> 

</hi2txt>

Any help is greatly appreciated. I'm working on a centralized leaderboard for my machines, very cool tool you have here.

brianmiller commented 11 months ago

Here's a link to my tetrisp.hi file if this helps. (renamed to .txt) tetrisp.hi.txt

brianmiller commented 11 months ago

Here's a screenshot of my terminal output using the above .hi and .xml files.

image