http://springrts.com/mantis/bug_view_ad ... =1#history
Please, somebody, fix this bug. It's not a sexy bug, but it's a very important one. 99% of Spring installs under Windows are to C:/Program Files/Spring/, so the issue with spaces is very non-trivial.
The potential uses for Spring.Restart are waaaaay too important (savegames are just scratching the surface) for this to not "just work" regardless of OS.
Mantis 1764
Moderator: Moderators
Mantis 1764
Last edited by Argh on 15 Jan 2010, 16:45, edited 1 time in total.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Mantis 1764
Only happens on windows thought. Have tried some stuff, but none of it helped.
Re: Mantis 1764
Yeah, I know it's just Windows.
Have you tried just using a simple OS commandline start to the engine using the explicit path to the executable? I.E., fire up CMD, and use good ol' DOS:
cd/..path
spring.exe script.txt
I have tested that, and it works over here just fine. Hell, I'd just do that, if we hadn't removed os.execute from the Lua arsenal (not that that makes me want to put it back in).
Have you tried just using a simple OS commandline start to the engine using the explicit path to the executable? I.E., fire up CMD, and use good ol' DOS:
cd/..path
spring.exe script.txt
I have tested that, and it works over here just fine. Hell, I'd just do that, if we hadn't removed os.execute from the Lua arsenal (not that that makes me want to put it back in).
Last edited by Argh on 15 Jan 2010, 16:49, edited 1 time in total.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Mantis 1764
I tried all of them.Argh wrote:Have you tried just using a simple OS commandline start to the engine using the explicit path to the executable?

Re: Mantis 1764
Really?
That's bizarre. Is it maybe a security issue? Does Spring not satisfy some requirement of modern Windows, in terms of asking permission to do these sorts of things?
It just seems like such a weird place to run into such a basic problem, and this is kinda serious, in terms of install paths and the potential problems it will cause for end-users, if that feature won't work unless they change their installation directory...
That's bizarre. Is it maybe a security issue? Does Spring not satisfy some requirement of modern Windows, in terms of asking permission to do these sorts of things?
It just seems like such a weird place to run into such a basic problem, and this is kinda serious, in terms of install paths and the potential problems it will cause for end-users, if that feature won't work unless they change their installation directory...
Re: Mantis 1764
I found these two articles about these issues, maybe this will help:
http://www.rootkit.com/newsread.php?newsid=108
http://www.codeguru.com/csharp/csharp/c ... php/c8503/
...however, just about everything I'm reading says that UAC needs to go through the Security Song and Dance when Spring is installed for this stuff to work on most systems.
http://www.rootkit.com/newsread.php?newsid=108
http://www.codeguru.com/csharp/csharp/c ... php/c8503/
...however, just about everything I'm reading says that UAC needs to go through the Security Song and Dance when Spring is installed for this stuff to work on most systems.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Mantis 1764
I think I have fixed it now, at least it does work in wine (and no, the links you posted were totally irrelevant).
Re: Mantis 1764
Sorry, just trying to help. If it works in WINE, it will probably be fine. So, what was wrong?
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Mantis 1764
Windows acting retarded.Argh wrote:So, what was wrong?
Re: Mantis 1764
Big surprise there. I'll test when it's up.
Re: Mantis 1764
Works! Thanks for taking another look at this!