Trying to install Dark Forces II

Questions about Wine on Linux
Locked
BruceJohnJennerLawso
Level 1
Level 1
Posts: 8
Joined: Mon Jun 30, 2014 9:29 pm

Trying to install Dark Forces II

Post by BruceJohnJennerLawso »

Hello everyone,

I am new to wine, although I am somewhat familiar with linux, having used #! (crunchbang) linux for about 7-8 months now. I am trying to install an old copy of Star Wars Dark Forces II, which does not work for me on Windows 7 due to being old...

I managed to get everything set up correctly with Wine, and I can run the setup.exe installer from the game disc, but when I get to the installation directory part, the installer tells me I dont have enough space,

Image

The little drop down box seems to give me the options of z (my linux partition), the game disc (obviously a bad place to try), and a "c" drive which looks somewhat like my windows partition, but seems to be lacking some folders. Im not sure if this is a dummy filesystem created by wine to handle installed files?

The confusing thing is that I have plenty of space on both partitions to handle the 150 mb the installer needs, which leaves me stuck. Is there something that I am missing about the way that wine works?
User avatar
dimesio
Moderator
Moderator
Posts: 13229
Joined: Tue Mar 25, 2008 10:30 pm

Re: Trying to install Dark Forces II

Post by dimesio »

Try setting the Windows version to Windows 98.
BruceJohnJennerLawso
Level 1
Level 1
Posts: 8
Joined: Mon Jun 30, 2014 9:29 pm

Re: Trying to install Dark Forces II

Post by BruceJohnJennerLawso »

dimesio wrote:Try setting the Windows version to Windows 98.
Where? And why exactly does that solve the problem?
User avatar
dimesio
Moderator
Moderator
Posts: 13229
Joined: Tue Mar 25, 2008 10:30 pm

Re: Trying to install Dark Forces II

Post by dimesio »

Set it in winecfg. As to why it might solve the problem, read this: http://wiki.winehq.org/FAQ#head-e590acd ... 05b2bf1f90
BruceJohnJennerLawso
Level 1
Level 1
Posts: 8
Joined: Mon Jun 30, 2014 9:29 pm

Re: Trying to install Dark Forces II

Post by BruceJohnJennerLawso »

dimesio wrote:Set it in winecfg. As to why it might solve the problem, read this: http://wiki.winehq.org/FAQ#head-e590acd ... 05b2bf1f90
Right, thanks.

As it turned out, the issue actually was not enough hard drive space, which was odd given that thunar and my desktop conky script were both displaying it as having space. :oops:

So I got it installed, but the game crashes on startup, giving me

Code: Select all

Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x00414396).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00414396 ESP:0033fcf8 EBP:00000001 EFLAGS:00210246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:00000000 ECX:00000000 EDX:00000000
 ESI:00000001 EDI:00000001
Stack dump:
0x0033fcf8:  0033fd14 7eba5ad0 00000001 00000000
0x0033fd08:  00000000 7bc40db0 00000001 00000001
0x0033fd18:  00000001 00000001 00000001 00000001
0x0033fd28:  00b14948 00437d97 0052c0dc 00000581
0x0033fd38:  7eba5ad0 0052c0dc 00000000 00000000
0x0033fd48:  00435fc7 00b14948 0052c0dc 0040b440
Backtrace:
=>0 0x00414396 in jk (+0x14396) (0x00000001)
0x00414396: movl	0x4(%edx),%edx
Modules:
Module	Address			Debug info	Name (78 modules)
PE	  340000-  356000	Deferred        smackw32
PE	  400000-  8f4000	Export          jk
ELF	7b800000-7ba3a000	Deferred        kernel32<elf>
  \-PE	7b810000-7ba3a000	\               kernel32
ELF	7bc00000-7bcd4000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcd4000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7e02c000-7e062000	Deferred        uxtheme<elf>
  \-PE	7e030000-7e062000	\               uxtheme
ELF	7e090000-7e096000	Deferred        libxfixes.so.3
ELF	7e096000-7e0a0000	Deferred        libxcursor.so.1
ELF	7e0f7000-7e11f000	Deferred        libexpat.so.1
ELF	7e11f000-7e155000	Deferred        libfontconfig.so.1
ELF	7e155000-7e164000	Deferred        libxi.so.6
ELF	7e164000-7e167000	Deferred        libxcomposite.so.1
ELF	7e167000-7e16f000	Deferred        libxrandr.so.2
ELF	7e16f000-7e179000	Deferred        libxrender.so.1
ELF	7e179000-7e17f000	Deferred        libxxf86vm.so.1
ELF	7e17f000-7e182000	Deferred        libxinerama.so.1
ELF	7e182000-7e1a6000	Deferred        imm32<elf>
  \-PE	7e190000-7e1a6000	\               imm32
ELF	7e1a6000-7e1ac000	Deferred        libxdmcp.so.6
ELF	7e1ac000-7e1cf000	Deferred        libxcb.so.1
ELF	7e1cf000-7e307000	Deferred        libx11.so.6
ELF	7e307000-7e319000	Deferred        libxext.so.6
ELF	7e319000-7e332000	Deferred        libice.so.6
ELF	7e332000-7e3ce000	Deferred        winex11<elf>
  \-PE	7e340000-7e3ce000	\               winex11
ELF	7e3ce000-7e3e7000	Deferred        libz.so.1
ELF	7e3e7000-7e483000	Deferred        libfreetype.so.6
ELF	7e498000-7e4ad000	Deferred        comm.drv16.so
PE	7e4a0000-7e4ad000	Deferred        comm.drv16
ELF	7e4ad000-7e4c2000	Deferred        system.drv16.so
PE	7e4b0000-7e4c2000	Deferred        system.drv16
ELF	7e4c2000-7e56d000	Deferred        krnl386.exe16.so
PE	7e4d0000-7e56d000	Deferred        krnl386.exe16
ELF	7e56d000-7e66f000	Deferred        comctl32<elf>
  \-PE	7e580000-7e66f000	\               comctl32
ELF	7e66f000-7e6b7000	Deferred        dinput<elf>
  \-PE	7e680000-7e6b7000	\               dinput
ELF	7e6b7000-7e6f1000	Deferred        dplayx<elf>
  \-PE	7e6c0000-7e6f1000	\               dplayx
ELF	7e6f1000-7e71b000	Deferred        msacm32<elf>
  \-PE	7e700000-7e71b000	\               msacm32
ELF	7e71b000-7e79b000	Deferred        rpcrt4<elf>
  \-PE	7e730000-7e79b000	\               rpcrt4
ELF	7e79b000-7e8c5000	Deferred        ole32<elf>
  \-PE	7e7b0000-7e8c5000	\               ole32
ELF	7e8c5000-7e976000	Deferred        winmm<elf>
  \-PE	7e8d0000-7e976000	\               winmm
ELF	7e976000-7e9bf000	Deferred        dsound<elf>
  \-PE	7e980000-7e9bf000	\               dsound
ELF	7e9bf000-7e9d9000	Deferred        version<elf>
  \-PE	7e9c0000-7e9d9000	\               version
ELF	7e9d9000-7ea45000	Deferred        advapi32<elf>
  \-PE	7e9f0000-7ea45000	\               advapi32
ELF	7ea45000-7eb12000	Deferred        gdi32<elf>
  \-PE	7ea50000-7eb12000	\               gdi32
ELF	7eb12000-7ec66000	Deferred        user32<elf>
  \-PE	7eb20000-7ec66000	\               user32
ELF	7ec66000-7edad000	Deferred        wined3d<elf>
  \-PE	7ec70000-7edad000	\               wined3d
ELF	7edad000-7ee20000	Deferred        ddraw<elf>
  \-PE	7edb0000-7ee20000	\               ddraw
ELF	7ee20000-7ee2c000	Deferred        libnss_files.so.2
ELF	7ee2c000-7ee37000	Deferred        libnss_nis.so.2
ELF	7ee37000-7ee4e000	Deferred        libnsl.so.1
ELF	7efc5000-7efeb000	Deferred        libm.so.6
ELF	7efeb000-7eff1000	Deferred        libuuid.so.1
ELF	7eff1000-7eff9000	Deferred        libsm.so.6
ELF	f7472000-f747a000	Deferred        libnss_compat.so.2
ELF	f747b000-f747f000	Deferred        libdl.so.2
ELF	f747f000-f75e3000	Deferred        libc.so.6
ELF	f75e4000-f75fd000	Deferred        libpthread.so.0
ELF	f75fd000-f7740000	Dwarf           libwine.so.1
ELF	f7752000-f7755000	Deferred        libxau.so.6
ELF	f7757000-f7775000	Deferred        ld-linux.so.2
ELF	f7775000-f7776000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 Jedi.EXE
	00000009    0
0000000e services.exe
	0000001f    0
	0000001e    0
	00000018    0
	00000017    0
	00000015    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000019    0
	00000014    0
	00000013    0
0000001a plugplay.exe
	00000020    0
	0000001d    0
	0000001b    0
00000021 explorer.exe
	00000022    0
00000023 (D) C:\Program Files\LucasArts\Jedi Knight\jk.exe
	00000024    0 <==
System information:
    Wine build: wine-1.4.1
    Platform: i386
    Host system: Linux
    Host version: 3.2.0-4-amd64
Im not entirely sure, but that middle part with the DEFERRED entries looks a bit like missing libraries, is that the problem?
User avatar
dimesio
Moderator
Moderator
Posts: 13229
Joined: Tue Mar 25, 2008 10:30 pm

Re: Trying to install Dark Forces II

Post by dimesio »

Those are not missing libraries; those are all things that were loaded at the time of the crash.

Your Wine version is old and no longer supported. Upgrade to the latest development release. If the problem persists, run it from a terminal and post the full output. http://wiki.winehq.org/FAQ#get_log
BruceJohnJennerLawso
Level 1
Level 1
Posts: 8
Joined: Mon Jun 30, 2014 9:29 pm

Re: Trying to install Dark Forces II

Post by BruceJohnJennerLawso »

dimesio wrote:Those are not missing libraries; those are all things that were loaded at the time of the crash.

Your Wine version is old and no longer supported. Upgrade to the latest development release. If the problem persists, run it from a terminal and post the full output. http://wiki.winehq.org/FAQ#get_log
Okay will give that a shot. You mean I need to update to the unstable/in testing version of wine, or is my repo out of date?

There was actually something peculiar in the terminal earlier when I set it to Win98, Ill try to post it when I have the chance.
User avatar
dimesio
Moderator
Moderator
Posts: 13229
Joined: Tue Mar 25, 2008 10:30 pm

Re: Trying to install Dark Forces II

Post by dimesio »

BruceJohnJennerLawso wrote: Okay will give that a shot. You mean I need to update to the unstable/in testing version of wine, or is my repo out of date?
You need 1.7.21; I'm not familiar with Crunchbang, so where to get it is something you'll have to ask your distro. You may have to build it yourself.
There was actually something peculiar in the terminal earlier when I set it to Win98, Ill try to post it when I have the chance.
If the something peculiar was

Code: Select all

modify_ldt: Invalid argument
then you ran into http://bugs.winehq.org/show_bug.cgi?id=36664.
BruceJohnJennerLawso
Level 1
Level 1
Posts: 8
Joined: Mon Jun 30, 2014 9:29 pm

Re: Trying to install Dark Forces II

Post by BruceJohnJennerLawso »

dimesio wrote:
BruceJohnJennerLawso wrote: Okay will give that a shot. You mean I need to update to the unstable/in testing version of wine, or is my repo out of date?
You need 1.7.21; I'm not familiar with Crunchbang, so where to get it is something you'll have to ask your distro. You may have to build it yourself.
There was actually something peculiar in the terminal earlier when I set it to Win98, Ill try to post it when I have the chance.
If the something peculiar was

Code: Select all

modify_ldt: Invalid argument
then you ran into http://bugs.winehq.org/show_bug.cgi?id=36664.
Okay. Is there a walkthrough page with the list of dependencies for building Wine from scratch? I found that to be the most exhaustive part when I tried to compile SFML from scratch :roll:

I tried to get the bug, but I couldnt reproduce it this time. I dont think it was the above issue, since uname -r gives my kernel version as 3.2.something.
User avatar
dimesio
Moderator
Moderator
Posts: 13229
Joined: Tue Mar 25, 2008 10:30 pm

Re: Trying to install Dark Forces II

Post by dimesio »

http://wiki.winehq.org/Recommended_Packages
http://wiki.winehq.org/WineOn64bit
I dont think it was the above issue, since uname -r gives my kernel version as 3.2.something.
Some distros have backported it to older kernels. http://wiki.winehq.org/FAQ#head-bf26e32 ... a60a433f88
BruceJohnJennerLawso
Level 1
Level 1
Posts: 8
Joined: Mon Jun 30, 2014 9:29 pm

Re: Trying to install Dark Forces II

Post by BruceJohnJennerLawso »

Okay, thanks for those links, they helped with getting things setup.

To make the process a little less complex, I switched over to my Kubuntu install, and installed Wine1.7 from there. The installation appears to work yay!

But unfortunately, the game cant get going since it cant find the cd disk. It doesnt seem to recognize that the disk is in the drive, although the executable is working given that I can see the ancient gui screen for "insert cd" *party* :mrgreen:

I tried following the instructions here

http://www.youtube.com/watch?v=DYteNtraSag

regarding copying the disk image over & mounting it, but the game still doesnt seem to recognize it. I kinda follow the basic idea with how wine creates a "dummy C drive" for program files, but I dont understand how it handles cd locations like this? (and why the heck is the image called loop?)

(ps does it matter at all if the cd drive is a portable usb one? I wouldnt think so, but you never know...)
Locked