Magic Album Discussion
by Goblin Hero
Moderators: charmer, CCGHQ Admins
Re: Magic Album Reborn
by gschmidl » 21 May 2009, 19:40
OK, so I lied. I wrote a perl script to do the file copying for me. Running it from the same directory as Sets.csv will (mostly) do it.
- Code: Select all
#! perl -w
use strict;
use File::Copy;
use File::Glob ':glob';
use File::Path;
my $from = "C:/Games/Magic Workstation/Pics"; # no trailing slash!!
my $to = "C:/Games/Magic Album/Images"; # no trailing slash!!
open FILE, "<Sets.csv" or die "$!\n";
my @lines = <FILE>;
close FILE;
for my $line (@lines) {
my @fields = split /\t/, $line;
if (defined($fields[-1]) && $fields[-1] !~ /^\s*$/) {
my $set = $fields[1];
my $dir = $fields[-1];
$set =~ s/[^A-Za-z0-9_\-\\\/ ]//g;
$dir =~ s/[^A-Za-z0-9_\-\\\/ ]//g;
$dir =~ s/\\/\//g;
chomp($dir);
if (-e "$from\\$set") {
my $sd = "$from/$set";
my $src = "$from/$set/*.*";
my $dest = "$to/$dir";
print "$src => $dest\n";
mkpath("$dest", {verbose => 1});
my @filelist = bsd_glob($src);
foreach my $fn (@filelist) {
$fn =~ s/^.*\///;
my $sn = $fn;
$fn =~ s/\.full//;
print "$sd/$sn => $dest/$fn\n";
copy("$sd/$sn", "$dest/$fn");
}
}
}
}
- gschmidl
- Posts: 6
- Joined: 17 May 2009, 22:00
- Has thanked: 0 time
- Been thanked: 0 time
Re: Magic Album Reborn
by staggerwingjtstw » 22 May 2009, 07:09
thanks for that explanation gschmidl
I like being bad... it makes me happy...
-

staggerwingjtstw - Posts: 181
- Joined: 31 May 2008, 18:03
- Has thanked: 3 times
- Been thanked: 1 time
Re: Magic Album Reborn
by Goblin Hero » 26 May 2009, 07:17
A13 is out. Lots of fixes for token support + Save/Load filter feature.
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-

Goblin Hero - Site Admin

- Posts: 1997
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 239 times
- Been thanked: 353 times
Re: Magic Album Reborn
by FrontLineFodder » 07 Jun 2009, 13:24
Hello,
Is it possible to download this Beta, been using MWS but frankly, It's Obvious it has not been updated in 4 years.
The download linke are broken at the moment.
Thanks
A.
Is it possible to download this Beta, been using MWS but frankly, It's Obvious it has not been updated in 4 years.
The download linke are broken at the moment.
Thanks
A.
- FrontLineFodder
- Posts: 14
- Joined: 07 Jun 2009, 13:20
- Location: Western Australia
- Has thanked: 0 time
- Been thanked: 0 time
Re: Magic Album Reborn
by Goblin Hero » 07 Jun 2009, 17:48
Fixed.FrontLineFodder wrote:The download linke are broken at the moment.
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-

Goblin Hero - Site Admin

- Posts: 1997
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 239 times
- Been thanked: 353 times
Re: Magic Album Reborn
by FrontLineFodder » 23 Jun 2009, 03:46
Good Morning,
I have been adding my cards into this app, it looks quite promising, easy interface, filters.
After adding a couple of sets i went to do a "Missing" cards query. It seems the app is hard coded to 8 cards, is there a way to change this value ?
I also though i could simply export to csv and use speadsheet (OO) but there is no export to csv feature
.
Exporting to CSV would be ultimately the most useful feature so anybody who is using the app is not "Locked in". For a collector, Album is better than MWS, however as it is right now i'm not sure if i want to continue using it to catalog all my cards.
Looking forward to hearing your thoughts.
Adam.
I have been adding my cards into this app, it looks quite promising, easy interface, filters.
After adding a couple of sets i went to do a "Missing" cards query. It seems the app is hard coded to 8 cards, is there a way to change this value ?
I also though i could simply export to csv and use speadsheet (OO) but there is no export to csv feature
Exporting to CSV would be ultimately the most useful feature so anybody who is using the app is not "Locked in". For a collector, Album is better than MWS, however as it is right now i'm not sure if i want to continue using it to catalog all my cards.
Looking forward to hearing your thoughts.
Adam.
- FrontLineFodder
- Posts: 14
- Joined: 07 Jun 2009, 13:20
- Location: Western Australia
- Has thanked: 0 time
- Been thanked: 0 time
Re: Magic Album Reborn
by Goblin Hero » 23 Jun 2009, 06:34
Hmm. It's a bug. It should show the real number of missed cards.FrontLineFodder wrote:It seems the app is hard coded to 8 cards
You want to export inventory as CSV, do you? What fields should be exported?FrontLineFodder wrote:I also though i could simply export to csv and use
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-

Goblin Hero - Site Admin

- Posts: 1997
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 239 times
- Been thanked: 353 times
Re: Magic Album Reborn
by FrontLineFodder » 23 Jun 2009, 06:51
I'll post (or PM) Exactly what Album is reporting when i get home.Goblin Hero wrote: FrontLineFodder wrote:It seems the app is hard coded to 8 cards
Hmm. It's a bug. It should show the real number of missed cards.
If it is not asking too much... :-) Card Name-Unicode (nice) Card Name-Ascii (Nice) Collector Number (Must) Set (Must) Qty Regular (Must) and Qty Foil (seeing as you went to all that trouble, Must)Goblin Hero wrote: FrontLineFodder wrote:I also though i could simply export to csv and use
You want to export inventory as CSV, do you? What fields should be exported?
I believe this would be the minimum required if you needed(wanted) to migrate to a different format, Unless i am wrong :-)
- FrontLineFodder
- Posts: 14
- Joined: 07 Jun 2009, 13:20
- Location: Western Australia
- Has thanked: 0 time
- Been thanked: 0 time
Re: Magic Album Reborn
by Goblin Hero » 23 Jun 2009, 08:07
Nevermind. I've found the bug myself.FrontLineFodder wrote:I'll post (or PM) Exactly what Album is reporting when i get home.
Card Name-Ascii? Waht do you mean? Original english name of the card?FrontLineFodder wrote:If it is not asking too much...Card Name-Unicode (nice) Card Name-Ascii (Nice) Collector Number (Must) Set (Must) Qty Regular (Must) and Qty Foil (seeing as you went to all that trouble, Must)
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-

Goblin Hero - Site Admin

- Posts: 1997
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 239 times
- Been thanked: 353 times
Re: Magic Album Reborn
by FrontLineFodder » 23 Jun 2009, 08:23
Great, ThanksGoblin Hero wrote:Nevermind. I've found the bug myself.
Off the Top of my head i can't remember what Album uses, There is the "English" card names, then there are the names with the accented characters, If Album knows both brilliant, Some tools / web sites will use Standard English (A-Z) while others will use the names with the accented characters eg (Æther Spellbomb)Goblin Hero wrote:Card Name-Ascii? Waht do you mean? Original english name of the card?
- FrontLineFodder
- Posts: 14
- Joined: 07 Jun 2009, 13:20
- Location: Western Australia
- Has thanked: 0 time
- Been thanked: 0 time
Re: Magic Album Reborn
by hunter60 » 18 Jul 2009, 18:05
please help me i wasn't able to see pictures in the album.
I have try in every mode ' what I have to do?
I have try in every mode ' what I have to do?
-

hunter60 - Posts: 68
- Joined: 05 Jul 2009, 20:29
- Location: Italy
- Has thanked: 0 time
- Been thanked: 0 time
Re: Magic Album Reborn
by Goblin Hero » 19 Jul 2009, 08:48
Read the first post. I've just updated it.hunter60 wrote:please help me i wasn't able to see pictures in the album.
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-

Goblin Hero - Site Admin

- Posts: 1997
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 239 times
- Been thanked: 353 times
Re: Magic Album Reborn
by hunter60 » 19 Jul 2009, 11:05
I have try in different way but no picture .this is what
I do .
I have install the album 13 Alpha on C:\Magic Album
then I have create in a folder named Regular Cards after a subfolder named Expansions and on in a folder named
Legends because I would see for example the cards Abominium and Acid Rain. I have renamed the 2 without the
.full. (abominium.jpg )
In the path i wrote C:\Magic Album\Regular Cards
but nothing happen . i'm going crazy.
What's wrong
I do .
I have install the album 13 Alpha on C:\Magic Album
then I have create in a folder named Regular Cards after a subfolder named Expansions and on in a folder named
Legends because I would see for example the cards Abominium and Acid Rain. I have renamed the 2 without the
.full. (abominium.jpg )
In the path i wrote C:\Magic Album\Regular Cards
but nothing happen . i'm going crazy.
What's wrong
-

hunter60 - Posts: 68
- Joined: 05 Jul 2009, 20:29
- Location: Italy
- Has thanked: 0 time
- Been thanked: 0 time
Re: Magic Album Reborn
by Goblin Hero » 19 Jul 2009, 11:10
Set the path to C:\Magic Albumhunter60 wrote:In the path i wrote C:\Magic Album\Regular Cards
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-

Goblin Hero - Site Admin

- Posts: 1997
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 239 times
- Been thanked: 353 times
Re: Magic Album Reborn
by hunter60 » 19 Jul 2009, 12:40
don't work I upload the folder if you wish see it
-

hunter60 - Posts: 68
- Joined: 05 Jul 2009, 20:29
- Location: Italy
- Has thanked: 0 time
- Been thanked: 0 time
Who is online
Users browsing this forum: No registered users and 18 guests