Page 2 of 4

Re: HQ Cards Picture Support

PostPosted: 03 Dec 2009, 13:11
by silly freak
i sense a problem with proper URL format. these paths would be relative URLs, but relative to what? we'd have to change the file format to include a "base URL" that would point to the proper directory. on the other hand, this would also help to strip out redundant parts from the external URLs

Re: HQ Cards Picture Support

PostPosted: 03 Dec 2009, 13:59
by Vasiliy
In r127 I add popUp window in play.
Screeshot:
Image

Re: HQ Cards Picture Support

PostPosted: 03 Dec 2009, 15:13
by Chris H.
I updated my local copy to r126. I placed my lo-res non-token pics in the forge/pics folder and I placed my lo-res token pics in the forge/pics/tokens folder.

Forge r126 will hang in the deck editor or the battlefield window. I have to force quit forge. I only have access to a slow speed modem dial up and it will take me a very long time to download over 400 megs of pics. :(

It might be nice if we could at some point make this high-res or low-res an option rather than being high-res only. :wink:

Re: HQ Cards Picture Support

PostPosted: 03 Dec 2009, 15:39
by Vasiliy
Chris H. wrote:I updated my local copy to r126. I placed my lo-res non-token pics in the forge/pics folder and I placed my lo-res token pics in the forge/pics/tokens folder.

Forge r126 will hang in the deck editor or the battlefield window.
I fix this bug in r128. Please update your local copy.
If you use low-res picture, then popUp window is not open.

Re: HQ Cards Picture Support

PostPosted: 03 Dec 2009, 16:09
by Chris H.
Vasiliy wrote:I fix this bug in r128. Please update your local copy.
If you use low-res picture, then popUp window is not open.
Thank you. :D

I can now get back to work. :wink:

Re: HQ Cards Picture Support

PostPosted: 03 Dec 2009, 18:26
by DennisBergkamp
Great stuff, I like how it works in game now as well :)

By the way, is there some list of set abbreviations?

Re: HQ Cards Picture Support

PostPosted: 03 Dec 2009, 18:35
by Vasiliy
In attachement all set abbreviations and all links to HQ picture.

Re: HQ Cards Picture Support

PostPosted: 03 Dec 2009, 21:17
by DennisBergkamp
Thanks!

Currently, there are some problems though with resizing (and displaying) high-res tokens in game (check screenshot).
This is because the methods getPictureHQ, getPictureHQwidth, getPictureHQheight and IsPictureHQExists in GuiDisplayUtil.java all look in (IMAGE_BASE) /pics/. Tokens are in /pics/tokens.

Re: HQ Cards Picture Support

PostPosted: 04 Dec 2009, 06:55
by Vasiliy
DennisBergkamp wrote:Thanks!

Currently, there are some problems though with resizing (and displaying) high-res tokens in game (check screenshot).
This is because the methods getPictureHQ, getPictureHQwidth, getPictureHQheight and IsPictureHQExists in GuiDisplayUtil.java all look in (IMAGE_BASE) /pics/. Tokens are in /pics/tokens.
Thanks for info. I trying correct this bug.

Re: HQ Cards Picture Support

PostPosted: 04 Dec 2009, 09:30
by Vasiliy
In r133 I fix bug with HQ tokens.

Re: HQ Cards Picture Support

PostPosted: 04 Dec 2009, 12:53
by Vasiliy
In r137 I add support download LQ picture.
Now you can download LQ or HQ picture!!!
HQ URL links use from pics_link directory, LQ URL links use from card-
pictures.txt

Re: HQ Cards Picture Support

PostPosted: 04 Dec 2009, 15:54
by Chris H.
Vasiliy wrote:In r137 I add support download LQ picture.
Now you can download LQ or HQ picture!!!
HQ URL links use from pics_link directory, LQ URL links use from card-
pictures.txt
`
Thank you. I like this feature. :D

With the new r137 version I have noticed that the "Download Card LQ Pictures" menu command places the tokens that are included in the card-pictures.txt file into the /Forge/pics/ folder and not /Forge/pics/tokens/ folder.

The game will only display LQ tokens that are placed into the /Forge/pics/tokens/ folder. People that use the LQ pics will have to place a second copy of these LQ tokens into the tokens folder.

Re: HQ Cards Picture Support

PostPosted: 04 Dec 2009, 17:20
by Vasiliy
Chris H. wrote:
Vasiliy wrote:In r137 I add support download LQ picture.
Now you can download LQ or HQ picture!!!
HQ URL links use from pics_link directory, LQ URL links use from card-
pictures.txt
`
Thank you. I like this feature. :D

With the new r137 version I have noticed that the "Download Card LQ Pictures" menu command places the tokens that are included in the card-pictures.txt file into the /Forge/pics/ folder and not /Forge/pics/tokens/ folder.

The game will only display LQ tokens that are placed into the /Forge/pics/tokens/ folder. People that use the LQ pics will have to place a second copy of these LQ tokens into the tokens folder.
I try correct this bug tomorrow.

Re: HQ Cards Picture Support

PostPosted: 05 Dec 2009, 17:25
by learyt
i don't get it can someone upload the hq pics to megaupload with the folders and all. i can't get the forge to download them

Re: HQ Cards Picture Support

PostPosted: 05 Dec 2009, 21:20
by zerker2000
Question/request to silly freak: is the picture locating code currently recursive?(If not why, this would greatly simplify all token/set directory problems.)