unexpectedpanda / retool

Retool: a better filter tool for Redump and No-Intro DAT files.
BSD 3-Clause "New" or "Revised" License
355 stars 23 forks source link

Issue scanning NoIntro DAT in v2.00.5 #264

Closed muggsyd closed 1 year ago

muggsyd commented 1 year ago

Describe the bug When processing all my DATs via retool cli I get an error processing "Nintendo - Game Boy Advance (Multiboot)" using 2.00.5 (works correctly using 2.00.3). Error shown below

retool-testing | Reading DAT file: "/retool/dats/NoIntro/Nintendo - Game Boy Advance (Multiboot) retool-testing | (20220808-164416).dat" retool-testing | Validating DAT file... done. retool-testing | retool-testing | | DAT DETAILS retool-testing | | Description: Nintendo - Game Boy Advance (Multiboot) retool-testing | | Author/s: Arctic Circle System, C. V. Reynolds, chillerecke, DeriLoko3, Hiccup, hking0036, retool-testing | niemand, norkmetnoil577, omonim2007, relax retool-testing | | URL: https://www.no-intro.org retool-testing | | Version: 20220808-164416 retool-testing | | Numbered dat: No retool-testing |

To reproduce run retool.py against DAT using these switches --exclude aAbBcdDemMopPrv

Expected behavior A clear and concise description of what you expected to happen.

Operating system

Retool edition

Retool version v2.00.5

muggsyd commented 1 year ago

Sorry, I forgot to mention, retool v2.00.5 had processed over 20 DATs successfully prior to his error. I run a script that find all dats and then runs retool.py against the found DATs using the switches above

muggsyd commented 1 year ago

Removing that DAT from my workflow, it then failed on the following DAT Arcade - PC-based (20230329-073558).dat retool-testing | Processing file 37/72 retool-testing | retool-testing | Reading DAT file: "/retool/dats/NoIntro/Arcade - PC-based (20230329-073558).dat" retool-testing | Validating DAT file... done. retool-testing | retool-testing | | DAT DETAILS retool-testing | | Description: Arcade - PC-based retool-testing | | Author/s: Hiccup retool-testing | | URL: https://www.no-intro.org retool-testing | | Version: 20230329-073558 retool-testing | | Numbered dat: No retool-testing |

FidoFuz commented 1 year ago

confirmed same issue with the following dats: Nintendo - Virtual Boy (20230405-120113).dat Nintendo - Nintendo 3DS (Digital) (Deprecated) (20211116-092247).dat Benesse - Pocket Challenge V2 (20230327-105840).dat

FidoFuz commented 1 year ago

Think it's possibly due to some dats having the category tag in only some entries but not all entries and the code not correctly handling the scenario.

unexpectedpanda commented 1 year ago

Think it's possibly due to some dats having the category tag in only some entries but not all entries and the code not correctly handling the scenario.

That bit is handled fine. In this case, it's just a variable that wasn't set. It'll be fixed in the next release.

unexpectedpanda commented 1 year ago

Fixed in v2.01.0.