Jump to content
(Public Beta) HyperSpin 2 is now available for everyone ×

Rom Folder Cleaner


Recommended Posts

Posted

Needed a tool to quickly go through my roms paths and clean them out of roms that are not found in each HS xml. So Rom Folder Cleaner was born.

  • It requires RocketLauncher and at least 1 rom path set up for the system you want to clean.
  • It will only do 1 rom path at a time. Do not ask for doing multiple, it will not happen and is too risky.
  • It works by matching filenames only.
  • It does NOT delete anything, simply works by moving files out.
  • Do not use this for MAME or arcade systems that have bios files in the rom path. You do not have bios files on your xml and will get moved out, breaking your games.
  • Read the ReadMe.txt for more information and carefully follow the prompts upon startup.

If you get a approved number higher than the number of roms in your xml, it means you have multiple roms named the same with different extensions.

Example:

01:55:25:600 | Approved Rom - "Adventures of Lex and Grim, The (World) (Unl).7z"

01:55:25:606 | WARNING MULTIPLE ROM FOUND - Approved Rom - "Adventures of Lex and Grim, The (World) (Unl).nes.7z"

01:55:25:612 | WARNING MULTIPLE ROM FOUND - Approved Rom - "Adventures of Lex and Grim, The (World) (Unl).sav.7z"

If your status is consistently "Clean ME", it means you have duplicate files and the above example log lines will be in your log for each duplicate file found. So refer to your log to find these.

Just because status may say "OK", doesn't mean that everything matches. Status is calculated simply by a file count. So you may still want to clean once. If after cleaning and your status is still OK, then everything matches the xml.

CURRENT VERSION: 1.0.6

ChangeLog:

v1.0.6

  • Fixed saving "Override Transitions" folder. It was saving "Transitions" folder instead.

v1.0.5

  • Removed debug msgbox when cleaning video folders
  • Now creates miss lists for each asset.
  • Customizable folder to store miss lists in.
  • Now have the option to move all unknown assets to a custom folder so it doesn't bulk up your normal folders

v1.0.4

  • Now saves your HS and HL paths to an ini so it only asks for a path on first launch.
  • Added custom xml support. To reset back to showing your main menu systems, just press the button and cancel, or restart the app.
  • Added ability to customize the System Name useful when you choose a custom xml and need it doesn't match the system's name you want to clean.
  • {Enter} no longer starts a clean. I hit it a couple times accidentally and it's safer to require a click to start.
  • Now also supports cleaning your Hyperspin wheels, themes, videos, artwork1, artwork2, artwork3, and artwork4 folders.
  • Can select which asset(s) you want to clean.
  • Restores Video\Transitions folder and default.zip theme automatically.

v1.0.3

  • Added a color and text indicator on the status of the currently selected rom path.

v1.0.2

  • Changed xml and rom path calculations to take place when selecting a rom path so you know before cleaning if a folder has extra files in it.
  • Added some more detail in a few of the log lines and a couple new logs.
  • GUI now shows how many roms are in the selected rom path before cleaning.

v1.0.1

  • Bonus to those running with the recommended folder heirarchy for RL: Will start in your HyperLaunch folder if they exist in C:\Hyperspin\HyperLaunch or D:\Hyperspin\HyperLaunch

post-4446-142870596232_thumb.png

post-4446-142870596234_thumb.png

RomFolderCleaner.zip

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Updated the zip just to list the log differently on the multiples, no version change.

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Updated to v1.0.1

Bonus to those running with the recommended folder heirarchy for RL

Will start in your HyperLaunch folder if they exist in C:\Hyperspin\HyperLaunch or D:\Hyperspin\HyperLaunch

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Just saved me 30GB on my Mame rom folder alone!

Thanks djvj ;-)

"You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time"

Abraham Lincoln, (attributed)

16th president of US (1809 - 1865)

Posted

That sounds like everything zx since the name Rom pack Is 36gb

Sent from my HTC Sensation XE with Beats Audio using Tapatalk 4 Beta

[sIGPIC][/sIGPIC]

Posted

zxspecticle, careful with mame, it is not meant for mame because you might have roms in your folder not on your xml, like bios zips and such. For mame, you should only ever use clrmame.

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Very nice tool, I know I will be using it. I remembered the first two versions of HyperSync had this built in as a supplemental option but I was forced to disable it due to users not reading the directions and chunking entire rom folders at a time lol. Though this tool really does have a need in the community if you are like me and want to keep your database/roms on the bleeding edge Thanks for the great software DJ, now I can clean out some outdated files!

Posted
zxspecticle, careful with mame, it is not meant for mame because you might have roms in your folder not on your xml, like bios zips and such. For mame, you should only ever use clrmame.

Don't worry - it was only my idea of a very dry joke!

"You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time"

Abraham Lincoln, (attributed)

16th president of US (1809 - 1865)

Posted

Thks djvj. I was just thinking that I would need to do something like this myself.

Thks for being able to read minds.

When asking for help for RocketLauncher, POST ON THE RLAUNCHER.NET FORUMS!

Also, please post your RocketLauncher.log with logging level set to troubleshooting in pastebin (set the log level in RocketLauncherUI, global system > General Settings -> RocketLauncher).

Ass. Bleasby - RocketLauncher Development Team.

Posted

Updated to v1.0.2, see first post.

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Updated to v1.0.3, see first post.

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Suggestion: Can this be added to the program to clean all media file types? video, wheels, themes? etc?

Posted

we need a matching addon option for artwork i know hypersync had that option but its not supported anymore

sig.png 100%

Posted

this is already all done by xttx' HS Checker Tool.

In both tools I miss the options to handover a custom XML DB, such as from e.g. genre xml.

I personally have in a systems default %system%.XML DB, which does not contain any Japanese games.

I then have a FULL XML DB, accessible via Genre -> All Games, which contains the FULL personalizes XML DB.

my current workaround is to rename All Games.xml to %system%.xml so i can parse a full set.

i realize i may be very off of "standard procedure", but hey :)

rgds

Alex

Posted

I love the HyperSpin Checker by xttx but this is different. This app runs off HyperLaunch settings, where the Checker runs off HyperSpin settings. With the Checker I had to go back and fill in stuff in HyperHQ to get the Checker back up and running. I haven't had time to try this yet but... you get my point. ;)

Posted

Updated to v1.0.4, see first post.

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Updated to v1.0.5

  • Removed debug msgbox when cleaning video folders
  • Now creates miss lists for each asset.
  • Customizable folder to store miss lists in.
  • Now have the option to move all unknown assets to a custom folder so it doesn't bulk up your normal folders

Baring any bug fixes, I'm done with this tool.

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

  • 2 weeks later...
Posted

Updated to v1.0.6

  • Fixed saving "Override Transitions" folder. It was saving "Transitions" folder instead.

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

  • 1 year later...
Posted

This just made a BUNCH of space on my HD. Nearly all of my folders were filled with crap. All of my audits still come up as green. Except for MAME and Sony Playstation, which I've never managed to complete. Now I have enough free space to get those sorted! You saved me a ton of time and headaches sir. This program didn't have any learning curve, which is a Nice Change!

I'm super pumped! It's great when something JUST WORKS and it's so easy!

haha

  • 1 month later...
Posted

Very Nice App thanks. 1 request can it be made to support extended characters in file names?

Examples:

720° (USA)

Dynamite Düx (USA)

Raging Beast - Olé! (Europe)

If not no big deal. Just ran into it grabbing anything that had those and moving it to the specified folder. Thanks again!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...