It is currently 28 Apr 2024, 23:56
   
Text Size

Mtgdb.Gui: search MTG cards, build decks, manage collection

New decks and cards for Stainless Games' release

Moderator: CCGHQ Admins

Mtgdb.Gui v1.3.5.13 - Fixed some update window issues

Postby hidalgo » 15 Apr 2017, 06:19

Fixed bugs:
  • Downloading images or application update was failing when installed to a directory containins spaces
  • Application shortcut not updated after installing new version
  • Updating cards from mtgjson.com had a very short timeout after which downloading was interrupted.
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby hidalgo » 15 Apr 2017, 06:25

I don't see any different from the log file so maybe just the error warning in the updater ?
That's right, what I changed was a message in console, exactly what you sent me:
Code: Select all
Failed to send request to mtgjson.com: A task was canceled.
It told me that I had a very short default timeout on downloading from mtgjson.com
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby aidscoi168 » 15 Apr 2017, 07:03

Hi, if i press "update" button so the program will update itself without replace my current xml file ? I extract the zip file to check if the new folder ect contain with xml file that set default and worry if the upgrade process may replace with the current and i have to re-edit the xml file
Attachments
Untitled.png
aidscoi168
 
Posts: 210
Joined: 31 Dec 2016, 17:49
Has thanked: 58 times
Been thanked: 28 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby hidalgo » 15 Apr 2017, 07:36

I specifically wrote code to protect your config when installing new version.
Mtgdb.Gui.Default.xml will be replaced, while Mtgdb.Gui.xml will not.
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby aidscoi168 » 15 Apr 2017, 07:45

I don't know why but the app not working again. i've upgrade with update feature ( after backup xml file, even the upgrade process not replace the current xml file ). already add new path of exe files both in main folder and shadow copy folder to trusted zone in antivirus. The app still not running, even i replace with ver .13 in this thread
aidscoi168
 
Posts: 210
Joined: 31 Dec 2016, 17:49
Has thanked: 58 times
Been thanked: 28 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby hidalgo » 15 Apr 2017, 07:55

I need some logs :)
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby aidscoi168 » 15 Apr 2017, 07:58

the log file not say anything from ver10 just the ver9 we fixed so i not sure if the program create new log file ( it just have a process in task manager then disappear )
Attachments
logs.rar
(6.11 KiB) Downloaded 159 times
aidscoi168
 
Posts: 210
Joined: 31 Dec 2016, 17:49
Has thanked: 58 times
Been thanked: 28 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby aidscoi168 » 15 Apr 2017, 08:01

with this one appear 1-2sec then both disappear
Attachments
Untitled.png
aidscoi168
 
Posts: 210
Joined: 31 Dec 2016, 17:49
Has thanked: 58 times
Been thanked: 28 times

Mtgdb.Gui v1.3.5.14

Postby hidalgo » 15 Apr 2017, 08:35

Fixed application crash
Last edited by hidalgo on 19 Apr 2017, 16:33, edited 1 time in total.
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Mtgdb.Gui v1.3.5.15 - Windows XP support

Postby hidalgo » 15 Apr 2017, 09:09

Downgraded .NET framework used by application from 4.6.1 to 4.0 to support running on Windows XP

P.S. Win XP users feedback would be much appreciated :) Does it work at all?
Last edited by hidalgo on 19 Apr 2017, 16:34, edited 1 time in total.
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby aidscoi168 » 15 Apr 2017, 17:15

Hi, i'm not sure about how the artwork update process working but i try to test if the app can sync the mega folder with the artwork folder nicely but the updater can download new and missing artworks but can't delete the folders and artworks been move to new place ( to avoid duplicate artworks ). I'm not sure what filelist.txt appear in each folder working with the updater but can the app take filelist in the source mega folder and compare to current artwork folder and can delete artworks, folders not longer in same place?
aidscoi168
 
Posts: 210
Joined: 31 Dec 2016, 17:49
Has thanked: 58 times
Been thanked: 28 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby hidalgo » 15 Apr 2017, 21:15

aidscoi168 wrote:Can the app take filelist in the source mega folder and compare to current artwork folder and can delete artworks, folders not longer in same place?
Yes.
  1. You need to create a MEGA directory just for 1 file - filelist.txt with signatures of your Art files.
  2. You send me the link to this directory so that I can copy it to confg file
  3. My update program will allways download your filelist.txt from MEGA directory above before updating art images
  4. Whenever you want to 'publish' you current Art directory you create a new filelist.txt and replace the existing one

To create a filelist.txt run
Mtgdb.Util.exe -sign "<Your mega-syncronized directory with art images>" -output "<some directory>\filelist.txt"

This is exactly the process i follow to publish the application itself. There are 2 dirctories
one for filelist.txt
and other for .zip
It is because I cannot force megatools to download a specific file, it can only download the entire directory.
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby aidscoi168 » 16 Apr 2017, 04:10

I'm not sure how to create the filelist.txt, i found the Mtgdb.Util.exe in bin and shadow copy folder but can't run them. also i found a filelist.txt in my artworks folder, is that file create by the app to make the signature list of my artworks ? If so we can use this file list or not ?
aidscoi168
 
Posts: 210
Joined: 31 Dec 2016, 17:49
Has thanked: 58 times
Been thanked: 28 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby hidalgo » 16 Apr 2017, 06:03

aidscoi168 wrote:I'm not sure how to create the filelist.txt, i found the Mtgdb.Util.exe in bin and shadow copy folder but can't run them. also i found a filelist.txt in my artworks folder, is that file create by the app to make the signature list of my artworks ? If so we can use this file list or not ?
No you can't use them. filelist.txt you've found is made after downloading the directory with megatools. Then it is used to compare with latest filelist.txt for images online. This way the program can tell which images were modified. Megatools itself cannot do this. It only downloads missing files. So to remove changed files so that Megatools can download new replacement I need this filelist.txt

Running Mtgdb.Utils.exe is done through cmd window. (WinKey+R, type cmd, Enter)

I can create filelist.txt for Art myself automatically when I publish Mtgdb.Gui.
To make this happen I need that you share to me the Art directory in your MEGA storage. I hope it will allow me to create a 'shortcut' in my MEGA storage to your MEGA storage Art directory. Then MEGASync would synchronize your Art with my PC just as other files from my MEGA storage.
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby aidscoi168 » 16 Apr 2017, 09:20

Oh, i figure out how to create the file list ( it quite slow then i just think it fail but not )
https://mega.nz/#F!mgY1SSga!iP67fkG5mHQT23uYXwdP5g
aidscoi168
 
Posts: 210
Joined: 31 Dec 2016, 17:49
Has thanked: 58 times
Been thanked: 28 times

PreviousNext

Return to Magic: The Gathering - Duels of the Planeswalkers

Who is online

Users browsing this forum: No registered users and 46 guests


Who is online

In total there are 46 users online :: 0 registered, 0 hidden and 46 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 46 guests

Login Form