It is currently 25 Apr 2024, 15:51
   
Text Size

Gwar's Tweaked ProxyGen (OLD THREAD DO NOT USE)

by Nate and Snacko

Moderators: Snacko, CCGHQ Admins

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby protechtedd » 26 Jul 2011, 21:56

Great program this Proxygen is!

I thought I would add my 2 cents to the value of this post. I'm running a Mac, and have found a way to run the .bat files using an app called Crossover (which runs windows apps natively on the mac). Anyone who has done this before, it will be quite simple. Make an empty bottle, copy (or like me, symbolic link) in the Proxygen folder, Run Command of the .bat of your choice, and proceed as normal.

There does seem to be a slight problem though: Crossover wont let you drag/drop a file into the .bat command window. As a fix, you'll have to type out the entire file path for the .mwDeck file. This means you'll need to copy, or again symlink, your .mwDeck files relative to the bottle (say, into a C:/decks folder).

If anyone knows how to do this more simply, please let me know. In the meantime, this seems for be the best working method to running Proxygen on a Mac. The second best method being running Windows in a VM, and third best being rebooting into Windows.

Thanks for all your hard work guys! Looking forward to seeing the M12 cropped art soon :)
Last edited by protechtedd on 26 Jul 2011, 22:00, edited 1 time in total.
protechtedd
 
Posts: 5
Joined: 26 Jul 2011, 21:38
Has thanked: 0 time
Been thanked: 0 time

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby Snacko » 26 Jul 2011, 21:59

You have a short guide how to run native php on macos http://www.slightlymagic.net/wiki/CardG ... r#Mac_OS_X the bash shell files are available http://www.mediafire.com/file/unmzydmmgyj/native.tar.gz .
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby protechtedd » 26 Jul 2011, 22:08

What a fast response Snacko. Thanks for the info. Looks to be a bit advanced but I have some exp in terminal so I'll give it a shot.
protechtedd
 
Posts: 5
Joined: 26 Jul 2011, 21:38
Has thanked: 0 time
Been thanked: 0 time

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby protechtedd » 26 Jul 2011, 22:23

Ok, I get all the way to opening the generate.sh files, but then it says "Permission Denied", what happened? I even tried using 'su' to open it, same thing.
protechtedd
 
Posts: 5
Joined: 26 Jul 2011, 21:38
Has thanked: 0 time
Been thanked: 0 time

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby Snacko » 26 Jul 2011, 22:39

Try setting the executable permission for the files 'chmod +x generate.sh' then './generate.sh'
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby protechtedd » 26 Jul 2011, 22:57

Ok, I got this message: ./generateCards.sh: line 2: ./php/run.sh: Permission denied

So then I did the chmod command to the /php/run.sh file, and retried opening generateCards.sh, and it came to the "drop a deck file" screen.

Edit #1: It goes smoothly until it starts generating images.

Code: Select all
Generating images...
Thornling [CFX]....
Fatal error: Call to undefined function imagettfbbox() in /scripts/classes/Font.php on line 102
protechtedd
 
Posts: 5
Joined: 26 Jul 2011, 21:38
Has thanked: 0 time
Been thanked: 0 time

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby BaconCatBug » 26 Jul 2011, 23:59

Sounds like you are missing some PHP packages. Try installing EVERYTHING.

Edit: ah, it's a Mac. D: No idea, I use Linux. :(
User avatar
BaconCatBug
Apprentice
 
Posts: 253
Joined: 17 Dec 2010, 12:13
Has thanked: 6 times
Been thanked: 41 times

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby protechtedd » 27 Jul 2011, 03:44

Thanks for the try anyway Gwar.

As far as my knowledge of Macs, commands, and PHP goes, the error message seems to come from deeper within the scripts. "Call to undefined function" must suggest that "imagettfbbox()" is not established as a function in previous steps of the scripts.

Though, where those previous steps are, I am not sure.

Do you guys know of anything else, or anyone else, that could help me find resolution to this? If I can successfully make it work, I am willing to write up a consolidated how-to instructional post for future comers to use.

As for now, I'll continue using the Crossover method.

Thanks to anyone who can help further. :D
protechtedd
 
Posts: 5
Joined: 26 Jul 2011, 21:38
Has thanked: 0 time
Been thanked: 0 time

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby Snacko » 27 Jul 2011, 09:36

Might be that gd extension didn't get enabled.
Try finding php.ini it should be in /opt/local/etc/php.ini
then try finding something like extension=php_gd2.so and remove the ';' to uncomment it.
Sorry that this is so convoluted as I don't have a mac to test this on and only copied instructions from someone who got it to work.

Edit:
Also try creathing a new file with
Code: Select all
print_r(gd_info())
and run as 'php info.php'


As a last resort I found this http://www.mail-archive.com/macports-us ... 10379.html but it didn't crash fro you so maybe it's a different bug
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby BaconCatBug » 28 Jul 2011, 21:06

Hey guys. A Small patch!

First, I attached a white border overlay to the main post for you to use if you so wish.

  • A few people reported corrupted Eldrazi cards. I couldn't reproduce it, but I included fresh images to be sure.
  • Planeswalker config files tweaked a bit.
  • 0 Loyalty Planeswalker abilities should now be centred correctly thanks to a quick and dirty font hack. Needs the updated config files mentioned above.
  • Due to MULTIPLE requests, I have included a data and deck files file which have Archenemy (ARC) and Planechase (HOP) cards.
  • Included the expansion symbols and support for Innistrad (ISD) and Dark Ascension (DKA).
If you have already installed the Proxygen + Patch, just install this patch over it.
If you only have the Proxygen and not the previous patchs, don't worry, this patch has all the previous patches rolled into it.
If you don't have either, why are you reading this?

Once again, super mad Props to Snacko for his amazing work with the ProxyGen and the DeckBuilder and for not assploding me. :D
Last edited by BaconCatBug on 17 Aug 2011, 07:06, edited 1 time in total.
User avatar
BaconCatBug
Apprentice
 
Posts: 253
Joined: 17 Dec 2010, 12:13
Has thanked: 6 times
Been thanked: 41 times

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby BaconCatBug » 29 Jul 2011, 09:30

Woops. Forgot to fix the Coldsnap Theme Deck Set Codes. Patch is updated. :)
Last edited by BaconCatBug on 29 Sep 2011, 22:05, edited 1 time in total.
User avatar
BaconCatBug
Apprentice
 
Posts: 253
Joined: 17 Dec 2010, 12:13
Has thanked: 6 times
Been thanked: 41 times

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby Burnf » 29 Sep 2011, 12:09

The link appears to be broken to that latest update.
Burnf
 
Posts: 130
Joined: 06 Mar 2009, 15:16
Has thanked: 0 time
Been thanked: 0 time

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby BaconCatBug » 29 Sep 2011, 22:05

Patch in the Main post should be updated now.
User avatar
BaconCatBug
Apprentice
 
Posts: 253
Joined: 17 Dec 2010, 12:13
Has thanked: 6 times
Been thanked: 41 times

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby Ferris » 16 Dec 2011, 08:13

Hi Gwar

first thanks for this proxygen.

i found a little error.

the rarity pics from "New Phyrexia" have a space before the underline....

Thanks again.
Ferris
 
Posts: 11
Joined: 12 Jun 2008, 14:14
Has thanked: 1 time
Been thanked: 1 time

Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)

Postby The Spanish One » 08 Feb 2012, 17:33

Hi people, greetings from Spain!

First of all, thanks Gwar for this program, it's really great. Now, I'm having a serious problem: when I put a self-made .mwDeck into generateCards.bat, it always finishes with the same phrase: "ERROR: Unable to parse decklist:" and the route where the .mwDeck is. I don't use non-existent cards, they're all in the Magic Workstation database, so... where (or what) is the problem??

I've tested it with several sample desks, and it works fine... #-o #-o ...

Thanks for all!
The Spanish One
 
Posts: 2
Joined: 08 Feb 2012, 17:18
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to HQ Card Generator

Who is online

Users browsing this forum: No registered users and 15 guests


Who is online

In total there are 15 users online :: 0 registered, 0 hidden and 15 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 15 guests

Login Form