From: Matze B. <mat...@us...> - 2002-04-28 19:40:03
|
Update of /cvsroot/planeshift/planeshift/support/lokisetup/files In directory usw-pr-cvs1:/tmp/cvs-serv22203/lokisetup/files Added Files: psclient psclient.cfg psserver psserver.cfg Log Message: started work on linux lokisetup --- NEW FILE: psclient --- #!/bin/sh #Make sure we don't collider with an installed CS or CEL unset CEL unset CRYSTAL src/client/psclient $@ --- NEW FILE: psclient.cfg --- System.ApplicationID = psclient ; ******************* ; * Part 1: PlugIns * ; ******************* ; NB1: An entry in the plug-in list looks like this: ; ; System.PlugIns.FuncID = PluginName ; ; FuncID defines the functionality ID of the plugin. ; No FuncID may be used twice or more. ; Some parts of CS use this to distinguish between several plugins that ; export the same interface. For example, if you need a secondary 3d driver ; (which means: any additional plugin that implements the iGraphics3d ; interface) for some reason, CS will not be able to find out which one you ; want to use for the engine. CS will then look for the standard FuncID for ; the 3d driver. Be sure to use the correct FuncID for the drivers. If you ; use other FuncIDs, CS will not use these drivers for the engine (however, ; you can still use them if you ask for the correct FuncID, or if you accept ; any FuncID). ; ; NB2: a specific driver can be ommited, if it is not used. ; For example, if you just ommit the sound renderer, you will ; simply hear no sound, but the program will still run ; ; NB3: Plugins will be loaded in the same order they are listed ; here. This means that if, for example, a plugin needs the video ; driver during his initialization, it should come *after* ; video driver in the following section. ; First of all, the Virtual File System plug-in System.PlugIns.iVFS = crystalspace.kernel.vfs ; Video driver ;System.PlugIns.iGraphics3D = crystalspace.graphics3d.software System.PlugIns.iGraphics3D = crystalspace.graphics3d.opengl ; Sound renderer System.PlugIns.iSoundRender = crystalspace.sound.render.software ; Image Loader System.PlugIns.iImageIO = crystalspace.graphic.image.io.multiplex ; Motion manager-- must go HERE BEFORE level loader... System.PlugIns.iMotionManager = crystalspace.motion.manager.default ; Level Loader System.PlugIns.iLoader = crystalspace.level.loader ; Sound Loader System.PlugIns.iSoundLoader.MP3 = crystalspace.sound.loader.mp3 ;System.PlugIns.iSoundLoader.AIFF = crystalspace.sound.loader.aiff ;System.PlugIns.iSoundLoader.AU = crystalspace.sound.loader.au ;System.PlugIns.iSoundLoader.IFF = crystalspace.sound.loader.iff System.PlugIns.iSoundLoader.WAV = crystalspace.sound.loader.wav System.PlugIns.iSoundLoader = crystalspace.sound.loader.multiplexer ; Now the Engine plug-in System.PlugIns.iEngine = crystalspace.engine.3d ; Additional plugins come here ;System.PlugIns.iScript = crystalspace.script.python ;System.PlugIns.iPerfstat = crystalspace.utilities.perfstat System.PlugIns.iCollideSystem = crystalspace.collisiondetection.rapid ;System.PlugIns.iFontServer = crystalspace.font.server.default System.PlugIns.iFontServer = crystalspace.font.server.freetype ; For using font multiplexor, uncomment the following three lines ;System.PlugIns.iFontServer = crystalspace.font.server.multiplexor ;System.PlugIns.iFontServer.1 = crystalspace.font.server.default ;System.PlugIns.iFontServer.2 = crystalspace.font.server.freetype System.PlugIns.iDialogManager = planeshift.gui.dialogmanager System.PlugIns.iSoundManager = planeshift.sound.soundmanager ; ****************** ; * Part 2: Config * ; ****************** VFS.Config = vfs.cfg Engine.Lighting.Ambient.White = 20 Engine.Lighting.Ambient.Red = 0 Engine.Lighting.Ambient.Green = 0 Engine.Lighting.Ambient.Blue = 0 Engine.Lighting.LightmapSize = 16 Engine.Lighting.Reflections = 2 Engine.Lighting.CosinusFactor = 0 Engine.Lighting.Radiosity = no Engine.Lighting.SpriteQuality = 1 Engine.Lighting.Radiosity.Enable = no Engine.Lighting.Radiosity.DoStaticSpecular = no Engine.Lighting.Radiosity.StaticSpecularAmount = 0.70 Engine.Lighting.Radiosity.StaticSpecularTightness = 4 Engine.Lighting.Radiosity.ColourBleed = 1.0 Engine.Lighting.Radiosity.StopPriority = 0.1 Engine.Lighting.Radiosity.StopImprovement = 100.0 Engine.Lighting.Radiosity.StopIterations = 10000 Engine.Lighting.Radiosity.SourcePatchSize = 16 ; Width/height of CrystalSpace visual Video.ScreenWidth = 1024 Video.ScreenHeight = 768 ; Screen depth (currently supports 8, 15, 16, and 32 bits, NO 24 bits!) Video.ScreenDepth = 16 ; Use full-screen mode if available Video.FullScreen = yes ; Use libshm if available (X-Windows only) Video.XSHM = yes ; Simulate another depth (supported only by some video drivers) ;Video.SimulateDepth = 8 ; Use system mouse cursor (yes) or software-simulated (no) Video.SystemMouseCursor = yes ; Double click time in 1/1000 seconds MouseDriver.DoubleClickTime = 300 ; Maximal distance that mouse can move between clicks for double click to occur MouseDriver.DoubleClickDist = 2 ; For now its used only in DOS/DJGPP port MouseDriver.MouseSensivity = 1.0 System.Win32.DebugConsole = yes ; ****************** ; * Part 3: Game * ; ****************** Planeshift.Mount.zipmapdir = /this/art/world/ Planeshift.Connection.Server = Planeshift.Connection.User = Planeshift.Connection.Password = ; 1 = Show Frames around GUI components Planeshift.Client.Developer.GuiFlags = 0 ; number of seconds before timeout Planeshift.Client.User.Connecttimeout = 60 Planeshift.Client.User.Persisttimeout = 200 --- NEW FILE: psserver --- #!/bin/sh # automake always builds programs inside the dir with source files # but you have to start the programs from the top PS dir, so that they can find # the sources. This scripts helps starting the progs and helps reminding people #Make sure we don't collide with an installed CS or CEL unset CRYSTAL unset CEL src/server/psserver $@ --- NEW FILE: psserver.cfg --- ;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; PlaneShift Configuration ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;; System.ApplicationID = psserver ;;;;;;;;;;; ; Plugins ; ;;;;;;;;;;; ; Core plugins System.PlugIns.iVFS = crystalspace.kernel.vfs System.PlugIns.iEngine = crystalspace.engine.3d System.PlugIns.iGraphics3D = crystalspace.graphics3d.null ; Important plugins System.PlugIns.iImageIO = crystalspace.graphic.image.io.multiplex System.PlugIns.iMotionManager = crystalspace.motion.manager.default System.PlugIns.iLoader = crystalspace.level.loader ; Additional plugins ;System.PlugIns.iPerfstat = crystalspace.utilities.perfstat System.PlugIns.iCollideSystem = crystalspace.collisiondetection.rapid System.PlugIns.iFontServer = crystalspace.font.server.default ; Planeshift plugins ;System.PlugIns.iConnection = planeshift.database.mysql System.PlugIns.iConnection = planeshift.database.dummy ;;;;;;;;;;;;;;;;; ; Configuration ; ;;;;;;;;;;;;;;;;; VFS.Config = vfs.cfg Video.Null.Canvas=crystalspace.graphics2d.null2d System.Win32.DebugConsole = yes ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Planeshift-Specific Items ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Planeshift.Mount.zipmapdir=/this/art/world/ Planeshift.Database.host = localhost Planeshift.Database.userid = planeshift Planeshift.Database.password = planeshift Planeshift.Database.name = planeshift ; Specify an address to which we want to bind the server to (0.0.0.0 = all ; local addresses) Planeshift.Server.Addr = 0.0.0.0 ; The port the server is using Planeshift.Server.Port = 1243 ; Maximum number of concurent connections Planeshift.Server.User.connectionlimit = 20 |