Is it safe to run multiple springs from same directory? Or is there any exclusive access to spring files?
I tried it and it seems to work, though after some time one of the springs had corrupted textures (the one that was running mostly in background). But game itself was ok and I will only have 1 rendering instance anyway.
Multiple spring instances from same directory
Moderator: Moderators
- PauloMorfeo
- Posts: 2004
- Joined: 15 Dec 2004, 20:53
That is a lobby issue then, spring doesn't have any code to prevent multiple instances AFAIK. (obviously it will fail to bind socket to port 8452 if you try to run multiple springs as servers without changing port number...)
ie. this works fine usually, on Linux:
btw, maybe ArchiveCacheV4.txt could get corrupted badly if you put a new archive in base/mods/maps and run 2 instances of spring that try to update the file at the same time (ie. if you start them at same moment)... so I guess you should watch out a bit...
ie. this works fine usually, on Linux:
Code: Select all
( ./spring -s & ); ./spring -c