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

Cyber-Lip saveram file not decoding properly #29

Closed edgespresso closed 2 years ago

edgespresso commented 3 years ago
<hi2txt>
  <table>
    <col>RANK</col><col>SCORE</col><col>NAME</col>
    <row><cell>1</cell><cell>100000</cell><cell>SNK</cell></row>
    <row><cell>2</cell><cell>90000</cell><cell>SNK</cell></row>
    <row><cell>3</cell><cell>80000</cell><cell>SNK</cell></row>
    <row><cell>4</cell><cell>70000</cell><cell>SNK</cell></row>
    <row><cell>5</cell><cell>60000</cell><cell>SNK</cell></row>
    <row><cell>6</cell><cell>50000</cell><cell>SNK</cell></row>
    <row><cell>7</cell><cell>40000</cell><cell>SNK</cell></row>
    <row><cell>8</cell><cell>30000</cell><cell>SNK</cell></row>
    <row><cell>9</cell><cell>20000</cell><cell>SNK</cell></row>
    <row><cell>10</cell><cell>10000</cell><cell>SNK</cell></row>
  </table>
</hi2txt>

Thanks for your help!

GreatStoneEx commented 3 years ago

Great report, really helping to debug it 👍

GreatStoneEx commented 3 years ago

Tested with mame 0.229, and the saveram file is indeed storing the new score:

<hi2txt>
  <table>
    <col>RANK</col><col>SCORE</col><col>NAME</col>
    <row><cell>1</cell><cell>100000</cell><cell>SNK</cell></row>
    <row><cell>2</cell><cell>90000</cell><cell>SNK</cell></row>
    <row><cell>3</cell><cell>80000</cell><cell>SNK</cell></row>
    <row><cell>4</cell><cell>70000</cell><cell>SNK</cell></row>
    <row><cell>5</cell><cell>60000</cell><cell>SNK</cell></row>
    <row><cell>6</cell><cell>50000</cell><cell>SNK</cell></row>
    <row><cell>7</cell><cell>40000</cell><cell>SNK</cell></row>
    <row><cell>8</cell><cell>30000</cell><cell>SNK</cell></row>
    <row><cell>9</cell><cell>24100</cell><cell>C!&amp;</cell></row>
    <row><cell>10</cell><cell>20000</cell><cell>SNK</cell></row>
  </table>
</hi2txt>

See the score number 9 with a new score, new name. I will dig now with mame 0.220 specifically.

@edgespresso do you have the opportunity to test with another mame version?

GreatStoneEx commented 3 years ago

Same for 0.220 with my config: saveram is storing the new score... I will nevertheless tried to decode hi file also additionally to saveram, to cover your use-case.

GreatStoneEx commented 3 years ago

@edgespresso I pushed a new xml for cyberlip, decoding also .hi file: can you test it on your side to see if your issue is solved now?