woodruffr1973 / ardb

Automatically exported from code.google.com/p/ardb
0 stars 1 forks source link

ardb 3.2 Inconsistent behavior depending on the location of the cards database file #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.all pictures zip (24 files) are present in cardimages subfolder
2.stard ardb 3.2 
3.the programm can't find the pictures and display the message : "Can't find 
image files in either '.' or "vtesicons'!

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
ardb 3.2 on windows seven 64 bits

Please provide any additional information below.

Original issue reported on code.google.com by toilette...@gmail.com on 28 Jun 2013 at 10:14

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by gokturk....@gmail.com on 28 Jun 2013 at 11:22

GoogleCodeExporter commented 9 years ago
Is the 'cardimages' subfolder under the unzipped ardb folder?

If you go to your home directory, you should see a folder named "Anarch Revolt 
Deck Builder". Move the 'cardimages' folder under it.

Note that this will not get rid of the warning that you attached to this bug 
but you should be able to see the pictures.

Copy the 'vtesicons' folder that is inside the unpacked ardb folder to the 
"Anarch Revolt Deck Builder" folder, which should be inside your home 
directory. You should not get any warnings afterwards.

Would you confirm that this works?

Original comment by gokturk....@gmail.com on 29 Jun 2013 at 2:14

GoogleCodeExporter commented 9 years ago
work perfectly,

better to add a read me to explain that in the zip file.

Original comment by toilette...@gmail.com on 29 Jun 2013 at 8:02

GoogleCodeExporter commented 9 years ago
No, this is actually a bug.

The program shows inconsistent behavior depending on whether there is a 
'cards.db' file in the unpacked ardb or not: If there is, it changes its 
currently working directory to the unpacked ardb folder, if not then it uses 
the "Anarch Revolt Deck Builder" under user's home folder. Since we don't ship 
'cards.db' inside the package anymore, the former case should never happen.

Optimally we should store the configurations file, cards database and card 
images under the user's home directory and the rest inside the ardb package.

Original comment by gokturk....@gmail.com on 29 Jun 2013 at 7:26

GoogleCodeExporter commented 9 years ago

Original comment by gokturk....@gmail.com on 29 Jun 2013 at 7:51

GoogleCodeExporter commented 9 years ago
Fixed in revision 256.

You may safely delete the 'vtesicons' folder under the user directory.

Original comment by gokturk....@gmail.com on 9 Jul 2013 at 10:31