Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - hkeeble

#1
Development / Issues Running on Windows 8
March 19, 2015, 06:22:06 PM
Hi all,

I'm having some issues running a quest via the command line in Windows 8. As I understand it, the Solarus executable simply takes an argument pointing to the root directory (where the data folder can be found) of a quest in order to run. Therefore, from any directory, I assumed the following would work:

C:\Users\user> <Path/To/Solarus/Executable> <Path/To/Quest/Folder>

However in Windows 8, this seems to do nothing (there is not output). The same thing seems to happen if I change to the solarus executable directory, and then run:

C:\Users\user\Desktop\Solarus\solarus> solarus.exe <Path/To/Quest/Folder>

The only way I can get the quest to run is by putting the quest in the same directory has the executable and running:

C:\Users\user\Desktop\Solarus\solarus> solarus.exe .

I want to be able to run Solarus via an external program, which itself launches a cmd instance and passes in the Solarus path followed by a quest path. The only other option that would work would be to run the Solarus executable directly and not through a cmd, passing in the quest path. However as I explained above, the quest will only run when both executable and quest are in the same folder. Is there something I'm missing here?