Shandalar Clone
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Shandalar Clone
by lord of 13 » 07 Sep 2010, 01:10
Oddly enough, it works on my computer [windows 7]. However, I have no clue how to enter the towns/castles.
><><><><><><><
Currently developing Mindgames, for playing a rules-enforced game of MtG.
RECENT PROJECTS
->XMLScript
->Zwiel Platformer
Currently developing Mindgames, for playing a rules-enforced game of MtG.
RECENT PROJECTS
->XMLScript
->Zwiel Platformer
-
lord of 13 - DEVELOPER
- Posts: 79
- Joined: 06 Jan 2010, 01:36
- Has thanked: 0 time
- Been thanked: 0 time
Re: Shandalar Clone
by Huggybaby » 07 Sep 2010, 01:21
Is the download supposed to be used with a normal Forge install, or is it standalone?
-
Huggybaby - Administrator
- Posts: 3226
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 744 times
- Been thanked: 601 times
Re: Shandalar Clone
by Jaedayr » 07 Sep 2010, 01:32
Working on XP for me. To enter a town/castle, move on top of it. Press the Help button for the movement keys.
I installed it in clean directory and copied the pics from regular Forge and they show up just fine.
Killed a Rat and a Dragon so far, but failed to stop the Zombie Invasion. I like it!
I installed it in clean directory and copied the pics from regular Forge and they show up just fine.
Killed a Rat and a Dragon so far, but failed to stop the Zombie Invasion. I like it!
Re: Shandalar Clone
by DennisBergkamp » 07 Sep 2010, 01:53
Cool, glad you like it 
It's standalone, but I really recommended including the pics, so copy the downloaded pics (from a forge install maybe) into /res/pics.
The jar StartBattle.jar is basically just a jar created from my local version, you could probably run the actual forge by running "java -cp StartBattle.jar forge.Gui_NewGame" from this download.

It's standalone, but I really recommended including the pics, so copy the downloaded pics (from a forge install maybe) into /res/pics.
The jar StartBattle.jar is basically just a jar created from my local version, you could probably run the actual forge by running "java -cp StartBattle.jar forge.Gui_NewGame" from this download.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Shandalar Clone
by timmermac » 07 Sep 2010, 02:05
Is there any way to acquire more basic land in this test version? There are more cards in any one color that I want to use than is safe given the amount of land that's there. Also, is there a way to change the background color in this? I've gotten used to Emerald Dusk in Forge, and I'd like to be able to use it here, as well.
"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
-
Huggybaby - Administrator
- Posts: 3226
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 744 times
- Been thanked: 601 times
Re: Shandalar Clone
by DennisBergkamp » 07 Sep 2010, 03:12
What happens when you try to run it, Huggy?
As for using different LAFs, I've been running into some bugs when attempting this... although you could try using Emerald Dusk by copying your own forge.preferences file over and replacing this one with it.
As for using different LAFs, I've been running into some bugs when attempting this... although you could try using Emerald Dusk by copying your own forge.preferences file over and replacing this one with it.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Shandalar Clone
by Huggybaby » 07 Sep 2010, 03:51
I either get a real quick window that disappears, or I get the error I posted here: viewtopic.php?p=41476#p41476
-
Huggybaby - Administrator
- Posts: 3226
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 744 times
- Been thanked: 601 times
Re: Shandalar Clone
by Rob Cashwalker » 07 Sep 2010, 05:23
It works fine for me.
Wow... quite a nice job so far.
I don't like the keyboard movement, but that can be changed later.
I notice the sprites cycle through the walking motion, THEN it jumps to the new location.
The dialog says "You prepare for battle"... OK, I'd like to prepare and choose the deck. Or run away.
Need a more generic booster pack image.... Blanked-out Zendikar looks weird.
I won a booster pack in 2 out of 2 games... is that normal or should it be more like the random rare is in the current version?
Wow... quite a nice job so far.
I don't like the keyboard movement, but that can be changed later.
I notice the sprites cycle through the walking motion, THEN it jumps to the new location.
The dialog says "You prepare for battle"... OK, I'd like to prepare and choose the deck. Or run away.
Need a more generic booster pack image.... Blanked-out Zendikar looks weird.
I won a booster pack in 2 out of 2 games... is that normal or should it be more like the random rare is in the current version?
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: Shandalar Clone
by DennisBergkamp » 07 Sep 2010, 06:07
I'm not sure how to fix the animation exactly, nicely spotted, the hero jumps to the next tile and THEN the animation is played
Ideal of course would be to have the position of the sprite move closer and closer to the next tile, frame by frame which should result in a smooth animation.
Currently, I give a booster after every match... there's no real random rares after matches anymore (it is possible however, to find random treasure while traveling the map).
As for the movement keys, what would you prefer to use? I could also listen on the numpad keys if that's easier.

Ideal of course would be to have the position of the sprite move closer and closer to the next tile, frame by frame which should result in a smooth animation.
Currently, I give a booster after every match... there's no real random rares after matches anymore (it is possible however, to find random treasure while traveling the map).
As for the movement keys, what would you prefer to use? I could also listen on the numpad keys if that's easier.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Shandalar Clone
by Rob Cashwalker » 07 Sep 2010, 13:20
Even if there weren't animation, if the hero only moved a pixel at a time, smoothly, that would give a better feel. See if there's anything useful in the new gui code - like how the card slides across your hand from left to right.
A thought on treasure and random encounters - an icon for the creature or item could appear only when you are 1 tile away from it.
I would like to see mouse-based movement... but I know that is much more complicated.
A thought on treasure and random encounters - an icon for the creature or item could appear only when you are 1 tile away from it.
I would like to see mouse-based movement... but I know that is much more complicated.
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: Shandalar Clone
by Chris H. » 07 Sep 2010, 13:47
I downloaded the archive last night and this morning I was able to finally get it launched on my Mac with Snow Leopard. I launched the Terminal application and set the path with this command:
I have the uncompressed archive on my desktop and it is fairly easy to find and work with it here. To run the jar I enter in the command from Dennis:
and success! It is up and running. I will have to play around with it for a while and will see what I discover. At first glance I can see that it is a work in progress, but I do like the map and the player icon. Looks nice. The map window is fairly small on my screen. I assume matches are played on the full screen battlefield.
`cd ~{user account name}/desktop/testMap
I have the uncompressed archive on my desktop and it is fairly easy to find and work with it here. To run the jar I enter in the command from Dennis:
`java -Xmx1024M -cp StartBattle.jar mapcampaign.MapCampaign
and success! It is up and running. I will have to play around with it for a while and will see what I discover. At first glance I can see that it is a work in progress, but I do like the map and the player icon. Looks nice. The map window is fairly small on my screen. I assume matches are played on the full screen battlefield.

-
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: Shandalar Clone
by Chris H. » 07 Sep 2010, 14:37
I wandered the map for awhile and came across an encounter with the General. It was a one game match and I won using the black deck. It was fun. I won a booster of cards. The game failed to go back to and open the map window. There were no open windows so I quit the game using the file menu.
-
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: Shandalar Clone
by Bog Wraith » 07 Sep 2010, 16:13
Thanks go to Chris & Dennis for giving me the proper Terminal input to get the game going on my Mac. Thanks!
Ok, first off I had to navigate the map via letters on my keyboard as my direction arrows failed to move my wizard:
D = Move Right
C = Diagonal Left Down
X = Down
Z = Diagonal Right Down
A = Left
Q = Diagonal Left Up
W = Up
E = Diagonal Right Up
I built a quick black deck, got into a duel after traveling a very short distance, won my duel & a booster. Also got bonus $ for defeating a vampire & made altogether a nice sum of $$!
Like Chris, the game failed to go back to the map screen, so I quit the game, restarted it and now I'm at Level 6 with $3384 gold and 11200 XP's.
I love the way the map looks and the way night turns into day.
One question, I didn't have any images for the 2 creatures that I started the duels with. Is there any jpg images for them and what should their file names be?
Dennis, this project is outstanding and it's potential is extremely exciting! Thank you for giving us this to add to an already wonderful game that is Forge!
------------------------------------------
Edit
After walking around a bit after restarting game. I came on the Moor. Just as I was entering I got jumped by a mean 'ole dragon! As we were about to duel the game crashed:
For input string: "Test"
Version:
Forge -- official beta: $Date: 2010-05-01 02:21:42 -0500 (Sat, 01 May 2010) $, SVN revision: $Revision: 916 $
OS: Mac OS X Version: 10.6.4 Architecture: x86_64
Java Version: 1.6.0_20 Vendor: Apple Inc.
Detailed error trace:
java.lang.NumberFormatException: For input string: "Test"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:449)
at java.lang.Integer.valueOf(Integer.java:554)
at forge.StartBattle.main(StartBattle.java:127)
After restarting, I walked towards the Black Castle. It asked me if I wanted to start this quest as it is repeatable. I answered yes, the game crashed and gave this error report:
DeckIO : findDeckIndex() error, deck name not found - questTest
Version:
Forge -- official beta: $Date: 2010-05-01 02:21:42 -0500 (Sat, 01 May 2010) $, SVN revision: $Revision: 916 $
OS: Mac OS X Version: 10.6.4 Architecture: x86_64
Java Version: 1.6.0_20 Vendor: Apple Inc.
Detailed error trace:
java.lang.RuntimeException: DeckIO : findDeckIndex() error, deck name not found - questTest
at forge.NewDeckIO.findDeckIndex(NewDeckIO.java:135)
at forge.NewDeckIO.readDeck(NewDeckIO.java:127)
at forge.Adventure_QuestData.ai_getDeckNewFormat(Adventure_QuestData.java:303)
at forge.StartBattle.main(StartBattle.java:114)
A good thing I see is that every time I restart the map after a crash, the game remembers exactly where I was and all my stats remain the same!
I restarted and tried to enter the castle again & the game crashed again.

Ok, first off I had to navigate the map via letters on my keyboard as my direction arrows failed to move my wizard:
D = Move Right
C = Diagonal Left Down
X = Down
Z = Diagonal Right Down
A = Left
Q = Diagonal Left Up
W = Up
E = Diagonal Right Up
I built a quick black deck, got into a duel after traveling a very short distance, won my duel & a booster. Also got bonus $ for defeating a vampire & made altogether a nice sum of $$!
Like Chris, the game failed to go back to the map screen, so I quit the game, restarted it and now I'm at Level 6 with $3384 gold and 11200 XP's.
I love the way the map looks and the way night turns into day.
One question, I didn't have any images for the 2 creatures that I started the duels with. Is there any jpg images for them and what should their file names be?
Dennis, this project is outstanding and it's potential is extremely exciting! Thank you for giving us this to add to an already wonderful game that is Forge!

------------------------------------------
Edit
After walking around a bit after restarting game. I came on the Moor. Just as I was entering I got jumped by a mean 'ole dragon! As we were about to duel the game crashed:
For input string: "Test"
Version:
Forge -- official beta: $Date: 2010-05-01 02:21:42 -0500 (Sat, 01 May 2010) $, SVN revision: $Revision: 916 $
OS: Mac OS X Version: 10.6.4 Architecture: x86_64
Java Version: 1.6.0_20 Vendor: Apple Inc.
Detailed error trace:
java.lang.NumberFormatException: For input string: "Test"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:449)
at java.lang.Integer.valueOf(Integer.java:554)
at forge.StartBattle.main(StartBattle.java:127)
After restarting, I walked towards the Black Castle. It asked me if I wanted to start this quest as it is repeatable. I answered yes, the game crashed and gave this error report:
DeckIO : findDeckIndex() error, deck name not found - questTest
Version:
Forge -- official beta: $Date: 2010-05-01 02:21:42 -0500 (Sat, 01 May 2010) $, SVN revision: $Revision: 916 $
OS: Mac OS X Version: 10.6.4 Architecture: x86_64
Java Version: 1.6.0_20 Vendor: Apple Inc.
Detailed error trace:
java.lang.RuntimeException: DeckIO : findDeckIndex() error, deck name not found - questTest
at forge.NewDeckIO.findDeckIndex(NewDeckIO.java:135)
at forge.NewDeckIO.readDeck(NewDeckIO.java:127)
at forge.Adventure_QuestData.ai_getDeckNewFormat(Adventure_QuestData.java:303)
at forge.StartBattle.main(StartBattle.java:114)
A good thing I see is that every time I restart the map after a crash, the game remembers exactly where I was and all my stats remain the same!
I restarted and tried to enter the castle again & the game crashed again.
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
-
Bog Wraith - Global Mod 1 (Ret)
- Posts: 1108
- Joined: 28 May 2008, 22:40
- Location: Shandalar
- Has thanked: 425 times
- Been thanked: 153 times
Re: Shandalar Clone
by Rob Cashwalker » 07 Sep 2010, 18:27
It seems like this package contains Dennis' personal quest. His current monoblack deck, his 2200 card cardpool, bazaar upgrades, etc. (makes sense, since he just zipped it all up for demonstration) Is it possible to start a fresh quest? (just delete the questdata or something?)
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
Who is online
Users browsing this forum: No registered users and 15 guests