.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old June 27th, 2008, 12:18 PM

Omnirizon Omnirizon is offline
BANNED USER
 
Join Date: Dec 2007
Location: Illinois
Posts: 1,133
Thanks: 25
Thanked 59 Times in 36 Posts
Omnirizon is on a distinguished road
Default improbably impossible randomness

I've heard it talked about (I thought) of people checking some file that records all the rolls and how the AI makes its choices and things like that.

I'd really like to see that file; is there a way to do it?
Reply With Quote
  #2  
Old June 27th, 2008, 12:26 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: improbably impossible randomness

Activate Dom3 using the -dd switch (add more d to get more detail) and then read the log file.
Reply With Quote
  #3  
Old June 27th, 2008, 12:41 PM

Omnirizon Omnirizon is offline
BANNED USER
 
Join Date: Dec 2007
Location: Illinois
Posts: 1,133
Thanks: 25
Thanked 59 Times in 36 Posts
Omnirizon is on a distinguished road
Default Re: improbably impossible randomness

I don't understand. I typically activate Dom3 by clicking on it. I found a "Dom3config" file, but if I open with a text editor its just gibberish.

how do I activate Dom3 with the -dd switch?
Note: I'm on a Mac, which I know very little about. If I were on my PC, would I open it from a command line? I'm not sure how to do that on a Mac.
Reply With Quote
  #4  
Old June 27th, 2008, 12:45 PM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: improbably impossible randomness

Not sure how the Mac works. It's Unix based, so you should be able to get a command prompt (shell). If you can 'dom3 -dd' should work.

If not, the usual Windows approach is to right click the icon to edit Properties and add the -dd there. Something similar may work on the Mac?
Reply With Quote
  #5  
Old June 27th, 2008, 12:55 PM

Omnirizon Omnirizon is offline
BANNED USER
 
Join Date: Dec 2007
Location: Illinois
Posts: 1,133
Thanks: 25
Thanked 59 Times in 36 Posts
Omnirizon is on a distinguished road
Default Re: improbably impossible randomness

no right click on a this mac :/
and I try holding down that special key and clicking, and still no dice.

i'm reading up on the terminal right now; but I'm having to learn whole new set of commands. it sucks. I've been PC for all my life.
Reply With Quote
  #6  
Old June 27th, 2008, 01:17 PM

Omnirizon Omnirizon is offline
BANNED USER
 
Join Date: Dec 2007
Location: Illinois
Posts: 1,133
Thanks: 25
Thanked 59 Times in 36 Posts
Omnirizon is on a distinguished road
Default Re: improbably impossible randomness

hmm...

I've managed to launch Dom3 from the UNIX terminal. If I add the -dd switch, it won't launch though (it will say "no such file")

I've also managed to open the Dom3 application options in the GUI and add the -dd swtich there. However, this turns the app into a folder (which I can then browse!) but I still can't manage to get it to launch with that command line switch.

any help?
Reply With Quote
  #7  
Old June 27th, 2008, 01:25 PM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: improbably impossible randomness

I believe the mac terminal is very similar to the linux terminal (being also based on unix). So here's how I do it:

First go to the dominions directory. For me that's:
cd ~/dominions3

For you maybe something like:
cd ~/Applications/dominions3
or something, I have no idea really. Anyway, it sounds like you've already found it.

Then, once in the Dominions directory, type:
./dom3 -dd

That should work I think. It does for me.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #8  
Old June 27th, 2008, 01:37 PM

Omnirizon Omnirizon is offline
BANNED USER
 
Join Date: Dec 2007
Location: Illinois
Posts: 1,133
Thanks: 25
Thanked 59 Times in 36 Posts
Omnirizon is on a distinguished road
Default Re: improbably impossible randomness

got it!

open dominions3.app/contents/macos/dominions3 -dd

the farking dominions3.app is actually a folder that does something magical when you click on it to launch the game. if you want to use command line switches, the actual executable is deeper in the folder, and becomes confused by trying to use them at the magical dominions.app folder level

that's my explanation and i'm stickin with it. magic.

at any rate, i fixed it. now to read the stupid log file.
Reply With Quote
  #9  
Old June 27th, 2008, 01:39 PM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: improbably impossible randomness

Wow, I didn't know it would be so deeply hidden on the mac.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #10  
Old June 27th, 2008, 03:30 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: improbably impossible randomness

Im usually preaching the love of the log file.

Actually its a "debug" file for Johan, so dont expect it to be TOO clear about what its telling you.

Even with that, I find it very interesting to read.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:11 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.