The “_0” is inserted into the incorrect place to avoid naming conflicts if the set name contains periods

RV 3.5.2

Minor Bug
j

johnsanc

3 years ago

RomVault appends an incrementing number like _0 to filenames if there is a naming conflict. If the base filename contains periods, this incrementing number is placed in the wrong position instead of at the end of the filename before the extension. It appears RV is looking for the first period in the filename and placing the number immediately before it.


Steps to reproduce:

  1. Place any DAT in your datroot

  2. Modify the dat such that there are two sets with the exact same name. Make sure you have a copy of the files to match this set.

  3. Modify both set names to include multiple periods, like in the screenshot linked below

  4. Scan the files that will match your manual duplicate entry

  5. Find Fixes and Fix ROMs

  6. Notice the incrementing number to mitigate a naming conflict is placed in the wrong position of the archive name


Expected behavior:

  • The incrementing number should be placed immediately before the file extension, or at the end of the filename if there is no extension.


(screenshot)

Activity

G

GordonJ changed the status to WIP Testing

3 years ago

G

GordonJ

3 years ago

Fixed in V3.5.1 WIP2

G

GordonJ changed the status to RV 3.5.2

3 years ago


Powered by Convas