|
|
|
 |
|

June 26th, 2007, 11:36 PM
|
Corporal
|
|
Join Date: Jan 2004
Location: Wilmington, Delaware, USA
Posts: 191
Thanks: 1
Thanked 13 Times in 2 Posts
|
|
Re: Catgod pretender viewer now for Windows!
Arralen,
I found a working syntax for XP's command "shell":
catgod c:"\Program Files\PuTTY"\*.2h
It's *extremely* picky about where the quote marks go. It looks like the first one must go after the disk id, and the ending one must preceed a backslash delimiter. Note that
catgod c:"\Program Files"\PuTTY\*.2h
also works. I hope this is standard for all the versions of Windohs.
__________________
No plan survives contact with the enemy.
--Helmut von Moltke
Have too may pretender files to keep track of? Use catgod to view them.
|

June 27th, 2007, 04:14 AM
|
 |
National Security Advisor
|
|
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
|
|
Re: Catgod pretender viewer now for Windows!
Oh, cool. I tried something close to that, but it didn't work - as you say, very picky, and the MS docs I found that mentioned the situation didn't explain that.
|

June 27th, 2007, 05:45 AM
|
 |
Major General
|
|
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
|
|
Re: Catgod pretender viewer now for Windows!
Windoze sucks ..
AFAIK, Tcl/Tk is using Win API functions to get me the path the user selects.
I simple store that path and feed it back to the same API .. and it breaks ..
Guess I'll have to implement the workaround: cut off the drive letter, insert quote marks, put it back together .. did I says Windoze sucks? 
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
|

June 27th, 2007, 11:04 AM
|
Corporal
|
|
Join Date: Jan 2004
Location: Wilmington, Delaware, USA
Posts: 191
Thanks: 1
Thanked 13 Times in 2 Posts
|
|
Re: Catgod pretender viewer now for Windows!
Quote:
PvK said:
the MS docs I found that mentioned the situation didn't explain that.
|
I think it's a bug. If the quote marks appear before the disk ID, the shell interprets the entire commandline as tho it was in quotes, regardless of the location of closing quote marks. I was testing the Windohs catgod, and found that playing with the quote marks changed the error from "invalid argument" to "file not found", which suggested a misparse somewhere.
__________________
No plan survives contact with the enemy.
--Helmut von Moltke
Have too may pretender files to keep track of? Use catgod to view them.
|

June 27th, 2007, 12:11 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Catgod pretender viewer now for Windows!
Excellent hacking on that. I hope we can make use of it to fix the problem. But in any case that was a sweet find.
__________________
-- 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!)
|

October 15th, 2009, 07:15 AM
|
Corporal
|
|
Join Date: Jun 2009
Posts: 82
Thanks: 26
Thanked 2 Times in 1 Post
|
|
Re: Catgod pretender viewer now for Windows!
Er, I was directed here from a friendly post on the main forums, and I cannot understand anything anybody said in this thread, and I read it ALL. Are you saying it works in windows or it doesnt? Sorry for being so dense, I can't program my dishwasher. And thank you so much for your time and effort you all put into this.
|

October 15th, 2009, 11:20 AM
|
 |
Major General
|
|
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
|
|
Re: Catgod pretender viewer now for Windows!
Quote:
Originally Posted by happygeek
Are you saying it works in windows or it doesnt?
|
It works, unless you have installed Dominions into a folder with a blank in some folder name.
E.g:
C:\program files\games\dominions3 does not work,
C:\programs\games\dominions3 does work
Actually, I would recommend not to install Dominions into a subfolder of c:\program files\, anyway. Better set up a second drive (letter) and install to d:\games\dominions3 or something like that. c: is the system drive and should only be used as such! (esp. true with Fista)
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
|

October 15th, 2009, 11:38 AM
|
BANNED USER
|
|
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
|
|
Re: Catgod pretender viewer now for Windows!
It probably would still work if you had a space, so long as you use the 8.3 nomenclature.
Ie., C:\progra~1\dominions3...
rather than
C:\program files\dominions3...
8.3 is usually 6of the name + ~#, but you can find it with dir /x if I remember.
|

October 15th, 2009, 12:04 PM
|
 |
Major General
|
|
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
|
|
Re: Catgod pretender viewer now for Windows!
catgod could work this way, at least with Win2K/XP, not sure 'bout Fista/7, though.
CatgodGUI would not, simply because there's no (easy) way to use the 8.3 notation: I get the complete folder path from the windoze API, and feed it back ... normally, there shouldn't be any need for tinkering with the path name.
There is a way to do that, but only for those who can program their dishwashers: after configuring the dominions directory, open the application.ini (which is in the folder where you ran CatgodGUI from), and change the path names.
DO NOT use the configuration button afterwards, though!
I haven't tested that, though, so it or might not work !!!
PS: Thanks for bringing this up again - I completly forgot I wanted to do a "workaround" version of CatgodGUI that works with all path names !!!
I'll have a look into it, but don't expect any results too soon !
|

October 15th, 2009, 01:52 PM
|
 |
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: Catgod pretender viewer now for Windows!
Is there any need for an updated version for 3.23? I don't remember what the last version was that Evil Dave uploaded, but he sent me the source code to compile it, so I could make new versions if anything changed in the latest patches.
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|