Page 3 of 4

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 29 Mar 2012, 09:32
by thefiremind
Judging from what you said about image size, that's exactly my problem. In fact, I have never resized images to the standard 512x376 size. I have IrfanView, so I'll just have to check how to do batch resizing. Thanks a lot for the program and for the explanation! :D

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 29 Mar 2012, 10:11
by Eglin
thefiremind wrote:Judging from what you said about image size, that's exactly my problem. In fact, I have never resized images to the standard 512x376 size. I have IrfanView, so I'll just have to check how to do batch resizing. Thanks a lot for the program and for the explanation! :D
You're very welcome. You could add a call to setMaxExtents to resize the images on the fly, but I didn't think about it until afterwards. After compressing my deck box images and frame textures (they use a different compression method and alpha format than the card art), my wad is down to under 30MB in size, which is pretty cool.

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 29 Mar 2012, 10:16
by Eglin
sadlyblue wrote:I've tried your program, and worked like a charm.
It reduced the total size by at least 40% even when packed with wadprogram.
And what i tested so far there's no problem in game.
Next release will be smaller in size.
Great job.
That's awesome! I'm thrilled to hear that you find it useful.

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 29 Mar 2012, 12:07
by thefiremind
Eglin wrote:You're very welcome. You could add a call to setMaxExtents to resize the images on the fly, but I didn't think about it until afterwards. After compressing my deck box images and frame textures (they use a different compression method and alpha format than the card art), my wad is down to under 30MB in size, which is pretty cool.
I used IrfanView to do the following:
1) Make a resize of the original pictures to 512 width.
2) Make another resize (in another folder) of the same original pictures to 376 height.
Then i kept only the largest version of each picture, so I have some pictures with exceeding width and some picture with exceeding height, but no picture smaller than 512x376. Now I need to crop the exceeding pixels, but IrfanView only allows to batch crop a set number of pixels from each side. I need to make a "center" batch crop, so that if there are 4 pixels to cut out, 2 pixels from one side and 2 pixels from the opposite side will be cut. Do you know some software I can use to achieve this result?

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 29 Mar 2012, 12:45
by sadlyblue
I used Fotosizer: http://www.fotosizer.com/
Seemed to do a good work, and easy.

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 29 Mar 2012, 13:28
by thefiremind
sadlyblue wrote:I used Fotosizer: http://www.fotosizer.com/
Seemed to do a good work, and easy.
This software only resizes, while I need to crop. Thanks anyway.

EDIT: I thought if you need something made as you wish, you have to do it yourself... so I made a program that does the crop I needed, and ran it. Now all the images are OK. Sorry if I don't share the program, but I made it really fast so I hard-coded the directories' names as I needed them. :oops:

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 29 Mar 2012, 14:51
by Eglin
I think that your problem w/ Irfanview was just that you allowed it to force maintaining the aspect ratio. If you override that setting and specify both dimensions, it should work in a batch. I should probably post a new executable that will scale the images automatically - sorry.

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 18 Apr 2012, 15:13
by sadlyblue
Here's a new update.
http://www.mediafire.com/?uot6pj1c77ray5q

New decks:
Enchantess Legacy (Adapted)
The Other Auramancer
Instantly
Bane of Emrakul elf ball (a request from hoza121)

Also contains:
Boros Landfall
Elf Alarm
Frites
Infectious
Modern Eminent Domain
Prime Knight
Splinter Twin
Tempered Virtue
Tree Of Life
Use Your Land

Hope you like them.

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 18 Apr 2012, 15:23
by roflheh
I got a problem with your dlc, the decks looks cool but then i try to play with them my program shuts down and i have only tried 2 decks the infect deck worked for one game but after i won against koth :P my program shut down! and then i was gonna look at the frites decklist my program shut down. Can anyone help me with this?

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 18 Apr 2012, 20:41
by sadlyblue
Sometimes a fatal error might occur at the end of the game. But i didn't found that often, and couldn't troubleshoot it.
Have you tried more than once? With the same deck? And what king of game are you playing (campaign, free-for-all, archenemy)? Maybe then i can find the error.
Thanks for the feedback.

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 19 Apr 2012, 07:09
by Ctar
I found the DLC miss BREEDING_POOL_3000006 Card in DECK "Use Your Land" , and miss JOR_KADEEN_THE_PREVAILER_227508 Card in DECK "Tempered Virtue"

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 19 Apr 2012, 16:27
by ravemotion
I tried The Other Auramancer deck and activiated Nomad Mythmaker skill to return an aura. I chose Celestial Mantle which was in my graveyard. When the ability resolved, the aura card is still in my graveyard, with Nomad tapped.

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 20 Apr 2012, 09:25
by sadlyblue
I confirmed the error, but i'm having some trouble fixing it...

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 20 Apr 2012, 10:03
by thefiremind
I looked at Nomad Mythmaker code, and it seems OK to me, but I can say nothing about the PutIntoPlayAttachedTo function, since there's no example of how to use it in the core WAD. How did you discover what parameters it needs?

Re: 06/02/12 DOTP2012 Starting my custom pack

PostPosted: 20 Apr 2012, 11:53
by sadlyblue
The PutIntoPlayAttachedTo works well on other card, like Academy Researchers, Iridescent Drake,... The problems seems to be in the target creature...
I was lucky to find the correct syntax to make this deck.