TheManuel Posted November 2, 2018 Posted November 2, 2018 Hello, all. It's been a long time since I've been here but the bug bit me again. Is there a tool here or elsewhere that will look at my roms folder and say, my artwork folder and move all the artwork files for which I don't have roms to a separate folder? Thanks in advance.
Kondorito Posted November 2, 2018 Posted November 2, 2018 Welcome back Here you go: There is a button on the right side that says "Move unneeded roms or media to subfolder". Pressing that button and selecting what you want to clean, it will create a new folder inside the folder it audited called "Unneeded" with all the stuff not being in use.
TheManuel Posted November 2, 2018 Author Posted November 2, 2018 Woohoo!! Thanks, I'll try it shortly. By the way, I used to ready Condorito when I was a kid (decades ago).
TheManuel Posted November 2, 2018 Author Posted November 2, 2018 I can't get the tool to do this for me. I throws out the error below. My artwork path is D:\MAME\artwork and the file I'm feeding it is just a list of names with .zip extension in a text file. I tried to install the latest .net framework files but the installer told me I had the latest already. Does the stuff below look familiar? See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) at System.IO.Path.InternalCombine(String path1, String path2) at System.IO.FileSystemEnumerableIterator`1.GetFullSearchString(String fullPath, String searchPattern) at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) at System.IO.Directory.GetFiles(String path, String searchPattern) at Microsoft.VisualBasic.FileIO.FileSystem.FindPaths(FileOrDirectory FileOrDirectory, String directory, String wildCard) at Microsoft.VisualBasic.FileIO.FileSystem.FindFilesOrDirectories(FileOrDirectory FileOrDirectory, String directory, SearchOption searchType, String[] wildcards, Collection`1 Results) at Microsoft.VisualBasic.FileIO.FileSystem.FindFilesOrDirectories(FileOrDirectory FileOrDirectory, String directory, SearchOption searchType, String[] wildcards) at Microsoft.VisualBasic.FileIO.FileSystem.GetFiles(String directory, SearchOption searchType, String[] wildcards) at WindowsApplication1.Class2_xml.move_roms_from_txt_to_subfolder_Click() in F:\Documents\My_Progs\HyperspinChecker\Class2_xml.vb:line 152 at WindowsApplication1.Class2_xml._Lambda$__3(Object a0, EventArgs a1) in F:\Documents\My_Progs\HyperspinChecker\Class2_xml.vb:line 0 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- HyperspinChecker Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///D:/FrontEnd/Tools/Hyperspin%20Checker/best%20hyperspin%20checker%20media/HyperspinChecker.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 14.7.3056.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.7.3056.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.7.3056.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.7.3056.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.7.3056.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.7.3056.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.7.3056.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
TheManuel Posted November 2, 2018 Author Posted November 2, 2018 No worries, my friend. I thought of a clever and easy way to do this: 1. copy all the artwork files from the artwork folder 2. paste them into the rom folder but when asked what to do about duplicates, skip those files (this leaves the ones I want in the artwork folder) 3. once the unwanted files are pasted, they will still be highlighted so cut them from there and paste them somewhere else Bingo!
TheManuel Posted November 2, 2018 Author Posted November 2, 2018 Of course, this only works for artwork, which are zip files but not for other art files that are png, etc.
Kondorito Posted November 2, 2018 Posted November 2, 2018 Before pressing the button, you need to select the system and press the Check button, after everything shows up listed, then you can press the move button.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.