Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Imhotep, opm), 785 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Zorro command line issues #451779
05/20/15 18:52
05/20/15 18:52
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi jcl. In testing Zorro's command line features over the weekend I came up with these issues / potential misunderstandings / enhancement request:

a) The 2nd example in the manual appears incorrect - doesn't the script name need to be at the end? I couldn't get it to work placing the script name after -run when a further option was used.

b) For Zorro S users, all the examples are incorrect? On my test system, Zorro does not start in S mode unless it's started in the Zorro folder - either by 1st cd to that folder (command line or Explorer), via using a shortcut with the Zorro folder specified as Start in, or via the start command with the /d parameter...

c) The -d switch does not appear to accept a value for the name - is this correct? If so, can this enhancement be made; or more generally just allow the entire #define statement to be passed?

Thanks.

Re: Zorro command line issues [Re: DdlV] #451815
05/22/15 08:54
05/22/15 08:54
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
The order of options does not matter, and the script name needs not be at the end - it can be anywhere as to my knowledge.

And of course the examples are no different for Zorro S. I'm not sure why you got problems, but when experimenting with the command line, check that you start the right Zorro if you have different versions installed.

Re: Zorro command line issues [Re: jcl] #451823
05/22/15 13:17
05/22/15 13:17
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks jcl.

a) I can't reproduce the problem I was having, so I guess for now we'll call this another late night user error. frown

b) I have only 1 Zorro install on the test machine. If I "cd \" and then "\my program files (x86)\zorro\zorro" I do not get S. If I "cd \my program files (x86)\zorro" and then "zorro" I get S.

c) Can -d pass a value as well as the name? Or perhaps an entire #define string?

Thanks.

Re: Zorro command line issues [Re: DdlV] #451887
05/25/15 09:47
05/25/15 09:47
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
When starting Zorro from a command shell, make sure that the current directory is the Zorro folder, otherwise it can not access certain files in that folder, such as your S registration. -d creates a name definition, not a value. For numeric data or for passing more information to the script, use an .ini file.

Re: Zorro command line issues [Re: jcl] #451896
05/25/15 13:08
05/25/15 13:08
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks jcl.

Re. Zorro folder, I'm not sure what you mean by "can not access". There is no permission problem - Zorro just appears to be looking for these files in the current folder rather than in (or relative to) the folder where the program resides.

Re. -d, can it be enhanced to pass value also? Or the entire #define?

Re. .ini, you mean a .ini of my/our own creation, correct? Not Z.ini?

Thanks.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1