Monday, September 28, 2009

MTG Forge - Bug Fix

There was a small problem when you downloaded 09-18-full.zip and tried to download the card pictures, it would give you an error message. You can solve this by creating a sub-directory named "pics" where you unzipped MTG Forge. Sorry about the confusion.

MTG Forge 09-18 - Fixes the problem when downloading the pictures.

11 comments:

Anonymous said...

I got the same error message with this file: "Could not find the main class. Program will exit."

Any idea's how to solve this?

DennisBergkamp said...

There will still be errors if java 1.5 is installed. Try installing java 1.6, this should do the trick.

Anonymous said...

That worked!
Thanks, you great Dutch football player!

DennisBergkamp said...

You're welcome :D

Anonymous said...

An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgrares@yahoo.com

You must be connected to the Internet. Error downloading card:
Card name: u_1_1_bird.jpg
URL: http://magickartenmarkt.de/img/cards/Player_Rewards_Promos/bird_token.jpg

Detailed error trace:
java.io.FileNotFoundException: http://magickartenmarkt.de/img/cards/Player_Rewards_Promos/bird_token.jpg
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at Gui_DownloadPictures.run(Gui_DownloadPictures.java:191)
at java.lang.Thread.run(Unknown Source)
--------------
still not working for me. have java 1.6 installed.

DennisBergkamp said...

http://magickartenmarkt.de/img/cards/Player_Rewards_Promos/bird_token.jpg

it seems they took this URL down.
What's happening here, is that MTGForge is trying to download that picture, but magickartenmarkt.de (re)moved it.

To fix this, open the card-pictures.txt file in your MTGForge directory and delete the line that starts with "u_1_1_bird.jpg".

The problem is, there might be more dead links from magickartenmarkt.

Anonymous said...

EDIT: It seems like they renamed it:

http://magickartenmarkt.de/img/cards/Player_Rewards_Promos/bird_token_blue_11.jpg

so in card-pictures.txt, just replace the wrong URL (http://magickartenmarkt.de/img/cards/Player_Rewards_Promos/bird_token.jpg) with that one.

Anonymous said...

It seems as if there's issues with most of the tokens from that particular site. Fixing the URL didn't seem to help. http://magickartenmarkt.de/img/cards/Player_Rewards_Promos/bird_token_blue_11.jpg, right? or am I doing it wrong?

Anonymous said...

it's the bird, insect, angel, and avatar tokens. I downloaded the rest but cutting and pasting the broken links to the end of the list. Only these tokens left now.

Chris H. said...

"it's the bird, insect, angel, and avatar tokens."

Thank you for pointing this out. We now have the most recent urls for these four cards.

The card-pictures.txt file should be fixed with the next beta update. This beta update will be available on the Forums.

The google site will have the updated files as part of the forge archive at some point in the future.

Once again, thank you.

Anonymous said...

An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com


0


Version:
Forge -- official beta: $Date: 2010-09-14 08:34:27 -0400 (Tue, 14 Sep 2010) $, SVN revision: $Revision: 2039 $

OS: Windows XP Version: 5.1 Architecture: x86

Java Version: 1.6.0_18 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.ArrayIndexOutOfBoundsException: 0
at forge.Gui_NewGame.getRandomDeck(Gui_NewGame.java:486)
at forge.Gui_NewGame.startButton_actionPerformed(Gui_NewGame.java:539)
at forge.Gui_NewGame$11.actionPerformed(Gui_NewGame.java:421)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at org.jvnet.substance.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:111)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

What should I do?