Also, this requires the latest nohrio. Had to make some significant changes
to loading code because menus.bin is typically short two bytes.

Primary reason for writing this script was because I was wondering how many
people actually use tag toggling, and what for.
In the following, tagcond1, tagcond2, toggletag, settag counts the number
of menu items where these are nonzero.
I also tallied the maxrow setting, due to that bug where the default size
is wrong in non-320x200 games.

Results of running on SlimeSalad, Bahamut, and various unreleased games:

Run 1: Finished in 155.57 s
Scanned 935 zips (0 bad, 0 unsupported)
Found 985 RPGS, 7 corrupt, (848 unique, totalling 7160.5 MB)
COUNTS:
num menus: 4027 menu items: 25836 missing menus.bin 223 bad menus.bin: 0
bad menuitem.bin: 2
menus: allowing gameplay: 685 and also suspending player: 500
tagcond1 9556
tagcond2 2068
toggletag 87
settag 2889
Menu maxrows:
maxrows=0: 3623
maxrows=1: 10
maxrows=2: 1
maxrows=3: 6
maxrows=4: 18
maxrows=5: 162
maxrows=6: 29
maxrows=7: 8
maxrows=8: 24
maxrows=9: 29
maxrows=10: 31
maxrows=11: 8
maxrows=12: 36
maxrows=13: 14
maxrows=14: 5
maxrows=15: 4
maxrows=16: 7
maxrows=17: 6
maxrows=18: 4
maxrows=20: 2

Result of running on Castle Paradox, Op:OHR, and ohrhits:

Run 1: Finished in 95.33 s
Scanned 1119 zips (17 bad, 2 unsupported)
Found 1090 RPGS, 5 corrupt, (991 unique, totalling 3470.3 MB)
COUNTS:
num menus: 670 menu items: 5447 missing menus.bin 786 bad menus.bin: 0 bad
menuitem.bin: 0
menus: allowing gameplay: 124 and also suspending player: 67
tagcond1 1911
tagcond2 591
toggletag 41
settag 605
Menu maxrows:
maxrows=0: 588
maxrows=1: 8
maxrows=2: 2
maxrows=3: 3
maxrows=4: 11
maxrows=5: 12
maxrows=8: 8
maxrows=9: 12
maxrows=10: 5
maxrows=11: 1
maxrows=12: 12
maxrows=13: 1
maxrows=17: 5

On Tue, 16 Jun 2020 at 16:28, <[email protected]> wrote:

> teeemcee
> 2020-06-15 17:52:14 -0700 (Mon, 15 Jun 2020)
> 88
> rpgbatch: add scanmenus.py for scanning menus/menuitems. Also minor
> rpgbatch.py changes
> ---
> U   tools/rpgbatch/rpgbatch.py
> A   tools/rpgbatch/scanmenus.py
> _______________________________________________
> Ohrrpgce mailing list
> [email protected]
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to