Jump to content


Coding scripts in SSL: some lessons

31 replies to this topic

#31 Galactygon



  • Modders
  • 721 posts
  • Gender:Male
  • Location:Sweden

Posted Yesterday, 11:02 AM

When I try to compile ssl scripts from a .bat file run from the main game directory I am unable to specify a directory if ssl.exe is located somewhere else relative to the .bat file in the manner of:

LCTests/SSL/ssl.exe "LCTests/SSL/testactions.ssl LCTests/SSL/testssl.ssl -l LCTests/SSL/testlib.slb IsLich=True&CreType=Undead"

I get the message "LCTests is not recognized as an internal or external command"


I do manage to compile them if ssl.exe is located in the same folder as the .bat file and use the following instead.

ssl.exe "LCTests/SSL/testactions.ssl LCTests/SSL/testssl.ssl -l LCTests/SSL/testlib.slb IsLich=True&CreType=Undead"

Is this intentional or is it an oversight? I guess one could either COPY ssl.exe to the main (game) directory or generate the .bat file in the folder where ssl.exe is located.


EDIT: Using AT_NOW in the manner below works:

AT_NOW ~LCTests/SSL/ssl.exe "LCTests/SSL/testactions.ssl LCTests/SSL/testssl.ssl -l LCTests/SSL/testlib.slb IsLich=True&CreType=Undead"~

Edited by Galactygon, Yesterday, 08:25 PM.

Posted Image

Posted Image

#32 Wisp

  • Modders
  • 1081 posts
  • Gender:Male

Posted Yesterday, 11:28 PM

I would be entirely unsurprised if bat files only worked with backslashes.

Reply to this topic


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users