• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Hi there,
I followed the instructions posted at first (thanks to the autor, great work!) and started HOI.
Well, it doesn't do that well.
fbo and backbuffer will get me (after wildly clicking around on a black screen) to something like this: http://imagebin.ca/view/cjybH6Z.html
Terminal says that: http://pastebin.ch/4940
I think it seems like my graphics chip doesn't support Pixelshader 2, but even intensive google-ing didn't get me the info I wanted.

My system:

HP 550
Debian Sid 2.6.32-686 32 Bit

Intel 550 - 2 Ghz
2 Gig Ram
Intel 965 GME/GLE


Thanks in advance,
Jon


E: Wikipedia says the chip supports Pixelshader 4.0, so I guess it does indeed also support 2.0.
 
Last edited:
Well, I installed hoi3 using this method on my ubuntu, and it has been running fine for weeks- suddenly today after trying to run the game, it starts up in this weird windowed screen mode with all the buttons and the screen messed up- basically unplayable. When I try to open the settings file to see if it's somehow set itself on windowed mode, the file comes up blank.

I'm pretty new with linux so I'm not sure what's wrong here or what to do...
 
have you played around with your wine config?
have a look at your graphics-tab on winecfg, uncheck "emulate a virtual display" if its checked.
if it's not I'm sorry I can't help you right now.
greets,
jon
 
Still problem #24???

I had posted twice about the #24 problem. I gave up for a while and went back to playing HOI2. A couple of days ago, I reinstalled HOI3 and I installed the 1.4 patch.
Big change. I'm now able to get through the initial load sequence. I get to the screen where I select my time period and my country. When the game goes to load my choices, it reaches a point where says "Adapting History," then crashes. Any ideas on where to go next?

I'm still running Ubuntu 9.10 on a dual core amd machine

Mark
 
What's your system, which kernel, video drivers, wine version etc are you using, paste your stdout. We're not psychic here.

System - White box amd dual core processor 5000+
O/S - Ubuntu 9.10
Kernel - 2.6.31.20
Gnome - 2.28.1
Wine - 1.1.39
Video Card - NVIDIA GeForce 8400 GS 512 mb.
Drivers - 185.18.36

I'm having difficulty getting the program to boot up at all using the terminal. My last entry produced a C ++ runtime error.

This is the print-out from the terminal.

mark@mark-desktop:/home$ wine /home/mark/.wine/dosdevices/C:/Program\ Files/Paradox\ Interactive/Hearts\ of\ Iron\ III/hoi3game.exe
wine: Unhandled exception 0x40000015 at address 0x7bc30073:0x00ddb34c (thread 0009), starting debugger...
mark@mark-desktop:/home$ Process of pid=0008 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process tid prio (all id:s are in hex)
0000000e services.exe
00000015 0
00000014 0
00000010 0
0000000f 0
00000011 winedevice.exe
00000017 0
00000016 0
00000013 0
00000012 0
00000018 explorer.exe
00000019 0
You must be attached to a process to run this command.
No process loaded, cannot execute 'detach'

I get much better success using the desktop icon, but no log file.

Mark
 
I seem to have the same problems as you, mr2131. The game loads fine, music plays, I get to the main menu. I can select a scenario, country to play and change settings. When I then start the game the loading starts and at "Adapting History..." the game crashes.

This is the console output:
Code:
Unhandled exception: page fault on read access to 0x00000040 in 32-bit code (0x008f219f).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:008f219f ESP:0032de38 EBP:00000010 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:00000001 ECX:00000040 EDX:00cf8970
 ESI:6e358118 EDI:6e358158
Stack dump:
0x0032de38:  6e358118 6e3437b0 6e34e000 00000000
0x0032de48:  6e358118 0000000f 74726f73 66666f5f
0x0032de58:  01000000 0032dec8 00000008 0000000f
0x0032de68:  0032df00 00f667eb 00000014 008f2b77
0x0032de78:  0943e580 0032dec8 6e3437b0 6e3437b0
0x0032de88:  6e3273c8 6ba39310 00000000 00000001
Backtrace:
=>0 0x008f219f in hoi3game (+0x4f219f) (0x00000010)
  1 0x00000000 (0x00000000)
0x008f219f: movl	0x0(%ecx),%eax
Modules:
Module	Address			Debug info	Name (131 modules)
PE	  350000-  373000	Deferred        devenum
PE	  380000-  387000	Deferred        msdmo
PE	  400000- 1720000	Export          hoi3game
PE	 1720000- 1ac8000	Deferred        d3dx9_35
PE	10000000-10031000	Deferred        lua51
PE	1c400000-1c418000	Deferred        l3codecx.ax
PE	35500000-35708000	Deferred        quartz
PE	61b80000-61b96000	Deferred        zlib1
PE	72880000-72890000	Deferred        vcomp
ELF	7b800000-7b93a000	Deferred        kernel32<elf>
  \-PE	7b810000-7b93a000	\               kernel32
ELF	7ba6d000-7ba86000	Deferred        usp10<elf>
  \-PE	7ba70000-7ba86000	\               usp10
ELF	7bad2000-7bb4e000	Deferred        libgcrypt.so.11
ELF	7bb4e000-7bc00000	Deferred        libkrb5.so.3
ELF	7bc00000-7bcb6000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcb6000	\               ntdll
ELF	7bcd5000-7bcda000	Deferred        libgpg-error.so.0
ELF	7bcda000-7bcec000	Deferred        libtasn1.so.3
ELF	7bcec000-7bd00000	Deferred        libresolv.so.2
ELF	7bd00000-7bd2b000	Deferred        libk5crypto.so.3
ELF	7bd2b000-7bdd3000	Deferred        libgnutls.so.26
ELF	7bdd3000-7be00000	Deferred        libgssapi_krb5.so.2
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7bf06000-7bf0a000	Deferred        libkeyutils.so.1
ELF	7bf0a000-7bf1b000	Deferred        libavahi-client.so.3
ELF	7bf1b000-7c000000	Deferred        oleaut32<elf>
  \-PE	7bf30000-7c000000	\               oleaut32
ELF	7c006000-7c04b000	Deferred        libcups.so.2
ELF	7c065000-7c07e000	Deferred        spoolss<elf>
  \-PE	7c070000-7c07e000	\               spoolss
ELF	7c07e000-7c0d7000	Deferred        setupapi<elf>
  \-PE	7c090000-7c0d7000	\               setupapi
ELF	7c24b000-7c254000	Deferred        libkrb5support.so.0
ELF	7c254000-7c260000	Deferred        libavahi-common.so.3
ELF	7c5ef000-7c5f3000	Deferred        libcom_err.so.2
ELF	7c5f3000-7c613000	Deferred        localspl<elf>
  \-PE	7c600000-7c613000	\               localspl
ELF	7c695000-7c6a9000	Deferred        lz32<elf>
  \-PE	7c6a0000-7c6a9000	\               lz32
ELF	7c6a9000-7c6df000	Deferred        winspool<elf>
  \-PE	7c6b0000-7c6df000	\               winspool
ELF	7c733000-7d69c000	Deferred        libglcore.so.1
ELF	7d69c000-7d743000	Deferred        libgl.so.1
ELF	7d744000-7d75d000	Deferred        version<elf>
  \-PE	7d750000-7d75d000	\               version
ELF	7d75d000-7d773000	Deferred        midimap<elf>
  \-PE	7d760000-7d773000	\               midimap
ELF	7d773000-7d799000	Deferred        msacm32<elf>
  \-PE	7d780000-7d799000	\               msacm32
ELF	7d799000-7d7b1000	Deferred        msacm32<elf>
  \-PE	7d7a0000-7d7b1000	\               msacm32
ELF	7dfb2000-7dfb9000	Deferred        libogg.so.0
ELF	7dfb9000-7dfe4000	Deferred        libvorbis.so.0
ELF	7dfe4000-7e0de000	Deferred        libvorbisenc.so.2
ELF	7e0de000-7e12e000	Deferred        libflac.so.8
ELF	7e12e000-7e167000	Deferred        libdbus-1.so.3
ELF	7e167000-7e1d3000	Deferred        libsndfile.so.1
ELF	7e1d3000-7e1dc000	Deferred        libwrap.so.0
ELF	7e1dc000-7e1e2000	Deferred        libxtst.so.6
ELF	7e1e2000-7e22c000	Deferred        libpulsecommon-0.9.19.so
ELF	7e22c000-7e26c000	Deferred        libpulse.so.0
ELF	7e26f000-7e278000	Deferred        librt.so.1
ELF	7e278000-7e340000	Deferred        libasound.so.2
ELF	7e353000-7e35a000	Deferred        libasound_module_pcm_pulse.so
ELF	7e35a000-7e391000	Deferred        winealsa<elf>
  \-PE	7e360000-7e391000	\               winealsa
ELF	7e3a7000-7e3b2000	Deferred        libxcursor.so.1
ELF	7e3b2000-7e3b8000	Deferred        libxfixes.so.3
ELF	7e3b8000-7e3bc000	Deferred        libxcomposite.so.1
ELF	7e3bc000-7e3c5000	Deferred        libxrandr.so.2
ELF	7e3c5000-7e3cf000	Deferred        libxrender.so.1
ELF	7e3cf000-7e3d5000	Deferred        libxxf86vm.so.1
ELF	7e3d5000-7e3d8000	Deferred        libxinerama.so.1
ELF	7e3d8000-7e3f9000	Deferred        imm32<elf>
  \-PE	7e3e0000-7e3f9000	\               imm32
ELF	7e3f9000-7e3fe000	Deferred        libxdmcp.so.6
ELF	7e3fe000-7e41c000	Deferred        libxcb.so.1
ELF	7e41c000-7e420000	Deferred        libxau.so.6
ELF	7e420000-7e425000	Deferred        libuuid.so.1
ELF	7e425000-7e554000	Deferred        libx11.so.6
ELF	7e554000-7e564000	Deferred        libxext.so.6
ELF	7e564000-7e57f000	Deferred        libice.so.6
ELF	7e57f000-7e588000	Deferred        libsm.so.6
ELF	7e588000-7e58a000	Deferred        libnvidia-tls.so.1
ELF	7e5a2000-7e641000	Deferred        winex11<elf>
  \-PE	7e5b0000-7e641000	\               winex11
ELF	7e674000-7e69b000	Deferred        libexpat.so.1
ELF	7e69b000-7e6c8000	Deferred        libfontconfig.so.1
ELF	7e6c8000-7e6de000	Deferred        libz.so.1
ELF	7e6de000-7e75d000	Deferred        libfreetype.so.6
ELF	7e777000-7e7b0000	Deferred        dinput<elf>
  \-PE	7e780000-7e7b0000	\               dinput
ELF	7e7b0000-7e7cb000	Deferred        dinput8<elf>
  \-PE	7e7c0000-7e7cb000	\               dinput8
ELF	7e7cb000-7e822000	Deferred        ddraw<elf>
  \-PE	7e7d0000-7e822000	\               ddraw
ELF	7e822000-7e84d000	Deferred        ws2_32<elf>
  \-PE	7e830000-7e84d000	\               ws2_32
ELF	7e84d000-7e94a000	Deferred        ole32<elf>
  \-PE	7e870000-7e94a000	\               ole32
ELF	7e94a000-7e9d1000	Deferred        winmm<elf>
  \-PE	7e950000-7e9d1000	\               winmm
ELF	7e9d1000-7ea19000	Deferred        dsound<elf>
  \-PE	7e9e0000-7ea19000	\               dsound
ELF	7ea19000-7eb4d000	Deferred        wined3d<elf>
  \-PE	7ea20000-7eb4d000	\               wined3d
ELF	7eb4d000-7eb81000	Deferred        d3d9<elf>
  \-PE	7eb50000-7eb81000	\               d3d9
ELF	7eb81000-7eb97000	Deferred        psapi<elf>
  \-PE	7eb90000-7eb97000	\               psapi
ELF	7eb97000-7eca5000	Deferred        user32<elf>
  \-PE	7ebb0000-7eca5000	\               user32
ELF	7eca5000-7ed15000	Deferred        rpcrt4<elf>
  \-PE	7ecb0000-7ed15000	\               rpcrt4
ELF	7ed15000-7ed6e000	Deferred        advapi32<elf>
  \-PE	7ed20000-7ed6e000	\               advapi32
ELF	7ed6e000-7edf8000	Deferred        gdi32<elf>
  \-PE	7ed80000-7edf8000	\               gdi32
ELF	7edf8000-7ee66000	Deferred        msvcrt<elf>
  \-PE	7ee10000-7ee66000	\               msvcrt
ELF	7ef92000-7ef9e000	Deferred        libnss_files.so.2
ELF	7ef9e000-7efa9000	Deferred        libnss_nis.so.2
ELF	7efa9000-7efc0000	Deferred        libnsl.so.1
ELF	7efc0000-7efe6000	Deferred        libm.so.6
ELF	f74e4000-f74e8000	Deferred        libdl.so.2
ELF	f74e8000-f762d000	Deferred        libc.so.6
ELF	f762e000-f7647000	Deferred        libpthread.so.0
ELF	f7648000-f7650000	Deferred        libnss_compat.so.2
ELF	f7661000-f779c000	Deferred        libwine.so.1
ELF	f779e000-f77bc000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\Paradox Interactive\Hearts of Iron III\hoi3game.exe
	0000001e    0
	0000001d    1
	0000001c   15
	0000001b   15
	0000001a    0
	00000009    0 <==
0000000e services.exe
	00000014    0
	00000010    0
	0000000f    0
00000011 winedevice.exe
	00000017    0
	00000016    0
	00000013    0
	00000012    0
00000018 explorer.exe
	00000019    0
Backtrace:
=>0 0x008f219f in hoi3game (+0x4f219f) (0x00000010)
  1 0x00000000 (0x00000000)

Running Ubuntu 9.10 64 bits
Core i7 (Quad Core)
GeForce GTS 250 1Gb (Driver version 185.18.36)

I've tried different registry settings, installed the latest wine, tried HoI3 with and without patch, changed sound settings and with/without virtual desktop.
Does anyone have any tips what to look at next?
 
I'm using playonlinux as my wine frontend. I find it easier to install directx and .net than using winetricks. It also easier to change wineversion.

have you doen all these steps:

Install the game:
Cancel .NET Installer
Cancel DirectX Installer
Install MSVC Redistributable
Install MS DirectX 9 ("directx9") with winetricks
Install MS .NET Framework 2.0 ("dotnet20") with winetricks
Set (string) HKCU/Software/Wine/Direct3D/VideoMemorySize to the size of your video card's memory (e.g. "512") via "wine regedit" in HKCU/Software/Wine/Direct3D/
DirectDrawRenderer to "opengl"
OffscreenRenderingMode to "fbo"
PixelShaderMode to "enabled"
VideoMemorySize to the size of your video memory (e.g. "512")
Set (string) HKCU/Software/Wine/DirectSound/MaxShadowSize to "0" via "wine regedit"
Make sure the Windows version is set to Windows XP via "winecfg" (seems to work best)
Optional: Install Patch v1.1 manually (launcher update does not work)
Optional: Install Hotfix v1.1c manually (launcher update does not work)
Play the game (hoi3.exe = launcher, hoi3game.exe = direct entry)

Try wine 1.1.32
You must also disable compiz.
 
Thanks for the tips Gaute65, tried every variation. Managed to get the graphics all messed up with some of the settings, but found nothing so far to fix the crash during scenario start.

Not sure what to try next... will report back if I find anything to fix it.
 
Has anyone tried with crossover games? I noticed the other day on wine-reviews that version 9 was just released.
 
I did a completely new install (new wine environment: .wine-hoi3-2)
Didn't do any patches tried to start the game, it crashed now before the menu. I enabled the virtual desktop through winecfg and after that the game just works.
Haven't had much time to play yet, so can't comment on stability.

I have no idea what I did different this time though...
 
Is anyone else having trouble upgrading to 1.4? I'm running the file johan posted in the patch thread, the terminal keeps getting spammed with this

Code:
err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002

Then, when I select agree on the EULA screen, it quits with this error:

hoi14error.png


Ubuntu 10.04 beta, 2.6.32-18 generic kernel, wine 1.1.41.

EDIT: Never mind, got it. If anyone else is having this problem, I solved it by reverting to 1.1.37 and disabling ubuntu's "advanced" wine integration features that place C:\ in your /home.
 
Last edited:
I got the same how do I disable the integration "features"? Right now it's not a huge problem as I got the last RC installed. But would be intresting to know how. Also the problem seems to effect all InstallShield installs.
 
Uninstall the repository version of wine:

Code:
sudo apt-get remove wine wine1.2

Install the 1.1.37 version from here (download the appropriate .deb and install it with dpkg or gdebi)

P.S.:As I've learned, it's basically never a good idea to upgrade wine once you have a configuration that works well with all your windows apps. You might consider holding future updates back, especially if you're only using wine for HOI.
 
Last edited:
Well I wish I was that lucky, I got quite a few games I use wine with and from time to time I need the newest version for something I want to play with.

There is no way to disable this "feature" without reverting to a older version? (I want to keep the current version as it is possible to play Evil Genius in it :))
 
Uninstall the repository version of wine:

Code:
sudo apt-get remove wine wine1.2

Install the 1.1.37 version from here (download the appropriate .deb and install it with dpkg or gdebi)

P.S.:As I've learned, it's basically never a good idea to upgrade wine once you have a configuration that works well with all your windows apps. You might consider holding future updates back, especially if you're only using wine for HOI.

There are instructions here:

http://www.winehq.org/download/deb

on how to specify the Wine repository. This way, any updates they make will be available to you via apt-get.
 
There are instructions here:

http://www.winehq.org/download/deb

on how to specify the Wine repository. This way, any updates they make will be available to you via apt-get.

That's exactly what I don't want, because their updates tend to break stuff more often than not. I just forgot to blacklist wine updates after upgrading to ubuntu 10.04, that's all.
 
Well I wish I was that lucky, I got quite a few games I use wine with and from time to time I need the newest version for something I want to play with.

There is no way to disable this "feature" without reverting to a older version? (I want to keep the current version as it is possible to play Evil Genius in it :))

You can use playonlinux.

There you can set each program with different wine version. With this bug, I set the main system to 1.1.37 and run HOI3 with 1.1.40.