1. #1

    Default Discussion of Linux Support

    Please before this is merged with the old thread, this is only for discussing what has been accomplished so far and how it was done, not begging KK for a Linux client.

    Please keep discussion to the topic.


    Update! Neocron Client now works in Linux!

    We have had success in getting the Neocron Client working in Linux!


    WORKING

    • Logging in
    • Character Selection
    • Changing worlds
    • FONTS APPEAR! YAYY!
    • Everything!
    NOT WORKING
    • Default font is the NC1 fonts. No big deal really, easier to read, but if you want NC fonts just move them from your Fonts folder to your wine\drive_c\windows\fonts
    You can follow the Wiki guide in my sig to get NC working in Linux.

    Also, http://areamc5.info/linux has the same guide in case the wiki is down for some reason.
    Last edited by Nidhogg; 08-09-08 at 21:58.

  2. #2
    Spermy made my hands messy :'( Asurmen Spec Op's Avatar
    Join Date
    May 2004
    Location
    Not looking at porn >.>
    Posts
    3,522

    Default

    Sweet! I'll try on my gentoo box and tweak around

    07-14-2008 14:13:43 > Snowcrash is just chilling with us cool people
    07-14-2008 14:13:43 > OOC> KK_Snowcrash : making asurmen drop his pants

    Quote Originally Posted by Nidhogg
    Because you prefer it from behind?

    N

  3. #3

    Default

    Quote Originally Posted by Asurmen Spec Op
    Sweet! I'll try on my gentoo box and tweak around
    I have been beating my head to get it to run in DX7 mode instead of DX9.

    Edit-

    PREFDRIVER = "(D3D7) Primary Display Driver"
    PREFMODENAME = "WindowMode"
    PREFWINDOWSIZE = "1024x768"

    It still refuses to accept D3D7 mode
    Last edited by MrTrip; 13-07-07 at 08:09.

  4. #4

    Default

    This is the closest so far...

    http://josh.talkhost.net/ <- Just watch.


    So, heres what we know so far...
    1. Neocron Client.exe is a picky bastard =P
    2. Neocron will run in Wine 0.9.40 and display all fonts, but refuses to render DX9 models.
    3. Neocron will run in VMWare Workstation (Windows XP, 1 GB ram assigned) but will not render any fonts.
    #3 is not practical at all, because it runs choppy, you have to run it in a Windows XP enviroment, and it won't show fonts anyway...


    #2 is practical if we can force it to use D3D7...Any ideas Linux geeks?


    Wine bombs out with

    Code:
    fixme:quartz:AsyncReader_FindPin (L"Output", 0x338e0c)
    wine: Unhandled page fault on write access to 0x094452ec at address 0x7bc382fd (thread 0009), starting debugger...
    err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc382fd
    Neocrons logs provide little to nothing

    Code:
    D3D9Drv.log
    --------------------------------
    Processing driver hook 
    Init D3D object 
    Init D3DEnum object 
     
    -------------------- 
    Start enumeration 
    -------------------- 
     
    Driver: Display (Direct3D HAL) 
    Driver: supports shader versions VS=1.1 PS=1.4 
    Driver: shader has no UBYTE4 support (workaround included) 
    Driver: best desktop format D3DFMT_X8R8G8B8 
    Driver: best depthstencil format D3DFMT_D24S8 
    Driver: best texture format D3DFMT_R5G6B5 
    Driver: best alpha texture format D3DFMT_A4R4G4B4 
    Driver: best compressed texture format D3DFMT_DXT1 
    Driver: best compressed alpha texture format D3DFMT_DXT3 
    Driver: best lightmap format D3DFMT_R5G6B5 
    Mode: D3DFMT_X8R8G8B8 
    Mode: D3DFMT_A8R8G8B8 
    Mode: D3DFMT_A2R10G10B10 
    Mode: D3DFMT_X1R5G5B5 
    Mode: D3DFMT_A1R5G5B5 
    Mode: D3DFMT_R5G6B5 
     
    -------------------- 
    End enumeration 
    -------------------- 
     
    Init D3D object 
    Init D3DEnum object 
    Shutdown driver 
    Shutdown driver 
    Processing driver hook 
     
    -------------------- 
    DrvInit() started 
    -------------------- 
     
    Init D3D object 
    Init D3DEnum object 
     
    -------------------- 
    Start enumeration 
    -------------------- 
     
    Driver: Display (Direct3D HAL) 
    Driver: supports shader versions VS=1.1 PS=1.4 
    Driver: shader has no UBYTE4 support (workaround included) 
    Driver: best desktop format D3DFMT_X8R8G8B8 
    Driver: best depthstencil format D3DFMT_D24S8 
    Driver: best texture format D3DFMT_R5G6B5 
    Driver: best alpha texture format D3DFMT_A4R4G4B4 
    Driver: best compressed texture format D3DFMT_DXT1 
    Driver: best compressed alpha texture format D3DFMT_DXT3 
    Driver: best lightmap format D3DFMT_R5G6B5 
    Mode: D3DFMT_X8R8G8B8 
    Mode: D3DFMT_A8R8G8B8 
    Mode: D3DFMT_A2R10G10B10 
    Mode: D3DFMT_X1R5G5B5 
    Mode: D3DFMT_A1R5G5B5 
    Mode: D3DFMT_R5G6B5 
     
    -------------------- 
    End enumeration 
    -------------------- 
     
    Fullscreen: Yes 
    Window size: 1280x1024 
    Driver: Direct3D HAL 
    Format BackBuffer: D3DFMT_X8R8G8B8 
    Format DepthStencil: D3DFMT_D24S8 
    Format Textures: D3DFMT_R5G6B5 
    Format Textures w/alpha: D3DFMT_A4R4G4B4 
    Format Textures compressed: D3DFMT_DXT1 
    Format Textures compressed w/alpha: D3DFMT_DXT3 
    Format Lightmaps: D3DFMT_R5G6B5 
     
    -------------------- 
    Create device 
    -------------------- 
     
    Device: maxbones=59 
     
    -------------------- 
    Create device done. 
    -------------------- 
     
    Window depth: 4 bpp 
    Create render caches 
    Create dummy texture 
    Create dummy texture #2 
    Create lightmap pool 
    Supported shader versions: VS=1.1 PS=1.4 
     
    -------------------- 
    DrvInit() done. 
    -------------------- 
     
    --------------------------------------------------
    
    D3DDrv.log
    
    --- RememberOldMode --- 
    --- CreateD3D --- 
    --- EnumDevices --- 
     
    --- ShutdownD3D --- 
      Shutdown was successful... 
     
    
    ------------------------------------------------------
    
    Error.log
    
    free memory: 1615 MB physical, 432 MB virtual (80%) 
    File Check complete: 1147 files checked 
    @WGENMGR : Font Load Failed (.\Fonts\arial.ttf, arial, 10), LastError=0 
    
    -------------------------------------------------------
    
    init.log
    
    =================================================================
     Neocron Intitialization Logfile
    =================================================================
    
     Current Time: 11:03:25
     Current Date: 07-13-2007
    
    WinMain: Creating window . . .
    
    WinMain: Current server connection: 62.140.29.50:7000
    
    WinMain: Window created! 
    Host: Current language: ENG
    Host: Console initialized. 
    Init Engine . . .
    Init Driver . . .
    Enumerating display modes . . .
     -> Valid modes found: 19
    Enumerating sound and mixer modes . . .
    Selecting drivers and modes . . .
     -> Display: (D3D9) Direct3D HAL (driver)
     -> Display: 1280x1024x32 (mode)
     -> Sound: Generic DirectSound Driver (driver)
     -> Sound: Generic DirectSound Mixer (mixer)
    Creating file system . . .
    Setup for display driver . . .
     -> Mode: 1280 x 1024
    Creating camera . . .
    Creating sound manager . . .
    Creating actor manager . . .
    Creating genesis world manager . . .
    Creating font . . .
    Initialization completed!
    
    Host: Creating controller . . .
    Basehost: Initialize resources . . .
     -> TextureManager . . . complete
     -> ActorManager . . . complete
     -> SoundManager . . . complete
     -> TextManager . . . complete
     -> Fractions . . . complete
     -> ScriptManager . . . complete
     -> ParticleManager . . . complete
    Basehost: Resources initialized!
    Host: Comleted. 
    Host: Creating netmanager . . .
    . . . world loaded.
    Creating FX-System for worlds . . .
    Creating FX-System for actors . . .
    Creating other FX-Systems . . .
     . . . FX-Systems created.
     . . . Initialization of WorldManager completed!

    Best thing I can come up with fixing so far is the arial bug...
    Last edited by MrTrip; 13-07-07 at 13:09.

  5. #5

    Default

    Have you tried doing it without DX9 installed?

  6. #6

    Default

    Quote Originally Posted by flib
    Have you tried doing it without DX9 installed?
    Its not DX9 thats installed, its DX9 support inside Wine.

    You can install DX9, and DX7 all day but it won't actually USE them. The support is all built into Wine.

    If there is no way of forcing the client to run DX7, I need to find something about enabling DX7 in Wine...

  7. #7
    Slaving over Sony Vegas CMaster's Avatar
    Join Date
    November 2004
    Location
    Plaza 3
    Posts
    4,221

    Default

    Code:
    // Neocron - BDoY INIFILE
    
    PREFDRIVER = "(D3D7) Primary Display Driver"
    PREFMODENAME = "1024x768x32"
    PREFWINDOWSIZE = "1024x768"
    PREFSOUNDDRIVER = "Generic DirectSound Driver"
    PREFSOUNDMIXER = "Generic DirectSound Mixer"
    
    GAMMA = "1.1"
    STARTUPMENU = "TRUE"
    SHOWCONSOLE = "TRUE"
    FASTRUN = "FALSE"
    CASTSHADOWS = "FALSE"
    BIGLIGHTS = "TRUE"
    WEAPONVISIBLE = "TRUE"
    HUDACTIVE = "FALSE"
    RECORDMOVIE = "FALSE"
    STARTTIME = "12"
    CAMREPLAY = "FALSE"
    PLAYCDTRACK = "0" 
    SAVEMOVIE = "FALSE"
    MOVIEFPS = "15"
    NETBASEIP = "62.140.29.50:7000"
    
    LOCALPORT = "21021"
    
    NOSPLASH = "TRUE"
    NOEXTRO = "TRUE"
    enablelog = "FLASE"
    My Neocron.ini in D3D7 mode.

    Quote Originally Posted by Flib
    Have you tried doing it without DX9 installed?
    It doesn't quite work like that. Its to do with choice of render paths, not actually which version is installed.

  8. #8
    Hand me a gun and ask me again zii's Avatar
    Join Date
    December 2002
    Location
    In bright puddles
    Posts
    2,602

    Post winetricks

    There is a forum on http://winehq.org if anyone is interested in posting there (via googlegroups).

    In order to get the fonts working did you use winetricks to install these?

    I understand that it can do the following:

    Code:
     art2kmin   Access 2000 runtime.  License required!
     cc580      Install native common controls 5.80, override comctl32
     corefonts  Install MS Times, Arial fonts
     dcom98     Install native DCOM, override the Wine implementation
     gdiplus    Install gdiplus.dll from pp viewer (got a better idea?)
     gecko      Install the HTML rendering Engine (Mozilla)
     jet40      Install Jet 4.0 Service Pack 8
     liberation Install Red Hat's Liberation fonts (Sans, Serif, Mono)
     mdac27     MDAC 2.7: Microsoft ODBC drivers, etc.
     mdac28     MDAC 2.8.
     mfc40
     mono11     mono 1.1.13-gtksharp-2.8.2
     mono12     mono 1.2.3.1-gtksharp-2.8.3 (1.2.4 doesn't run hello, world?)
     msi2       Microsoft Installer 2.0
     msxml3     (Note: install a bit squidgy; see http://bugs.winehq.org/show_bug.cgi?id=7849)
     msxml4     (Note: installing this requires fake c: to be named harddrive1!)
     pdh        Install pdh.dll (Performance Data Helper)
     tahoma     Install MS Tahoma font (not part of corefonts)
     vbvm50     Visual Basic 5 runtime
     vbrun60    Visual Basic 6 runtime
     vcrun6     vc6redist from VS6sp4, including mfc42
     vcrun2005  Visual C++ 2005 redistributable libraries
     wsh51      Windows Scripting Host 5.1
     wsh56      Windows Scripting Host 5.6 (install vcrun6 first)
     wsh56js    Windows scripting 5.6, jscript only, no cscript
     wsh56vb    Windows scripting 5.6, vbscript only, no cscript
    Pseudopackages:
     fakeie6      Set registry to claim IE6sp1 is installed
     native_mdac  Override odbc32 and odbccp32
     winver=win98 Set windows version to win98
     winver=winxp Set windows version to winxp
     winver=      Set windows version to default (win2k)
    wine 094 install
    Which additional libs and dev a packages did you install other than
    apt-get install wine

    http://josh.talkhost.net - Broken link:
    WordPress

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

    * Are you sure you have the correct username and password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?


    /edit: works now.
    Cheers.

  9. #9

    Default

    Quote Originally Posted by zii
    There is a forum on http://winehq.org if anyone is interested in posting there (via googlegroups).

    In order to get the fonts working did you use winetricks to install these?

    I understand that it can do the following:

    Code:
     art2kmin   Access 2000 runtime.  License required!
     cc580      Install native common controls 5.80, override comctl32
     corefonts  Install MS Times, Arial fonts
     dcom98     Install native DCOM, override the Wine implementation
     gdiplus    Install gdiplus.dll from pp viewer (got a better idea?)
     gecko      Install the HTML rendering Engine (Mozilla)
     jet40      Install Jet 4.0 Service Pack 8
     liberation Install Red Hat's Liberation fonts (Sans, Serif, Mono)
     mdac27     MDAC 2.7: Microsoft ODBC drivers, etc.
     mdac28     MDAC 2.8.
     mfc40
     mono11     mono 1.1.13-gtksharp-2.8.2
     mono12     mono 1.2.3.1-gtksharp-2.8.3 (1.2.4 doesn't run hello, world?)
     msi2       Microsoft Installer 2.0
     msxml3     (Note: install a bit squidgy; see http://bugs.winehq.org/show_bug.cgi?id=7849)
     msxml4     (Note: installing this requires fake c: to be named harddrive1!)
     pdh        Install pdh.dll (Performance Data Helper)
     tahoma     Install MS Tahoma font (not part of corefonts)
     vbvm50     Visual Basic 5 runtime
     vbrun60    Visual Basic 6 runtime
     vcrun6     vc6redist from VS6sp4, including mfc42
     vcrun2005  Visual C++ 2005 redistributable libraries
     wsh51      Windows Scripting Host 5.1
     wsh56      Windows Scripting Host 5.6 (install vcrun6 first)
     wsh56js    Windows scripting 5.6, jscript only, no cscript
     wsh56vb    Windows scripting 5.6, vbscript only, no cscript
    Pseudopackages:
     fakeie6      Set registry to claim IE6sp1 is installed
     native_mdac  Override odbc32 and odbccp32
     winver=win98 Set windows version to win98
     winver=winxp Set windows version to winxp
     winver=      Set windows version to default (win2k)
    wine 094 install
    Which additional libs and dev a packages did you install other than
    apt-get install wine

    http://josh.talkhost.net - Broken link:
    WordPress

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

    * Are you sure you have the correct username and password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?


    /edit: works now.
    Cheers.

    I used Wine out of the box installed by automatix, then installed the extra packages offered by Wine-Doors including all the runtimes and DX9.

  10. #10

    Default

    Wine 0.9.41 same problem, No fix yet...but submit a bug report to winehq

    http://bugs.winehq.org/show_bug.cgi?id=8949

  11. #11
    Hand me a gun and ask me again zii's Avatar
    Join Date
    December 2002
    Location
    In bright puddles
    Posts
    2,602

    Default

    I don't see how you can use DX7 with wine and winedoors because the latter only installs DX9, unless DX7 is bundled with win 094?

  12. #12
    Slaving over Sony Vegas CMaster's Avatar
    Join Date
    November 2004
    Location
    Plaza 3
    Posts
    4,221

    Default

    Quote Originally Posted by zii
    I don't see how you can use DX7 with wine and winedoors because the latter only installs DX9, unless DX7 is bundled with win 094?
    You aren't actually using DirectX7 - just the D3D7 render paths built into DX9. If WINE doesn't support that, then it doesn't support a lot of Direct X programs out there.

  13. #13

    Default

    Quote Originally Posted by CMaster
    You aren't actually using DirectX7 - just the D3D7 render paths built into DX9. If WINE doesn't support that, then it doesn't support a lot of Direct X programs out there.
    There was an article on the WineHQ site...

    http://www.winehq.org/?issue=331#Direct3D%20Milestone

    The D3D7 Render is almost perfect.

    http://stud4.tuwien.ac.at/~e0526822/sdkdemos1.png

    http://stud4.tuwien.ac.at/~e0526822/sdkdemos2.png

    It passed all DX7 tests.....

    I did mention to them that Neocron didn't even run properly in Windows....they were kind of discouraged after hearing that...


    Quote Originally Posted by zii
    I don't see how you can use DX7 with wine and winedoors because the latter only installs DX9, unless DX7 is bundled with win 094?

    D3D7 Should be built into Wine...as well as D3D9 support.
    The DirectX installer i just to install extra files.


    Again..

    Also, KK, what is the Client.exe arguments that I can use other then -sysconfig. I want to force the tutorial to start instead of login screen to test fonts, RPOS and just plain working stuff.
    Can I get an official response to this please?
    Last edited by MrTrip; 14-07-07 at 12:21.

  14. #14

    Default

    Never mind...

    Client.exe PlayTutorial

    But it still crashes out...

  15. #15

    Default

    Very interesting I shall follow this thread.

    If you need any web space for a website to dedicate to this or a forum I can offer you some.

    If KK puts some support towards this (even if mild) I will be renewing my neocron subscription.
    Last edited by trip-trew; 15-07-07 at 06:44.

Page 1 of 32 1234511 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •