Log in

View Full Version : improbably impossible randomness


Omnirizon
June 27th, 2008, 12:18 PM
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?

Edi
June 27th, 2008, 12:26 PM
Activate Dom3 using the -dd switch (add more d to get more detail) and then read the log file.

Omnirizon
June 27th, 2008, 12:41 PM
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.

thejeff
June 27th, 2008, 12:45 PM
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?

Omnirizon
June 27th, 2008, 12:55 PM
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.

Omnirizon
June 27th, 2008, 01:17 PM
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?

llamabeast
June 27th, 2008, 01:25 PM
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.

Omnirizon
June 27th, 2008, 01:37 PM
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.

llamabeast
June 27th, 2008, 01:39 PM
Wow, I didn't know it would be so deeply hidden on the mac.

Gandalf Parker
June 27th, 2008, 03:30 PM
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. http://forum.shrapnelgames.com/images/smilies/happy.gif

Omnirizon
June 27th, 2008, 03:44 PM
well, I had something occur that has something like a 5% chance of happening. I just wanted to see what was going on in the background.

there's alot of greek to me, and I can't find everything I wanted to see; but it was helpful.

djo
June 27th, 2008, 06:41 PM
Macs wrap up their applications in "packages" that are really folders, so yes, you've got it exactly right. The folder structure is highly controlled, so the OS knows exactly where to look for the actual executable (which you've found) and its other files. The easy way to see inside from the Finder is to right-click (or control-click on a one-button system) and choose "show package contents" from the pop-up menu.

Back in the old Dominions 2 days, you had to get in there to install maps and mods, but fortunately, now you don't have to.

There are a number of us Mac users on the forums if you have any other Mac-related questions.

lch
June 27th, 2008, 07:02 PM
Omnirizon said:
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.


That's how all the Mac apps work. The game is an icon is a folder that contains all. Mortals shall not see a difference.

Lingchih
June 27th, 2008, 10:34 PM
llamabeast said:
Wow, I didn't know it would be so deeply hidden on the mac.



Everything is deeply hidden on the mac. http://forum.shrapnelgames.com/images/smilies/cool.gif

Agrajag
June 28th, 2008, 12:18 PM
Omnirizon said:
well, I had something occur that has something like a 5% chance of happening.


5% is hardly "Improbably impossible"

Tyrant
June 28th, 2008, 02:09 PM
Lingchih said:

llamabeast said:
Wow, I didn't know it would be so deeply hidden on the mac.



Everything is deeply hidden on the mac. http://forum.shrapnelgames.com/images/smilies/cool.gif



This is because Macs ordinarily communicate via direct telepathy to the highly evolved brains of the vastly superior people who use them. Some biologists are now proposing that these godlike beings be officially designated as a new human species, homo sapien superior.

I wish i was good enough to own a Mac (http://marketplace.publicradio.org/display/web/2008/04/23/mac_users/)

Omnirizon
June 28th, 2008, 02:22 PM
djo said:
Macs wrap up their applications in "packages" that are really folders, so yes, you've got it exactly right. The folder structure is highly controlled, so the OS knows exactly where to look for the actual executable (which you've found) and its other files. The easy way to see inside from the Finder is to right-click (or control-click on a one-button system) and choose "show package contents" from the pop-up menu.




So Macs are <font color="red">commies</font>.

I shoulda known.

http://forum.shrapnelgames.com/images/smilies/happy.gif

djo
June 28th, 2008, 04:43 PM
Omnirizon said:So Macs are <font color="red">commies</font>.



Are you questioning the Word of our Fearless Leader, Stefan Jobsczek?