Problem triying to launch NapoleonTW

Questions about Wine on Linux
Locked
jack philiphs
Level 1
Level 1
Posts: 7
Joined: Sun Feb 18, 2018 11:54 am

Problem triying to launch NapoleonTW

Post by jack philiphs »

Hi... im new on ubuntu and im triying to launch napoleon total war, i did install it normally using wine 3.0 and every seems to be fine!, but, my screen turns black and then i get this error:

thanks for anyone who can help me!! :D

Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x0046b3cb).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:0046b3cb ESP:0033f7e0 EBP:08e802f4 EFLAGS:00210246( R- -- I Z- -P- )
EAX:00000000 EBX:00000001 ECX:08e16918 EDX:015cf6d0
ESI:00000001 EDI:08e0bf50
Stack dump:
0x0033f7e0: 002206a0 08e802f4 0033f8d8 00000000
0x0033f7f0: 020c0000 40000000 3f99999a 020c0000
0x0033f800: 020c0000 00000000 0dd62a08 020c0000
0x0033f810: 09029f50 09029f50 0033f834 00000000
0x0033f820: 3f800000 002206a0 0033f84c 00000000
0x0033f830: 0dd62a10 002206a0 0033f884 0139cddb
000c: sel=0067 base=00000000 limit=00000000 16-bit --x
Backtrace:
=>0 0x0046b3cb in napoleon (+0x6b3cb) (0x08e802f4)
1 0x015d3eb8 in napoleon (+0x11d3eb7) (0x015d3e60)
2 0x0046bd90 in napoleon (+0x6bd8f) (0x0046aec0)
3 0x000037e8 (0x56f18b56)
0x0046b3cb: movl 0x0(%eax),%ecx
Modules:
Module Address Debug info Name (164 modules)
PE 400000- 1c7b000 Export napoleon
PE d140000- d14f000 Deferred tbbmalloc
PE 10000000-1002e000 Deferred tbb
PE 18000000-18038000 Deferred binkw32
PE 21100000-21199000 Deferred mss32
PE 3b400000-3b41d000 Deferred steam_api
ELF 7a800000-7a93a000 Deferred opengl32<elf>
\-PE 7a820000-7a93a000 \ opengl32
ELF 7b400000-7b7ef000 Deferred kernel32<elf>
\-PE 7b410000-7b7ef000 \ kernel32
ELF 7bc00000-7bcfa000 Deferred ntdll<elf>
\-PE 7bc10000-7bcfa000 \ ntdll
ELF 7c000000-7c004000 Deferred <wine-loader>
ELF 7cf32000-7cf62000 Deferred p11-kit-trust.so
ELF 7cf62000-7cf6b000 Deferred librt.so.1
ELF 7cf6b000-7cf73000 Deferred libffi.so.6
ELF 7cf73000-7cf8b000 Deferred libresolv.so.2
ELF 7cf8b000-7cfd6000 Deferred libdbus-1.so.3
ELF 7cfd6000-7d012000 Deferred libp11-kit.so.0
ELF 7d012000-7d099000 Deferred libgcrypt.so.11
ELF 7d099000-7d0c9000 Deferred libk5crypto.so.3
ELF 7d0c9000-7d188000 Deferred libkrb5.so.3
ELF 7d188000-7d24f000 Deferred libgnutls.so.26
ELF 7d24f000-7d295000 Deferred libgssapi_krb5.so.2
ELF 7d295000-7d302000 Deferred libcups.so.2
ELF 7d402000-7d416000 Deferred libtasn1.so.6
ELF 7d416000-7d422000 Deferred libkrb5support.so.0
ELF 7d422000-7d434000 Deferred libavahi-client.so.3
ELF 7d440000-7d453000 Deferred gnome-keyring-pkcs11.so
ELF 7d453000-7d48c000 Deferred uxtheme<elf>
\-PE 7d460000-7d48c000 \ uxtheme
ELF 7d48c000-7d492000 Deferred libxfixes.so.3
ELF 7d492000-7d49d000 Deferred libxcursor.so.1
ELF 7d49d000-7d4ad000 Deferred libxi.so.6
ELF 7d4ad000-7d4b1000 Deferred libxcomposite.so.1
ELF 7d4b1000-7d4bc000 Deferred libxrandr.so.2
ELF 7d4bc000-7d4c7000 Deferred libxrender.so.1
ELF 7d4c7000-7d4cd000 Deferred libxxf86vm.so.1
ELF 7d4cd000-7d4d1000 Deferred libxinerama.so.1
ELF 7d4d1000-7d4d8000 Deferred libxdmcp.so.6
ELF 7d4d8000-7d4fa000 Deferred libxcb.so.1
ELF 7d4fa000-7d62e000 Deferred libx11.so.6
ELF 7d62e000-7d641000 Deferred libxext.so.6
ELF 7d642000-7d647000 Deferred libgpg-error.so.0
ELF 7d647000-7d64b000 Deferred libkeyutils.so.1
ELF 7d64b000-7d650000 Deferred libcom_err.so.2
ELF 7d650000-7d65e000 Deferred libavahi-common.so.3
ELF 7d660000-7d6f2000 Deferred winex11<elf>
\-PE 7d670000-7d6f2000 \ winex11
ELF 7d6f2000-7d718000 Deferred imm32<elf>
\-PE 7d700000-7d718000 \ imm32
ELF 7d776000-7d77a000 Deferred libxau.so.6
ELF 7d7b8000-7d7e1000 Deferred libexpat.so.1
ELF 7d7e1000-7d81c000 Deferred libfontconfig.so.1
ELF 7d81c000-7d844000 Deferred libpng12.so.0
ELF 7d844000-7d85e000 Deferred libz.so.1
ELF 7d85e000-7d8fe000 Deferred libfreetype.so.6
ELF 7d91d000-7d960000 Deferred winspool<elf>
\-PE 7d920000-7d960000 \ winspool
ELF 7d960000-7da8f000 Deferred comctl32<elf>
\-PE 7d970000-7da8f000 \ comctl32
ELF 7da8f000-7db80000 Deferred comdlg32<elf>
\-PE 7daa0000-7db80000 \ comdlg32
ELF 7db80000-7dbcd000 Deferred dsound<elf>
\-PE 7db90000-7dbcd000 \ dsound
ELF 7dbcd000-7dbf4000 Deferred d3dxof<elf>
\-PE 7dbd0000-7dbf4000 \ d3dxof
ELF 7dbf4000-7dc6c000 Deferred d3dcompiler_43<elf>
\-PE 7dc00000-7dc6c000 \ d3dcompiler_43
ELF 7dc6c000-7dd0f000 Deferred d3dx9_40<elf>
\-PE 7dc80000-7dd0f000 \ d3dx9_40
ELF 7dd0f000-7de65000 Deferred wined3d<elf>
\-PE 7dd20000-7de65000 \ wined3d
ELF 7de65000-7dea5000 Deferred d3d9<elf>
\-PE 7de70000-7dea5000 \ d3d9
ELF 7dea5000-7dec1000 Deferred dinput8<elf>
\-PE 7deb0000-7dec1000 \ dinput8
ELF 7dec1000-7deeb000 Deferred iphlpapi<elf>
\-PE 7ded0000-7deeb000 \ iphlpapi
ELF 7deeb000-7df29000 Deferred ws2_32<elf>
\-PE 7def0000-7df29000 \ ws2_32
ELF 7df29000-7df43000 Deferred wsock32<elf>
\-PE 7df30000-7df43000 \ wsock32
ELF 7df43000-7e004000 Deferred msvcr80<elf>
\-PE 7df60000-7e004000 \ msvcr80
ELF 7e004000-7e160000 Deferred msvcp80<elf>
\-PE 7e040000-7e160000 \ msvcp80
ELF 7e160000-7e2a6000 Deferred oleaut32<elf>
\-PE 7e180000-7e2a6000 \ oleaut32
ELF 7e2a6000-7e320000 Deferred shlwapi<elf>
\-PE 7e2b0000-7e320000 \ shlwapi
ELF 7e320000-7e580000 Deferred shell32<elf>
\-PE 7e330000-7e580000 \ shell32
ELF 7e580000-7e5ac000 Deferred msacm32<elf>
\-PE 7e590000-7e5ac000 \ msacm32
ELF 7e5ac000-7e634000 Deferred rpcrt4<elf>
\-PE 7e5c0000-7e634000 \ rpcrt4
ELF 7e634000-7e79e000 Deferred ole32<elf>
\-PE 7e650000-7e79e000 \ ole32
ELF 7e79e000-7e81b000 Deferred advapi32<elf>
\-PE 7e7b0000-7e81b000 \ advapi32
ELF 7e81b000-7e950000 Deferred gdi32<elf>
\-PE 7e830000-7e950000 \ gdi32
ELF 7e950000-7eb3f000 Deferred user32<elf>
\-PE 7e960000-7eb3f000 \ user32
ELF 7eb3f000-7ebfa000 Deferred winmm<elf>
\-PE 7eb50000-7ebfa000 \ winmm
ELF 7ebfa000-7ec06000 Deferred libnss_files.so.2
ELF 7ec06000-7ec12000 Deferred libnss_nis.so.2
ELF 7ec12000-7ec2b000 Deferred libnsl.so.1
ELF 7ef9b000-7efe1000 Deferred libm.so.6
ELF 7efe6000-7f000000 Deferred version<elf>
\-PE 7eff0000-7f000000 \ version
ELF f620f000-f62da000 Deferred windowscodecs<elf>
\-PE f6220000-f62da000 \ windowscodecs
ELF f62da000-f6452000 Deferred libvorbisenc.so.2
ELF f65af000-f65d7000 Deferred propsys<elf>
\-PE f65c0000-f65d7000 \ propsys
ELF f65d7000-f65e0000 Deferred libogg.so.0
ELF f65e0000-f660c000 Deferred libvorbis.so.0
ELF f660c000-f6640000 Deferred libflac.so.8
ELF f6640000-f6647000 Deferred libasyncns.so.0
ELF f6647000-f66ba000 Deferred libsndfile.so.1
ELF f66ba000-f66c4000 Deferred libwrap.so.0
ELF f66c4000-f6733000 Deferred libpulsecommon-4.0.so
ELF f6733000-f673e000 Deferred libjson-c.so.2
ELF f673e000-f678d000 Deferred libpulse.so.0
ELF f67ac000-f67d6000 Deferred winepulse<elf>
\-PE f67b0000-f67d6000 \ winepulse
ELF f67d6000-f67f9000 Deferred mmdevapi<elf>
\-PE f67e0000-f67f9000 \ mmdevapi
ELF f6932000-f6969000 Deferred libtxc_dxtn.so
ELF f6a69000-f6a74000 Deferred libpciaccess.so.0
ELF f6a74000-f6a91000 Deferred libgcc_s.so.1
ELF f6b79000-f6b86000 Deferred libdrm_radeon.so.1
ELF f6b86000-f6b8f000 Deferred libdrm_nouveau.so.2
ELF f6b8f000-f6bb2000 Deferred libdrm_intel.so.1
ELF f6bb2000-f71b5000 Deferred i965_dri.so
ELF f71b5000-f71bf000 Deferred libnih-dbus.so.1
ELF f71bf000-f71d8000 Deferred libnih.so.1
ELF f71d8000-f71f6000 Deferred libcgmanager.so.0
ELF f71f6000-f7209000 Deferred libudev.so.1
ELF f7209000-f7219000 Deferred libdrm.so.2
ELF f7219000-f7220000 Deferred libxcb-sync.so.1
ELF f7220000-f7224000 Deferred libxcb-present.so.0
ELF f7224000-f7228000 Deferred libxcb-dri3.so.0
ELF f7228000-f7240000 Deferred libxcb-glx.so.0
ELF f7240000-f725b000 Deferred libglapi.so.0
ELF f725b000-f72ed000 Deferred libgl.so.1
ELF f730c000-f7385000 Deferred ddraw<elf>
\-PE f7310000-f7385000 \ ddraw
ELF f7385000-f73aa000 Deferred gameux<elf>
\-PE f7390000-f73aa000 \ gameux
ELF f73f2000-f73f7000 Deferred libdl.so.2
ELF f73f7000-f75a8000 Deferred libc.so.6
ELF f75a8000-f75c4000 Deferred libpthread.so.0
ELF f75c7000-f75d0000 Deferred libnss_compat.so.2
ELF f75d0000-f75d3000 Deferred libxshmfence.so.1
ELF f75d3000-f75d9000 Deferred libxcb-dri2.so.0
ELF f75d9000-f75dc000 Deferred libx11-xcb.so.1
ELF f75dc000-f75e0000 Deferred libxdamage.so.1
ELF f75e3000-f779a000 Dwarf libwine.so.1
ELF f779b000-f77bd000 Deferred ld-linux.so.2
ELF f77bf000-f77c0000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
0000000e services.exe
00000026 0
00000023 0
0000001e 0
00000018 0
00000015 0
00000014 0
00000013 0
00000010 0
0000000f 0
00000011 winedevice.exe
0000001d 0
0000001a 0
00000019 0
00000017 0
00000016 0
00000012 0
0000001b plugplay.exe
00000020 0
0000001f 0
0000001c 0
00000021 winedevice.exe
0000002b 0
00000028 0
00000027 0
00000025 0
00000024 0
00000022 0
00000029 explorer.exe
0000002f 0
0000002e 0
0000002d 0
0000002c 0
0000002a 0
00000030 (D) C:\Games\Napoleon Total War Imperial Edition\Napoleon.exe
00000035 1
00000033 0
00000032 0
00000031 0 <==
System information:
Wine build: wine-3.0-rc6
Platform: i386 (WOW64)
Version: Windows XP
Host system: Linux
Host version: 4.2.0-27-generic
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Problem triying to launch NapoleonTW

Post by jkfloris »

Can you post the complete terminal output?
https://wiki.winehq.org/FAQ#How_can_I_g ... tput.29.3F
And please, please use the forum

Code: Select all

code tags
light green is not readable!
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Problem triying to launch NapoleonTW

Post by Bob Wya »

@jack philiphs

Wine backtraces are not helpful - without - the accompanying Wine terminal log.
See: WineHQ FAQ: 10.1.1 How can I get a debugging log (a.k.a. terminal output)?

Looking at: WineHQ AppDB: Napoleon: Total War...

It appears there are still 2 outstanding bugs affecting this Napoleon: Total War:
  1. Bug 23356 - Napoleon Total War: needs native d3dx9 (HLSL ascii effects not supported) can be worked around with:

    Code: Select all

    winetricks d3dx9
    Make sure your Winetricks script is up-to-date - a very common Debian problem!
  2. Bug 18490 - Multiple games fail to set pixel format on D3D device context created on desktop window (Empire: Total War, Napoleon: Total War, Utopia City) requires a rebased patch, as a workaround.
    Easy if you're running Gentoo. But sadly you're not... :cry:
I suggest to try fixing 1., and see how far you can get...

Bob
jack philiphs
Level 1
Level 1
Posts: 7
Joined: Sun Feb 18, 2018 11:54 am

Re: Problem triying to launch NapoleonTW

Post by jack philiphs »

Here is the terminal output....thanks bob , i fix 1, but now i cant play battles.... how can i apply that patch?


WS_LOADING_SCREEN_IMP::pf_on_destroy()
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32d5d8,0x00000000), stub!
0009:err:d3d:context_create Failed to set pixel format 1 on device context 0x1b004f.
0009:err:d3d:context_create Failed to set pixel format 1 on device context 0x1b004f.
0009:err:d3d:context_create Failed to set pixel format 1 on device context 0x1b004f.
0009:err:d3d:context_create Failed to set pixel format 1 on device context 0x1b004f.
0009:err:d3d:context_create Failed to set pixel format 1 on device context 0x1b004f.
0009:fixme:faultrep:ReportFault 0x32d630 0x0 stub
wine: Unhandled page fault on read access to 0x00000000 at address 0x436f0c (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00436f0c).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:00436f0c ESP:0032dafc EBP:0032db84 EFLAGS:00210202( R- -- I - - - )
EAX:00000000 EBX:00000000 ECX:0032db74 EDX:00000001
ESI:00000000 EDI:00000000
Stack dump:
0x0032dafc: 1404b718 140887a4 0032df34 00000000
0x0032db0c: 0135b449 01146fc8 00000000 00000000
0x0032db1c: 12c7c8f8 00000035 00000035 136fb228
0x0032db2c: 0964dac0 00000000 00000000 0000003b
0x0032db3c: 0000003b 1400acd8 0000003b 0000003b
0x0032db4c: 13c21a00 0964db20 00000000 00000000
000c: sel=0067 base=00000000 limit=00000000 16-bit --x
Backtrace:
=>0 0x00436f0c in napoleon (+0x36f0c) (0x0032db84)
0x00436f0c: movl 0x0(%esi),%edx
Modules:
Module Address Debug info Name (169 modules)
PE 3f0000- 3ff000 Deferred tbbmalloc
PE 400000- 1c7b000 Export napoleon
PE 1c80000- 20ca000 Deferred d3dx9_40
PE b2a0000- b2ac000 Deferred mssogg.asi
PE b2c0000- b2d1000 Deferred msseax.flt
PE b2e0000- b2e7000 Deferred msssrs.flt
PE 10000000-1002e000 Deferred tbb
PE 18000000-18038000 Deferred binkw32
PE 21100000-21199000 Deferred mss32
PE 22300000-22307000 Deferred mssds3d.flt
PE 23000000-23006000 Deferred mssdolby.flt
PE 24100000-24112000 Deferred mssdsp.flt
PE 26400000-2642a000 Deferred mssvoice.asi
PE 26f00000-26f21000 Deferred mssmp3.asi
PE 3b400000-3b41d000 Deferred steam_api
ELF 7a800000-7a93a000 Deferred opengl32<elf>
\-PE 7a820000-7a93a000 \ opengl32
ELF 7b400000-7b7ef000 Deferred kernel32<elf>
\-PE 7b410000-7b7ef000 \ kernel32
ELF 7bc00000-7bcfa000 Deferred ntdll<elf>
\-PE 7bc10000-7bcfa000 \ ntdll
ELF 7c000000-7c004000 Deferred <wine-loader>
ELF 7cf5b000-7cf8b000 Deferred p11-kit-trust.so
ELF 7cf8b000-7cf94000 Deferred librt.so.1
ELF 7cf94000-7cf9c000 Deferred libffi.so.6
ELF 7cf9c000-7cfb4000 Deferred libresolv.so.2
ELF 7cfb4000-7cfff000 Deferred libdbus-1.so.3
ELF 7cfff000-7d03b000 Deferred libp11-kit.so.0
ELF 7d03b000-7d04f000 Deferred libtasn1.so.6
ELF 7d04f000-7d0d6000 Deferred libgcrypt.so.11
ELF 7d0d6000-7d0e2000 Deferred libkrb5support.so.0
ELF 7d0e2000-7d112000 Deferred libk5crypto.so.3
ELF 7d112000-7d1d1000 Deferred libkrb5.so.3
ELF 7d1d1000-7d1e3000 Deferred libavahi-client.so.3
ELF 7d1e3000-7d2aa000 Deferred libgnutls.so.26
ELF 7d2aa000-7d2f0000 Deferred libgssapi_krb5.so.2
ELF 7d2f0000-7d35d000 Deferred libcups.so.2
ELF 7d369000-7d37c000 Deferred gnome-keyring-pkcs11.so
ELF 7d3d4000-7d40d000 Deferred uxtheme<elf>
\-PE 7d3e0000-7d40d000 \ uxtheme
ELF 7d40d000-7d413000 Deferred libxfixes.so.3
ELF 7d413000-7d41e000 Deferred libxcursor.so.1
ELF 7d41e000-7d42e000 Deferred libxi.so.6
ELF 7d42e000-7d432000 Deferred libxcomposite.so.1
ELF 7d432000-7d43d000 Deferred libxrandr.so.2
ELF 7d43d000-7d448000 Deferred libxrender.so.1
ELF 7d448000-7d44e000 Deferred libxxf86vm.so.1
ELF 7d44e000-7d452000 Deferred libxinerama.so.1
ELF 7d452000-7d459000 Deferred libxdmcp.so.6
ELF 7d459000-7d45d000 Deferred libxau.so.6
ELF 7d45d000-7d47f000 Deferred libxcb.so.1
ELF 7d47f000-7d5b3000 Deferred libx11.so.6
ELF 7d5b3000-7d5c6000 Deferred libxext.so.6
ELF 7d5c7000-7d5cc000 Deferred libgpg-error.so.0
ELF 7d5cc000-7d5d0000 Deferred libkeyutils.so.1
ELF 7d5d0000-7d5d5000 Deferred libcom_err.so.2
ELF 7d5d5000-7d5e3000 Deferred libavahi-common.so.3
ELF 7d5e5000-7d677000 Deferred winex11<elf>
\-PE 7d5f0000-7d677000 \ winex11
ELF 7d677000-7d69d000 Deferred imm32<elf>
\-PE 7d680000-7d69d000 \ imm32
ELF 7d7d6000-7d7ff000 Deferred libexpat.so.1
ELF 7d7ff000-7d83a000 Deferred libfontconfig.so.1
ELF 7d83a000-7d862000 Deferred libpng12.so.0
ELF 7d862000-7d87c000 Deferred libz.so.1
ELF 7d87c000-7d91c000 Deferred libfreetype.so.6
ELF 7d91c000-7d93e000 Deferred libtinfo.so.5
ELF 7d93e000-7d963000 Deferred libncurses.so.5
ELF 7d982000-7d9c5000 Deferred winspool<elf>
\-PE 7d990000-7d9c5000 \ winspool
ELF 7d9c5000-7daf4000 Deferred comctl32<elf>
\-PE 7d9d0000-7daf4000 \ comctl32
ELF 7daf4000-7dbe5000 Deferred comdlg32<elf>
\-PE 7db00000-7dbe5000 \ comdlg32
ELF 7dbe5000-7dc32000 Deferred dsound<elf>
\-PE 7dbf0000-7dc32000 \ dsound
ELF 7dc32000-7dce8000 Deferred msvcrt<elf>
\-PE 7dc50000-7dce8000 \ msvcrt
ELF 7dce8000-7de3e000 Deferred wined3d<elf>
\-PE 7dd00000-7de3e000 \ wined3d
ELF 7de3e000-7de7e000 Deferred d3d9<elf>
\-PE 7de40000-7de7e000 \ d3d9
ELF 7de7e000-7de9a000 Deferred dinput8<elf>
\-PE 7de80000-7de9a000 \ dinput8
ELF 7de9a000-7dec4000 Deferred iphlpapi<elf>
\-PE 7dea0000-7dec4000 \ iphlpapi
ELF 7dec4000-7df02000 Deferred ws2_32<elf>
\-PE 7ded0000-7df02000 \ ws2_32
ELF 7df02000-7e05e000 Deferred msvcp80<elf>
\-PE 7df40000-7e05e000 \ msvcp80
ELF 7e05e000-7e1a4000 Deferred oleaut32<elf>
\-PE 7e070000-7e1a4000 \ oleaut32
ELF 7e1cb000-7e1e5000 Deferred wsock32<elf>
\-PE 7e1d0000-7e1e5000 \ wsock32
ELF 7e1e5000-7e2a6000 Deferred msvcr80<elf>
\-PE 7e200000-7e2a6000 \ msvcr80
ELF 7e2a6000-7e320000 Deferred shlwapi<elf>
\-PE 7e2b0000-7e320000 \ shlwapi
ELF 7e320000-7e580000 Deferred shell32<elf>
\-PE 7e330000-7e580000 \ shell32
ELF 7e580000-7e5ac000 Deferred msacm32<elf>
\-PE 7e590000-7e5ac000 \ msacm32
ELF 7e5ac000-7e634000 Deferred rpcrt4<elf>
\-PE 7e5c0000-7e634000 \ rpcrt4
ELF 7e634000-7e79e000 Deferred ole32<elf>
\-PE 7e650000-7e79e000 \ ole32
ELF 7e79e000-7e81b000 Deferred advapi32<elf>
\-PE 7e7b0000-7e81b000 \ advapi32
ELF 7e81b000-7e950000 Deferred gdi32<elf>
\-PE 7e830000-7e950000 \ gdi32
ELF 7e950000-7eb3f000 Deferred user32<elf>
\-PE 7e960000-7eb3f000 \ user32
ELF 7eb3f000-7ebfa000 Deferred winmm<elf>
\-PE 7eb50000-7ebfa000 \ winmm
ELF 7ef6a000-7ef76000 Deferred libnss_files.so.2
ELF 7ef76000-7ef82000 Deferred libnss_nis.so.2
ELF 7ef82000-7ef9b000 Deferred libnsl.so.1
ELF 7ef9b000-7efe1000 Deferred libm.so.6
ELF 7efe6000-7f000000 Deferred version<elf>
\-PE 7eff0000-7f000000 \ version
ELF f620b000-f625a000 Deferred dinput<elf>
\-PE f6210000-f625a000 \ dinput
ELF f625a000-f63d2000 Deferred libvorbisenc.so.2
ELF f6557000-f6560000 Deferred libogg.so.0
ELF f6560000-f658c000 Deferred libvorbis.so.0
ELF f658c000-f65c0000 Deferred libflac.so.8
ELF f65c0000-f65c7000 Deferred libasyncns.so.0
ELF f65c7000-f663a000 Deferred libsndfile.so.1
ELF f663a000-f6644000 Deferred libwrap.so.0
ELF f6644000-f66b3000 Deferred libpulsecommon-4.0.so
ELF f66b3000-f66be000 Deferred libjson-c.so.2
ELF f66be000-f670d000 Deferred libpulse.so.0
ELF f672c000-f6756000 Deferred winepulse<elf>
\-PE f6730000-f6756000 \ winepulse
ELF f6756000-f6779000 Deferred mmdevapi<elf>
\-PE f6760000-f6779000 \ mmdevapi
ELF f68b2000-f68e9000 Deferred libtxc_dxtn.so
ELF f69e9000-f69f4000 Deferred libpciaccess.so.0
ELF f69f4000-f6a11000 Deferred libgcc_s.so.1
ELF f6af9000-f6b06000 Deferred libdrm_radeon.so.1
ELF f6b06000-f6b0f000 Deferred libdrm_nouveau.so.2
ELF f6b0f000-f6b32000 Deferred libdrm_intel.so.1
ELF f6b32000-f7135000 Deferred i965_dri.so
ELF f7135000-f713f000 Deferred libnih-dbus.so.1
ELF f713f000-f7158000 Deferred libnih.so.1
ELF f7158000-f7176000 Deferred libcgmanager.so.0
ELF f7176000-f7189000 Deferred libudev.so.1
ELF f7189000-f7199000 Deferred libdrm.so.2
ELF f7199000-f71a0000 Deferred libxcb-sync.so.1
ELF f71a0000-f71a4000 Deferred libxcb-present.so.0
ELF f71a4000-f71a8000 Deferred libxcb-dri3.so.0
ELF f71a8000-f71c0000 Deferred libxcb-glx.so.0
ELF f71c0000-f71db000 Deferred libglapi.so.0
ELF f71db000-f726d000 Deferred libgl.so.1
ELF f728c000-f7305000 Deferred ddraw<elf>
\-PE f7290000-f7305000 \ ddraw
ELF f7305000-f732a000 Deferred gameux<elf>
\-PE f7310000-f732a000 \ gameux
ELF f7379000-f737e000 Deferred libdl.so.2
ELF f737e000-f752f000 Deferred libc.so.6
ELF f752f000-f754b000 Deferred libpthread.so.0
ELF f7550000-f7553000 Deferred libxshmfence.so.1
ELF f7553000-f7559000 Deferred libxcb-dri2.so.0
ELF f7559000-f755c000 Deferred libx11-xcb.so.1
ELF f755c000-f7560000 Deferred libxdamage.so.1
ELF f7561000-f756a000 Deferred libnss_compat.so.2
ELF f756a000-f7721000 Dwarf libwine.so.1
ELF f7722000-f7744000 Deferred ld-linux.so.2
ELF f7746000-f7747000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Games\Napoleon Total War Imperial Edition\Napoleon.exe
0000004a 0
00000049 0
00000046 15
00000037 15
00000034 15
00000033 0
00000032 1
00000030 0
0000002f 0
00000009 0 <==
0000000e services.exe
00000025 0
00000022 0
0000001d 0
00000013 0
00000010 0
0000000f 0
00000011 winedevice.exe
0000001c 0
00000017 0
00000016 0
00000012 0
0000001a plugplay.exe
0000001f 0
0000001e 0
0000001b 0
00000020 winedevice.exe
0000002a 0
00000024 0
00000023 0
00000021 0
00000028 explorer.exe
0000002e 0
0000002d 0
0000002c 0
0000002b 0
00000029 0
System information:
Wine build: wine-3.0-rc6
Platform: i386 (WOW64)
Version: Windows XP
Host system: Linux
Host version: 4.2.0-27-generic
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Problem triying to launch NapoleonTW

Post by Bob Wya »

jack philiphs wrote:Here is the terminal output....thanks bob , i fix 1, but now i cant play battles.... how can i apply that patch?
...
Please, please use the supplied forum Code:

Code: Select all

Code
tags for terminal commands and output...
As has already been requested... :roll:

I've rebased the second patch that you need, for Wine 3.2, see: wine-3.2_use_backup_dc.patch
(well slightly messed up, but whatever... :wink: )

You'd need to rebuild Wine from Source - see this Github : bobwya / multilib build script I maintain.
Please report any issues on the Github Issue tracker...

Ta
Bob
jack philiphs
Level 1
Level 1
Posts: 7
Joined: Sun Feb 18, 2018 11:54 am

Re: Problem triying to launch NapoleonTW

Post by jack philiphs »

sorry for the tags code...i didnt know how to use it (yes, im very newbie)...
i,ve finished to compile wine....the final output was "wine build complete".. but i dont know how to launch the "Napoleon.exe" using the patched wine.

thanks!
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Problem triying to launch NapoleonTW

Post by Bob Wya »

jack philiphs wrote:sorry for the tags code...i didnt know how to use it (yes, im very newbie)...
Just use the quote option on my post with Code:

Code: Select all

Code
tags.
That will show you the raw formatting codes.
You can insert "fresh" Code tags with the Code button above the (full) forum posting edit box.
Or more easily highlight a block of terminal output / commands and then press the Code button.
jack philiphs wrote: I've finished to compile wine....the final output was "wine build complete".. but i don't know how to launch the "Napoleon.exe" using the patched wine.
I presume you can start Total War: Napoleon from a terminal, using your system installed version of Wine, if you are able to get a terminal debug log.

If so then just put in the full path to your compiled version of Wine...
E.g. To run your custom Wine version use the full path, e.g. something like:

Code: Select all

~/usr/bin/wine ...
~/usr/bin/winecfg
As it clearly states in the Github: bobwya / build-multilib-wine README.md file - the text at the bottom of the repository homepage.
Reading documentation - it's how you transform away from remaining a Linux noob. :shock:

Sorry to mess you about - but could you also try a re-test with Wine Staging 2.21. :wink:
According to Zebediah Figura this experimental branch of Wine has an earlier patch, included, which should (in theory) allow Total War: Napoleon to run correctly.
There are WineHQ packages for this.
It would be helpful for the new Wine Staging maintainers to know if this very old patch actually works!
See the recent comments on: WineHQ Bug 18490 - Multiple games fail to set pixel format on D3D device context created on desktop window (Empire: Total War, Napoleon: Total War, Utopia City) ...

Ta
Bob
jack philiphs
Level 1
Level 1
Posts: 7
Joined: Sun Feb 18, 2018 11:54 am

Re: Problem triying to launch NapoleonTW

Post by jack philiphs »

i don't know if i,m executing well the new wine... im inside wine-git folder and then i just type winecfg and run the .exe from wine,s desktop, sorry if its an stupid question :C

offcourse, i also will try the wine staging !!, it looks easier than the before process..
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Problem trying to launch NapoleonTW

Post by Bob Wya »

jack philiphs wrote:i don't know if i,m executing well the new wine... im inside wine-git folder and then i just type winecfg and run the .exe from wine,s desktop, sorry if its an stupid question :C
It's not a stupid question! Your present working directory (PWD) can be anywhere.
Ideally you should cd to the directory of the Total War game binary.
Windows uses the PWD directory as part of the PATH it searches for subsidiary dll and exe files.

If you enter:

Code: Select all

~/usr/bin/wine ...
You are specifying the full path of the custom built Wine binary (${HOME}/usr/bin/wine - by default).
Wine knows it was built to be installed to the ${HOME}/usr prefix.
So it searches for libraries and executables relative to this root path. No need to do anything!

e.g. if you run:

Code: Select all

~/usr/bin/wine winecfg.exe
winecfg_about.jpg
You should see in the About tab - an "actually readable" Wine version number (a custom patch I apply to all my Wine builds).
That will let you know that the custom built Wine version has "basic functionality"...

Bob
jack philiphs
Level 1
Level 1
Posts: 7
Joined: Sun Feb 18, 2018 11:54 am

Re: Problem triying to launch NapoleonTW

Post by jack philiphs »

hmmm, .. so if i'm in the correct way, the patch did not work for me ... im getting this new error when i load a battle:

Code: Select all

0029:fixme:exec:SHELL_execute flags ignored: 0x00004000
0033:fixme:heap:RtlSetHeapInformation 0x110000 0 0x33fe10 4 stub
0033:fixme:gameux:GameExplorerImpl_VerifyAccess (0x21f3d0, L"C:\\Games\\Napoleon Total War Imperial Edition\\Napoleon.exe", 0x33fe04)
0033:fixme:cdrom:CDROM_GetMediaType : faking success
0017:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c04 (device=2d access=0 func=301 method=0)
0033:fixme:ddraw:DirectDrawEnumerateExA flags 0x00000002 not handled
0033:fixme:win:EnumDisplayDevicesW ((null),0,0x33cb08,0x00000000), stub!
0033:fixme:win:EnumDisplayDevicesW ((null),0,0x33c848,0x00000000), stub!
0033:fixme:win:EnumDisplayDevicesW ((null),0,0x33d078,0x00000000), stub!
0033:fixme:win:EnumDisplayDevicesW ((null),0,0x33f438,0x00000000), stub!
0033:fixme:win:EnumDisplayDevicesW ((null),0,0x33ec38,0x00000000), stub!
0033:fixme:d3d:debug_d3dformat Unrecognized 0x5a574152 (as fourcc: RAWZ) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x5a574152) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x5a574152 (as fourcc: RAWZ) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x5a574152) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x5a574152 (as fourcc: RAWZ) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x5a574152) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x5a574152 (as fourcc: RAWZ) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x5a574152) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x5a574152 (as fourcc: RAWZ) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x5a574152) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x5a574152 (as fourcc: RAWZ) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x5a574152) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x5a574152 (as fourcc: RAWZ) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x5a574152) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x5a574152 (as fourcc: RAWZ) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x5a574152) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table.
0033:fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
0033:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table.
0033:fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
0033:fixme:d3d9:Direct3DShaderValidatorCreate9 stub
0033:fixme:dsound:DSOUND_RecalcFormat Conversion from 7 to 2 channels is not implemented, falling back to stereo
0033:fixme:dsound:DSOUND_RecalcFormat Conversion from 8 to 2 channels is not implemented, falling back to stereo
0033:fixme:dsound:DSOUND_RecalcFormat Conversion from 9 to 2 channels is not implemented, falling back to stereo
0033:fixme:win:EnumDisplayDevicesW ((null),0,0x33d5d8,0x00000000), stub!
0057:err:d3d:context_create Failed to set pixel format 1 on device context 0x1b004e.
0057:err:d3d:context_create Failed to set pixel format 1 on device context 0x1b004e.
0057:err:d3d:context_create Failed to set pixel format 1 on device context 0x1b004e.
0057:err:d3d:context_create Failed to set pixel format 1 on device context 0x1b004e.
0057:err:d3d:context_create Failed to set pixel format 1 on device context 0x1b004e.
0033:fixme:faultrep:ReportFault 0x33d660 0x0 stub
wine: Unhandled page fault on read access to 0x00000000 at address 0x436f0c (thread 0033), starting debugger...
jphower@jphower-H61MLV2:~/.wineNapoleon$ 0064:err:ntdll:RtlLeaveCriticalSection section 0x10f40 is not acquired  
my pdw was "/home/jphower/wine-git"
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Problem triying to launch NapoleonTW

Post by Bob Wya »

@jack philiphs,

Just glanced back at your original backtraces...
I can't help but notice that you're running a positively ancient kernel version with a FOSS graphics drivers of some description = really bad combination. :cry:
But that assumes you're not limping along on an Intel Integrated Graphics Processor (IGP)... :oops:

What's the output from:

Code: Select all

glxinfo | egrep '^[[:alpha:]]'

sudo lspci -v | grep -A 1 'VGA'
Ta
Bob
jack philiphs
Level 1
Level 1
Posts: 7
Joined: Sun Feb 18, 2018 11:54 am

Re: Problem triying to launch NapoleonTW

Post by jack philiphs »

:C its just the drivers ? or my pc doesnt have the minimum requirements???

the game runed well in windows...

i get this

Code: Select all

jphower@jphower-H61MLV2:~$ glxinfo | egrep '^[[:alpha:]]'
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX version: 1.4
GLX extensions:
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Desktop 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.0.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
jphower@jphower-H61MLV2:~$ 
jphower@jphower-H61MLV2:~$ sudo lspci -v | grep -A 1 'VGA'
[sudo] password for jphower: 
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Biostar Microtech Int'l Corp Device 110f
jphower@jphower-H61MLV2:~$ 
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Problem triying to launch NapoleonTW

Post by Bob Wya »

It doesn't matter whether you game runs under Windows or not. Wine uses OpenGL internally not DirectX.
So it's your GPU drivers OpenGL support that matters...

With reference to OpenGL support - this does not look hopeful at all:

Code: Select all

...
OpenGL shading language version string: 1.30
...
:cry:

Just to check if all is a "lost cause"... What's the output from:

Code: Select all

awk -F':' '{ if ($1 ~ "^model name") model=$2 } END{ gsub("(^[[:blank:]]+|[[:blank:]]+$)","",model); print model}' /proc/cpuinfo
So I can check what Intel CPU+IGP model you've got.

Ta
Bob
jack philiphs
Level 1
Level 1
Posts: 7
Joined: Sun Feb 18, 2018 11:54 am

Re: Problem triying to launch NapoleonTW

Post by jack philiphs »

:C its says " Intel(R) Celeron(R) CPU G540 @ 2.50GHz"
Locked