Build Your Own Arcade Controls Forum

Front End Support => Maximus Arcade => Topic started by: quizz_kid on September 03, 2013, 03:59:02 pm

Title: Remove games with screens/snaps missing??
Post 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
Title: Re: Re: Remove games with screens/snaps missing??
Post by: ppv on September 03, 2013, 04:10:22 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
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...
Title: Re: Re: Remove games with screens/snaps missing??
Post by: quizz_kid on September 03, 2013, 07:04:35 pm
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.  :-[
Title: Re: Re: Re: Remove games with screens/snaps missing??
Post by: ppv on September 03, 2013, 07:36:33 pm
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...
Title: Re: Remove games with screens/snaps missing??
Post by: ppv on September 03, 2013, 09:14:48 pm
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 .
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.
Title: Re: Remove games with screens/snaps missing??
Post by: quizz_kid on September 03, 2013, 09:55:11 pm
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
Title: Re: Remove games with screens/snaps missing??
Post by: ppv on September 03, 2013, 10:07:12 pm
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!
Title: Re: Remove games with screens/snaps missing??
Post by: quizz_kid on September 04, 2013, 04:56:19 am
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)


Title: Re: Re: Remove games with screens/snaps missing??
Post by: ppv on September 04, 2013, 06:21:22 am
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...
Title: Re: Remove games with screens/snaps missing??
Post by: quizz_kid on September 04, 2013, 08:19:01 pm
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)



Title: Re: Remove games with screens/snaps missing??
Post by: ppv on September 04, 2013, 09:08:23 pm
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?
Title: Re: Remove games with screens/snaps missing??
Post by: ppv on September 04, 2013, 09:12:29 pm
I could always log in with team viewer, with your permission of course...
Title: Re: Remove games with screens/snaps missing??
Post by: quizz_kid on September 05, 2013, 07:16:23 am
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

Title: Re: Re: Remove games with screens/snaps missing??
Post by: ppv on September 05, 2013, 07:32:41 am
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
Title: Re: Remove games with screens/snaps missing??
Post by: ppv on September 05, 2013, 10:25:53 am
for /F "tokens=*" %%A in (games.txt) do copy %%A.gba c:\a\aroms\Good
Title: Re: Remove games with screens/snaps missing??
Post by: quizz_kid on September 05, 2013, 11:37:07 am
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
Title: Re: Remove games with screens/snaps missing??
Post by: ppv on September 05, 2013, 11:55:21 am
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!
Title: Re: Remove games with screens/snaps missing??
Post by: quizz_kid on September 05, 2013, 02:49:08 pm
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
Title: Re: Remove games with screens/snaps missing??
Post by: ppv on September 05, 2013, 08:31:06 pm
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.
Title: Re: Remove games with screens/snaps missing??
Post by: quizz_kid on September 06, 2013, 12:21:31 pm
Im real sorry man, got some overtime today and had to work. Let's try again soon...
Title: Re: Remove games with screens/snaps missing??
Post by: ppv on September 06, 2013, 12:29:54 pm
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... :)