.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Bronze- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old November 29th, 2009, 11:57 AM
nuNce's Avatar

nuNce nuNce is offline
Private
 
Join Date: Nov 2009
Location: Perugia, Italy
Posts: 38
Thanks: 4
Thanked 1 Time in 1 Post
nuNce is on a distinguished road
Default

After some days of yelling at my PC screen for the game not working correctly, I found out how to do it. So I'd like to share with you some tips and suggestions.

First, what I'm using. I'm running the game with wine 1.1.31 under Ubuntu 9.10 Karmic Koala. This last version has solved many problem I had with the previous one. I'm using Windows XP emulation.

Audio glitches

Without changing any settings my audio was choppy and didn't play very well. I tried the Esound driver, but it kept going out of sync with the graphics, so I instead switched to ALSA. I've turned hardware acceleration off (driver emulation) but I kept maximum sound quality.

No audio and no interface issue

This was getting me mad the most. At some point, the audio playback gone mute, and the interface on the right would disappear. You may be lucky enough to get it back just in time for a save, after which the game would freeze and crash. Seems like this is caused by overlapping sounds, due to fast graphics execution. I have solved this by setting the graphics delay to 40 in the launcher, so the game plays at a decent speed (I'd say normal) and my game hasn't crashed since then. Also disabling the mouse click helps a lot.
Help may have come from a registry key I have entered to enable direct access to the soundcard. To do so simply open the terminal and input "wine regedit". Then you must find out the key HKEY_CURRENT_USER//Software//Wine//DirectSound and right click in the right screen. Choose "New/String" name it UseDirectHW, and then as value put y.

Streched window

You may start your game in windowed mode, but then you notice that your gamescreen is short. Your width is right, but the height is 200-300px. This is often caused by using a resolution with a height larger than the actual screen height. Raise your screen's resolution or lower the game's one.

Full CD version launcher not recognized

This applies only to CD version owners!

You launch your game by double clicking the .exe but when you try to access to the enhanced functions they are greyed out (resolution higher than 800*600) or a message tells you they are available only to CD owners. Man! This may get you mad. As simple as it can be you need only to launch the game from terminal with

Quote:
wine ~/.wine/drive_c/Program Files/Shrapnel Games/The Camo Workshop/WinSPWW2/WW2GameOptions.exe
You can write yourself a bash script to put a Desktop link too. Open a text editor and input the following.

Quote:
#!/bin/bash
cd $HOME'/.wine/drive_c/Program Files/Shrapnel Games/The Camo Workshop/WinSPWW2'
WINEDEBUG=-all wine WW2GameOptions.exe
Please check the directory to your game is correct (should be if you didn't change it during install).

Now save the file as winsp and open the terminal. Browse to the directory where you saved the file and digit these commands:

Quote:
chmod +x winsp
sudo cp winsp /usr/bin
Now you can make a link on the desktop by creating a new launcher and assigning it the command winsp.

I hope it helps!

Last edited by nuNce; December 5th, 2009 at 03:30 AM.. Reason: Streched Window issue added
Reply With Quote
  #2  
Old November 29th, 2009, 12:02 PM
nuNce's Avatar

nuNce nuNce is offline
Private
 
Join Date: Nov 2009
Location: Perugia, Italy
Posts: 38
Thanks: 4
Thanked 1 Time in 1 Post
nuNce is on a distinguished road
Default Re: Maxing winSPWW2 working on Linux, using WINE

Whoops! Can a mod change the thread title to "Making winSPWW2..." and then delete this post? Thanks!
Reply With Quote
  #3  
Old December 4th, 2009, 08:56 PM
junk2drive's Avatar

junk2drive junk2drive is offline
Sergeant
 
Join Date: Jun 2005
Location: Arizona West Coast
Posts: 260
Thanks: 1
Thanked 1 Time in 1 Post
junk2drive is on a distinguished road
Default Re: Making winSPWW2 work on Linux, using WINE

I'm using Lucid 10.01 alpha with Wine 1.1.33 beta and CD version.
Game menu comes up fine, allows me to select 1024x768. But windowed or full screen I get a box 1024 wide and about 200 high and I can't select anything. 800x600 windowed works fine.
Reply With Quote
  #4  
Old December 5th, 2009, 03:26 AM
nuNce's Avatar

nuNce nuNce is offline
Private
 
Join Date: Nov 2009
Location: Perugia, Italy
Posts: 38
Thanks: 4
Thanked 1 Time in 1 Post
nuNce is on a distinguished road
Default Re: Making winSPWW2 work on Linux, using WINE

AFAIK this depends on your screen resolution If you choose a height or a width greater than those of your display you get a streched window. I'll add this to the first post. Tell me what screen resolution you use. I have 1280*800 and I can't go past 1024*768.
Reply With Quote
  #5  
Old December 6th, 2009, 12:09 PM
junk2drive's Avatar

junk2drive junk2drive is offline
Sergeant
 
Join Date: Jun 2005
Location: Arizona West Coast
Posts: 260
Thanks: 1
Thanked 1 Time in 1 Post
junk2drive is on a distinguished road
Default Re: Making winSPWW2 work on Linux, using WINE

I have a CRT set at 1024x768. The game menu lists several choices.
I tried editing the .ini to add a line for height but that didn't work.
Reply With Quote
  #6  
Old December 6th, 2009, 12:45 PM
nuNce's Avatar

nuNce nuNce is offline
Private
 
Join Date: Nov 2009
Location: Perugia, Italy
Posts: 38
Thanks: 4
Thanked 1 Time in 1 Post
nuNce is on a distinguished road
Default Re: Making winSPWW2 work on Linux, using WINE

The menu will always list all possibilieties. Since your screen's height is 768, when you start the game at the same resolution the window's height will be 768+the border and the titlebar, so it will overflow. If you can try setting the screen resulution to a higher value, just for testing purposes.
Reply With Quote
  #7  
Old December 8th, 2009, 10:49 PM
junk2drive's Avatar

junk2drive junk2drive is offline
Sergeant
 
Join Date: Jun 2005
Location: Arizona West Coast
Posts: 260
Thanks: 1
Thanked 1 Time in 1 Post
junk2drive is on a distinguished road
Default Re: Making winSPWW2 work on Linux, using WINE

I tried with and without virtual desktop and all the res above 1024, still no luck.
I'm installing 1.1.34 now and will check again.
Reply With Quote
  #8  
Old December 9th, 2009, 07:47 AM
nuNce's Avatar

nuNce nuNce is offline
Private
 
Join Date: Nov 2009
Location: Perugia, Italy
Posts: 38
Thanks: 4
Thanked 1 Time in 1 Post
nuNce is on a distinguished road
Default Re: Making winSPWW2 work on Linux, using WINE

It's not a case of virtual desktop. I meant you should have tried changing your actual desktop resolution.
Reply With Quote
  #9  
Old December 9th, 2009, 09:48 AM
junk2drive's Avatar

junk2drive junk2drive is offline
Sergeant
 
Join Date: Jun 2005
Location: Arizona West Coast
Posts: 260
Thanks: 1
Thanked 1 Time in 1 Post
junk2drive is on a distinguished road
Default Re: Making winSPWW2 work on Linux, using WINE

It took me years to go from 800x600 to 1024x768, lol. I'm old and it is hard enough to see little icons.

1.1.34 did not change it.

1280x1024 is my only other choice, didn't help either.
Reply With Quote
  #10  
Old December 9th, 2009, 12:29 PM
nuNce's Avatar

nuNce nuNce is offline
Private
 
Join Date: Nov 2009
Location: Perugia, Italy
Posts: 38
Thanks: 4
Thanked 1 Time in 1 Post
nuNce is on a distinguished road
Default Re: Making winSPWW2 work on Linux, using WINE

You may change resolution only when you play winSPww2, or you may buy a bigger monitor! If you find it difficult to read text when @ 1280 you may change your DPI, so text would look bigger.

To do this go (I'm assuming you are using ubuntu) System/Preferences/Looks/Characters (I'm guessing it, I have an Italian language install) then Details, and you can raise your DPI value.
Reply With Quote
Reply

Bookmarks

Tags
linux, wine, winspww2

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:38 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.