Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Problem/Guide: How to open manually a replay from local disk?

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
1/10/2014 3:47:22 PMEErankAdminAnarchid before revert after revert
1/10/2014 3:41:00 PMEErankAdminAnarchid before revert after revert
1/10/2014 3:39:06 PMEErankAdminAnarchid before revert after revert
1/10/2014 3:38:24 PMEErankAdminAnarchid before revert after revert
1/10/2014 3:38:05 PMEErankAdminAnarchid before revert after revert
Before After
1 [quote] what should happen now is that spring/(or zkl?) loads the replay. also, no ZKL must be running at this point.[/quote] 1 [quote] what should happen now is that spring/(or zkl?) loads the replay. also, no ZKL must be running at this point.[/quote]
2 It should be spring launching directly. 2 It should be spring launching directly.
3 \n 3 \n
4 Here's the run-down of why it fails: 4 Here's the run-down of why it fails ( based on what @mojjj reported yesterday) :
5 1) ZKL specifies a content-directory for its own stuff somewhere on your hard drive. 5 1) ZKL specifies a content-directory for its own stuff somewhere on your hard drive.
6 2) It uses an environment variable (SPRING_DATADIR) to set this content-directory to some obscure folder (probably in mygames on windows?) so that the data can be reused between multiple engines. 6 2) It uses an environment variable (SPRING_DATADIR) to set this content-directory to some obscure folder (probably in mygames on windows?) so that the data can be reused between multiple engines.
7 3) When launched directly, Spring assumes that you're launching in portable mode, and assumes the SPRING_DATADIR to be equal to the directory where it is downloaded (in /engines/96.0/) 7 3) When launched directly, Spring assumes that you're launching in portable mode, and assumes the SPRING_DATADIR to be equal to the directory where it is downloaded (in /engines/96.0/)
8 \n 8 \n
9 Possible solutions: 9 Possible solutions:
10 1) (ugly) copy or symlink the relevant datadir subfolders to engine subfolders 10 1) (ugly) copy or symlink the relevant datadir subfolders to engine subfolders
11 2) (1337) instead of "spring.exe replay.sdf", use this: 11 2) (1337) instead of "spring.exe replay.sdf", use this:
12 [quote]SPRING_DATADIR="C:\path\to\zklobby\datadir" spring.exe path\to\replay.sdf[/quote] 12 [quote]SPRING_DATADIR="C:\path\to\zklobby\datadir" spring.exe path\to\replay.sdf[/quote]
13 If i'm not horribly mistaken, this should set the env variable so that spring can find your content. You can find or change the content-directory value somewhere in ZKL settings. 13 If i'm not horribly mistaken, this should set the env variable so that spring can find your content. You can find or change the content-directory value somewhere in ZKL settings.
14 \n 14 \n
15 More info: http://springrts.com/phpbb/viewtopic.php?f=12&t=30044 15 More info: http://springrts.com/phpbb/viewtopic.php?f=12&t=30044