Mantis 1764

Mantis 1764

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Mantis 1764

Post by Argh »

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.
Last edited by Argh on 15 Jan 2010, 16:45, edited 1 time in total.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Mantis 1764

Post by Auswaschbar »

Only happens on windows thought. Have tried some stuff, but none of it helped.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Mantis 1764

Post by Argh »

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).
Last edited by Argh on 15 Jan 2010, 16:49, edited 1 time in total.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Mantis 1764

Post by Auswaschbar »

Argh wrote:Have you tried just using a simple OS commandline start to the engine using the explicit path to the executable?
I tried all of them. :(
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Mantis 1764

Post by Argh »

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...
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Mantis 1764

Post by Argh »

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.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Mantis 1764

Post by Auswaschbar »

I think I have fixed it now, at least it does work in wine (and no, the links you posted were totally irrelevant).
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Mantis 1764

Post by Argh »

Sorry, just trying to help. If it works in WINE, it will probably be fine. So, what was wrong?
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Mantis 1764

Post by Auswaschbar »

Argh wrote:So, what was wrong?
Windows acting retarded.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Mantis 1764

Post by Argh »

Big surprise there. I'll test when it's up.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Mantis 1764

Post by Argh »

Works! Thanks for taking another look at this!
Post Reply

Return to “Engine”