Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
4 registered members (AndrewAMD, Quad, soulman3, Ayumi), 675 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
publish command line question #125994
04/24/07 08:15
04/24/07 08:15
Joined: Dec 2004
Posts: 237
H
Hani Offline OP
Member
Hani  Offline OP
Member
H

Joined: Dec 2004
Posts: 237
Quote:

Executes the Publish function. The script name.wdl must exist in the current folder




i've tried to run a batch file that do the publish,it never work with the script file name..

i've tried this
"c:\program files\GStudio6\WED.exe" -p testLevel2.wdl "E:\Games Projects\TestingA6SDK 2\Level\DelphiTestPro.exe"

and this

"c:\program files\GStudio6\WED.exe" -p "E:\Games Projects\TestingA6SDK 2\Level\testLevel2.wdl" "E:\Games Projects\TestingA6SDK 2\Level\DelphiTestPro.exe"

nothing happen, no error mesages, but the publish process nerver start.

if i removed the script file name, the publish work just fine, and a new DLL is generated.

so , am i doing something worg?


The deference between madness and geniuses is success
Re: publish command line question [Re: Hani] #125995
04/24/07 09:15
04/24/07 09:15
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
I suppose your scripts are just not found because you're calling WED from a folder that is not the work folder of your project.

Make sure that you move to your work folder before calling the publish process.

Re: publish command line question [Re: jcl] #125996
04/24/07 09:57
04/24/07 09:57
Joined: Dec 2004
Posts: 237
H
Hani Offline OP
Member
Hani  Offline OP
Member
H

Joined: Dec 2004
Posts: 237
Quote:

you're calling WED from a folder that is not the work folder of your project




do you mean that the batch file is in another folder, not the project folder ?
casue the location of my batch file is
E:\Games Projects\TestingA6SDK 2\Level

the same folder where i created the leve


The deference between madness and geniuses is success
Re: publish command line question [Re: Hani] #125997
04/24/07 10:51
04/24/07 10:51
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
No, it does not matter in which folder your batch file is located. It's the folder from which you call that batch file that matters.

F.i. if you call it from a shortcut, it's the "Execute In" folder.

If you call it from the command line prompt, it's the folder that's indicated before the prompt. You can change the folder with the CD command.

Alternatively, you can also call the CD command from your batch file.

Re: publish command line question [Re: jcl] #125998
04/24/07 14:56
04/24/07 14:56
Joined: Dec 2004
Posts: 237
H
Hani Offline OP
Member
Hani  Offline OP
Member
H

Joined: Dec 2004
Posts: 237
i did what ou told me, the same..
if i add the WDL file name , No publish ...
her is a screen shot of the CMD




The deference between madness and geniuses is success
Re: publish command line question [Re: Hani] #125999
04/24/07 23:49
04/24/07 23:49
Joined: Dec 2003
Posts: 521
LazyDog Offline
User
LazyDog  Offline
User

Joined: Dec 2003
Posts: 521
I ran into this issue a while back. There's an issue with publishing your .exe when a .wdl file is required also.

say your project is here:
E:\Games Projects\TestingA6SDK 2\Level

make sure that your .wdl file and your delphi .exe are in that directory and make sure your .bat file is there also.

here is my .bat file example to publish (change the path of wed to match yours and change the .wdl and .exe to match yours):
"c:\program files\GStudio6_6_50_6\WED" -p sample6.wdl sample6.exe

this works perfectly. I believe I gave up trying to have the .wdl and .exe files not be in the same directory.


www.LazyDogSoftware.com
Delphi SDK Homepage

A7 Pro 780
Delphi 5 through 2010
Re: publish command line question [Re: LazyDog] #126000
04/25/07 09:04
04/25/07 09:04
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
I can have the EXE in a different folder (in fact it's almost always in a different folder). But the WDL must indeed be in the current folder - otherwise all the additional files are not found.

Re: publish command line question [Re: jcl] #126001
04/26/07 07:20
04/26/07 07:20
Joined: Dec 2004
Posts: 237
H
Hani Offline OP
Member
Hani  Offline OP
Member
H

Joined: Dec 2004
Posts: 237
ok, i just want to know, the publish command line, launchs the hole publish process that we see in WED or just created and Updated acknex.DLL ??


The deference between madness and geniuses is success
Re: publish command line question [Re: Hani] #126002
04/26/07 08:11
04/26/07 08:11
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
It runs the whole publish process.


Moderated by  old_bill, Tobias 

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