<div dir="ltr"><div>Also, this requires the latest nohrio. Had to make some significant changes to loading code because menus.bin is typically short two bytes.<br></div><div><br></div><div>Primary reason for writing this script was because I was wondering how many people actually use tag toggling, and what for.<br></div><div>In the following, tagcond1, tagcond2, toggletag, settag counts the number of menu items where these are nonzero.</div><div>I also tallied the maxrow setting, due to that bug where the default size is wrong in non-320x200 games.<br></div><div><br></div><div>Results of running on SlimeSalad, Bahamut, and various unreleased games:</div><div><br></div><div>Run 1: Finished in 155.57 s<br>Scanned 935 zips (0 bad, 0 unsupported)<br>Found 985 RPGS, 7 corrupt, (848 unique, totalling 7160.5 MB)<br></div><div>COUNTS:<br>num menus: 4027 menu items: 25836 missing menus.bin 223 bad menus.bin: 0 bad menuitem.bin: 2<br>menus: allowing gameplay: 685 and also suspending player: 500<br>tagcond1 9556<br>tagcond2 2068<br>toggletag 87<br>settag 2889<br>Menu maxrows:<br>maxrows=0: 3623<br>maxrows=1: 10<br>maxrows=2: 1<br>maxrows=3: 6<br>maxrows=4: 18<br>maxrows=5: 162<br>maxrows=6: 29<br>maxrows=7: 8<br>maxrows=8: 24<br>maxrows=9: 29<br>maxrows=10: 31<br>maxrows=11: 8<br>maxrows=12: 36<br>maxrows=13: 14<br>maxrows=14: 5<br>maxrows=15: 4<br>maxrows=16: 7<br>maxrows=17: 6<br>maxrows=18: 4<br>maxrows=20: 2</div><div><br></div><div>Result of running on Castle Paradox, Op:OHR, and ohrhits:</div><div><br></div><div>Run 1: Finished in 95.33 s<br>Scanned 1119 zips (17 bad, 2 unsupported)<br>Found 1090 RPGS, 5 corrupt, (991 unique, totalling 3470.3 MB)<br></div><div>COUNTS:<br>num menus: 670 menu items: 5447 missing menus.bin 786 bad menus.bin: 0 bad menuitem.bin: 0<br>menus: allowing gameplay: 124 and also suspending player: 67<br>tagcond1 1911<br>tagcond2 591<br>toggletag 41<br>settag 605<br>Menu maxrows:<br>maxrows=0: 588<br>maxrows=1: 8<br>maxrows=2: 2<br>maxrows=3: 3<br>maxrows=4: 11<br>maxrows=5: 12<br>maxrows=8: 8<br>maxrows=9: 12<br>maxrows=10: 5<br>maxrows=11: 1<br>maxrows=12: 12<br>maxrows=13: 1<br>maxrows=17: 5<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 16 Jun 2020 at 16:28, <<a href="mailto:subversion@hamsterrepublic.com">subversion@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">teeemcee<br>
2020-06-15 17:52:14 -0700 (Mon, 15 Jun 2020)<br>
88<br>
rpgbatch: add scanmenus.py for scanning menus/menuitems. Also minor rpgbatch.py changes<br>
---<br>
U   tools/rpgbatch/rpgbatch.py<br>
A   tools/rpgbatch/scanmenus.py<br>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>