Das Forum

Follout 3 doesn't start

Autor Antworten
Jump to the page: 1 - 2
Cagnulein Tuesday 20 October 2009 at 21:05
CagnuleinAnonymous

i've tried to compile & patch myself wine.
The patch has been applied succesfully but the compilation of wine went wrong.
Here it is the log:
gcc -o wine-preloader -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c000000 preloader.o ../libs/port/libwine_port.a
preloader.o: In function `__bb_init_func':
/tmp/yaourt-tmp-root/aur-wine-fallout3/wine-fallout3/src/wine-1.1.31/loader/preloader.c:162: undefined reference to `mcount'
preloader.o: In function `__stack_chk_fail_local':
/tmp/yaourt-tmp-root/aur-wine-fallout3/wine-fallout3/src/wine-1.1.31/loader/preloader.c:166: undefined reference to `mcount'
preloader.o: In function `__stack_chk_fail':
/tmp/yaourt-tmp-root/aur-wine-fallout3/wine-fallout3/src/wine-1.1.31/loader/preloader.c:167: undefined reference to `mcount'
preloader.o: In function `wld_vsprintf':
/tmp/yaourt-tmp-root/aur-wine-fallout3/wine-fallout3/src/wine-1.1.31/loader/preloader.c:367: undefined reference to `mcount'
preloader.o: In function `fatal_error':
/tmp/yaourt-tmp-root/aur-wine-fallout3/wine-fallout3/src/wine-1.1.31/loader/preloader.c:426: undefined reference to `mcount'
preloader.o:/tmp/yaourt-tmp-root/aur-wine-fallout3/wine-fallout3/src/wine-1.1.31/loader/preloader.c:568: more undefined references to `mcount' follow
collect2: ld returned 1 exit status

Any hints?
Cagnulein Wednesday 21 October 2009 at 7:30
CagnuleinAnonymous

maybe "-pg" CFLAGS? i'll try to disable it...
NSLW Wednesday 21 October 2009 at 10:39
NSLW

You don't have to disable anything just do simple patching and simple compiling. I would change your working directory to somewhere in your home and maybe run ./configure before compiling.
Cagnulein Wednesday 21 October 2009 at 13:27
CagnuleinAnonymous

compiling myself wine and following these steps i've solved finally!
Next step is to download winetricks and install directx9
Get winetricks: http://wiki.winehq.org/winetricks
Grand it executable permissions: chmod +x winetricks
Install directx9: ./winetricks directx9

After that you may safely install and play fallout 3. In case you will have video problems, you may need to set some registry keys. Run regedit and browse to: Current_user/Software/Wine/Direct3D. If Direct3D key doesn’t exist, create it. You may want to set following values:
"DirectDrawRenderer"="gdi"
"OffscreenRenderingMode"="fbo"
"PixelShaderMode"="enabled"
"SoftwareEmulation"="enabled"
"UseGLSL"="enable"
"VertexShaderMode"="hardware"
"VideoDescription"="NVIDIA GeForce 9600 GT"
"VideoDriver"="nv4_disp.dll"
"VideoMemorySize"="512"

Thanks!
Scnd101 Thursday 22 October 2009 at 11:57
Scnd101Anonymous

It may be that our distros aren't compatible each other and that's why my patch doesn't work. If you compile Wine yourself then you'll confirm or reject that.

You'll find link to patch on AppDB site for Fallout 3.

Quote from NSLW


Actually since I installed it from AUR, it's already compiled on my computer. How do you mean it would confirm it?
NSLW Thursday 22 October 2009 at 13:39
NSLW

Actually since I installed it from AUR, it's already compiled on my computer. How do you mean it would confirm it?

Quote from Scnd101

Wine is compiled in distros as usual, but if you want patched wine then you'll need to compile it yourself.
I compiled Wine for you and shared some files with you. It may be that Wine compiled by me isn't compatible with your distribution. To confirm that sentence you will have to compile patched Wine yourself and successfully run Fallout 3.

BTW. I'll try to compile Wine on Debian Etch as all Wines in POL are compiled then I would like you to test it on Fallout 3 to prove if it makes sense to compile Wine in Debian so there will be no future problems.

Can you unpack this package in your ~/.PlayOnLinux/WineVersions , then set Fallout 3 to run with wine 1.1.31-Fallout3 and finally run Fallout 3. Write here if you succeeded to start new game.

Editiert von: NSLW

miguel Monday 26 October 2009 at 18:46
miguelAnonymous

It may be a lame question, but how could I make a self-compiled package? I have already patched and compiled wine, what exactly should I do next?
NSLW Monday 26 October 2009 at 18:58
NSLW

What do you mean by self-compiled? For what? for who?
miguel Monday 26 October 2009 at 19:49
miguelAnonymous

Compiled by myself. How did you do your package after compilation, the one you submitted here for test?
NSLW Monday 26 October 2009 at 20:06
NSLW

At configuration i added --prefix="PATHWHEREITSHOULINSTALL" and after compilation i made make install, then you only need to compress PATHWHEREITSHOULINSTALL and you've got package with wine. You may also need to strip it out of unneeded data.
miguel Monday 26 October 2009 at 20:18
miguelAnonymous

Ok. I will try. Thank you
miguel Tuesday 27 October 2009 at 15:22
miguelAnonymous

I can confirm, with personally patched and compiled wine game finally works. Now I can start a new game as well as load a previous one.
NSLW Tuesday 27 October 2009 at 15:28
NSLW

And what's your distro?
miguel Tuesday 27 October 2009 at 15:48
miguelAnonymous

Arch
obso Sunday 15 November 2009 at 19:24
obsoAnonymous

I am also getting the same unhandled page fault as in the first post, and also what looks to be about the same Register dump. Installed using the script, it patched a version of 1.1.32 to use.

System specs are:
P4 3.2Ghz
4Gb ram
7900GTX 512MB
Ubuntu 9.10 32bit PAE kernel
NSLW Sunday 15 November 2009 at 21:54
NSLW

Maybe it's a problem with NVIDIA 7xxx and patch i use. Anyhow in Wine 1.1.33 there will be no need to patch Wine at all so you may want to try install it again when this Wine will be available in POL.
obso Sunday 15 November 2009 at 23:59
obsoAnonymous

I just looked and 1.1.33 was available. I changed it to that via the "manage wine versions" option. It still throws that same fault however. I shouldn't have to do a new install with the new wine version should I?
NSLW Monday 16 November 2009 at 8:08
NSLW

I just changed the script so it doesn't need patching. You can try installing it from the beginning but I doubt if it helps you. I fear that there is a bug in Wine which prevents running Fallout 3 on NVIDIA 7xxx cards which should be reported on bugzilla if there isn't such bug already, but then i fear that you have to install Fallout 3 in plain Wine to get your bug accepted.