FAQ:technical

From Spring
Revision as of 16:33, 8 October 2008 by Af (talk | contribs)
Jump to navigationJump to search

Technical

What port numbers does Spring use?

Game uses port 8452 UDP by default, which can be changed in the lobby. If you are behind a router, and are having problems hosting, try forwarding the correct port and also make sure the firewall is not blocking it.

What APIs does Spring use?

The Windows version of the program (Which is the Binary that can be downloaded from this site) uses: OpenGL for rendering, DirectSound for sound, and Winsock for networking.

The Linux port, see Linux Page with more info below, uses SDL/OpenGL for rendering, OpenAL for sound (which will connect to DirectSound on Windows and OSS or ALSA on Linux), BSD sockets for networking.

I am having really bad framerates (fps) on my dual core! What am I doing wrong?

Currently spring does not like dual/quad cores, you will get really bad framerates. To solve this, you have to restrict it to run on one core. Download the file from http://www.robpol86.com/pages/imagecfg.php follow the instructions, and make all of the spring exe files (spring.exe, TASClient.exe, all others) run on one core. It will run much faster.

Additionally, install the latest processor drivers and Windows hotfixes for your system.

I am having really bad framerates (fps) on my brand new nVidia graphics card! What am I doing wrong?

Turn off 'threaded optimizations' for Spring in the nVidia control panel.

What language is Spring written in?

The spring game engine is written in C and C++. The Windows lobby client is written in Delphi, the lobby server is java. Of multiplatform lobby clients, SpringLobby is in C++ and AFLobby in java.

Is Spring open source?

Yes, it is. Go to the downloads section of the site to download the source code.

Is there any documentation for the source code?

Yes, doxygen is used to automatically generate the documentation (link is dead).

Is Spring a Portable Application?

At present, I play Spring at my college by using my IPOD as a portable bit of storage for the game, so yes, it does appear to be portable. Also, I managed to run AFLobby from the IPOD as well.

If both of those can run off a bleedin' IPOD, they can run off of anything, in my opinion.

If I'm wrong, edit.

See [1] for more information about portable applications.


- Sangue

I have always played Spring off a two GB flash card and I have never had any probs with the registry. There is a little bit of a memory problem though x). I would say that Spring right now is definately portable as long as you leave it alone without adding a bunch of third party servers and such.

- Wred XIII