September 10, 2010, 07:00:14 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New members: I'm testing a different CAPTCHA system that hopefully is less prone to spambot abuse. Email me at jf@jonof.id.au if you have problems.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: SWP Startup crash  (Read 695 times)
KeNNy
Lurker

Posts: 4


View Profile
« on: June 14, 2010, 08:42:18 PM »

Hello,
my swp wont start. i use the newest version (4.31) and the newest hrp pack. i have them downloaded today. i haved it played already, but it is a few months ago. i have the retail sw.grp file.

my system specs:
win 7 u x64
gf gtx280
lcd@1920x1080
core i7 920@960

here is the swp.log:

Initialising Windows DirectX/GDI system interface
OS: Windows 7 (Version 6.1.7600)
Loading OPENGL32.DLL
Initialising DirectDraw...
  - Loading DDRAW.DLL
  - Enumerating display devices
    * Primärer Anzeigetreiber
  - Creating DirectDraw object
  - Checking capabilities
Added search path: Music
SHADOW WARRIOR(tm) Version 1.2
Copyright (c) 1997 3D Realms Entertainment

SWP - Version 4.3.1 - Revision 331.128
By ProAsm - http://www.proasm.com
Detected registered Grp
Adding Group file: sw.grp
Adding Group file: SWP.grp
Adding SW High Resolution Pack
Initialising DirectInput...
  - Loading DINPUT.DLL
  - Creating DirectInput object
  - Enumerating attached input devices
    * MOUSE: Maus
    * KEYBOARD: Tastatur
    * JOYSTICK: SideWinder Force Feedback Wheel (USB)
    * OTHER: Microsoft® Digital Media Keyboard 3000
    * OTHER: Microsoft® Digital Media Keyboard 3000
    * OTHER: Hauppauge Nova-T IR
    * OTHER: Hauppauge Nova-T IR
    * OTHER: Hauppauge Nova-T IR
  - Creating keyboard device
  - Creating mouse device
  - Creating joystick device
Joystick has 3 axes, 8 buttons, and 0 hat(s).
Initialising mouse
CONTROL_Startup: Mouse Present
CONTROL_Startup: Joystick Present
RTS file sw.rts was not found
Initializing Midi Music.
Initialising timer
mmulti: This machine's IP is 192.168.50.2
Loading sound and graphics...
initcache(): Initialised with 33554432 bytes
Setting video mode 1024x768 (32-bpp fullscreen) at 60 hz refreshrate.
Initializing MultiVoc...
  - Maximum voices: 32
  - Using 2560 byte mixing buffers
Initializing DirectSound...
  - Loading DSOUND.DLL
  - Creating DirectSound object
  - Creating primary buffer
  - Setting primary buffer format
      Channels:    2
      Sample rate: 44100Hz
      Sample size: 16 bits
  - Creating secondary buffer
  - Playing Music : theme.mid

thanks in advance for any help...
Logged
KeNNy
Lurker

Posts: 4


View Profile
« Reply #1 on: June 14, 2010, 09:46:16 PM »

*UPDATE*
when i am uncheck "Sound Enable" under audio options, the game starts fine and i am able to play (without sounds...). i own a asus rampage 2 extreme mainboard with SoundMAX Integrated Digital HD Audio Soundcard, driver versioon is: 6.10.2.6600.

Any ideas how i can get the sound working?
Logged
filipetolhuizen
Participant
**
Posts: 75


View Profile
« Reply #2 on: June 18, 2010, 02:03:10 AM »

Try changing Sample Rate and Voices to different values, or even selecting 8-bits sounds.
Logged
KeNNy
Lurker

Posts: 4


View Profile
« Reply #3 on: June 29, 2010, 04:11:20 AM »

okay, i have tried near all combinations with no success. any other ideas? or is there any other way to provide you more information except the logfile i have postet above?

regards kenny
Logged
ProAsm
Moderator
Fixture
*
Posts: 477



View Profile
« Reply #4 on: July 01, 2010, 08:22:02 PM »

Just a shot in the dark here.
In your Swp.cfg file set:

[Sound Setup]
MusicOn = 0

Then rename your Music folder to something else.
Logged

KeNNy
Lurker

Posts: 4


View Profile
« Reply #5 on: July 07, 2010, 12:25:14 AM »

okay, long time but i have fixed it (call me mr. fix it):

i have a program for my soundcard (creative xfi mb) called creative alchemie. i used this tool to put the game in the list of alchemie activated games, and it works Wink))))))

and now i have to go and play Cheesy

i hope this helps someone else who owns the same mainbaord as me.

regards
Logged
ProAsm
Moderator
Fixture
*
Posts: 477



View Profile
« Reply #6 on: July 07, 2010, 05:34:17 PM »

Interesting fix  Wink

Logged

CG!
Lurker

Posts: 3


View Profile
« Reply #7 on: August 06, 2010, 09:45:08 PM »

i use my onboard realtek soundcard and i got the same problem.
SWP crashes on startup (after the 3d realms logo, when the voice is going to be played) if sounds are enabled.
Thought it may crash only at this point and tried a savegame, but SWP still crashes.
Even tried different sound setups and setting my soundcard to use only 2 speakers. Didn't help too.

OS: Win7 x64

Here a screenshot of OllyDebug:
SWP-Crash.png
Might not be as helpful as it sounds, but the log says nothing and that's the best i can deliver.
« Last Edit: August 06, 2010, 10:01:14 PM by CG! » Logged
ProAsm
Moderator
Fixture
*
Posts: 477



View Profile
« Reply #8 on: August 07, 2010, 06:29:00 PM »

mmm 64 bit is very difficult to check and we rely on others to help out.
Things you can try is set your sound settings down, 8 bit, 16 voices, sample rate 22050 etc.
Logged

CG!
Lurker

Posts: 3


View Profile
« Reply #9 on: August 08, 2010, 02:06:47 AM »

i already tried all logical setup's.
Then i thought OpenAL is to blame, but SWP doesn't use it, so i didn't even bother uninstalling it.

May be no part of the problem, but to have it mentioned:
No setup is safed using the Launcher inside SWP.EXE, so i have to use SWPSetUp.EXE to build a permanent config.
En- & disabling sounds has to be done the same way, because the setup made in the launcher doesn't override the saved configuration.

installation:
SWP V4.3.1
SW V1.2
HRP

P.s.: Tried other ports to see if my OS is causing the crash but they all work like always. in case of your port, the first version i ever used is 4.3.1 and i don't know if i should try an older version. But if it makes sense, let me know and i'll give it a try.

P.p.s.: The only devide listed as Midi is the "MS GS Wavetable Synth", so i can't try any other. But on the other hand: music plays just fine. Sounds are the problem.
« Last Edit: August 08, 2010, 02:30:55 AM by CG! » Logged
ProAsm
Moderator
Fixture
*
Posts: 477



View Profile
« Reply #10 on: August 08, 2010, 05:29:52 AM »

You can try 427 or 428 as anything prior to 427 is not win7 compatible.

http://www.proasm.com/files/sw/Swp427.zip

http://www.proasm.com/files/sw/Swp428.zip

If your soundcard application software mentions anything about hardware acceleration, switch it off as thats what caused Vista to crash.

Logged

CG!
Lurker

Posts: 3


View Profile
« Reply #11 on: August 08, 2010, 08:32:28 AM »

4.2.7 and 4.2.8 doesn't work too. jSW works w/o probs in XP compat mode.
And i would disable hardware acceleration for my soundcard if i knew how. i can't find anything that allows me to do so.
But would it be this hard to alter JF's source to use different sound drivers like DirectSound 3D/SW or OpenAL?

Edit:
SWP is not installed in an UAC controlled folder nor is the UAC disabled. i just got full admin rights.
Just a suggestion for people with active UAC: You should add the following to your manifest:
Code:
 <ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2">
<ms_asmv2:security>
 <ms_asmv2:requestedPrivileges>
<ms_asmv2:requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
 </ms_asmv2:requestedPrivileges>
</ms_asmv2:security>
  </ms_asmv2:trustInfo>
Since we can't have 2 manifests in 1 file and the regular access right part of the manifest would render the program unusable on XP machines (doesn't open and no crash msg), i added "ms_asmv2" in front of each line in the section. This way it's only used on NT6 and higher.
Took me a while to figure this prob out in my progs, but MSDN was of great value again. ^^
« Last Edit: August 08, 2010, 08:44:28 AM by CG! » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC