HQ Cards Picture Support
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: HQ Cards Picture Support
by silly freak » 05 Dec 2009, 22:35
i don't think it is, but it's not by me. i'm a the moment quite busy with school and lazy with forge.
___
where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
- silly freak
- DEVELOPER
- Posts: 598
- Joined: 26 Mar 2009, 07:18
- Location: Vienna, Austria
- Has thanked: 93 times
- Been thanked: 25 times
Re: HQ Cards Picture Support
by zerker2000 » 05 Dec 2009, 22:58
Pardon, I am in the exact same situation(e.g. a show in two hours for school drama ). I just remembered you made properties, so I assumed you knew more about forge file handling than most of us.
O forest, hold thy wand'ring son
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.
--Eladamri, the Seed of Freyalise
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.
--Eladamri, the Seed of Freyalise
- zerker2000
- Programmer
- Posts: 569
- Joined: 09 May 2009, 21:40
- Location: South Pasadena, CA
- Has thanked: 0 time
- Been thanked: 0 time
Re: HQ Cards Picture Support
by silly freak » 05 Dec 2009, 23:11
reasonable, but it was more like search and replace - okay, not only; before that time, forge used filenames (strings) to the fullest, which i changed to file objects. but i noticed nothing like a recursive search.
___
where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
- silly freak
- DEVELOPER
- Posts: 598
- Joined: 26 Mar 2009, 07:18
- Location: Vienna, Austria
- Has thanked: 93 times
- Been thanked: 25 times
Re: HQ Cards Picture Support
by Vasiliy » 06 Dec 2009, 11:50
in r152:
Fix bug: Now tokens download to dir ../pics/tokens
All tokens URL now has in card-pictures-token.txt (LQ version)
or ../pics_link/card-pictures_token.txt (HQ version)
Now has new tokens URL format. Before name tokens need add prefix [T]. Example:
Old version: c_20_20_marit_lage.jpg http://www.magickartenmarkt.de/img/card ... _token.jpg
New version: [T]c_20_20_marit_lage.jpg http://www.magickartenmarkt.de/img/card ... _token.jpg
Fix bug: Now tokens download to dir ../pics/tokens
All tokens URL now has in card-pictures-token.txt (LQ version)
or ../pics_link/card-pictures_token.txt (HQ version)
Now has new tokens URL format. Before name tokens need add prefix [T]. Example:
Old version: c_20_20_marit_lage.jpg http://www.magickartenmarkt.de/img/card ... _token.jpg
New version: [T]c_20_20_marit_lage.jpg http://www.magickartenmarkt.de/img/card ... _token.jpg
Sorry for my english. I speak english very bad.
- Vasiliy
- Programmer
- Posts: 47
- Joined: 15 Nov 2009, 12:26
- Has thanked: 0 time
- Been thanked: 0 time
- learyt
- Posts: 15
- Joined: 24 Nov 2009, 21:55
- Has thanked: 0 time
- Been thanked: 0 time
Re: HQ Cards Picture Support
by DennisBergkamp » 06 Dec 2009, 22:56
Through the SVN at http://code.google.com/p/cardforge/. You'll need some kind of SVN client though.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: HQ Cards Picture Support
by Chris H. » 06 Dec 2009, 23:45
`DennisBergkamp wrote:Through the SVN at http://code.google.com/p/cardforge/. You'll need some kind of SVN client though.
The SVN client will give him only the source code. He will also need something which can be used to build a java jar file. We tend to use Eclipse for this process.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: HQ Cards Picture Support
by Jorbes » 09 Dec 2009, 15:36
Just collect all, put them in a list and pick one at random.Vasiliy wrote:Yes, copy first picture.Marek14 wrote:silly freak wrote:Vasiliy's algorithm also sounds like a good idea, but it needs to address cards with multiple versions as well. Would it just copy the first relevant picture it finds?
=]
Re: HQ Cards Picture Support
by mtgrares » 10 Dec 2009, 20:27
Nice to see you around Jorbes. Your online playtable is very good, I hope it gets more popular than MWS.
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
Re: HQ Cards Picture Support
by Vasiliy » 21 Dec 2009, 13:17
Ir r217 I add select server for HQ pictures.
Now you can download HQ pictures from mtgpics.chutography.com or
pics.slightlymagic.net
Screenshot:
Now you can download HQ pictures from mtgpics.chutography.com or
pics.slightlymagic.net
Screenshot:
Sorry for my english. I speak english very bad.
- Vasiliy
- Programmer
- Posts: 47
- Joined: 15 Nov 2009, 12:26
- Has thanked: 0 time
- Been thanked: 0 time
Re: HQ Cards Picture Support
by Chris H. » 21 Dec 2009, 15:42
`Vasiliy wrote:Ir r217 I add select server for HQ pictures.
Now you can download HQ pictures from mtgpics.chutography.com or
pics.slightlymagic.net
Thank you. This is a nice update.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: HQ Cards Picture Support
by Vasiliy » 22 Dec 2009, 16:06
Sorry for my english. I speak english very bad.
- Vasiliy
- Programmer
- Posts: 47
- Joined: 15 Nov 2009, 12:26
- Has thanked: 0 time
- Been thanked: 0 time
Re: HQ Cards Picture Support
by Rob Cashwalker » 22 Dec 2009, 16:21
Does this just change the path from which the picture will be loaded from or does it copy it into the res/pics folder? (overwriting existing one)
Dennis - do you think you can start adapting the basic land picture variation code to work for all types of cards?
Dennis - do you think you can start adapting the basic land picture variation code to work for all types of cards?
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: HQ Cards Picture Support
by DennisBergkamp » 22 Dec 2009, 16:28
Cool, yes this sounds great! A lot of people already have their HQ pics downloadedVasiliy wrote:Hello.
Marek14:
I can add to project next algoritm :
1. User select folder, where he has all HQ picture.
2. Forge analysing all picture in folder and all subfolder.
3. If it found HQ cards, it copy these card to pics catalog in Forge.
In this algoritm i can add support only such cards name format. Example: Bad Moon.full.jpg, Ballista Squad.full.jpg and so forth.
Algoritm found this card, copy in pics folder and rename it to Forge Cards format.
Example: Bad Moon.full.jpg -> bad_moon.jpg
Ballista Squad.full.jpg -> ballista_squad.jpg
If you want, then i start writing this algoritm.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
51 posts
• Page 3 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 78 guests