Hearts of Iron III Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Works Perfectly and Smoothly.

I have manage to work this game in perfect, as I had with standard wine. How can I publish a brief of my Codeweaver Bottle, so every one following the same configuration can make it work?

Thanks in advance.

PD: Next in list is Lotro (all expansions) and Empire Total War.

As an ordinary user, you can just describe in plain language, here in this forum, what you did to get it working well.

If you sign up to be an advocate for this app, you can then edit the Tips & Tricks section or even create a C4P file, which will automate the installation for other users.

Thanks!

franciso so what did you do? i'm going to attempt to get hoi3 running today on my crossover box and then install the new semper fi addon

I'm getting a lot of OOM errors in the log when i try to run the game. I've tried direct x modern and even the dx10 file someone put out. Next i'm going to try the dx web installer that done put out.

Ok i got it working too the big steps you gotta do are making sure you go into regedit

Time for some registry tweaks. Start regedit

Goto RUN > enter 'regedit' (no quotes)

Then find:
HKEY_CURRENT_USER/Software/Wine/Direct3D

If the Direct3D key does not exist, please create it (right click on "Wine" -> New -> Key). Inside that registry key we want to create the following string values (right click in empty space on the right -> New -> String Value)

VideoMemorySize
OffscreenRenderingMode

Assign a value to the data fields by double clicking the item and writing down the value in the dialog box. Set OffscreenRenderingMode to "fbo" (without "").
Note that we didn't assign a value to the VideoMemorySize string yet. You have to enter the amount of your video card's memory which is normally something like "256" or "512". Please read your video card's manual to find out.

Move upwards one level in the registry, so that we are back to "Wine". We need to navigate to a key called "DirectSound". If it's not there, create it. Move into that key, just as we did before and create a new string value called

Code:

MaxShadowSize

Set the value (data field) of MaxShadowSize to "0" (without "").

Here's what works for me. Thanks to all those from whose posts in different places that I have gathered these steps. I've used this on sidux, Mint 8 and openSUSE 11.3. This works using the downloaded version from GamersGate. Using the CD version may be different. Using the Steam version is probably much different.

Install Microsoft DirectX Runtime - Modern into a new bottle (something like HOI3).
Install Microsoft .Net Framework 3.0 into the HOI3 bottle.
Install the game into the HOI3 bottle. DO NOT start the game when you have the option to do so.
Install all patches and packs you wish to use into HOI3.
Download a copy of MSVCP60.DLL and copy to .cxgames/HOI3/drive_c/windows/sytem32.
From Manage Bottles run regedit.
In HKEY_CURRENT_USER/Software/Wine create keys Direct3D and DirectSound.
In Direct3D create string value DirectDrawRenderer in Direct3D and set to opengl.
In Direct3D create string value OffscreenRenderingMode in Direct3D and set to fbo (alternatively pbuffer or backbuffer - fbo is what works for me).
In Direct3D create string value PixelShaderMode in Direct3D and set to opengl.
In Direct3D create string value VideoMemorySize in Direct3D and set to the amount of RAM in MB on your video card.
In Direct3D create string value MaxShadowSize in Direct3D and set to 0.
Close Regedit.

At this point the game may run if you are on a standard 4x3 resolution monitor. It would crash for me on "Creating World," I suspect because I'm on a wide-screen monitor. So I:
Go to Manage Bottles>Control Panel>Wine Configuration>Graphics and check Emulate a Virtual Desktop.
Close all of the above and start the game. Go to Custom Game>Options and set the resolution to the same as your desktop.
Exit the game, go back into Wine Configuration and uncheck the Virtual Desktop option. Close out and you should be ready to play.

Remaining issues for me are that there is no music in the game (though FX are fine) and when exiting I frequently have a Windows error message and a remaining zombie process that has to be killed, sometimes requiring a full reboot. For some reason this is less of a problem on openSUSE 11.3 than on the other distributions...

Bill Fite wrote:

Here's what works for me. Thanks to all those from whose posts in
different places that I have gathered these steps. I've used this
on sidux, Mint 8 and openSUSE 11.3. This works using the downloaded
version from GamersGate. Using the CD version may be different.
Using the Steam version is probably much different.

Install Microsoft DirectX Runtime - Modern into a new bottle
(something like HOI3).
Install Microsoft .Net Framework 3.0 into the HOI3 bottle.
Install the game into the HOI3 bottle. DO NOT start the game when
you have the option to do so.
Install all patches and packs you wish to use into HOI3.
Download a copy of MSVCP60.DLL and copy to
.cxgames/HOI3/drive_c/windows/sytem32.
From Manage Bottles run regedit.
In HKEY_CURRENT_USER/Software/Wine create keys Direct3D and
DirectSound.
In Direct3D create string value DirectDrawRenderer in Direct3D and
set to opengl.
In Direct3D create string value OffscreenRenderingMode in Direct3D
and set to fbo (alternatively pbuffer or backbuffer - fbo is what
works for me).
In Direct3D create string value PixelShaderMode in Direct3D and set
to opengl.
In Direct3D create string value VideoMemorySize in Direct3D and set
to the amount of RAM in MB on your video card.
In Direct3D create string value MaxShadowSize in Direct3D and set to

  1. Close Regedit.

At this point the game may run if you are on a standard 4x3
resolution monitor. It would crash for me on "Creating World," I
suspect because I'm on a wide-screen monitor. So I:
Go to Manage Bottles>Control Panel>Wine Configuration>Graphics and
check Emulate a Virtual Desktop.
Close all of the above and start the game. Go to Custom
Game>Options and set the resolution to the same as your desktop.
Exit the game, go back into Wine Configuration and uncheck the
Virtual Desktop option. Close out and you should be ready to play.

Remaining issues for me are that there is no music in the game
(though FX are fine) and when exiting I frequently have a Windows
error message and a remaining zombie process that has to be killed,
sometimes requiring a full reboot. For some reason this is less of
a problem on openSUSE 11.3 than on the other distributions...

Yea the c4p i made handles everything but the DirectDrawRender and PixelShaderMode. The music also does not work for me but that turns out to be an pulseaudio & ubuntu thing more then anything.

Correction to my previous post:

PixelShaderMode should be set to enabled and MaxShadowSize should be under the key DirectSound.
Thought I was being careful on those instructions, but I guess not.

William, I just set up Victoria 2 using the same method and it runs perfectly - except again no music.

You may be right about it being a Pulseaudio issue. I'm thinking over the weekend I might set up an alsa-only distribution (I'm thinking one of the lightweight Slack distros like Zenwalk or Vector) and see how that goes. If I do, I'll let you know how it goes...

Hi,

Just 2 cents worth of info here...the MSVCP60.DLL library is
provided by the Microsoft Visual C++ 6.0 Redistributable package,
which is a builtin install target in cxinstaller in the 'Runtime
Support Components' grouping of the GUI. As for no music, it'd be
worth checking if the app(s) are loading msacm32.dll -- over the
past couple of months, I've found that library to be often responsible
for lack of music/sound...not always...but it would be something
I'd check out just in case....

Cheers!

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiYjRUYm1yNUVFbVhwS3VLSCIsImdkcHIiOjB9