I'm using the 0.74b1 version of spring and I'm assuming to play spring, I'm needing the spring-gui to know what I'm doing? I may be wrong there, but this is the error message I got when I followed the directions from the sticky on setting up spring-gui
spring-gui == really old & unsupportted by this stage.
to work with spring the code for unitsync needs to be redone (due to changes to unitsync) & support for multiple datadirs
There is UnityLobby in svn, has higher requirements i.e gtk-2.10 & pygtk-2.10 will be main stumbling points. But it has lobby chat & soon will have multiplayer
You don't actually need to follow all those instructions to the letter. Let's say you have Spring (the Linux version) installed in /games/Spring/, and the Windows version in /wine/Spring/ (directory names are arbitrary). To get a multiplayer game going, simply do the following:
1) create a symlink from /wine/Spring/maps/ to /games/Spring/maps/ (move the contents of /wine/Spring/maps to /games/Spring/maps first, and then delete /wine/Spring/maps/)
2) create a symlink from /wine/Spring/mods/ to /games/Spring/mods/ (move the contents of /wine/Spring/mods to /games/Spring/mods first, and then delete /wine/Spring/mods/)
3) create a symlink from /games/Spring/script.txt to /wine/Spring/script.txt
4) delete /wine/Spring/spring.exe and create a new symlink from /wine/Spring/spring.exe to /games/Spring/spring
Then just type "wine TASClient.exe" from within /wine/Spring/ and you can use the lobby as you normally would, except that it now launches the native Spring binary so you get the best of both worlds.
(Most people run 0.74b2 BTW, so you may want to upgrade to that.)
sudo ln -s /home/shane/spring_0.74b1/game/spring /home/shane/.wine/drive_c/Program Files/Spring/spring.exe
ln: target `Files/Spring/spring.exe' is not a directory
Sorry for the abundance of questions..I appreciate your help!! I can't wait to get this going!
About there not being a script.txt in your wine directory: just place a dummy empty file there before creating the link, TASClient will overwrite it when you host or join a game anyway.
Regarding your second problem: ln doesn't like spaces in its arguments, do this instead:
I think I got it working! When I open TASclient, I am able to host a game and I was able to start a new game natively! I really appreciate your help on getting this setup.
Now, I have two simple questions and I'll leave you alone!!
1) To preserve this setup, I could burn the two folders (wine and native) to a cd and it'd work as long as I preserved the folder names or edited them. Correct?
2) To play a single player game, I'd host a game, lock it and add bots?
1) Yep. The only thing you'd have to update if you changed the directory names would be the symlinks.
2) Correct. Note that for singleplayer (or multiplayer involving bots), you have to create symlinks from /wine/Spring/AI/Bot-libs/*.dll to /games/Spring/AI/Bot-libs/*.so as well, since the generated script.txt references the dll's instead of the so's.
ln -s /home/shane/.wine/drive_c/Program\ Files/Spring/AI/Bot-libs/*.dll /home/shane/spring/source/game/AI/Bot-libs/*.so
ln: target `/home/shane/spring/source/game/AI/Bot-libs/TestGlobalAI.so' is not a directory
ln cannot automatically figure out you want your symlinks named the same as their targets except for their extension, just create them individually (which you only have to do for AAI anyway, as it's the only AI that works out of the box).
Any idea why it says "file access denied" when I try to start the game from within TASclient? I can open spring from the wine symlink or the linux native, but when TASclient tries to access it, I get "file access denied"