It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
high rated
Here's my SW.CFG file with wich I'm playing the shadow warrior with "modern" shooter controls (mouse look ,WASD ) .You can save the settings as a different CFG file and give it to SW.EXE as a command line parameter.(a little bit more info here )

As the Shadow Warrior has no "special fire" I've left the second mouse button for jumping.
I 've tested the build games also with BMOUSE.EXE but it seems to shows the same results as just editing CFG files.Here the file:


;------------------------------
;-- Start of setup file --
;------------------------------
[Setup]
;Setup File for Shadow Warrior
SetupVersion = "1.2"
;
;
[Screen Setup]
;
;
;ScreenMode
; - Chained - 0
; - Vesa 2.0 - 1
; - Screen Buffered - 2
; - Tseng optimized - 3
; - Paradise optimized - 4
; - S3 optimized - 5
; - RedBlue Stereo - 7
; - Crystal Eyes - 6
;
;ScreenWidth passed to engine
;
;ScreenHeight passed to engine
;
;
ScreenMode = 2
ScreenWidth = 960
ScreenHeight = 600
;
;
[Sound Setup]
;
;
FXDevice = 0
MusicDevice = 13
FXVolume = 192
MusicVolume = 240
NumVoices = 32
NumChannels = 2
NumBits = 16
MixRate = 22000
MidiPort = 0x330
BlasterAddress = 0x220
BlasterType = 6
BlasterInterrupt = 7
BlasterDma8 = 1
BlasterDma16 = 5
BlasterEmu = 0x620
ReverseStereo = 0
;
;
[KeyDefinitions]
;
;
Move_Forward = "w" "W"
Move_Backward = "s" "S"
Turn_Left = "Left" "Kpad4"
Turn_Right = "Right" "KPad6"
Strafe = "LAlt" "RAlt"
Fire = "" "RCtrl"
Open = "LShift" ""
Run = "" "RShift"
AutoRun = "x" "X"
Jump = "Space" "/"
Crouch = "LCtrl" ""
Look_Up = "PgUp" "Kpad9"
Look_Down = "PgDn" "Kpad3"
Strafe_Left = "a" "A"
Strafe_Right = "d" "D"
Aim_Up = "" ""
Aim_Down = "" ""
Weapon_1 = "1" ""
Weapon_2 = "2" ""
Weapon_3 = "3" ""
Weapon_4 = "4" ""
Weapon_5 = "5" ""
Weapon_6 = "6" ""
Weapon_7 = "7" ""
Weapon_8 = "8" ""
Weapon_9 = "9" ""
Weapon_10 = "0" ""
Inventory = "Enter" "KpdEnt"
Inventory_Left = "[" ""
Inventory_Right = "]" ""
Med_Kit = "M" ""
Smoke_Bomb = "c" "C"
Night_Vision = "x" "X"
Gas_Bomb = "b" "B"
Flash_Bomb = "n" "N"
Caltrops = "m" "M"
TurnAround = "BakSpc" ""
SendMessage = "T" ""
Map = "Tab" ""
Shrink_Screen = "-" "Kpad-"
Enlarge_Screen = "=" "Kpad+"
Center_View = "KPad5" ""
Holster_Weapon = "ScrLck" ""
Map_Follow_Mode = "F" ""
See_Co_Op_View = "K" ""
Mouse_Aiming = "U" ""
Toggle_Crosshair = "I" "i"
Next_Weapon = "q" "Q"
Previous_Weapon = "e" "E"
;
;
[Controls]
;
;
;Controls
;
;ControllerType
; - Keyboard - 0
; - Keyboard and Mouse - 1
; - Keyboard and Joystick - 2
; - Keyboard and Gamepad - 4
; - Keyboard and External - 3
; - Keyboard and FlightStick - 5
; - Keyboard and ThrustMaster - 6
;
;
ControllerType = 1
JoystickPort = 0
MouseSensitivity = 32760
ExternalFilename = "EXTERNAL.EXE"
EnableRudder = 0
MouseAiming = 0
MouseAimingFlipped = 0
MouseButton0 = "Fire"
MouseButtonClicked0 = ""
MouseButton1 = "Jump"
MouseButtonClicked1 = ""
MouseButton2 = ""
MouseButtonClicked2 = ""
JoystickButton0 = "Fire"
JoystickButtonClicked0 = ""
JoystickButton1 = "Strafe"
JoystickButtonClicked1 = "Inventory"
JoystickButton2 = "Run"
JoystickButtonClicked2 = "Jump"
JoystickButton3 = "Open"
JoystickButtonClicked3 = "Crouch"
JoystickButton4 = "Aim_Down"
JoystickButtonClicked4 = ""
JoystickButton5 = "Look_Right"
JoystickButtonClicked5 = ""
JoystickButton6 = "Aim_Up"
JoystickButtonClicked6 = ""
JoystickButton7 = "Look_Left"
JoystickButtonClicked7 = ""
MouseAnalogAxes0 = "analog_turning"
MouseDigitalAxes0_0 = ""
MouseDigitalAxes0_1 = ""
MouseAnalogScale0 = 65536
MouseAnalogAxes1 = ""
MouseDigitalAxes1_0 = "Aim_Up"
MouseDigitalAxes1_1 = "Aim_Down"
MouseAnalogScale1 = 65536
JoystickAnalogAxes0 = "analog_turning"
JoystickDigitalAxes0_0 = ""
JoystickDigitalAxes0_1 = ""
JoystickAnalogScale0 = 65536
JoystickAnalogAxes1 = "analog_moving"
JoystickDigitalAxes1_0 = ""
JoystickDigitalAxes1_1 = ""
JoystickAnalogScale1 = 65536
JoystickAnalogAxes2 = "analog_strafing"
JoystickDigitalAxes2_0 = ""
JoystickDigitalAxes2_1 = ""
JoystickAnalogScale2 = 65536
JoystickAnalogAxes3 = ""
JoystickDigitalAxes3_0 = "Run"
JoystickDigitalAxes3_1 = ""
JoystickAnalogScale3 = 65536
GamePadDigitalAxes0_0 = "Turn_Left"
GamePadDigitalAxes0_1 = "Turn_Right"
GamePadDigitalAxes1_0 = "Move_Forward"
GamePadDigitalAxes1_1 = "Move_Backward"
;
;
[Comm Setup]
;
;
ComPort = 2
IrqNumber = ~
UartAddress = ~
PortSpeed = 19200
ToneDial = 1
SocketNumber = ~
NumberPlayers = 2
ModemName = ""
InitString = "ATZ"
HangupString = "ATH0=0"
DialoutString = ""
PlayerName = "KATO"
RTSName = "SW.RTS"
RTSPath = ".\dragon"
UserPath = ".\"
PhoneNumber = ""
ConnectType = 0
CommbatMacro#0 = "Burn baby burn..."
CommbatMacro#1 = "You make another stupid move."
CommbatMacro#2 = "Blocking with your head again?"
CommbatMacro#3 = "You not fight well with hands!"
CommbatMacro#4 = "You so stupid!"
CommbatMacro#5 = "Quit jerking off. Come fight me!"
CommbatMacro#6 = "What the matter you scaredy cat?"
CommbatMacro#7 = "Did I break your concentration?"
CommbatMacro#8 = "Hope you were paying attention."
CommbatMacro#9 = "ITTAIIIUUU!!!"
PhoneName#0 = ""
PhoneNumber#0 = ""
PhoneName#1 = ""
PhoneNumber#1 = ""
PhoneName#2 = ""
PhoneNumber#2 = ""
PhoneName#3 = ""
PhoneNumber#3 = ""
PhoneName#4 = ""
PhoneNumber#4 = ""
PhoneName#5 = ""
PhoneNumber#5 = ""
PhoneName#6 = ""
PhoneNumber#6 = ""
PhoneName#7 = ""
PhoneNumber#7 = ""
PhoneName#8 = ""
PhoneNumber#8 = ""
PhoneName#9 = ""
PhoneNumber#9 = ""
PhoneName#10 = ""
PhoneNumber#10 = ""
PhoneName#11 = ""
PhoneNumber#11 = ""
PhoneName#12 = ""
PhoneNumber#12 = ""
PhoneName#13 = ""
PhoneNumber#13 = ""
PhoneName#14 = ""
PhoneNumber#14 = ""
PhoneName#15 = ""
PhoneNumber#15 = ""
[Options]
BorderNum = 0
Brightness = 0
BorderTile = 0
Bobbing = 1
Tilting = 0
Shadows = 1
AutoRun = 1
Crosshair = 1
AutoAim = 1
Messages = 1
Talking = 1
Ambient = 1
FxOn = 1
MusicOn = 1
NetGameType = 0
NetLevel = 0
NetMonsters = 0
NetHurtTeammate = 0
NetSpawnMarkers = 1
NetTeamPlay = 0
NetKillLimit = 0
NetTimeLimit = 0
NetColor = 0
Voxels = 1
MouseAimingOn = 0
MouseInvert = 0
Stats = 0
Rooster = ""
Kiwi = 0
PlayCD = 0
;------------------------------
;-- End of setup file --
;------------------------------
Post edited November 17, 2012 by npocmaka
Not bad. The only thing that's bugging me is the wonky mouse acceleration, i.e. the faster the mouse is moved the faster the cursor changes position. That way you cannot make small changes because the acceleration is zero. Any ideas?
Post edited November 17, 2012 by Marvin
May be MouseAnalogScale0 and MouseAnalogScale1 could be the solution.
I'll try to play with them to see if they can make the mouse more precise.
I've found that if you go into the setup screen and go under advanced control options, setting the mouse scale of X to 1.20 and the Y to 2.0 it works pretty well.
So I've played with the settings a little bit and made them convenient for me :-)

Here are the mouse settings that you can change in SW.CFG file

X scalability (better to be set on lower value .Max is 262144)
MouseAnalogScale0 = 80342
Y scalability (to the max - 262144)
MouseAnalogScale1 = 262144

max is 131072 . better to kept around 90000
MouseSensitivity = 131072

In fact this does not matter if the rest mouse settings are like in config file above.
MouseAimingOn = 1


And there's more.
DOSBOX settings also might affect the mouse sensitivity.
Here's what I've added on the top of my dosbox_swarrior_single.conf
file:

[sdl]
priority =highest
#max is 1000
#default is 100
sensitivity = 600

fulldouble = true
fullscreen = true

[dosbox]
memsize = 64


sdl settings affect the kernel of the DOSBOX and sensitivity concerns the mouse.Max is 1000 but it's too high value for me.I prefer 600.

Hope this helps.
Post edited November 20, 2012 by npocmaka
All these controls work perfect i just have one problem. When i click to open something or use something, my gun shoots too. So i was wondering if there's a way i can make the open and use button E or left shift without my weapon shooting off at the same time.
avatar
pruppets: All these controls work perfect i just have one problem. When i click to open something or use something, my gun shoots too. So i was wondering if there's a way i can make the open and use button E or left shift without my weapon shooting off at the same time.
I suppose you're using the right click for open.To prevent fire first check bindings under
[KeyDefinitions] section.,and be sure that there's only one button for fire (or none).
Fire = "RCtrl" "" .Then in [Controls] section . There are two states for the second mouse button
MouseButton1 = "" and
MouseButtonClicked1 = "" - the first is for when the button is clicked the second when the button is holded. Be sure that MouseButtonClicked1 = "" is empty.
To make e for open just set Open = "E" "" and be sure taht there is no other usage for 'E;
What about binding the mouse wheel for next/previous weapon?
I think it's not possible with only editing the config file - the game does not take the scrolling into account. May be it's possible with bmouse.exe
avatar
BuSyMan: What about binding the mouse wheel for next/previous weapon?
check this:
http://www.gog.com/forum/blood_series/use_mouse_wheel_to_change_weapons_in_ouwb
I just got the recently released free steam version and operating the game perfectly with bmouse and the same Blood script, one problem, changing weapons via the wheel sets run on/off too, even though run is not binded to the Up or Down arrows. Anyone know what the problem is?
There is no "direct input" in DOSBox? The mouse aim feels wobbly and distorted no matter the settings. The strange feel of the mouse aim also seems to get distorted by the very low FOV of the game.

I'm also having the issue that the main menu does not react to my mouse or the arrows, only to letters of the alphabet, for instance it goes to "Load Game" when I press "L". After some desperate pressing of different buttons, it goes away and I can maneuvre normally with arrow buttons, Enter etc.
Post edited October 06, 2018 by brazzjazz
Using BMouse
http://swisscm.duke4.net/
seems to have improved mouse view somewhat, although now when I move the Y axis, I'm both looking upwards and also moving forward at the same time - even though in the DOSBox Setup, the mouse is set as "turning" and the Y axis is left blank. (??)
avatar
brazzjazz: Using BMouse
http://swisscm.duke4.net/
seems to have improved mouse view somewhat, although now when I move the Y axis, I'm both looking upwards and also moving forward at the same time - even though in the DOSBox Setup, the mouse is set as "turning" and the Y axis is left blank. (??)
Edit these sections in the config file:

MouseAnalogAxes0 = "analog_turning"
MouseDigitalAxes0_0 = ""
MouseDigitalAxes0_1 = ""
MouseAnalogScale0 = 65536
MouseAnalogAxes1 = ""
MouseDigitalAxes1_0 = "Aim_Up"
MouseDigitalAxes1_1 = "Aim_Down"
MouseAnalogScale1 = 65536

if you are using bmouse (which according to me has the same quality as just editing the config file) you can leave MouseDigitalAxes1_0 and MouseDigitalAxes1_1 with empty values.
avatar
brazzjazz: Using BMouse
http://swisscm.duke4.net/
seems to have improved mouse view somewhat, although now when I move the Y axis, I'm both looking upwards and also moving forward at the same time - even though in the DOSBox Setup, the mouse is set as "turning" and the Y axis is left blank. (??)
avatar
npocmaka: Edit these sections in the config file:

MouseAnalogAxes0 = "analog_turning"
MouseDigitalAxes0_0 = ""
MouseDigitalAxes0_1 = ""
MouseAnalogScale0 = 65536
MouseAnalogAxes1 = ""
MouseDigitalAxes1_0 = "Aim_Up"
MouseDigitalAxes1_1 = "Aim_Down"
MouseAnalogScale1 = 65536

if you are using bmouse (which according to me has the same quality as just editing the config file) you can leave MouseDigitalAxes1_0 and MouseDigitalAxes1_1 with empty values.
Yes, I already have these settings, but moving my mouse also causes the character to move, in addition to mouselook.