Build Your Own Arcade Controls Forum
Front End Support => Maximus Arcade => Topic started by: quizz_kid on September 03, 2013, 03:59:02 pm
-
Hi guys.
Let's say that I have a list of over 2000 C64 games titles in MA. 500 of them have screens, the rest(1500) don't.
I'm curious, is there's an easy way to remove these 1500 games from the list in MA, sort of filtering away those with screens missing?
//Quizz
-
Hi guys.
Let's say that I have a list of over 2000 C64 games titles in MA. 500 of them have screens, the rest(1500) don't.
I'm curious, is there's an easy way to remove these 1500 games from the list in MA, sort of filtering away those with screens missing?
//Quizz
Not sure about MA, but most if not all fe works with the roms at the top of the chain... your best bet would be moving the roms with a batch files that reference the snaps names and move only those without a corresponding name...
-
your best bet would be moving the roms with a batch files that reference the snaps names and move only those without a corresponding name...
Sorry for being such a newbie, but can you explain how to do this, or give an example? Never worked with batch files before. :-[
-
your best bet would be moving the roms with a batch files that reference the snaps names and move only those without a corresponding name...
Sorry for being such a newbie, but can you explain how to do this, or give an example? Never worked with batch files before. :-[
Don't sweat it, we are all layman in something! I will lay it out for you in a bit, just got to put the kids to bed first!
Are your roms on your c: drive? The whole path would make it easier for you...
-
This is done in win7 will try it in xp a bit after...
I make one HUGE assumption: That the snaps uses the SAME NAME as the roms.
Beforehand, please excuse any typos or errors as English is not my first language:
The steps will be labeled as such : WINDOWS: for any action you do in windows and CMD: any actions you do in the command box.
I will be using the following as examples : The Drive will be d: , the emu folder will be d:\c64 , the snaps folder will be d:\c64\snaps and the roms folder will be d:\c64\roms .
- WINDOWS: Type CMD in the Windows task bar to open the command window.
- WINDOWS: Open a file explorer to your snaps folder.
- WINDOWS: Once there, click in the address bar to reveal the full path. Select and copy it. (ctrl-c) .
- CMD: Type the drive letter ( d: ) and hit enter.
- CMD: Type cd (with a space after) then right click on the mouse to reveal the contextual menu. Click on paste. Then hit enter. You now should be in your snaps folder.
- CMD: Type the following ( dir /B >games.txt ) then hit enter. This will redirect the directory command to the games.txt file.
- WINDOWS: Open the games.txt files (in notepad). You should now see a listing of all you snapshots. But we need to remove those pesky file extensions! So click on the edit menu, click on replace and type ( .png ), or whatever format your snaps are in, in the search box and click replace all. Save the file.
- WINDOWS: Then right-click on your games.txt file and select copy.
- WINDOWS: go to your roms folders ( d:\c64\roms ). Paste the file you just copied in it.
- WINDOWS: click on ( New Folder) to create a new folder. Name it ( Good ).
- CMD: I am not gonna bother with a batch file as you need only to type one command. Type ( for /F "tokens=*" %%A in (Games.txt) do copy %%A.c64 d:\c64\roms\Good ). This will copy all the games that have a corresponding snaps in the Good folder. Replace the .c64 to the file type of your roms.
Now it simply is a matter of moving the old romset in another folder (do not delete) and copy the content of the d:\c64\roms\Good folder in your old roms path ( d:\c64\roms ).
You should be all set.
-
Thanks! I'm using Win7 yes.
The C64 roms are in separate folders by letter, so I tried with a GBA romset instead.
I have no D:, so I put it on C: instead.
I've gotten to the last step(11.) but when i type:
for /F "tokens=*" %%A in (games.txt) do copy %%A.gba c:\gba\roms\Good
I get:
%%A was unexpected at this time.
What am I doing wrong?
//Quizz
-
Nothing! It has to be in a cmd! :banghead: :banghead: :banghead:
I am a dumbass sometimes!
unzip the cmd in your folder and run it!
-
Which folder do I put your attached run cmd file in? I tried c:\gba, c:\gba\roms and c:\gba\snaps, but all I get is lines of: The system can not find the file specified
(http://img9.imageshack.us/img9/6017/h6e9.jpg)
-
Which folder do I put your attached run cmd file in? I tried c:\gba, c:\gba\roms and c:\gba\snaps, but all I get is lines of: The system can not find the file specified
(http://img9.imageshack.us/img9/6017/h6e9.jpg)
In the roms folder, sorry if I haven't been clear on that. Do the name of the roms files matches the one in the games.txt? Else send me a copy of your games.txt and a screen capture of you roms folder...
-
Some of the games matches yes, and those are the games that I want to separate from the ones that don't matches of course.
I don't know how to send the .txt file. How do you post a download link in a forum thread like this?
Anyway, here's an captue/example of the roms folder + games.txt-file
(http://img43.imageshack.us/img43/7452/i322.jpg)
-
You seem to have a lot of dupes in your games.txt file. Take SFA3 as an example... only one rom but two snaps found... might be the cause of all the file not found... Is the good folder empty?
-
I could always log in with team viewer, with your permission of course...
-
Yeah, the Good folder is empty. I tried another one with 3 roms & 2 snaps, same results, so I dont think the dupes are causing it.
for /F "tokens=*" %%A in (games.txt) do copy %%A.a c:\a\aroms\Good
(http://img14.imageshack.us/img14/4923/09ut.jpg)
Team viewer is ok!
Quizz
-
Yeah, the Good folder is empty. I tried another one with 3 roms & 2 snaps, same results, so I dont think the dupes are causing it.
for /F "tokens=*" %%A in (games.txt) do copy %%A.a c:\a\aroms\Good
(http://img14.imageshack.us/img14/4923/09ut.jpg)
Team viewer is ok!
Quizz
what time is it in your corner of the world? It's almost time for work here. Maybe i can manage it in about 4 to 5 hours
-
for /F "tokens=*" %%A in (games.txt) do copy %%A.gba c:\a\aroms\Good
-
for /F "tokens=*" %%A in (games.txt) do copy %%A.gba c:\a\aroms\Good
Sorry, my mistake, I DID have the cmd like that. Didn't work. I'll be away for some hrs now, but maybe you can help me in a couple of hrs? Or tomorrow if that's better?
//Quizz
-
for /F "tokens=*" %%A in (games.txt) do copy %%A.gba c:\a\aroms\Good
Sorry, my mistake, I DID have the cmd like that. Didn't work. I'll be away for some hrs now, but maybe you can help me in a couple of hrs? Or tomorrow if that's better?
//Quizz
I'm available for the next hour... i'll keep reloading the thread!
-
Hi. As I said I'll be away for a while, back in 2 hrs maybe. If that doesnt work, we could try another time. Im free tomorrow
-
Ok for tomorrow then! I'll be available from 12h to 13h (GMT -5), same period as today. (my dinner break!) ;D I think we have a six hour difference.
-
Im real sorry man, got some overtime today and had to work. Let's try again soon...
-
Im real sorry man, got some overtime today and had to work. Let's try again soon...
Ok, but if you are available now i'm at dinner so I have time! If not no problems! These things are hard to syncrhonise... :)