Darkwind
linux noob needs major help!

Djihani


Posted Aug 5, 2009, 9:24 pm
So I installed Ubuntu on my netbook...


Installed Wine
Kinda Installed Java... I have two differendt java 6 thingumagicks in the internet menu and running them says loading and nothing much more.

the thing is, mozilla firefox sun java homepage doesnt recognize me having the latest java and Running DW in wine just says there aint no java.

I installed java from the add programs thiingy.... downloaded java from suns homepage too but couldnt figure out how to install it that way...

Any ideas? I'm a total linux noob. Tried redhat or somesuch a few years back but gave up when the whole system died because i forgot to exit the OS before turning off comp...
lordbam


Posted Aug 7, 2009, 1:55 pm
You have to use the windows Java. i'll try to write a how to for you.
lordbam


Posted Aug 7, 2009, 3:27 pm
just did a fresh install and java is indeed giving problems, i'll look into it later...
lordbam


Posted Aug 7, 2009, 4:32 pm
ok here goes the "how to".

3d

Before doing anything make sure you have a 3D driver installed and opengl is working. You can test this by starting a terminal and typing the command:

test@debian:~/Desktop$ glxgears

if that errors out, install your 3D drivers or fix the error.

--------------------------------------------------------------------------------------------------
Cleaning up some old mess

If you have nothing installed in wine go ahaid and delete the wine configuration.
As normal user do:

open a terminal
rm .wine -rf

--------------------------------------------------------------------------------------------------
Downloads

download the off line windows java installer: installer page

Download the Self-extracting Windows installer from dark-wind.

You will also need a windows patch for wine: windows patch

--------------------------------------------------------------------------------------------------
Installing it all.
In Debian downloads from Firefox are automatically saved on the desktop so on in the terminal cd into the Desktop and install Java.

test@debian:~$ cd Desktop/
test@debian:~/Desktop$ wine jre-6u15-windows-i586-s.exe
accept the standards of the java installer and close it when finished.

Next we install the windows patch.
test@debian:~/Desktop$ wine vcredist_x86.exe
accept the yucky license.
The installer will close automatically.

The last thing we do is install dark-wind.
test@debian:~/Desktop$ wine SetupDarkwind.exe

Accept the defaults and the yucky license.

That's it. DW should be running now.

If the shortcut on the desktop doesn't work you can start dark-wind command line. This will give you some more output on the command line for debugging.
bassie@debian:~$ wine ~/.wine/drive_c/Program\ Files/Darkwind/darkwindLobby.exe
Djihani


Posted Aug 12, 2009, 8:05 am
Soopercool! Got The lobby running, gotta test some more if i gets the game running too...

Might wanna add "#now install WINE" somewhere in there, I was following it blindly and was like... hmm dont i need wine ;)
lordbam


Posted Aug 12, 2009, 9:02 am
didn't add the install wine because that is different in each distro...

Well most of DW is working.
The buttons to open the browser from the game don't work.
I solved this by opening a browser with a few tabs on 1 desktop and DW on a 2nd desktop.

Switching between desktops is with <ctrl> arrow left/right.

the button to setup DW tactical is also not working.
pickingatscabs


Posted Oct 13, 2009, 9:36 pm
For me the client crashes (or rather, the jvm) with an access violation exception in the awt.dll.

Ubuntu 9.04/x86, java 1.6u16, wine 1.0.1. Has anyone else run across this problem as well?
lordbam


Posted Oct 14, 2009, 11:35 am
did you test opengl?
d3d9 is directX.

try running glxgears to test if opengl is functioning.

did you install the proprietary driver?
pickingatscabs


Posted Oct 14, 2009, 4:03 pm
glxgears works fine, proprietary (ati) drivers installed as well.
lordbam


Posted Oct 14, 2009, 9:18 pm
Try starting DW command line and copy paste the command line output.
Also paste ~/.wine/drive_c/Program\ Files/Darkwind/console.log

What time are you online?
ivlivs


Posted Dec 21, 2009, 9:42 pm
Same happens to me. If useful I can be online anytime. I am in Europe.

giulio@contraire:~/.wine/drive_c/Programmi/Darkwind$ wine darkwindLobby.exe
fixme:reg:GetNativeSystemInfo (0x69f160) using GetSystemInfo()
arguments array = 8084280
fixme:win:EnumDisplayDevicesW ((null),0,0x7cd97c88,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x7cd97c88,0x00000000), stub!
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x7cd97b34,0x00000000), stub!
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
fixme:system:SystemParametersInfoW Unimplemented action: 8202 (SPI_GETFONTSMOOTHINGTYPE)
fixme:system:SystemParametersInfoW Unimplemented action: 8204 (SPI_GETFONTSMOOTHINGCONTRAST)
fixme:font:WineEngCreateFontInstance Untranslated charset 255
fixme:system:SystemParametersInfoW Unimplemented action: 8202 (SPI_GETFONTSMOOTHINGTYPE)
fixme:system:SystemParametersInfoW Unimplemented action: 8204 (SPI_GETFONTSMOOTHINGCONTRAST)
fixme:imm:ImmGetOpenStatus (0x17cd58): semi-stub
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d0ace6e, pid=8, tid=35
#
# JRE version: 6.0_17-b04
# Java VM: Java HotSpot(TM) Client VM (14.3-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [awt.dll+0xace6e]
#
# An error report file with more information is saved as:
# C:\Programmi\Darkwind\hs_err_pid8.log
#
# If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

giulio@contraire:~/.wine/drive_c/Programmi/Darkwind$ cat hs_err_pid8.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d0ace6e, pid=8, tid=35
#
# JRE version: 6.0_17-b04
# Java VM: Java HotSpot(TM) Client VM (14.3-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [awt.dll+0xace6e]
#
# If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x02a2d400):  JavaThread "AWT-Windows" daemon [_thread_in_native, id=35, stack(0x7cb89000,0x7cd9a000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x00000000, EBX=0x001ef5b8, ECX=0x6fb317dc, EDX=0x00000000
ESP=0x7cd97e1c, EBP=0x7cd97fd4, ESI=0x02a36328, EDI=0x02a36328
EIP=0x6d0ace6e, EFLAGS=0x00210206

Top of Stack: (sp=0x7cd97e1c)
0x7cd97e1c:  7cd97e38 00000000 001ef400 7cd97e84
0x7cd97e2c:  7cd97e88 0017d880 00001900 7cd97e5c
0x7cd97e3c:  6d33513f 001ef5b8 00000000 02a36328
0x7cd97e4c:  7cd97fd4 6d0adfe9 0014c258 6d0adffb
0x7cd97e5c:  7cd97e70 02a2e4c8 02a36328 00000000
0x7cd97e6c:  02a36328 00000016 00000001 00000001
0x7cd97e7c:  00000000 00000000 00000000 00000040
0x7cd97e8c:  00000019 6d0b2a48 0017c620 00009824

Instructions: (pc=0x6d0ace6e)
0x6d0ace5e:  04 8b 08 8d 54 24 18 52 50 ff 51 30 8b 44 24 04
0x6d0ace6e:  8b 08 50 ff 51 08 8b 46 28 8b 10 8d 4c 24 08 51


Stack: [0x7cb89000,0x7cd9a000],  sp=0x7cd97e1c,  free space=2107k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [awt.dll+0xace6e]
C  [awt.dll+0x9bf8c]
C  [user32.dll+0xaa76a]
C  [user32.dll+0xabcdd]
C  [user32.dll+0xaeb1f]
C  [user32.dll+0x6f8e8]
C  [user32.dll+0x71b7f]
C  [user32.dll+0x73250]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.awt.windows.WToolkit.eventLoop()V+0
j  sun.awt.windows.WToolkit.run()V+69
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x02a12800 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=40, stack(0x7b3de000,0x7b5ef000)]
  0x02b06c00 JavaThread "D3D Screen Updater" daemon [_thread_in_native, id=39, stack(0x7b5ef000,0x7b800000)]
  0x02b01800 JavaThread "Thread-3" [_thread_blocked, id=38, stack(0x7bcef000,0x7bf00000)]
  0x02a85000 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=37, stack(0x7c090000,0x7c2a1000)]
  0x02a83800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=36, stack(0x7c484000,0x7c695000)]
=>0x02a2d400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=35, stack(0x7cb89000,0x7cd9a000)]
  0x02a2bc00 JavaThread "AWT-Shutdown" [_thread_blocked, id=34, stack(0x7cd9a000,0x7cfab000)]
  0x02a2a400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=33, stack(0x7cfab000,0x7d1bc000)]
  0x029ba000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=29, stack(0x7d72c000,0x7d93d000)]
  0x029b3800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=28, stack(0x7d93d000,0x7db4e000)]
  0x029b2000 JavaThread "Attach Listener" daemon [_thread_blocked, id=27, stack(0x7db4e000,0x7dd5f000)]
  0x029b0c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=26, stack(0x7dd5f000,0x7df70000)]
  0x007dc400 JavaThread "Finalizer" daemon [_thread_blocked, id=25, stack(0x7df70000,0x7e181000)]
  0x007dac00 JavaThread "Reference Handler" daemon [_thread_blocked, id=24, stack(0x7e181000,0x7e392000)]
  0x007b4800 JavaThread "main" [_thread_blocked, id=9, stack(0x004a0000,0x006a0000)]

Other Threads:
  0x007d9000 VMThread [stack: 0x7e392000,0x7eb93000] [id=23]
  0x029bb800 WatcherThread [stack: 0x7d51b000,0x7d72c000] [id=30]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation  total 960K, used 386K [0x228f0000, 0x229f0000, 0x22dd0000)
  eden space 896K,  35% used [0x228f0000, 0x22940990, 0x229d0000)
  from space 64K, 100% used [0x229d0000, 0x229e0000, 0x229e0000)
  to  space 64K,  0% used [0x229e0000, 0x229e0000, 0x229f0000)
tenured generation  total 4096K, used 472K [0x22dd0000, 0x231d0000, 0x268f0000)
  the space 4096K,  11% used [0x22dd0000, 0x22e46368, 0x22e46400, 0x231d0000)
compacting perm gen  total 12288K, used 556K [0x268f0000, 0x274f0000, 0x2a8f0000)
  the space 12288K,  4% used [0x268f0000, 0x2697b268, 0x2697b400, 0x274f0000)
    ro space 8192K,  63% used [0x2a8f0000, 0x2ae08b20, 0x2ae08c00, 0x2b0f0000)
    rw space 12288K,  53% used [0x2b0f0000, 0x2b765138, 0x2b765200, 0x2bcf0000)

Dynamic libraries:
0x00400000 - 0x00494f9c     C:\Programmi\Darkwind\darkwindLobby.exe
0x7bc10000 - 0x7bca7000     C:\windows\system32\ntdll.dll
0x7b820000 - 0x7b93c000     C:\windows\system32\KERNEL32.dll
0x60310000 - 0x6034b000     C:\windows\system32\advapi32.dll
0x71630000 - 0x71684000     C:\windows\system32\msvcrt.dll
0x60360000 - 0x6045f000     C:\windows\system32\shell32.dll
0x74530000 - 0x7457e000     C:\windows\system32\shlwapi.dll
0x60480000 - 0x605aa000     C:\windows\system32\user32.dll
0x605c0000 - 0x60649000     C:\windows\system32\gdi32.dll
0x76fc0000 - 0x77071000     C:\windows\system32\comctl32.dll
0x60740000 - 0x607cc000     C:\windows\system32\winex11.drv
0x77e80000 - 0x77e96000     C:\windows\system32\imm32.dll
0x60860000 - 0x60885000     C:\windows\system32\uxtheme.dll
0x66360000 - 0x663ed000     C:\windows\system32\ole32.dll
0x60890000 - 0x608e8000     C:\windows\system32\rpcrt4.dll
0x608f0000 - 0x60907000     C:\windows\system32\iphlpapi.dll
0x6d800000 - 0x6da8b000     C:\Programmi\Java\jre6\bin\client\jvm.dll
0x74670000 - 0x746f7000     C:\windows\system32\winmm.dll
0x7c340000 - 0x7c396000     C:\Programmi\Darkwind\MSVCR71.dll
0x60920000 - 0x60952000     C:\windows\system32\winealsa.drv
0x60cf0000 - 0x60cfe000     C:\windows\system32\msacm32.drv
0x60d00000 - 0x60d26000     C:\windows\system32\msacm32.dll
0x60d30000 - 0x60d3c000     C:\windows\system32\midimap.dll
0x6d7b0000 - 0x6d7bc000     C:\Programmi\Java\jre6\bin\verify.dll
0x6d330000 - 0x6d34f000     C:\Programmi\Java\jre6\bin\java.dll
0x6d290000 - 0x6d298000     C:\Programmi\Java\jre6\bin\hpi.dll
0x7c2b0000 - 0x7c2b7000     C:\windows\system32\psapi.dll
0x6d7f0000 - 0x6d7ff000     C:\Programmi\Java\jre6\bin\zip.dll
0x6d000000 - 0x6d14a000     C:\Programmi\Java\jre6\bin\awt.dll
0x718a0000 - 0x718cc000     C:\windows\system32\winspool.drv
0x6d230000 - 0x6d284000     C:\Programmi\Java\jre6\bin\fontmanager.dll
0x6fb10000 - 0x6fb32000     C:\windows\system32\d3d9.dll
0x60f30000 - 0x6102f000     C:\windows\system32\wined3d.dll
0x6d610000 - 0x6d623000     C:\Programmi\Java\jre6\bin\net.dll
0x75240000 - 0x75266000     C:\windows\system32\ws2_32.dll
0x6d630000 - 0x6d639000     C:\Programmi\Java\jre6\bin\nio.dll

VM Arguments:
java_command: <unknown>
Launcher Type: generic

Environment Variables:
PATH=C:\windows\system32;C:\windows
USERNAME=giulio
SHELL=/bin/bash
DISPLAY=:0.0
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 2060532k(1502148k free), swap 3946788k(3388288k free)

vm_info: Java HotSpot(TM) Client VM (14.3-b01) for windows-x86 JRE (1.6.0_17-b04), built on Oct 11 2009 00:52:06 by "java_re" with MS VC++ 7.1

time: Mon Dec 21 22:34:46 2009
elapsed time: 1 seconds

lordbam


Posted Jan 25, 2010, 8:48 am
Tested in ubuntu 9.04 and nvidia gf4 mx, and it works.

There might be a problem with ati cards, but I'm unable to test that.
lordbam


Posted Mar 8, 2010, 12:36 pm
ubuntu 8.04 works like charm.
ISHOULDCOCO


Posted Aug 16, 2010, 11:33 am
Jolicloud 1.0 with a stinky old intel atom 230 was a straight through

worked first time
Djihani


Posted Aug 16, 2010, 7:18 pm
I suck at this, cant even get Wine running in me latest update...
lordbam


Posted Oct 13, 2010, 5:52 pm
Tested on a fresh wine install in debian lenny.... (I just did "rm .wine -rf")
scenes of evan still crashes the client...

if anyone needs them i can temporary upload them.

edit:

open winecfg.
In the tab Graphics uncheck all the boxes in windows settings.
Emulate a desktop the same size (resolution) as darkwind.

Back