city41/AMMiSTer

Space Mode: Exporting same plan repeatedly alternates between adding and deleting files

matijaerceg opened this issue ยท 10 comments

I have a test plan that just has all the street fighter games in a subfolder called Fighters. If I export this plan repeatedly without making any changes, every second time I run it, it deletes all the cores/roms/mras, and every other time it adds them back.

Just ran it for the 4th time:
image

and here's my _Arcade contents now (empty):
image

Just triple-confirming. Ran it for a 5th time (no changes to plan):
image

and the files are there now:
image

Running a 6th time: they're gone again

By the way, this is all on Space mode (edited title to reflect this)

Additional info: when I edit games between exports, it seems to add newly added ones, but delete the ones that were added the previous time.

Can you go to Catalog > Open Folder. Then go up one folder and there should be files named "export-log--exportToMister...". Can you zip them all up and attach them here?

The only files in the entire AppData > Roaming folder I see that contain the word log in filename are:

image

I clearly need to test on Windows more :)

I know what this is. This is due to Jotego dropping the dates from his core names. That broke AMMister and my fix was not good enough. Let me think a bit.

haha yeah, gonna be lots of us windows dummies using this I bet

Do you mostly use linux for daily use / testing?

Yeah I use Linux. Thankfully OS specific issues are usually rare. Although that one you found where you can't edit the directory name, that seems like a bug in Windows itself. Not sure yet what I'll do about that one.

That one seems pretty edge case, wouldn't worry about it too much

The fix for this will be in 0.25.3 once it shows up. I also added an integration test to help ensure this doesn't happen again.