It is currently 29 Apr 2024, 15:59
   
Text Size

Mac OS X version available

A version of WOTC's game by telengard

Moderators: telengard, CCGHQ Admins

Mac OS X version available

Postby telengard » 07 Jun 2009, 20:55

Mac OS X (Intel) is now supported and will be from this point on. If you have a PowerPC Mac let me know and I could possibly look into doing a universal binary.

Also, not too long ago I added support for native Windows. There is now no longer a need for the Cygwin environment.

~telengard
Author of Dreamblade:
viewtopic.php?f=51&t=1215
User avatar
telengard
DEVELOPER
 
Posts: 379
Joined: 23 May 2009, 23:04
Has thanked: 2 times
Been thanked: 27 times

Re: Mac OS X version available

Postby Chris H. » 07 Jun 2009, 21:18

telengard wrote:Mac OS X is now supported and will be from this point on.

Also, not too long ago I added support for native Windows. There is now no longer a need for the Cygwin environment.

~telengard
Wow, excellent. Thank you. :D

I will download and try it on for size.
User avatar
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: Mac OS X version available

Postby telengard » 07 Jun 2009, 23:28

Chris H. wrote:
telengard wrote:Mac OS X is now supported and will be from this point on.

Also, not too long ago I added support for native Windows. There is now no longer a need for the Cygwin environment.

~telengard
Wow, excellent. Thank you. :D

I will download and try it on for size.
Great, please let me know how it worked for you. I'd love to get some feedback on it (other than the obvious that it could use an alternative interface). :)

~telengard
Author of Dreamblade:
viewtopic.php?f=51&t=1215
User avatar
telengard
DEVELOPER
 
Posts: 379
Joined: 23 May 2009, 23:04
Has thanked: 2 times
Been thanked: 27 times

Re: Mac OS X version available

Postby Chris H. » 08 Jun 2009, 00:39

telengard wrote:Great, please let me know how it worked for you. I'd love to get some feedback on it (other than the obvious that it could use an alternative interface). :)

~telengard
When I uncompress the archive I get a file named "dreamblade-osx" which is listed as a "Unix Executable File(Intel) by the Mac OS Finder.

When I double click on this file the Terminal file will open in a 100x48 window which contains the following text:

Code: Select all
Last login: Sun Jun  7 17:23:07 on ttys000
max1ka-19:~ chrish******$ /Users/chrish******/Desktop/Dreamblade/dreamblade-osx/dreamblade-osx ; exit;

!! Missing warband filename!

/Users/chrish******/Desktop/Dreamblade/dreamblade-osx/dreamblade-osx <args>

Arguments:

    -s <filename>: Set silver player reserves
    -g <filename>: Set gold player reserves
    -S <name>:     Set silver player name.  Default name is Silver
    -G <name>:     Set gold player name.  Default name is Gold
    -i <type>:     Set Silver player to be AI, <type> is ( 1-4 )
    -I <type>:     Set Gold player to be AI, <type> is ( 1-4 )
    -m <depth>:    Max phase depth to use for AI.  Default is 2
    -M <depth>:    Max tree depth to use for AI.  Default is 6
    -W <num>       Use aspiration window for AI searches.  Default is 0
    -v:            Pause w/ confirmation when multiple events happen in a row
    -z:            Pause at end of the game
    -u:            Do not show UI
    -y <ms>:       Wait <ms> between every event when not pausing
    -n <num>:      Use specified number for random seed
    -h <height>:   Set board cell height.  Default height is 6
    -w <width>:    Set board cell width. Default width is 13
    -a <height>:   Set height of actions area. Default height is 6
    -d <flags>:    Set debug printing flags.  Default flags are  0
    -l <file>:     Log debug printing to a <file>.  Default filename is log.output
    -V:            Show version
    -H:            Show this message

logout

[Process completed]

It looks like I need to examine the README file in more depth. I may be able to figure out how to provide the required arguments. I admit that I have little experience in executing terminal commands.

This reminds me a wee bit of my old college days. We typed in our code on a punch card machine and we had to include a few cards with this arcane looking JBL type code to get everything to work. :roll: :lol:
User avatar
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: Mac OS X version available

Postby telengard » 08 Jun 2009, 01:05

Chris H. wrote:
telengard wrote:Great, please let me know how it worked for you. I'd love to get some feedback on it (other than the obvious that it could use an alternative interface). :)

~telengard
When I uncompress the archive I get a file named "dreamblade-osx" which is listed as a "Unix Executable File(Intel) by the Mac OS Finder.

When I double click on this file the Terminal file will open in a 100x48 window which contains the following text:

Code: Select all
Last login: Sun Jun  7 17:23:07 on ttys000
max1ka-19:~ chrish******$ /Users/chrish******/Desktop/Dreamblade/dreamblade-osx/dreamblade-osx ; exit;

!! Missing warband filename!

/Users/chrish******/Desktop/Dreamblade/dreamblade-osx/dreamblade-osx <args>

Arguments:

    -s <filename>: Set silver player reserves
    -g <filename>: Set gold player reserves
    -S <name>:     Set silver player name.  Default name is Silver
    -G <name>:     Set gold player name.  Default name is Gold
    -i <type>:     Set Silver player to be AI, <type> is ( 1-4 )
    -I <type>:     Set Gold player to be AI, <type> is ( 1-4 )
    -m <depth>:    Max phase depth to use for AI.  Default is 2
    -M <depth>:    Max tree depth to use for AI.  Default is 6
    -W <num>       Use aspiration window for AI searches.  Default is 0
    -v:            Pause w/ confirmation when multiple events happen in a row
    -z:            Pause at end of the game
    -u:            Do not show UI
    -y <ms>:       Wait <ms> between every event when not pausing
    -n <num>:      Use specified number for random seed
    -h <height>:   Set board cell height.  Default height is 6
    -w <width>:    Set board cell width. Default width is 13
    -a <height>:   Set height of actions area. Default height is 6
    -d <flags>:    Set debug printing flags.  Default flags are  0
    -l <file>:     Log debug printing to a <file>.  Default filename is log.output
    -V:            Show version
    -H:            Show this message

logout

[Process completed]

It looks like I need to examine the README file in more depth. I may be able to figure out how to provide the required arguments. I admit that I have little experience in executing terminal commands.

This reminds me a wee bit of my old college days. We typed in our code on a punch card machine and we had to include a few cards with this arcane looking JBL type code to get everything to work. :roll: :lol:
I can get your started with the basics, but yep the README explains this in depth a little bit more.

The way to run under OS X would be to launch Terminal.app and then go to where you unpacked dreamblade. A good starter is something like this:

./dreamblade-osx -v -i 4 -s warbands/example.txt -g warbands/example.txt

This will have you playing against an AI both using the same warband. The -v is so that you can see all the events printed out as they happen w/ confirmation (that's how I play).

The next step after this would be to use a different warband or create your own. And if you have a fast enough computer start bumping up the AI depth. :)

hehe yeah it's a little arcane, but hopefully not as bad as punch cards. :) ;)

~telengard
Author of Dreamblade:
viewtopic.php?f=51&t=1215
User avatar
telengard
DEVELOPER
 
Posts: 379
Joined: 23 May 2009, 23:04
Has thanked: 2 times
Been thanked: 27 times

Re: Mac OS X version available

Postby Chris H. » 08 Jun 2009, 02:01

Thank you for the starter, it and the help system for the terminal app should get headed in the right direction.
User avatar
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


Return to Dreamblade

Who is online

Users browsing this forum: No registered users and 16 guests


Who is online

In total there are 16 users online :: 0 registered, 0 hidden and 16 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 16 guests

Login Form