"Epic Battle Fantasy 4" crashes on startup (Steam)

Questions about Wine on Linux
Locked
Basinator
Level 3
Level 3
Posts: 68
Joined: Sat Jan 30, 2010 8:27 am

"Epic Battle Fantasy 4" crashes on startup (Steam)

Post by Basinator »

Steam game, indie, also not in APPDB.

THe application crashes on startup. I tried it with the virtual drive from PlayOnLinux where I installed steam and with default wine settings as well.

I am using Xubuntu. I used the wine version found in the reps, for whatever reason it is 1.4.1.

Console output:

Code: Select all

basti@basti-ubuntu:~$ cd "/home/basti/PlayOnLinux's virtual drives/Steam/drive_c/Program Files/Steam/SteamApps/common/Epic Battle Fantasy 4/"
basti@basti-ubuntu:~/PlayOnLinux's virtual drives/Steam/drive_c/Program Files/Steam/SteamApps/common/Epic Battle Fantasy 4$ wine EBF4.exe
fixme:system:SetProcessDPIAware stub!
wine: Unhandled page fault on read access to 0x0a4303b5 at address 0x9718d6 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x0a4303b5 in 32-bit code (0x009718d6).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:009718d6 ESP:0032fb3c EBP:09e7f2dc EFLAGS:00210202(  R- --  I   - - - )
 EAX:0a43006d EBX:7b810000 ECX:00000001 EDX:000000d2
 ESI:7b810040 EDI:09de0000
Stack dump:
0x0032fb3c:  09ce0050 00000001 0000005a 003200d2
0x0032fb4c:  0009f2dc 7b83f250 0096e501 00233000
0x0032fb5c:  00000406 0032fba8 00bf15c8 7b810000
0x0032fb6c:  00bf15d4 0097dd4e 0032fbd0 0097ddf4
0x0032fb7c:  0032fba8 fffffffe 00000000 00000000
0x0032fb8c:  00000000 00000000 09ce0050 09ce000c
Backtrace:
=>0 0x009718d6 in ebf4 (+0x5718d6) (0x09e7f2dc)
  1 0x002e0065 (0x006c0062)
  2 0xccccccc3 (0x10c4835e)
0x009718d6: movl	0x0(%eax,%edx,4),%ebp
Modules:
Module	Address			Debug info	Name (110 modules)
PE	  400000- 20cc000	Export          ebf4
ELF	7b800000-7ba43000	Deferred        kernel32<elf>
  \-PE	7b810000-7ba43000	\               kernel32
ELF	7bc00000-7bce3000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bce3000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7d1a0000-7d1c6000	Deferred        p11-kit-trust.so
ELF	7d2c6000-7d2cf000	Deferred        librt.so.1
ELF	7d2cf000-7d2e6000	Deferred        libresolv.so.2
ELF	7d2e6000-7d331000	Deferred        libdbus-1.so.3
ELF	7d331000-7d350000	Deferred        libp11-kit.so.0
ELF	7d350000-7d362000	Deferred        libtasn1.so.3
ELF	7d362000-7d3e6000	Deferred        libgcrypt.so.11
ELF	7d3e6000-7d40e000	Deferred        libk5crypto.so.3
ELF	7d470000-7d475000	Deferred        libgpg-error.so.0
ELF	7d475000-7d479000	Deferred        libkeyutils.so.1
ELF	7d479000-7d482000	Deferred        libkrb5support.so.0
ELF	7d482000-7d487000	Deferred        libcom_err.so.2
ELF	7d487000-7d556000	Deferred        libkrb5.so.3
ELF	7d556000-7d568000	Deferred        libavahi-client.so.3
ELF	7d568000-7d576000	Deferred        libavahi-common.so.3
ELF	7d576000-7d63c000	Deferred        libgnutls.so.26
ELF	7d63c000-7d679000	Deferred        libgssapi_krb5.so.2
ELF	7d679000-7d6e5000	Deferred        libcups.so.2
ELF	7d6eb000-7d6fe000	Deferred        gnome-keyring-pkcs11.so
ELF	7d716000-7d74d000	Deferred        uxtheme<elf>
  \-PE	7d720000-7d74d000	\               uxtheme
ELF	7d74d000-7d753000	Deferred        libxfixes.so.3
ELF	7d753000-7d75e000	Deferred        libxcursor.so.1
ELF	7d805000-7d82e000	Deferred        libexpat.so.1
ELF	7d82e000-7d868000	Deferred        libfontconfig.so.1
ELF	7d868000-7d879000	Deferred        libxi.so.6
ELF	7d879000-7d87d000	Deferred        libxcomposite.so.1
ELF	7d87d000-7d888000	Deferred        libxrandr.so.2
ELF	7d888000-7d893000	Deferred        libxrender.so.1
ELF	7d893000-7d899000	Deferred        libxxf86vm.so.1
ELF	7d899000-7d89d000	Deferred        libxinerama.so.1
ELF	7d89d000-7d8c1000	Deferred        imm32<elf>
  \-PE	7d8a0000-7d8c1000	\               imm32
ELF	7d8c1000-7d8c8000	Deferred        libxdmcp.so.6
ELF	7d8c8000-7d8cc000	Deferred        libxau.so.6
ELF	7d8cc000-7d8ed000	Deferred        libxcb.so.1
ELF	7d8ed000-7d8f3000	Deferred        libuuid.so.1
ELF	7d8f3000-7d90d000	Deferred        libice.so.6
ELF	7d90d000-7da42000	Deferred        libx11.so.6
ELF	7da42000-7da55000	Deferred        libxext.so.6
ELF	7da55000-7da5e000	Deferred        libsm.so.6
ELF	7da5e000-7db0f000	Deferred        winex11<elf>
  \-PE	7da70000-7db0f000	\               winex11
ELF	7db0f000-7dbae000	Deferred        libfreetype.so.6
ELF	7dbae000-7dbd0000	Deferred        libtinfo.so.5
ELF	7dbd0000-7dbf5000	Deferred        libncurses.so.5
ELF	7dbf5000-7dc22000	Deferred        msacm32<elf>
  \-PE	7dc00000-7dc22000	\               msacm32
ELF	7dc22000-7dcd8000	Deferred        winmm<elf>
  \-PE	7dc30000-7dcd8000	\               winmm
ELF	7dcd8000-7ddc5000	Deferred        comdlg32<elf>
  \-PE	7dce0000-7ddc5000	\               comdlg32
ELF	7ddc5000-7de06000	Deferred        winspool<elf>
  \-PE	7ddd0000-7de06000	\               winspool
ELF	7de06000-7de44000	Deferred        winhttp<elf>
  \-PE	7de10000-7de44000	\               winhttp
ELF	7de44000-7de85000	Deferred        d3d9<elf>
  \-PE	7de50000-7de85000	\               d3d9
ELF	7de85000-7e002000	Deferred        wined3d<elf>
  \-PE	7de90000-7e002000	\               wined3d
ELF	7e002000-7e07d000	Deferred        ddraw<elf>
  \-PE	7e010000-7e07d000	\               ddraw
ELF	7e07d000-7e1c1000	Deferred        oleaut32<elf>
  \-PE	7e090000-7e1c1000	\               oleaut32
ELF	7e1c1000-7e24a000	Deferred        rpcrt4<elf>
  \-PE	7e1d0000-7e24a000	\               rpcrt4
ELF	7e24a000-7e3ab000	Deferred        ole32<elf>
  \-PE	7e260000-7e3ab000	\               ole32
ELF	7e3ab000-7e457000	Deferred        urlmon<elf>
  \-PE	7e3c0000-7e457000	\               urlmon
ELF	7e457000-7e48a000	Deferred        ws2_32<elf>
  \-PE	7e460000-7e48a000	\               ws2_32
ELF	7e48a000-7e5a9000	Deferred        comctl32<elf>
  \-PE	7e490000-7e5a9000	\               comctl32
ELF	7e5a9000-7e7e7000	Deferred        shell32<elf>
  \-PE	7e5c0000-7e7e7000	\               shell32
ELF	7e7e7000-7e85d000	Deferred        shlwapi<elf>
  \-PE	7e7f0000-7e85d000	\               shlwapi
ELF	7e85d000-7e878000	Deferred        version<elf>
  \-PE	7e860000-7e878000	\               version
ELF	7e878000-7e957000	Deferred        gdi32<elf>
  \-PE	7e880000-7e957000	\               gdi32
ELF	7e957000-7eac6000	Deferred        user32<elf>
  \-PE	7e970000-7eac6000	\               user32
ELF	7eac6000-7eaef000	Deferred        mpr<elf>
  \-PE	7ead0000-7eaef000	\               mpr
ELF	7eaef000-7eb09000	Deferred        libz.so.1
ELF	7eb09000-7eb83000	Deferred        wininet<elf>
  \-PE	7eb10000-7eb83000	\               wininet
ELF	7eb83000-7ebf4000	Deferred        advapi32<elf>
  \-PE	7eb90000-7ebf4000	\               advapi32
ELF	7ebf4000-7ec19000	Deferred        iphlpapi<elf>
  \-PE	7ec00000-7ec19000	\               iphlpapi
ELF	7ef8b000-7ef98000	Deferred        libnss_files.so.2
ELF	7ef98000-7efa4000	Deferred        libnss_nis.so.2
ELF	7efa4000-7efbd000	Deferred        libnsl.so.1
ELF	7efbd000-7f000000	Deferred        libm.so.6
ELF	b7482000-b748b000	Deferred        libnss_compat.so.2
ELF	b748d000-b7492000	Deferred        libdl.so.2
ELF	b7492000-b7646000	Deferred        libc.so.6
ELF	b7646000-b7661000	Deferred        libpthread.so.0
ELF	b767a000-b77be000	Dwarf           libwine.so.1
ELF	b77c0000-b77e2000	Deferred        ld-linux.so.2
ELF	b77e2000-b77e3000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\home\basti\PlayOnLinux's virtual drives\Steam\drive_c\Program Files\Steam\SteamApps\common\Epic Battle Fantasy 4\EBF4.exe
	00000009    0 <==
0000000e services.exe
	0000001e    0
	0000001d    0
	00000015    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	00000020    0
	00000019    0
	00000014    0
	00000013    0
0000001a plugplay.exe
	0000001f    0
	0000001c    0
	0000001b    0
00000021 explorer.exe
	00000022    0
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by dimesio »

Upgrade Wine. No version earlier than 1.7.8 will work with current Steam. http://bugs.winehq.org/show_bug.cgi?id=35050

Also, PlayOnLinux is not supported here. If you want further help here, reinstall to a clean wineprefix.
Basinator
Level 3
Level 3
Posts: 68
Joined: Sat Jan 30, 2010 8:27 am

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by Basinator »

Was a bit unclear here. Steam starts, even with 1.5.25 in POL, but I want to start a specific steam game.

I think it is the first time I am ever starting winetricks, my game is not listed there (as I said, it isn't even in the APPDB). Got any advices, links, guides for me?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by Bob Wya »

Basinator wrote:Was a bit unclear here. Steam starts, even with 1.5.25 in POL, but I want to start a specific steam game.

I think it is the first time I am ever starting winetricks, my game is not listed there (as I said, it isn't even in the APPDB). Got any advices, links, guides for me?
@Basinator,

Perhaps dimesio wasn't clear (but I think he was!!) We don't support Play on Linux versions of Wine - for the very reason you just stated! Vanilla Wine versions <1.7.8 do not support the Steam Client. So basically we don't know what patches the Play on Linux project has applied, to Wine, to get Steam working. The Play on Linux client is only useful for games that it actually supports - otherwise you will be left hanging in the breeze :lol:

Get a vanilla version of Wine - using the instructions here... You will need the latest 1.7.x branch version of Wine - to enable Steam to work. Please follow the instructions on the WineHQ AppDB page for Steam (to avoid any heartache - with missing text, etc.)!! Then we can look into actually troubleshooting your game issues!! 8)

Bob
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by dimesio »

Sorry, I linked to the wrong bug above. It should be http://bugs.winehq.org/show_bug.cgi?id=35030. But my point is the same: Steam does not work in any version of Wine older than 1.7.8, period. This is a known issue, and we can't troubleshoot any further until you upgrade.

Reinstall Steam in plain 1.7.16 (no POL). Note you will also have to disable gameoverlayrenderer due to http://bugs.winehq.org/show_bug.cgi?id=35361.If the problem persists, post terminal output.

As for POL, I just reread their script for Steam, and it still hasn't been fixed to install a new enough version of Wine, and this is four months after the problem was identified and fixed in plain Wine. If you insist on using it, ask for help on their forum.
Basinator
Level 3
Level 3
Posts: 68
Joined: Sat Jan 30, 2010 8:27 am

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by Basinator »

Guess winetricks is supported here?

Got no fonts unfortunally, even though I ran this command:
basti@basti-ubuntu:~/Downloads$ env WINEPREFIX="$HOME/.wine/Steam" winetricks corefonts
Executing w_do_call corefonts
corefonts already installed, skipping
Basinator
Level 3
Level 3
Posts: 68
Joined: Sat Jan 30, 2010 8:27 am

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by Basinator »

(Damn, can't edit anymoer)

I also ran

Code: Select all

wine reg add 'HKCU\Software\Valve\Steam' /v DWriteEnable /t REG_DWORD /d 00000000
Or you can start steam with the -no-dwrite option.
I don't know how to do that.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by dimesio »

Winetricks is semi-supported, in the sense that it's the recommended way to install many native dlls. Problems in winetricks itself, however, have to be reported to http://winetricks.org, not here.

I notice you haven't verified that you upgraded Wine. There's no point in continuing this thread if you haven't. You should also install Wine debug symbols; your backtrace lacked them. Your distro probably packages them separately.
basti@basti-ubuntu:~/Downloads$ env WINEPREFIX="$HOME/.wine/Steam" winetricks corefonts
If that's really your wineprefix, you've created a wineprefix within a wineprefix, which is a bad idea. Create a separate one that's not nested in the default wineprefix.

As for dwrite.dll, disabling it in winecfg is the easiest way to do it. I don't know why people insist on using more complicated (and error-prone) methods.
Basinator
Level 3
Level 3
Posts: 68
Joined: Sat Jan 30, 2010 8:27 am

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by Basinator »

Uh, dw, I upgraded wine.
As for dwrite.dll, disabling it in winecfg is the easiest way to do it. I don't know why people insist on using more complicated (and error-prone) methods.
Where do I do that?
If that's really your wineprefix, you've created a wineprefix within a wineprefix, which is a bad idea. Create a separate one that's not nested in the default wineprefix.
Yeah, might have missunderstood a tutorial, but I think I will leave it for now as it is.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by dimesio »

Basinator wrote:
As for dwrite.dll, disabling it in winecfg is the easiest way to do it. I don't know why people insist on using more complicated (and error-prone) methods.
Where do I do that?
On the Libraries tab in winecfg. Select it from the dropdown list, add it, change its setting to "Disable," then click "Apply" (the setting won't be saved if you just hit "Enter" at that point; that's a longstanding bug in winecfg).

When you run winecfg, make sure you run it for the wineprefix where you actually have Steam installed. Given your confusing wineprefix setup, I have a feeling that when you tried to add it to the registry from the command line you added it to the wrong wineprefix, and that's why it didn't work.
Basinator
Level 3
Level 3
Posts: 68
Joined: Sat Jan 30, 2010 8:27 am

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by Basinator »

When you run winecfg, make sure you run it for the wineprefix where you actually have Steam installed. Given your confusing wineprefix setup, I have a feeling that when you tried to add it to the registry from the command line you added it to the wrong wineprefix, and that's why it didn't work.
How do I run it for a wineprefix?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by dimesio »

Code: Select all

WINEPREFIX=/path/to/wineprefix winecfg
(substitute the actual path for /path/to/wineprefix)
http://wiki.winehq.org/FAQ#wineprefix
Basinator
Level 3
Level 3
Posts: 68
Joined: Sat Jan 30, 2010 8:27 am

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by Basinator »

Ah thanks. Steam has a font now, for the game itself, I will ask you again in the future. I am on this computer only every second weekend, and I feel it is a good point to make a break here.

Also, I can understand why you don't support POL - After all, it can be hard for you guys to follow which configs patches and changes to wine have been made in POL.

And getting help is a privilege, not a right. Thanks for providing this privilege to me, guys!
Basinator
Level 3
Level 3
Posts: 68
Joined: Sat Jan 30, 2010 8:27 am

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by Basinator »

Addendum: Just like with the POL-steam I am loosing my second steam library every nwo and then (with each steam restart maybe?). I can't even add them anymore because now I get the error message that they can't be written on.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: "Epic Battle Fantasy 4" crashes on startup (Steam)

Post by dimesio »

Basinator wrote:Addendum: Just like with the POL-steam I am loosing my second steam library every nwo and then (with each steam restart maybe?). I can't even add them anymore because now I get the error message that they can't be written on.
You might want to check your filesystem and hard drive with fsck and smartctl.
Locked