Tutorial for running SPWAW through VirtualBox

SPWaW is a tactical squad-level World War II game on single platoon or up to an entire battalion through Europe and the Pacific (1939 to 1945).

Moderator: MOD_SPWaW

User avatar
Riitaoja2
Posts: 208
Joined: Wed Feb 10, 2016 12:57 pm

RE: Tutorial for running SPWAW through VirtualBox

Post by Riitaoja2 »

ORIGINAL: sami heimola

R2, I made one test recently. Result was interesting imho. I launched SPWAW in Windows 98 mode (without any virtualbox) via compability menu. I chose 3 german 105 mmm batteries (after than I chose "attack" game against Russia 1941). I set 3 targets. I noticed that all flags I marked as targets, were marked "properly" under 30 seconds each! And leaving menu lasted only 20-30 seconds:). I was amazed how fast "action" went with only changing compability[X(]... Was it only good luck or not[:'(]?

I am a bit puzzled by the delay issue you are experiencing. Are you saying that when you click on something there is a delay before anything happens? Because the usual problem people are having is that the click does not register at all and they have to click several times but there is no actual delay when it does register the mouse click.

I wonder if you have some other issue with your computer that causes the delay. It could be a bad video/audio driver or maybe some installed software that is conflicting with the game. For example many third party video and music playback programs install bad codecs that can mess up the game.

It could even be a power saving option. At least on laptop computers the power saving settings are a common cause for sluggish behaviour in games where it takes several second for the CPU to wake up and give full power. This can be tuned in the power saving settings so that the cpu always runs at 100% speed.

Image
In this screenshot I would change the "Minimum processor state" to 100% instead of 80%. The example is of a laptop computer where one might still want to keep the percentages lower for battery power.

Also in the Windows power options there should be a check box for "High Performance" which should also set the CPU to run at 100%.
sami heimola
Posts: 421
Joined: Mon May 08, 2000 8:00 am
Location: kouvola finland

RE: Tutorial for running SPWAW through VirtualBox

Post by sami heimola »

R2, I'm not sure what software in my PC could add that "delay" into SPWAW[8|]... As you said it could be some video/audio driver or VLC/dvd software-thing. But in the end of day, this art bug is quite "less" (in my point of view). I can deal with it until someone will find good solution for any kind of processors[;)]...
sami heimola
Posts: 421
Joined: Mon May 08, 2000 8:00 am
Location: kouvola finland

RE: Tutorial for running SPWAW through VirtualBox

Post by sami heimola »

Btw, R2, as you seem to have lot of knowledge about game/computer-things, do you know any trick to get SPWAW working as "windowed" mode (like WinSPWW2/MBT)?
User avatar
Riitaoja2
Posts: 208
Joined: Wed Feb 10, 2016 12:57 pm

RE: Tutorial for running SPWAW through VirtualBox

Post by Riitaoja2 »

ORIGINAL: sami heimola

Btw, R2, as you seem to have lot of knowledge about game/computer-things, do you know any trick to get SPWAW working as "windowed" mode (like WinSPWW2/MBT)?

Yes I do and it is called DXWnd. I posted about it last year here:
fb.asp?m=3811621

Just leave the checkbox "Run in Window" checked.
User avatar
Major_Mess
Posts: 478
Joined: Sun Feb 08, 2004 4:28 pm
Location: The True North. Strong and Free

RE: Tutorial for running SPWAW through VirtualBox

Post by Major_Mess »

Sami, you're running an i5? right?

Try this with DXWnd.
Input Tab - check the "Slow down mouse polling" box
Compat Tab - check the "Set single core process affinity" box

these settings have worked on another i5.


HTH


MM
Click below. You know you want to!!


Image
sami heimola
Posts: 421
Joined: Mon May 08, 2000 8:00 am
Location: kouvola finland

RE: Tutorial for running SPWAW through VirtualBox

Post by sami heimola »

Thanks about link R2[:)]. Strange, I have seen it before (last year?) but I looked only art fix thing and passed DXWnd some reason[8|]... I will try this if I have time.

edit:Seems to work in my end[:'(]. Btw, do I have to launch DXWnd every time as I want SPWAW as windowed mode? Do options stay in "memory" until I change them as full screen?
User avatar
Riitaoja2
Posts: 208
Joined: Wed Feb 10, 2016 12:57 pm

RE: Tutorial for running SPWAW through VirtualBox

Post by Riitaoja2 »

ORIGINAL: sami heimola

Thanks about link R2[:)]. Strange, I have seen it before (last year?) but I looked only art fix thing and passed DXWnd some reason[8|]... I will try this if I have time.

edit:Seems to work in my end[:'(]. Btw, do I have to launch DXWnd every time as I want SPWAW as windowed mode? Do options stay in "memory" until I change them as full screen?

Yes you have to launch the game from DXWnd every time. The settings should save so you do not need to manualy edit them every time. If they are not saving then you need to make sure that you start DXWnd with administrator rights and that DXWnd is not located in a Windows UAC managed forlder like \Program Files.
User avatar
Riitaoja2
Posts: 208
Joined: Wed Feb 10, 2016 12:57 pm

RE: Tutorial for running SPWAW through VirtualBox

Post by Riitaoja2 »

Small update:

My Windows ME virtual machine was freezing randomly. I fixed this by changing the Audio Controller to SoundBlaster 16 in the VirtualBox settings. Updated post #15.
User avatar
Riitaoja2
Posts: 208
Joined: Wed Feb 10, 2016 12:57 pm

RE: Tutorial for running SPWAW through VirtualBox

Post by Riitaoja2 »

I have also been looking into the Bochs emulator:
https://en.wikipedia.org/wiki/Bochs
https://sourceforge.net/projects/bochs/ ... =directory

This might be another option but it does reguire alot from the host machine. Basicaly my budget 2-core Pentium is just too slow to run WindowsME on Bochs. However the faster CPU's out there might be able to run it. Bochs is not very user friendly though compared to VirtualBox.

Here is a link with some basic info regarding the setup of Bosch for Win9x:
http://emaculation.com/doku.php/bochs
User avatar
Riitaoja2
Posts: 208
Joined: Wed Feb 10, 2016 12:57 pm

RE: Tutorial for running SPWAW through VirtualBox

Post by Riitaoja2 »

One completely free option for those that do not have access to an old Windows version could be using Linux.

Basicaly one could install say Linux Ubuntu on VirtualBox and then run SPWAW with the Wine Software.

https://en.wikipedia.org/wiki/Ubuntu_%2 ... _system%29
https://en.wikipedia.org/wiki/Wine_%28software%29
User avatar
Riitaoja2
Posts: 208
Joined: Wed Feb 10, 2016 12:57 pm

RE: Tutorial for running SPWAW through VirtualBox

Post by Riitaoja2 »

I noticed a problem with the video playback while using VirtualBox. The videos started to play correctly but after a short while they started to slow down and skip.

The game uses Smacker video codec for the .smk video files. And the codec is in smackw32.dll. After some searching I found the latest version of smakcer video that still works with SPWAW. This is version 3.1s. The version SPWAW comes with is 3.0g. This updated smakw32.dll solved the video playback issues in VirtualBox.


The attachment is as a .txt file. You will need to change it to .zip.
Example screenshot:
Image
Attachments
smackw32.txt
(43.4 KiB) Downloaded 7 times
Post Reply

Return to “Steel Panthers World At War & Mega Campaigns”