I don't have a .spring folder in my home dir in Ubuntu 13.10

I don't have a .spring folder in my home dir in Ubuntu 13.10

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
richardws1984
Posts: 7
Joined: 25 Feb 2014, 11:54

I don't have a .spring folder in my home dir in Ubuntu 13.10

Post by richardws1984 »

After installing springlobby using the software center per the instructions for my particular linux distro, I went to look for the .spring folder in my home directory to copy the game file for balanced annihilation but the .spring folder was nowhere to be found. There was a SpringLobby folder and a .springlobby folder but creating a mod folder and pasting the game file in both directories does nothing. I still get nothing when i click Reload maps/games in the spring lobby. Oh, and yes, i did make sure to check "Show hidden files." I also tried creating a .spring folder and a mods folder within that folder but spring lobby still would not recognize any game files that I copied to that folder. So how do I install game files if I don't have this ~/.spring folder on my computer? I am using Ubuntu 13.10.
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by malric »

If the directory does not exist you could try to create it ("mkdir -p ~/.spring/mods").
richardws1984
Posts: 7
Joined: 25 Feb 2014, 11:54

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by richardws1984 »

Thanks for the reply. I created the folder before and just now with your code and pasted the ba763.sdz in the folder but can't get spring lobby to load it. does it need to be extracted or in some other format?
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by Silentwings »

BA 7.63 is too old to run with the current spring engine. The latest version is 7.91, which you can find here: http://springfiles.com/spring/games/bal ... ilation-37.
richardws1984
Posts: 7
Joined: 25 Feb 2014, 11:54

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by richardws1984 »

I downloaded the version in that link and pasted it into the ~/.spring/mod file I created and spring lobby still isn't loading it. Nothing comes up in the game drop down menu after clicking Reload maps/games.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by Silentwings »

I suspect that your instructions are out of date. The folder should be called Spring/Games (the Mods dir was removed a few releases ago).
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by dansan »

The engine uses ~/.config/spring now. You can just start "spring" and the look for the infolog.txt file (find ~ -name infolog.txt) . If you find it, you have the right folder. And if you read it, you'll find all directories the the engine uses.
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by malric »

Also, could you please tell us where did you see the instructions that told you to copy to ~/.spring/mods? So that, somebody can check and update them if possible..
richardws1984
Posts: 7
Joined: 25 Feb 2014, 11:54

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by richardws1984 »

I went to the ~/.config/spring folder but didn't see an infolog.txt file in there. I searched the drive for an infolog.txt file but didn't find anything. I pasted the .sdz mod file to the spring folder and tried reloading in spring, nothing. Tried creating a folder called "Games" and put the file in there, but still nothing. I originally downloaded the game file here http://springfiles.com/spring/games/bal ... ilation-27 which I was told was probably too old for the spring version I was using. I navigated to that website from this website http://springrts.com/wiki/Balanced_Annihilation after clicking the link that says "latest BA download". But on the springfiles.com link it has instructions to put the file in ~/.spring/games.
richardws1984
Posts: 7
Joined: 25 Feb 2014, 11:54

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by richardws1984 »

I don't remember where I read the instructions for putting the files in the ~/.spring/mods folder. At that point I was going through different google search results trying to find better instructions on where to put the files. I'm about to go to sleep now though. I'll be back on here in about 8 hours or so. Thanks for the help so far though, I appreciate it.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by dansan »

Ah well - easiest thing is to just start "spring" from the command line in a terminal. It'll dump all you want to know on the screen :)

Code: Select all

daniel@moja ~ $ spring 
[ParseCmdLine] command-line args: "spring"
Using configuration source: "/home/daniel/.config/spring/springsettings.cfg"
Using additional configuration source: "/home/daniel/.springrc"
[..]
Spring 96.0
Build date/time: Jan  9 2014 00:00:23
Build environment: boost-105300, GNU libstdc++ version 20131016
Compiler: gcc-4.8.2
OS: Linux 3.10.5-gentoo-r1.moja #6 SMP Thu Dec 5 20:49:13 CET 2013 x86_64
OS: 64bit native mode
[..]
Using read-write data directory: /home/daniel/.config/spring/
Using read-only data directory: /home/daniel/.spring/
Using read-only data directory: /usr/share/games/spring/
Scanning: /usr/share/games/spring/base
Scanning: /home/daniel/.spring/maps
Scanning: /home/daniel/.spring/games
Scanning: /home/daniel/.spring/packages
[..]
I have omitted some lengthy, not relevant, output with "[..]".
richardws1984
Posts: 7
Joined: 25 Feb 2014, 11:54

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by richardws1984 »

Mine didn't scan as many folders as yours did. It only scanned the "/usr/share/games/spring/base" folder:

Code: Select all

richard@richard-ubuntu:~$ spring
[ParseCmdLine] command-line args: "spring"
Using configuration source: "/home/richard/.config/spring/springsettings.cfg"
Available log sections: KeyBindings, Sound, Font, AutohostInterface, Net, VFS, Texture, Path, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, DecalsDrawerGL4, FarTextureHandler, Shader, Piece, Model, ModelDrawer, OBJParser, WorldObjectModelRenderer, GroundMoveType, UnitScript, CregSerializer, ArchiveScanner, LuaSocket
Enabled log sections: Sound(LOG_LEVEL_INFO)
Enable or disable log sections using the LogSections configuration key
  or the SPRING_LOG_SECTIONS environment variable (both comma separated).
  Use "none" to disable the default log sections.
LogOutput initialized.
Spring 96.0
Build date/time: Feb 17 2014 00:25:17
Build environment: boost-105300, GNU libstdc++ version 20131008
Compiler: gcc-4.8.1
OS: Linux 3.11.0-17-generic #31-Ubuntu SMP Mon Feb 3 21:52:43 UTC 2014 x86_64
OS: 64bit native mode
[CMyMath::Init] CPU SSE mask: 1023, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  1
	SSE 4.1:  1,  SSE 4.2:  1
	SSE 4.0A: 1,  SSE 5.0A: 1
	using streflop SSE FP-math mode, CPU supports SSE instructions
Supported Video modes: 1440x900, 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1152x864, 1024x768, 1024x600, 800x600, 800x480, 640x480
[SetSDLVideoMode] video mode set to 1440x900/32bit
[WatchDogInstall] Installed (HangTimeout: 10sec)
[ThreadPool::SetThreadCount][1] #wanted=4 #current=1
[ThreadPool::SetThreadCount][2] #threads=3
Using read-write data directory: /home/richard/.config/spring/
Using read-only data directory: /home/richard/.spring/
Using read-only data directory: /usr/share/games/spring/
Using read-only data directory: /usr/lib/spring/
Scanning: /usr/share/games/spring/base
[ThreadPool::SetThreadCount][1] #wanted=3 #current=4
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by dansan »

Maybe there's nothing in the others?

Anyway - there you have it. Just use ~/.config/spring for configs and you'll be fine. There should also be the infolog.txt

In my installation I have all content files in ~/.spring (directories "games", "maps", "packages", "pool", "rapid", "torrent") and all configuration (esp. interesting are "LuaUI/", "springsettings.cfg" and "uikeys.txt") in ~/.config/spring.
richardws1984
Posts: 7
Joined: 25 Feb 2014, 11:54

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by richardws1984 »

Well it's working now. Thanks for the help. I think it mighta been because the games folder I had been using used a capital G and maybe it's case sensitive.
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: I don't have a .spring folder in my home dir in Ubuntu 1

Post by malric »

In linux the folder and file names are case sensitive indeed (so, as you have seen, if a program looks for "Games" will not find "games"). Good it is working, enjoy the game :wink: .
Post Reply

Return to “Help & Bugs”