Collection Tool

All add-on programm and tools for wagic
abrasax
Posts: 976
Joined: Wed Oct 15, 2008 7:46 am
Location: Switzerland

Re: Collection Tool

Post by abrasax »

Hi,

here is a small tool for all the people working with the SVN...

If you copy your whole \Res\sets folder to your PSP you will also copy all the SVN related folder and files (hidden files)... so here is a small tool to delete all those files... just copy past the following in a text file and rename it delete.bat. Copy it in the \Res\sets folder of your PSP and run it... I notice that sometime deleting these files were avoiding the PSP Crash at startup bug...

Code: Select all

@echo off
For /f %%a in ('dir /AD /B') do (
For /f %%b in ('dir /AD /B %%a') do (
RD /S %%a\%%b /Q))

For the lazy one...

[The extension zip has been deactivated and can no longer be displayed.]

This tool can also be used with anything... it will delete all hidden files in the folders of a given root folder.

Obviously : DON'T USE IT ANYWHERE ELSE AS IN YOUR "PSP/GAME/WTH/RES/SETS/" FOLDER... or do it because you know what you are doing ;)

Grü

Abra
We need your Help !!!
New to wagic ? Be sure to check the following :

Bug report: Bug reporting
Help us: Add cards & Compiling.
Customize: Themes FAQ, All images thread, Abra's Mediafire folder
flad_nag
Posts: 248
Joined: Mon Aug 31, 2009 7:56 am

Re: Collection Tool

Post by flad_nag »

hi abra, i am using your took to list all id cards that i have on all of my card.dat. can you please teach me how to have an output file like below:

10E
2312321
1231233
1231232
3244345
4354555
(...and so on)

ALA
5345443
4357665
87697834
32543555
(...and so on)

etc..


basically, i want to list first what folder the set of id cards came from before all the idcards are listed. can you please help me.. thanks!
flad_nag
Posts: 248
Joined: Mon Aug 31, 2009 7:56 am

Re: Collection Tool

Post by flad_nag »

i did it!

@echo off > collection.txt
For /f %%a in ('dir /AD-H /B') do (

echo %%a>> collection.txt

for %%T in (%%a/_cards.dat) do (
find "id=" < %%T>> collection.txt))
@echo off > collection.dat
for /f "delims='id='" %%B in (collection.txt) do (
echo %%B>> collection.dat)
del collection.txt
mickey_brown
Posts: 217
Joined: Sun Sep 13, 2009 6:32 am

Re: Collection Tool

Post by mickey_brown »

The tool does not seem to work with newer versions of wagic.
digix
Posts: 38
Joined: Fri Jul 09, 2010 7:25 am

Re: Collection Tool

Post by digix »

The fastest/easiest way is to use a spreadsheet program to create a list of numbers from 1 to X and have Wagic remove any that are not supported.
wagicmagic28
Posts: 296
Joined: Mon Aug 19, 2013 3:51 pm

Re: Collection Tool

Post by wagicmagic28 »

well what if I want 5? Their is cards where you can have unlimited number of them in a deck.
Locked