FOrge pics
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
FOrge pics
by ckapanga » 01 Feb 2013, 13:52
hello everybody
yesterday i downloaded FORGE
but when i start to play ,the game doesnt have pics of cards
what i want to do?
thanks cya
yesterday i downloaded FORGE
but when i start to play ,the game doesnt have pics of cards
what i want to do?
thanks cya
- ckapanga
- Posts: 2
- Joined: 01 Feb 2013, 13:48
- Has thanked: 0 time
- Been thanked: 0 time
Re: FOrge pics
by myk » 01 Feb 2013, 15:59
Go down to the last menu option on the left, "Game Settings". Choose "Content Downloaders". Then go through and download the resources. It will take a good long while -- the download rate is throttled so the content server doesn't get overloaded -- but you only have to download the bulk of the files once. When new cards are added in new versions, return here and go through the download buttons again to download the new stuff (which will only take a few seconds). Have fun!ckapanga wrote:but when i start to play ,the game doesnt have pics of cards
what i want to do?
- myk
- Posts: 439
- Joined: 17 Jan 2013, 02:39
- Location: California
- Has thanked: 38 times
- Been thanked: 57 times
- ckapanga
- Posts: 2
- Joined: 01 Feb 2013, 13:48
- Has thanked: 0 time
- Been thanked: 0 time
Re: FOrge pics
by xPUNskis » 03 Feb 2013, 20:55
When I try to download the the LQ pictures it'll download maybe 1 or 2 pictures before it freezes on one the third or fourth picture. I then have to exit out and restart the process and then it will do it all over again, only downloading a few pictures before needing to be restarted. Is there a way to fix this? Is it normal for this to be happening? Or does my computer just suck?
Edit: It seems like it works fine when my internet isn't connected. Are the picture located somewhere within the Forge file and maybe the internet connection somehow interferes with it?
Edit: It seems like it works fine when my internet isn't connected. Are the picture located somewhere within the Forge file and maybe the internet connection somehow interferes with it?
Re: FOrge pics
by timmermac » 03 Feb 2013, 21:05
Are you downloading LQ or LQ Set pics? My recommendation would be the LQ Set pics. I just helped my brother set Forge up on his computer a couple of days ago, and the LQ Set pics downloaded fine onto his computer in about 3 to 4 hours.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: FOrge pics
by xPUNskis » 04 Feb 2013, 04:50
I've tried both, but both have similiar results. LQ pictures will freeze after maybe 2 pictures downloaded and LQ Set pictures will freeze after about 20 or so. It was the same way with past versions of the program too. It's very strange.
Re: FOrge pics
by moomarc » 04 Feb 2013, 06:40
Don't have much to offer in the way of advise here, but can tell you tat it's definitely not meant to work that way. The download's are throttled though, so if your connection is super fast perhaps it 'freezes' after a few then if you leave it, it would carry on. Have you tried leaving it for a while after it seems to get stuck?
As for it working without an internet connection, the images definitely aren't packaged with Forge, so while the downloader might appear to run, it won't actually download anything that you don't already have.
As for it working without an internet connection, the images definitely aren't packaged with Forge, so while the downloader might appear to run, it won't actually download anything that you don't already have.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: FOrge pics
by Max mtg » 04 Feb 2013, 13:10
I've been thinking of card images to be downloaded by demand.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: FOrge pics
by moomarc » 04 Feb 2013, 13:41
What do you have in mind?Max mtg wrote:I've been thinking of card images to be downloaded by demand.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: FOrge pics
by myk » 04 Feb 2013, 13:53
+1, and while we're at it, maybe we can get it out of the program directory and into some sort of shared area so users don't have to do anything to import pics when they extract a new version of forge to a new directory.
- Code: Select all
private static final String userDataBaseDir;
static {
String os = System.getProperty("os.name").toUpperCase();
String baseDir;
if (os.contains("WIN")) {
userDataBaseDir = System.getenv("APPDATA") + "/Forge";
} else if (OS.contains("MAC")) {
userDataBaseDir =
System.getProperty("user.home") + "/Library/Application Support/Forge";
} else if (OS.contains("NUX")) {
userDataBaseDir = System.getProperty("user.home") + "/.forge";
} else {
userDataBaseDir = System.getProperty("user.dir") + "/.forge";
}
}
- myk
- Posts: 439
- Joined: 17 Jan 2013, 02:39
- Location: California
- Has thanked: 38 times
- Been thanked: 57 times
Re: FOrge pics
by Max mtg » 04 Feb 2013, 15:22
A request for card image makes our game request that image from web server if no file is found.
A complicated part is about notifying the UI components that requested the image about its readiness.
myk, I like the idea of storing preferences in user profile by default. Yet, not sure if symlinks are needed - firstly, they are quite an advanced technique. And second, some people might keep an image database shared by several magic applications... at least I do. So should one download a new version of game, he might just edit the preferences file to point at that folder with all images ready.
A complicated part is about notifying the UI components that requested the image about its readiness.
myk, I like the idea of storing preferences in user profile by default. Yet, not sure if symlinks are needed - firstly, they are quite an advanced technique. And second, some people might keep an image database shared by several magic applications... at least I do. So should one download a new version of game, he might just edit the preferences file to point at that folder with all images ready.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: FOrge pics
by myk » 04 Feb 2013, 17:47
Yeah, all drawing would have to be done in an asynchronous callback. Like maybe with:
re: symlinks, that was just so the cache would appear in a "standard" location according to Linux file placement guidelines. the symlink would just be for convenience. it wouldn't be required. moreover, if forge.preferences were stored in userDataBaseDir, any other path could be set to an optional custom value there and wouldn't have to be changed/copied on update
- Code: Select all
public class ImageDb {
/**
* Requests a card image. The given function will be called when the image has been
* retrieved. If multiple outstanding calls have been made with targetId parameters
* that compare equal, only the callback for the most recently requested image will
* be called. The callback may be called from the calling thread if the image is
* already at hand.
*/
public <T> void getCardImage(Function<Pair<Image, T>, Void> onImageReady, T target);
}
re: symlinks, that was just so the cache would appear in a "standard" location according to Linux file placement guidelines. the symlink would just be for convenience. it wouldn't be required. moreover, if forge.preferences were stored in userDataBaseDir, any other path could be set to an optional custom value there and wouldn't have to be changed/copied on update
- myk
- Posts: 439
- Joined: 17 Jan 2013, 02:39
- Location: California
- Has thanked: 38 times
- Been thanked: 57 times
12 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 66 guests