PDA

View Full Version : Discussion of Linux Support



Pages : [1] 2

MrTrip
13-07-07, 05:25
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.

Asurmen Spec Op
13-07-07, 07:55
Sweet! I'll try on my gentoo box and tweak around

MrTrip
13-07-07, 08:05
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 :(

MrTrip
13-07-07, 12:45
This is the closest so far...

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


So, heres what we know so far...

Neocron Client.exe is a picky bastard =P
Neocron will run in Wine 0.9.40 and display all fonts, but refuses to render DX9 models.
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



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



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...

flib
13-07-07, 14:00
Have you tried doing it without DX9 installed?

MrTrip
13-07-07, 14:03
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...

CMaster
13-07-07, 14:54
// 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.



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.

zii
13-07-07, 15:45
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:



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.

MrTrip
13-07-07, 23:18
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:



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.

MrTrip
14-07-07, 02:34
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

zii
14-07-07, 10:30
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?

CMaster
14-07-07, 10:45
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.

MrTrip
14-07-07, 12:15
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/%7Ee0526822/sdkdemos1.png)

http://stud4.tuwien.ac.at/~e0526822/sdkdemos2.png (http://stud4.tuwien.ac.at/%7Ee0526822/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...



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?

MrTrip
15-07-07, 05:41
Never mind...

Client.exe PlayTutorial

But it still crashes out...

trip-trew
15-07-07, 06:19
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.

MrTrip
15-07-07, 06:41
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 defiantly be renewing my neocron subscription.

http://josh.talkhost.net

MrTrip
15-07-07, 07:05
Well, if we override quartz.dll and msvcrt.dll we get sound...sounds like I'm in game...fatal run-time error with this message

http://pastebin.ca/620050

Mighty Max
15-07-07, 12:58
Well, if we override quartz.dll and msvcrt.dll we get sound...sounds like I'm in game...fatal run-time error with this message

http://pastebin.ca/620050

The gamebase that calls the error function lies within the export:
?Write_LogFile@@YAXPBD0@Z = gamebase+0x1ED0

Actuall it is a fwrite() that causes the gpf while read @0, which is usually caused by non-file (fopen(,"ab") returned NULL). That in mind:

Does the user have rights to create/write files in the "logs" subfolder?
And does the "ab" rights in wine work correctly?

GiggityGoo
15-07-07, 17:11
Have you tried Cedega?
http://www.cedega.com/

Zeninja
15-07-07, 19:06
Can I get an official response to this please?
I have admiration for your tenacity at trying to make NC run on a different operating system, but how could you expect KK devs to offer any NC support until it's directly written for the OS itself instead of an attempt of running it through an emulator (do I have to mention it involves network layers) ?


I wish you or someone inside NC's staff got me wrong here at once, but life is too short, you'd better deal with it and try to interpret FREs as some kind of RP metaphor (fyi, mine is : "shit happens") than wasting your time in such investigations.

MrTrip
16-07-07, 01:40
I have admiration for your tenacity at trying to make NC run on a different operating system, but how could you expect KK devs to offer any NC support until it's directly written for the OS itself instead of an attempt of running it through an emulator (do I have to mention it involves network layers) ?


I wish you or someone inside NC's staff got me wrong here at once, but life is too short, you'd better deal with it and try to interpret FREs as some kind of RP metaphor (fyi, mine is : "shit happens") than wasting your time in such investigations.

*thumbs up* Thanks for the support there buddy.

Actually KK could easily respond to my question of "How do I force the tutorial to start?" but I figured it out myself, PlayTutorial after Client.exe

I never expected KK to swoop in and fix everything for me so I could play it in Linux, but you realize a lot of their player base would return right?

I mean look at it this way, if KK worked with somebody to fix a few bugs so Neocron would work well under Wine, what if they inadvertantly fixed a few bugs that they never expected like an FRE that happened in Windows? Maybe the Alt-Tab bug in the wastelands is something simple that all of a sudden got fixed when something was patched in NC so it would better work with Wine?

I'm trying to remember the name of the game that worked with the Cedega guys to get it working properly in Linux. They fixed a lot of bugs that came up in Windows when they fixed it up to work with Cedega.





The gamebase that calls the error function lies within the export:
?Write_LogFile@@YAXPBD0@Z = gamebase+0x1ED0

Actuall it is a fwrite() that causes the gpf while read @0, which is usually caused by non-file (fopen(,"ab") returned NULL). That in mind:

Does the user have rights to create/write files in the "logs" subfolder?
And does the "ab" rights in wine work correctly?


The user has rights to write to the logs folder, in fact he has rights to write to everything.

ab rights in wine..I'm not sure, I'll look into that.

MrTrip
16-07-07, 01:49
<vitamin> append binary, sure, plus you tried native msvcrt right?
<vitamin> you running this from the Linux partition right?
<mrtrip> Yep
<mrtrip> and yep
<mrtrip> running from .wine/drive_c/Program\ Files/Neocron2/
<mrtrip> ~/.wine *
<vitamin> then should work just finr
<vitamin> fine*


To get a tad further, at least a fatal at the character selection screen copy native msvcrt and quartz from your Windows install, set in winecfg for Client.exe to use the native version of those two and fire it up. It goes to Character Selection, hangs a second and then fatals.

*thumbs up*

If anybody else has any ideas...feel free to share.

MrTrip
16-07-07, 02:01
BREAKTHROUGH!!!!!!!!

WE HAVE A MILESTONE HERE!!!


I am able to play the tutorial now with fonts and RPOS and all working! IT EVEN LOOKS BETTER!

Here are the steps to get to that point


Assuming you have installed Wine, run winecfg
Select your Client.exe
Set it to run in Windows 2000
Librarys tab, set quartz and msvcrt to use native version
copy your quartz.dll and msvcrt.dll from Windows/System32 to your Linux box under .wine/drive_c/windows/system32
apply and click ok on winecfg window
inside your Neocron 2 folder, hopefully should be inside .wine/drive_c/Program\ Files/Neocron2 run "wine Client.exe -precache PlayTutorial"

BAM! You should PreCache the models, and be put into tutorial mode with full fonts and RPOS!


Next problem, connecting to gameserver, after character selection it hangs. Something is holding it back.

Come on folks! WE ARE ALMOST THERE!!!

MrTrip
16-07-07, 02:07
I'm so sorry to spam Nid, but this is super important.

http://forum.neocron.com/showthread.php?p=2090597#post2090597

Again sorry, you can close the thread, but people gotta know.

Trivaldi
16-07-07, 02:14
Please, dont make multiple threads of the same topic. I am sure users who are interested in the progress of this project will keep themselves informed by checking any new posts in the existing thread.

Threads Merged.

Triv

MrTrip
16-07-07, 02:31
Please, dont make multiple threads of the same topic. I am sure users who are interested in the progress of this project will keep themselves informed by checking any new posts in the existing thread.

Threads Merged.

Triv

:( Come on man....I'm sad now...

Ah well....

I'm pounding my head over the gameserver connect issue now, its the last step!


Heres what Error.Log kicks out

http://pastebin.ca/621194

Brammers
16-07-07, 02:44
Nice work!

Can I sugguest you put a guide on the NC wiki - http://www.nc-wiki.com/

MrTrip
16-07-07, 02:46
Nice work!

Can I sugguest you put a guide on the NC wiki - http://www.nc-wiki.com/

No problem, except the net connect issue remains, but I'll note that.

Zeninja
16-07-07, 02:58
Congrats mr Trip

trip-trew
16-07-07, 03:23
http://josh.talkhost.net
I meant real web hosting not some random blog :p.

But fair enough.

MrTrip
16-07-07, 03:23
I meant real web hosting not some random blog :p.

But fair enough.

Well I could make a whole site dedicated to it, I have a hosting company, I just didn't think it was that important lol

Asurmen Spec Op
16-07-07, 03:36
Congrats on moving it forward trip!

MrTrip
16-07-07, 04:18
Congrats on moving it forward trip!

Thanks, I don't know if anybody else got this far to be honest.

It runs really smooth in the tutorial, very high FPS actually, higher then I got in Windows at least. 79-90 FPS in some areas.

I'm Hoping I can figure out this connection issue, or somebody else can assist me with it so we can finally have Neocron on Linux.

MrTrip
16-07-07, 06:20
DONE!

COMPLETELY WORKING NEOCRON IN LINUX!!

Setting my hostname to my IP address in /etc/hosts fixed everything!

NEOCRON 2.2 WORKS IN LINUX UBUNTU FIESTY FAWN UNDER WINE 0.9.41!!!

Updated the Wiki!!!

EDIT- And Alt-Tabbing works, I'll never go back to Windows now.

MrTrip
16-07-07, 09:36
And heres the screen shot

http://img513.imageshack.us/img513/1420/neolinuxjx6.th.png (http://img513.imageshack.us/my.php?image=neolinuxjx6.png)

flib
16-07-07, 09:46
Holy shit dude.
Amazing work!

MrTrip
16-07-07, 09:47
Holy shit dude.
Amazing work!

Thanks :) Lets see some players come back now!

Zeninja
16-07-07, 09:49
1. Download and install Automatix2.
2. Install Wine from Automatix and Extra Fonts package, and whatever else you want to install.
3. Download and install Wine-Doors.
4. Install the following packages from Wine-Doors
Visual C++ runtime libraries 6
All fonts available
Common Controls 5
DCOM 98
Microsoft Jet 4
Microsoft Foundation Classes 4
MSXML 4
DirectX9
Internet Explorer 6
Windows Scripting Host 5
Windows Installer 2
Visual Basic Common Controls 6
Visual Basic Runtime Libraries 5
Visual Basic Runtime Libraries 6
If any fail, just keep trying until they are installed, sometimes a few will fail because others were not installed first.
Do NOT press any keys or be doing anything else while they install, they will automatically press keys for you to finish the installs.

6. Copy your Neocron2.2 directory over to ~/.wine/drive_c/Program\ Files/
7. run winecfg and Add Application Client.exe with the following options
Windows Version: Windows 98
[Libraries]
Override msvcrt, set to Native (Windows) [Thanks to vitamin in #winehq for this]
Override quartz, set to Native (Windows) [Again thanks to vitamin in #winehq for this]

8. Copy msvcrt.dll and quartz.dll from your C:\Windows\System32 folder on your WIndows machine to ~/.wine/drive_c/windows/system32
9. From the terminal, go to your Neocron 2 folder (cd ~/.wine/drive_c/Program\ Files/Neocron2/) and type wine Client.exe -sysconfig
10. Setup your options and click OK.
11. From the terminal again type wine Client.exe -precache PlayTutorial
12. After making sure that it works, you need to make sure that in your /etc/hosts file, your hostname is set to resolve to your external IP, NOT LOCALHOST!
13. Now just fire up Client.exe and connect! WORKS!
14. Never listen to a ninja trying to persuade you not to persist :eek:

flib
16-07-07, 09:49
I'll definitely be reactivating as soon as they fix the damn Paypal problem.

MrTrip
16-07-07, 09:54
14. Never listen to a ninja trying to persuade you not to persist :eek:

Is that an apology? =P

Zeninja
16-07-07, 10:00
Is that an apology? =P
Basic psychology is among my sub-routines :rolleyes:

MrTrip
16-07-07, 10:06
Basic psychology is among my sub-routines :rolleyes:

lol its ok we are still friends <3 PILLOW PARTY LATER AT MY HOUSE!

Asurmen Spec Op
16-07-07, 10:07
Good Job! I'll jump on my nix and try this later, see how it looks with beryl :D
Trip gets +5 assman awesome points

MrTrip
16-07-07, 10:09
Good Job! I'll jump on my nix and try this later, see how it looks with beryl :D
Trip gets +5 assman awesome points

Playing with Beryl causes slight jitters at times, I just turned Beryl off to keep it safe.

Asurmen Spec Op
16-07-07, 10:14
fair enough. We still get to see how it runs on my Gentoo X86_64 box.


doing it now

MrTrip
16-07-07, 10:21
fair enough. We still get to see how it runs on my Gentoo X86_64 box.


doing it now

Let me know results, and I'll help any way I can.

CMaster
16-07-07, 10:38
EDIT- And Alt-Tabbing works, I'll never go back to Windows now.

Except for every time there is a patch.

(OK, thats pretty rare. But still an issue).

Asurmen Spec Op
16-07-07, 10:39
hmm, automatix only has install info for ubuntu and debian. yaaay

MrTrip
16-07-07, 10:43
hmm, automatix only has install info for ubuntu and debian. yaaay

Get Wine for your distro at winehq.org


Except for every time there is a patch.

(OK, thats pretty rare. But still an issue).

Patching works in launcher.

Asurmen Spec Op
16-07-07, 10:46
ah, well I've already got wine installed, so no biggy then :P

MrTrip
16-07-07, 10:47
ah, well I've already got wine installed, so no biggy then :P

Assman get on MSN I added you

Asurmen Spec Op
16-07-07, 10:59
just got on, pidgin can sometimes be tricky with people though =/

MrTrip
16-07-07, 11:06
just got on, pidgin can sometimes be tricky with people though =/

aMSN for the win.

Asurmen Spec Op
16-07-07, 11:11
installing it now, because I love you.

MrTrip
16-07-07, 11:13
installing it now, because I love you.

<33 Love is in the air tonight

Asurmen Spec Op
16-07-07, 11:18
Im on it :P
DX9 is an evil long DL :(

MrTrip
16-07-07, 11:33
I don't see you on and yeah it is.

Asurmen Spec Op
16-07-07, 11:34
try adding me again :o

MrTrip
18-07-07, 13:41
try adding me again :o

Well, unless you got it to work, then we have confirmed that Gentoo x86_64 will pitch fits running it.

Except I really think your just doing something wrong.

I'm not 100% sure on x86_64 support either, I'll check into it more some other time when I'm feeling like a 64bit os.


I have a few nit picky bugs to add to the Wiki, but so far no problems.

I even capped STR on my tank finally

Asurmen Spec Op
18-07-07, 15:24
Well, unless you got it to work, then we have confirmed that Gentoo x86_64 will pitch fits running it.

Except I really think your just doing something wrong.

I'm not 100% sure on x86_64 support either, I'll check into it more some other time when I'm feeling like a 64bit os.


I have a few nit picky bugs to add to the Wiki, but so far no problems.

I even capped STR on my tank finally
Gentoo isnt a problem, we can most likely bet its my ach, I was at a uni thing all day yesterday so I havent had the time to test more. As far as I can tell though it cant get it to work pretty much period :P

I can try to re-emerge wine, but I doubt it will help

zii
25-07-07, 21:04
I have gone through the same process now since this thread was started:

install wine
install winedoors
attempt to install the list of available applications

Result is always the same:


Package update completed
The following errors were reported:
Reported 1 time: Installation failed: Installing Application: dcom version 98

This happens for most applications from winedoors. At the most, I have managed to install some fonts (but not all) and the Visual X runtime libs 6, AutoHotKey and MOzilla ActiveX Control 1.7 (And this won't even uninstall!!)
(In fact, I cannot uninstall anything, which makes no sence because I deleted wine and winedoors and reinstalled the s/w three times now)

Does anyone know where Winedoors actully installs the applications, and where it keeps a file of whats installed. Because I have deleted .wine-doors and .wine three times and these apps are still there when I reinstall.

I cannot find a support forum etc for winedoors... :(

MrTrip
26-07-07, 03:04
I have gone through the same process now since this thread was started:

install wine
install winedoors
attempt to install the list of available applications

Result is always the same:


Package update completed
The following errors were reported:
Reported 1 time: Installation failed: Installing Application: dcom version 98

This happens for most applications from winedoors. At the most, I have managed to install some fonts (but not all) and the Visual X runtime libs 6, AutoHotKey and MOzilla ActiveX Control 1.7 (And this won't even uninstall!!)
(In fact, I cannot uninstall anything, which makes no sence because I deleted wine and winedoors and reinstalled the s/w three times now)

Does anyone know where Winedoors actully installs the applications, and where it keeps a file of whats installed. Because I have deleted .wine-doors and .wine three times and these apps are still there when I reinstall.

I cannot find a support forum etc for winedoors... :(

Deleting the .wine directory should completely remove everything Windows.

What distro are you using?

zii
26-07-07, 17:53
Ubuntu 7.0.4

I have spoken to the writers of winedoors and it seems I have found problems.
Hopefully mended demain.

To remove winedoors and wine (apart from the actual apps from the .deb file) one has to rm -rf ~/.win* as there is more than only the .wine directory to remove.

z

zii
26-07-07, 22:11
Problem with winedoors solved.

Mr.Trip posted a list of things that had to be completed to get this running:


Originally Posted by Trip's Wiki
12. After making sure that it works, you need to make sure that in your /etc/hosts file, your hostname is set to resolve to your external IP, NOT LOCALHOST!


THere is a problem with this last step. Its called DHCP, and most of us use this. My hosts file is:
127.0.0.1 localhost axe
127.0.1.1 axe

The 127.0.1.1 is a workaround for a bug in Gnome, which causes it to lock up intermittently when disconnected from a network.
So, how does one work around point 12. I think a simple wrapper for the wine Client.exe command to add the DHCPed address to /etc/hosts.

MrTrip
29-07-07, 23:39
Problem with winedoors solved.

Mr.Trip posted a list of things that had to be completed to get this running:


Originally Posted by Trip's Wiki
12. After making sure that it works, you need to make sure that in your /etc/hosts file, your hostname is set to resolve to your external IP, NOT LOCALHOST!


THere is a problem with this last step. Its called DHCP, and most of us use this. My hosts file is:
127.0.0.1 localhost axe
127.0.1.1 axe

The 127.0.1.1 is a workaround for a bug in Gnome, which causes it to lock up intermittently when disconnected from a network.
So, how does one work around point 12. I think a simple wrapper for the wine Client.exe command to add the DHCPed address to /etc/hosts.

Any update on this?

I am app maintainer on the wine appdb

http://appdb.winehq.org/appview.php?iVersionId=8568

zii
31-07-07, 14:51
I never got around to writing up a script. I am still trying to install these apps through WineDoors. Never works. I would like to install these apps through another front-end like WineDoors. (Actually, I have never had any luck with Wine. Even Code Weavers' version wouldn't fully work on my laptop after a clean install of FC5, but that was last year so perhaps things have changed)

Windows Installer 2
Visual Basic Common Controls 6
Visual Basic Runtime Libraries 5
Visual Basic Runtime Libraries 6

Any idea?

Then I'll get onto running NC.

MrTrip
31-07-07, 19:51
I never got around to writing up a script. I am still trying to install these apps through WineDoors. Never works. I would like to install these apps through another front-end like WineDoors. (Actually, I have never had any luck with Wine. Even Code Weavers' version wouldn't fully work on my laptop after a clean install of FC5, but that was last year so perhaps things have changed)

Windows Installer 2
Visual Basic Common Controls 6
Visual Basic Runtime Libraries 5
Visual Basic Runtime Libraries 6

Any idea?

Then I'll get onto running NC.


My list still says that I need to install those apps, but NC still runs without them.

zii
01-08-07, 12:07
This ought to work. I have tested it except the final statement that calls client.exe.



#!/bin/sh
#
# Script to check if DHCP address is present in /etc/hosts and if not then append it to the file & then runs client.exe
# This is required at present for Neocron client.exe to function correctly.
# Written by Me 01/08/2007
IP=$( /sbin/ifconfig eth0 |grep "inet " |awk '{print $2}' |sed 's/addr\://g' )
if ! grep $IP hosts > /dev/null 2>&1
then
echo $IP `uname -n` >> hosts
fi
echo "Starting Neocron..." && cd ~/.wine/drive_c/Program\ Files/Neocron2 && wine Client.exe

zii
01-08-07, 15:25
Ignore my earlier script because it does not remove the DHCP IP address when NC finishes and would have to be run as root.

The script below does remove the IP address and does not have to be run as root. The script also backs up the original /etc/hosts. However, the line
sudo echo $IP `uname -n` >> /etc/hosts
mayn't carry the $IP variable into the root shell. I am not at home & cannot test this.

I am sure that there is an easier way to do this because I suspect that either DHCP automatically adds the IP address to /etc/hosts or there is an option in DHCP to do this cleanly. This script is cumbersome, a large fudge and hopefully will be unnecessary.





#!/bin/sh
#
# Script to check if DHCP address is present in /etc/hosts and if not then append it to the file & then runs client.exe
# This is required at present for Neocron client.exe to function correctly.
# zii 01/08/2007
IP=$( /sbin/ifconfig eth0 |grep "inet " |awk '{print $2}' |sed 's/addr\://g' )
if ! grep $IP /etc/hosts > /dev/null 2>&1
then
export IP
sudo echo $IP `uname -n` >> /etc/hosts
fi
echo "Starting Neocron..." && cd ~/.wine/drive_c/Program\ Files/Neocron2 && wine Client.exe

# Backup up the hosts file.
echo "Backing up /etc/hosts file to /tmp/hosts.old - Delete at your leisure"
cp /etc/hosts >/tmp/hosts.old
# Create anew version of the hosts file without the DHCP IP address.
echo "Removing the DHCP IP address in /etc/hosts. Any problems please"
echo "restore the file using: sudo cp /tmp/hosts.old /etc/hosts"
cat /etc/hosts|grep -v $IP >/tmp/hosts.new ; sudo mv /tmp/hosts.new /etc/hosts

MrTrip
02-08-07, 00:59
The fix is because normally it sticks 127.0.0.1 in for the hostname...I'm not sure about DHCP setting the IP properly for you though.

That script is nice though, helpful.

zii
02-08-07, 23:04
I ran winecfg and got all this. I am not lucky with Wine (for the past two years...). Now I have to reinstall Wine for the twelth time this year. LOL.
I swear Wine has a problem with my laptop...



winecfg
err:shell:SHGetFolderPathW Failed to create directory L"Y:\\Desktop".
err:shell:SHGetFolderPathW Failed to create directory L"Y:\\Desktop".
err:shell:SHGetFolderPathW Failed to create directory L"Y:\\Desktop".
err:shell:SHGetFolderPathW Failed to create directory L"Y:\\Desktop".
err:shell:SHGetFolderPathW Failed to create directory L"Y:\\Desktop".
err:commdlg:IShellBrowserImpl_BrowseObject could not browse to folder
wine: Unhandled page fault on read access to 0x00000000 at address 0x7eda66a7 (thread 000e), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x7eda66a7).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7eda66a7 ESP:0033ccb0 EBP:0033ccd8 EFLAGS:00210246( - 00 -RIZP1)
EAX:00000000 EBX:7edc8a04 ECX:00110020 EDX:00000000
ESI:0033e84c EDI:ffffffff
Stack dump:
0x0033ccb0: 00174748 7edc206c 00000000 00000000
0x0033ccc0: 7c01d5c8 00010044 0033e84c 7edc8a04
0x0033ccd0: 00000002 7edc206c 0033d9c8 7eda7f2b
0x0033cce0: 00010044 7edc206c 0033cd28 7bc3f277
0x0033ccf0: 00110020 7c053a60 00000006 7bc31631
0x0033cd00: 00000000 00176a48 00000006 7bc30faf
Backtrace:
=>1 0x7eda66a7 in comdlg32 (+0x166a7) (0x0033ccd8)
2 0x7eda7f2b in comdlg32 (+0x17f2b) (0x0033d9c8)
3 0x7edaab62 in comdlg32 (+0x1ab62) (0x0033e088)
4 0x7ebb526a WINPROC_wrapper+0x1a() in user32 (0x0033e0b8)
5 0x7ebb7168 in user32 (+0xa7168) (0x0033e0f8)
6 0x7ebbab1a WINPROC_CallDlgProcW+0x5a() in user32 (0x0033e138)
7 0x7eb49d45 DefDlgProcW+0x85() in user32 (0x0033e168)
8 0x7ebb526a WINPROC_wrapper+0x1a() in user32 (0x0033e198)
9 0x7ebb59fe in user32 (+0xa59fe) (0x0033e1d8)
10 0x7ebbac13 CallWindowProcW+0x53() in user32 (0x0033e218)
11 0x7eb81e78 in user32 (+0x71e78) (0x0033e288)
12 0x7eb85bd0 SendMessageTimeoutW+0x1a0() in user32 (0x0033e2f8)
13 0x7eb85c40 SendMessageW+0x50() in user32 (0x0033e338)
14 0x7eb3086f in user32 (+0x2086f) (0x0033e428)
15 0x7eb314a6 in user32 (+0x214a6) (0x0033e448)
16 0x7ebb526a WINPROC_wrapper+0x1a() in user32 (0x0033e478)
17 0x7ebb59fe in user32 (+0xa59fe) (0x0033e4b8)
18 0x7ebbac13 CallWindowProcW+0x53() in user32 (0x0033e4f8)
19 0x7eb8237b DispatchMessageW+0x15b() in user32 (0x0033e538)
20 0x7eb50aab IsDialogMessageW+0xfb() in user32 (0x0033e698)
21 0x7eb5138f DIALOG_DoDialogBox+0xdf() in user32 (0x0033e6f8)
22 0x7eb514da DialogBoxIndirectParamAorW+0x5a() in user32 (0x0033e718)
23 0x7eb51531 DialogBoxIndirectParamW+0x41() in user32 (0x0033e748)
24 0x7eda614b in comdlg32 (+0x1614b) (0x0033e828)
25 0x7edac019 GetFileDialog95W+0x159() in comdlg32 (0x0033e8c8)
26 0x7edac12f GetOpenFileNameW+0x4f() in comdlg32 (0x0033e8f8)
27 0x7ee3b2bd AppDlgProc+0xa7d() in winecfg (0x0033f5c8)
28 0x7ebb526a WINPROC_wrapper+0x1a() in user32 (0x0033f5f8)
29 0x7ebb7168 in user32 (+0xa7168) (0x0033f638)
30 0x7ebbab1a WINPROC_CallDlgProcW+0x5a() in user32 (0x0033f678)
31 0x7eb49d45 DefDlgProcW+0x85() in user32 (0x0033f6a8)
32 0x7ebb526a WINPROC_wrapper+0x1a() in user32 (0x0033f6d8)
33 0x7ebb59fe in user32 (+0xa59fe) (0x0033f718)
34 0x7ebbac13 CallWindowProcW+0x53() in user32 (0x0033f758)
35 0x7eb81e78 in user32 (+0x71e78) (0x0033f7c8)
36 0x7eb85bd0 SendMessageTimeoutW+0x1a0() in user32 (0x0033f838)
37 0x7eb85c40 SendMessageW+0x50() in user32 (0x0033f878)
38 0x7eb3086f in user32 (+0x2086f) (0x0033f968)
39 0x7eb314a6 in user32 (+0x214a6) (0x0033f988)
40 0x7ebb526a WINPROC_wrapper+0x1a() in user32 (0x0033f9b8)
41 0x7ebb59fe in user32 (+0xa59fe) (0x0033f9f8)
42 0x7ebbac13 CallWindowProcW+0x53() in user32 (0x0033fa38)
43 0x7eb8237b DispatchMessageW+0x15b() in user32 (0x0033fa78)
44 0x7eb50aab IsDialogMessageW+0xfb() in user32 (0x0033fbd8)
45 0x7e883e62 in comctl32 (+0x53e62) (0x0033fc38)
46 0x7e88472f PropertySheetW+0x1cf() in comctl32 (0x0033fca8)
47 0x7ee44584 WinMain+0x364() in winecfg (0x0033fe58)
48 0x7ee4a193 main+0xa3() in winecfg (0x0033fed8)
49 0x7ee4a0bb in winecfg (+0x1a0bb) (0x0033ff08)
50 0x7b874c3e in kernel32 (+0x54c3e) (0x0033ffe8)
51 0xb7e5daf7 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x7eda66a7: movl 0x0(%eax),%edx

zii
02-08-07, 23:05
here the rest. pah.

Modules:
Module Address Debug info Name (81 modules)
ELF 7b800000-7b929000 Export kernel32<elf>
\-PE 7b820000-7b929000 \ kernel32
ELF 7bc00000-7bca0000 Deferred ntdll<elf>
\-PE 7bc10000-7bca0000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7d119000-7d12e000 Deferred midimap<elf>
\-PE 7d120000-7d12e000 \ midimap
ELF 7d12e000-7d154000 Deferred msacm32<elf>
\-PE 7d140000-7d154000 \ msacm32
ELF 7d154000-7d190000 Deferred wineoss<elf>
\-PE 7d160000-7d190000 \ wineoss
ELF 7d190000-7d1e1000 Deferred libgcrypt.so.11
ELF 7d1e1000-7d1f6000 Deferred libtasn1.so.3
ELF 7d1f6000-7d224000 Deferred libcrypt.so.1
ELF 7d224000-7d294000 Deferred libgnutls.so.13
ELF 7d294000-7d2c5000 Deferred libcups.so.2
ELF 7d56a000-7d582000 Deferred msacm32<elf>
\-PE 7d570000-7d582000 \ msacm32
ELF 7d58c000-7d590000 Deferred libgpg-error.so.0
ELF 7d592000-7d597000 Deferred libxfixes.so.3
ELF 7d597000-7d5a0000 Deferred libxcursor.so.1
ELF 7d5a0000-7d5bd000 Deferred imm32<elf>
\-PE 7d5b0000-7d5bd000 \ imm32
ELF 7d5bd000-7d5c3000 Deferred libxrandr.so.2
ELF 7d5c3000-7d5cb000 Deferred libxrender.so.1
ELF 7d9dc000-7d9de000 Deferred libnvidia-tls.so.1
ELF 7d9de000-7e264000 Deferred libglcore.so.1
ELF 7e264000-7e2f0000 Deferred libgl.so.1
ELF 7e2f0000-7e2f5000 Deferred libxdmcp.so.6
ELF 7e2f5000-7e3e6000 Deferred libx11.so.6
ELF 7e3e6000-7e3f4000 Deferred libxext.so.6
ELF 7e3f4000-7e3f9000 Deferred libxxf86vm.so.1
ELF 7e3f9000-7e411000 Deferred libice.so.6
ELF 7e411000-7e41a000 Deferred libsm.so.6
ELF 7e41a000-7e4a3000 Deferred winex11<elf>
\-PE 7e430000-7e4a3000 \ winex11
ELF 7e53f000-7e55f000 Deferred libexpat.so.1
ELF 7e55f000-7e58a000 Deferred libfontconfig.so.1
ELF 7e58a000-7e59e000 Deferred libz.so.1
ELF 7e59e000-7e609000 Deferred libfreetype.so.6
ELF 7e609000-7e63b000 Deferred uxtheme<elf>
\-PE 7e610000-7e63b000 \ uxtheme
ELF 7e63b000-7e6c9000 Deferred winmm<elf>
\-PE 7e650000-7e6c9000 \ winmm
ELF 7e6c9000-7e6dc000 Deferred libresolv.so.2
ELF 7e6dc000-7e6fa000 Deferred iphlpapi<elf>
\-PE 7e6e0000-7e6fa000 \ iphlpapi
ELF 7e6fa000-7e753000 Deferred rpcrt4<elf>
\-PE 7e710000-7e753000 \ rpcrt4
ELF 7e753000-7e7f2000 Deferred ole32<elf>
\-PE 7e760000-7e7f2000 \ ole32
ELF 7e7f2000-7e826000 Deferred winspool<elf>
\-PE 7e800000-7e826000 \ winspool
ELF 7e826000-7e8e3000 Export comctl32<elf>
\-PE 7e830000-7e8e3000 \ comctl32
ELF 7e8e3000-7e92b000 Deferred advapi32<elf>
\-PE 7e8f0000-7e92b000 \ advapi32
ELF 7e92b000-7e937000 Deferred libgcc_s.so.1
ELF 7e937000-7e93a000 Deferred libxau.so.6
ELF 7ea32000-7eaf2000 Deferred gdi32<elf>
\-PE 7ea50000-7eaf2000 \ gdi32
ELF 7eaf2000-7ec2f000 Export user32<elf>
\-PE 7eb10000-7ec2f000 \ user32
ELF 7ec2f000-7ec88000 Deferred shlwapi<elf>
\-PE 7ec40000-7ec88000 \ shlwapi
ELF 7ec88000-7ed86000 Deferred shell32<elf>
\-PE 7eca0000-7ed86000 \ shell32
ELF 7ed86000-7ee27000 Export comdlg32<elf>
\-PE 7ed90000-7ee27000 \ comdlg32
ELF 7ee27000-7ee8a000 Export winecfg<elf>
\-PE 7ee30000-7ee8a000 \ winecfg
ELF 7ef9c000-7efa7000 Deferred libnss_files.so.2
ELF 7efa7000-7efb1000 Deferred libnss_nis.so.2
ELF 7efb1000-7efc8000 Deferred libnsl.so.1
ELF 7efc8000-7efef000 Deferred libm.so.6
ELF 7eff7000-7f000000 Deferred libnss_compat.so.2
ELF b7ce8000-b7cec000 Deferred libdl.so.2
ELF b7cec000-b7e2d000 Deferred libc.so.6
ELF b7e2e000-b7e45000 Deferred libpthread.so.0
ELF b7e56000-b7f6a000 Export libwine.so.1
ELF b7f6c000-b7f87000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
0000000f
00000011 0
00000010 0
0000000d (D) c:\windows\system32\winecfg.exe
0000000e 0 <==

zii
04-08-07, 17:50
I reinstalled wine again, and installed all the packages from winedoors except the Windows INstaller 2 because this always fails and afterwards nothing else will install.

I have managed to create the client.exe entry as a n application with the two references to change the dll files to native. These files have been copied into system32.

I ran the client and got these errors below. I have copied an extra file because of these errors from thw Windows partition: msvcrt.dll and it is symbolically linked to MSVCRT.dll



fred@fred:~/.wine/drive_c/Program Files/neocron2$ wine Client.exe -sysconfig
fixme:wave:ALSA_AddCaptureDevice Add support for DSCapture
err:module:LdrInitializeThunk "MSVCRT.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\neocron2\\Client.exe" failed, status c0000142

Mighty Max
04-08-07, 18:39
What's the status on the quartz.dll and the msvcrt.dll problem?
Did you find out what's causing the corresponding wine libs not to work with Neocron?

That's the main problem for me right now. It has no use to avoid proprietary software (and their licences) if i still have to include it under linux. When i still need MS licenced software (as it is now), dual booting with the full version of the licenced software is much less of a hassle.

MrTrip
04-08-07, 19:37
I reinstalled wine again, and installed all the packages from winedoors except the Windows INstaller 2 because this always fails and afterwards nothing else will install.

I have managed to create the client.exe entry as a n application with the two references to change the dll files to native. These files have been copied into system32.

I ran the client and got these errors below. I have copied an extra file because of these errors from thw Windows partition: msvcrt.dll and it is symbolically linked to MSVCRT.dll



fred@fred:~/.wine/drive_c/Program Files/neocron2$ wine Client.exe -sysconfig
fixme:wave:ALSA_AddCaptureDevice Add support for DSCapture
err:module:LdrInitializeThunk "MSVCRT.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\neocron2\\Client.exe" failed, status c0000142



This was a problem for assman too. To be honest I downloaded mine from the internet. Google it if you have a windows license.


What's the status on the quartz.dll and the msvcrt.dll problem?
Did you find out what's causing the corresponding wine libs not to work with Neocron?

That's the main problem for me right now. It has no use to avoid proprietary software (and their licences) if i still have to include it under linux. When i still need MS licenced software (as it is now), dual booting with the full version of the licenced software is much less of a hassle.

True, but I don't have Windows running on anything, I just have a Windows XP cd I copied the DLL files over from.

zii
05-08-07, 11:24
This was a problem for assman too. To be honest I downloaded mine from the internet. Google it if you have a windows license.

True, but I don't have Windows running on anything, I just have a Windows XP cd I copied the DLL files over from.

What is the connection with my errors and a licenced copy of WXP. I don't know. Is this something to do with MSVCRT.dll?

Is the sound system error related to this DLL as well, or are these unrelated?

zii
05-08-07, 11:40
Is DSCapture anything to do with DirectShow?

MrTrip
06-08-07, 11:37
What is the connection with my errors and a licenced copy of WXP. I don't know. Is this something to do with MSVCRT.dll?

Is the sound system error related to this DLL as well, or are these unrelated?

Sound system error you can ignore, I get those all the time and sound works fine for me.

The licensed copy is so that you download the files legally, nothing more then that.

MSVCRT.dll and msvcrt.dll must be the same versions, sometimes theres two versions in your .wine/drive_c/windows/system32 folder.

Asurmen Spec Op
06-08-07, 12:19
This was a problem for assman too. To be honest I downloaded mine from the internet. Google it if you have a windows license.



True, but I don't have Windows running on anything, I just have a Windows XP cd I copied the DLL files over from.
My problem had nothing to do with the legality of my Windows, infact it was because of having the lowercase dll and the upercase dll in the wine sys32 folder.


Are you assuming I have illegal software

Selendor
06-08-07, 17:19
Apologies if its already been posted, but those of you running it in Linux, do you get any fatal runtimes or zero soullight logins at all, or is it completely stable?

zii
07-08-07, 12:11
Hi,



The licensed copy is so that you download the files legally, nothing more then that.

MSVCRT.dll and msvcrt.dll must be the same versions, sometimes theres two versions in your .wine/drive_c/windows/system32 folder.

I am very confused here. I have a licenced copy of WinXP, and I ticked the 'Have you got a licenced copy of Windows' box, but I it never asked me for a licence key. (I think that this was part of the Winedoors installation).

The original error message I had (not written in this thread) was because there was one msvcrt in the system23 directory: It was msvcrt.dll. I also got error messages about base??.dll missing as well.

Because wine said that MSVCRT.dll was also missing I sym linked MSVCRT.dll to msvcrt.dll to rectify the problem, which it did not, but the base??.dll messages disappeared.

regards, z

zii
07-08-07, 20:45
I have tried to run this like this:

1) Removed the sym linked MSCVRT.dll
2) Ran client.exe and got:
wine Client.exe -syssetup
fixme:wave:ALSA_AddCaptureDevice Add support for DSCapture
err:module:LdrInitializeThunk "MSVCRT.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\neocron2\\Client.exe" failed, status c0000142

3) mv MSVCRT.dll msvcrt.dll, ran client.exe and got:
wine Client.exe -syssetup
fixme:wave:ALSA_AddCaptureDevice Add support for DSCapture
err:module:LdrInitializeThunk "MSVCRT.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\neocron2\\Client.exe" failed, status c00

4) I moved the DLL into the system directory instead of the system32 and tried it in uppercase and lowercase and had the same error.

It simply cannot find this DLL.

MrTrip
07-08-07, 21:59
Apologies if its already been posted, but those of you running it in Linux, do you get any fatal runtimes or zero soullight logins at all, or is it completely stable?

VERY VERY seldom do I get a fatal runtime, I have yet to see a zero soullight login or a sync bugged login on Linux.

If I run into any problems, I just -precache and everything works perfect again.

zii
19-08-07, 21:23
Mr.Trip,

I have now reinstalled Wine, Winedoors and neocron2 onto Ubuntu five times and always get the same error message:

err:module:LdrInitializeThunk "MSVCRT.dll" failed to initialize, aborting

I have posted to the wine newsgroup but no one could give me an answer.


*) Did you ever had or seen this error message afore?


*) Are there any instructions that you may have forgotten, or taken for granted that the user would automatically do?


*) Has anyone else other than Mr.Trip got Neocron working under Linux?

Regards, z.

Snedex
20-08-07, 11:26
:O I shall give this a try tonight

MrTrip
20-08-07, 12:50
Mr.Trip,

I have now reinstalled Wine, Winedoors and neocron2 onto Ubuntu five times and always get the same error message:

err:module:LdrInitializeThunk "MSVCRT.dll" failed to initialize, aborting

I have posted to the wine newsgroup but no one could give me an answer.


*) Did you ever had or seen this error message afore?


*) Are there any instructions that you may have forgotten, or taken for granted that the user would automatically do?


*) Has anyone else other than Mr.Trip got Neocron working under Linux?

Regards, z.


1) I saw the error, but downloading the DLL file fixed it for me right away.

2) I don't believe so, I can start again from scratch.

3) Not to my knowledge, and if they have they haven't posted here yet.

Asurmen Spec Op
20-08-07, 13:54
Im thinking about trying some more today getting it working, though my nix is running on X64, and Im not to sure on if that will cause issues or not.

I can do it trip, just you watch :D

zii
20-08-07, 22:48
1) I saw the error, but downloading the DLL file fixed it for me right away.

Senor Trip,
What do you mean by this? I copied the DLL from my windows/system32 directory. I did not download it. Where did you download the MSVCRT.dll from?

MrTrip
21-08-07, 00:53
http://www.dll-files.com/dllindex/dll-files.shtml?msvcrt

zii
21-08-07, 15:42
Thank-you. What is the difference between this file and the one that came with Microsoft's XP distribution CD?

MrTrip
22-08-07, 00:05
I'm not sure, but I didn't feel like digging up my XP cd and copying the file, so I just downloaded it there, and it worked peachy.

zii
22-08-07, 20:03
fred@faxe:~/.wine/drive_c/windows/system32$ ls -l MSVCRT.DLL
-rw-rw-rw- 1 fred fred 266293 2000-06-26 22:52 MSVCRT.DLL

fred@axe:~/.wine/drive_c/windows/system32$ ls -l msvcrt.dll
-rw-r--r-- 1 fred fred 343040 2007-08-19 21:15 msvcrt.dll

The file sizes are very different. The upper case MSVCRT (downloaded from the link you posted) is much smaller than the original msvcrt I copied across from my Windows distribution.

If I use the one from your link I get a pop up windows saying:
File Error!: File System Check failed: could not load table.
It made no difference whether I changed to the file name from uppercase or to lowercase. Copying the WindowsXP version back into the system32 directory produces the same error message from Wine as mentioned earlier in this thread.

Asurmen Spec Op
22-08-07, 21:38
fred@faxe:~/.wine/drive_c/windows/system32$ ls -l MSVCRT.DLL
-rw-rw-rw- 1 fred fred 266293 2000-06-26 22:52 MSVCRT.DLL

fred@axe:~/.wine/drive_c/windows/system32$ ls -l msvcrt.dll
-rw-r--r-- 1 fred fred 343040 2007-08-19 21:15 msvcrt.dll

The file sizes are very different. The upper case MSVCRT (downloaded from the link you posted) is much smaller than the original msvcrt I copied across from my Windows distribution.

If I use the one from your link I get a pop up windows saying:
File Error!: File System Check failed: could not load table.
It made no difference whether I changed to the file name from uppercase or to lowercase. Copying the WindowsXP version back into the system32 directory produces the same error message from Wine as mentioned earlier in this thread.
There is also a MSVCRT in your sys32 folder if I remember right, I had the same issue. You dont want the lowercase one.

MrTrip
24-08-07, 08:50
fred@faxe:~/.wine (fred@faxe:%7E/.wine)/drive_c/windows/system32$ ls -l MSVCRT.DLL
-rw-rw-rw- 1 fred fred 266293 2000-06-26 22:52 MSVCRT.DLL

fred@axe:~/.wine (fred@axe:%7E/.wine)/drive_c/windows/system32$ ls -l msvcrt.dll
-rw-r--r-- 1 fred fred 343040 2007-08-19 21:15 msvcrt.dll

The file sizes are very different. The upper case MSVCRT (downloaded from the link you posted) is much smaller than the original msvcrt I copied across from my Windows distribution.

If I use the one from your link I get a pop up windows saying:
File Error!: File System Check failed: could not load table.
It made no difference whether I changed to the file name from uppercase or to lowercase. Copying the WindowsXP version back into the system32 directory produces the same error message from Wine as mentioned earlier in this thread.


Ah your one step closer, I noticed a lot of these auto launchers fail to work, best to just decend into your Neocron 2 directory in the terminal and launch it directly via Client.exe or NeocronLauncher.exe

zii
26-08-07, 23:23
There is also a MSVCRT in your sys32 folder if I remember right, I had the same issue. You dont want the lowercase one.

Nope, this file is not in the windows/system32 directory. However, there is a file called MSVCRT40.DLL

zii
26-08-07, 23:32
Tried it with the aforementioned file and got the same old rubbish. Then I tried it without the lowercase msvcrt.dll mv'ed elsewhere and got even more rubbish:



err:module:import_dll Library MSVCRT.dll (which is needed by L"C:\\Program Files\\neocron2\\Engine.dll") not found
err:module:import_dll Library Engine.dll (which is needed by L"C:\\Program Files\\neocron2\\Client.exe") not found
err:module:import_dll Library MSVCRT.dll (which is needed by L"C:\\Program Files\\neocron2\\baselib.dll") not found
err:module:import_dll Library baselib.dll (which is needed by L"C:\\Program Files\\neocron2\\Client.exe") not found
err:module:import_dll Library MSVCRT.dll (which is needed by L"C:\\Program Files\\neocron2\\baselib.dll") not found
err:module:import_dll Library baselib.dll (which is needed by L"C:\\Program Files\\neocron2\\NetLib.dll") not found
err:module:import_dll Library MSVCRT.dll (which is needed by L"C:\\Program Files\\neocron2\\NetLib.dll") not found
err:module:import_dll Library NetLib.dll (which is needed by L"C:\\Program Files\\neocron2\\Client.exe") not found
err:module:import_dll Library MSVCRT.dll (which is needed by L"C:\\Program Files\\neocron2\\Engine.dll") not found
err:module:import_dll Library Engine.dll (which is needed by L"C:\\Program Files\\neocron2\\gamebase.dll") not found
err:module:import_dll Library MSVCRT.dll (which is needed by L"C:\\Program Files\\neocron2\\baselib.dll") not found
err:module:import_dll Library baselib.dll (which is needed by L"C:\\Program Files\\neocron2\\gamebase.dll") not found
err:module:import_dll Library MSVCRT.dll (which is needed by L"C:\\Program Files\\neocron2\\gamebase.dll") not found
err:module:import_dll Library MSVCRT.dll (which is needed by L"C:\\Program Files\\neocron2\\MSVCP60.dll") not found
err:module:import_dll Library MSVCP60.dll (which is needed by L"C:\\Program Files\\neocron2\\gamebase.dll") not found
err:module:import_dll Library gamebase.dll (which is needed by L"C:\\Program Files\\neocron2\\Client.exe") not founderr:module:import_dll Library MSVCRT.dll (which is needed by L"C:\\Program Files\\neocron2\\Client.exe") not founderr:module:import_dll Library MSVCRT.dll (which is needed by L"C:\\Program Files\\neocron2\\MSVCP60.dll") not founderr:module:import_dll Library MSVCP60.dll (which is needed byL"C:\\Program Files\\neocron2\\Client.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\ProgramFiles\\neocron2\\Client.exe" failed, status c0000135


Time for bed time. Night night.

MrTrip
27-08-07, 06:57
The lowercase msvcrt is the proper one to use, aka the one downloaded from the internet.

Placing it in your system32 folder is also proper, it sounds more like you have a corrupted Neocron installation instead of the other problems. If you replace ANY dlls inside your Neocron folder, you have all ready failed.

You didn't do that did you?

zii
27-08-07, 16:06
I have not replaced any DLLs within the NC installation in the Wine direcoty. The only DLLs replaced were the two DLLs into the system32 directory.

There is nothing wrong with the copy from the windows slice because I can still play.

The copy of the files etc was simply
find .|cpio -pdm ~fred/.wine/drive_c/Program\ Files/neocron2
chown -R fred:fred !$
chmod -R a+r,a+x !$
so no room for error there.

MrTrip
28-08-07, 06:11
I have not replaced any DLLs within the NC installation in the Wine direcoty. The only DLLs replaced were the two DLLs into the system32 directory.

There is nothing wrong with the copy from the windows slice because I can still play.

The copy of the files etc was simply
find .|cpio -pdm ~fred/.wine/drive_c/Program\ Files/neocron2
chown -R fred:fred !$
chmod -R a+r,a+x !$
so no room for error there.


This is completely confusing...I never ran into any of those errors when I installed......




I copied over a working NC2 install fully patched from my NTFS drive
I attempted to run it and found out I needed to use native quartz.dll and msvcrt.dll, downloaded both from the internet.
I attempted to run again and got into character selection and fataled.
I kicked and screamed and whined and then ran with -precache option and found out it all works nicely.

Thats all....

Setlec
28-08-07, 06:22
it would be so cool to have an engine upgrade for this game... that could use opengl.... the rest isn't so problematic...

cheers

zii
28-08-07, 11:48
I copied over a working NC2 install fully patched from my NTFS drive
I attempted to run it and found out I needed to use native quartz.dll and msvcrt.dll, downloaded both from the internet.


I also did all of the above. On top of this I have deleted and reinstalled Wine five times now to try and get this to work :(

However, I have noticed that whenever I have tried to get things working with Wine, be it FC5, Red Hat or Ubuntu I have often had differing results on different hardware and distributions, which is why I have always shied away from Wine.

msvcrt.dll : Perhaps a red herring, but the file you downloaded from the web and the file that came with my wxp dist., have different file sizes.

Asurmen, Have you got this to work yet?

Snedex
28-08-07, 16:27
Hi there,

Followed your instructions on the wiki site using Ubuntu 7.04, however windows installer along with the common controls and direct x 9 refused to install for me using wine doors. I installed dx 9 c manually using wine from the command prompt using 'wine Setup.exe" and that installed no problem, copied the neocron2 folder and made my overrides etc.

The problems i found (for me) were:

Would not run using windows 98, using windows 2000 worked
Overriding the msvcrt.dll and quartz.dll using copies from windows xp did not work. Removing the overrides allowed nc to function, but when logging into neocron i would get less than a frame per second it was extremely slow at rendering and installing the ati drivers using xorg-fglrx-drivers made no difference.

However congrats on getting this close to running it properly in ubuntu! :)

Setlec
29-08-07, 00:09
well congratz for the wiki, I got my NC installed normally from the normal installer it patched alone (after downloading from the FTP) and it runs with a 52 fps on the tutorial... but have to wait a while for the online test.

Cheers

MrTrip
29-08-07, 02:02
Hi there,

Followed your instructions on the wiki site using Ubuntu 7.04, however windows installer along with the common controls and direct x 9 refused to install for me using wine doors. I installed dx 9 c manually using wine from the command prompt using 'wine Setup.exe" and that installed no problem, copied the neocron2 folder and made my overrides etc.

The problems i found (for me) were:

Would not run using windows 98, using windows 2000 worked
Overriding the msvcrt.dll and quartz.dll using copies from windows xp did not work. Removing the overrides allowed nc to function, but when logging into neocron i would get less than a frame per second it was extremely slow at rendering and installing the ati drivers using xorg-fglrx-drivers made no difference.

However congrats on getting this close to running it properly in ubuntu! :)

I guess I should have mentioned it was running on an NVIDIA system. I have never had luck with ATI and Linux.

zii
29-08-07, 11:25
Hi there,

The problems i found (for me) were:

Would not run using windows 98, using windows 2000 worked
Overriding the msvcrt.dll and quartz.dll using copies from windows xp did :)

I tried these as well but got different errors.

Could you someone explain to me how I can check that ds9 is installed on my laptop in case winedoors messed did not work and I did not notice.

z.

ps. graphics card is nvidea.

Setlec
29-08-07, 16:02
Strange... well i´ve installed the wine-doors after installing the wine package... then i´ve installed the client, then downloaded the patches...

i didn´t need to import the *.dll as you guzs mencioned earlier... and the game works just fine...

and my 3D card is a Nvidia too. Never could make an ati card work with linux.

cheers

MrTrip
29-08-07, 18:42
Strange... well i´ve installed the wine-doors after installing the wine package... then i´ve installed the client, then downloaded the patches...

i didn´t need to import the *.dll as you guzs mencioned earlier... and the game works just fine...

and my 3D card is a Nvidia too. Never could make an ati card work with linux.

cheers

Nice, winner ITT :D

zii
30-08-07, 16:12
How can I check that dx9 was installed correctly? Perhaps, I have missed something.

Setlec
31-08-07, 03:51
How can I check that dx9 was installed correctly? Perhaps, I have missed something.

ok try this: run wine-doors then select Installed Aplications if DirectX 9 is there then it should work if not uninstall and reinstall...

cheers

Snedex
31-08-07, 10:05
ok try this: run wine-doors then select Installed Aplications if DirectX 9 is there then it should work if not uninstall and reinstall...

cheers

I don't know if it was a bug when i tried but when I attempted to install dx 9 via wine doors it would fail, yet say it was installed and then refuse to uninstall. I don't know if that is a bug or not.

zii
31-08-07, 11:42
The uninstall portion of WineDoors does not work. This was confirmed on the winedoors mailing list.

zii
02-09-07, 16:06
ahh. dx9 does not work very well:


./system32/dxdiag.exe

fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"

A windows appears with this:



Error: This is the Unicode DxDiag, which only runs on Windows 2000 or Windows XOP. Please use the non-Unicode version of DxDiag on Windows 95, 98 and ME.

MrTrip
03-09-07, 17:03
ahh. dx9 does not work very well:


./system32/dxdiag.exe

fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"

A windows appears with this:



Error: This is the Unicode DxDiag, which only runs on Windows 2000 or Windows XOP. Please use the non-Unicode version of DxDiag on Windows 95, 98 and ME.


add dxdiag.exe to the wineconf list telling it to run as windows 2000

zii
07-09-07, 12:17
I did.

I posted this to a newsgroup.


If I change my default OS to Win 2000 (in winecfg) then I get the message:
$ ./system32/dxdiag.exe
fixme:actctx:parse_depend_manifests Could not find dependent assembly
L"Microsoft.Windows.Common-Controls[/I]"

A window pops up asking me if I want to check the installation and the
next message is:
Error: DXDIAGN.DLL is out of date.
I installed DX9 with WineDoors."

...And got this answer:

This is a known bug in wine's dxdiagn.dll. Just copy a native
dxdiagn.dll to ~/.wine/drive_c/windows/system32/ ,
set it to native using wincfg, and it should work

zii
12-07-08, 20:14
Time to let this thread rise up to the top of the pile once more:


Does anyone know precisly which address should be placed in /etc/hosts to get the client to connect with the login server?

At present, I get "cannot connect to server" after I attempt to log on.

I have tried serveral entries in /etc/hosts. e.g

attempt 1
127.0.0.1 localhost mypc

attempt 2
127.0.0.1 localhost

attempt 3
10.5.5.100 mypc

Would I be correct to presume that if I had entered incorrect account information then the error message would be "incorrect login" or simiar?
I would like to exclude a typo!

I have read the reference to this on the site, which is a rather useful piece of information by the way, http://wiki.techhaven.org/Running_Neocron_in_Linux

zii
12-07-08, 20:52
Appaerntly, the Client.exe somehow passes back not the IP address of the PC, but the IP of the actual ISP assigned broadband address!

Does anyone know how Client.exe does this in Windows, so that I can replicate this in Linux? Perhaps, this a function inside the Launcher and this passes the IP as a parametre to the Client.exe?!

Xeno LARD
12-07-08, 21:05
Appaerntly, the Client.exe somehow passes back not the IP address of the PC, but the IP of the actual ISP assigned broadband address!

Does anyone know how Client.exe does this in Windows, so that I can replicate this in Linux? Perhaps, this a function inside the Launcher and this passes the IP as a parametre to the Client.exe?!

Hello again. I've re-read the instructions and it would seem like you need to set the hostname's host entry to the external ip.


xenocide@Zaphod:~$ hostname
Zaphod
xenocide@Zaphod:~$ cat /etc/hosts
127.0.0.1 localhost
# True, internal address:
# 172.16.10.1 Zaphod
# External address
80.229.37.50

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
xenocide@Zaphod:~$


Like that? Mr Trip

Yes that's the 4th box i've quoted. I'm beginning to think I have too many :p

Xeno LARD
12-07-08, 21:06
Hello again. I've re-read the instructions and it would seem like you need to set the hostname's host entry to the external ip.


xenocide@Zaphod:~$ hostname
Zaphod
xenocide@Zaphod:~$ cat /etc/hosts
127.0.0.1 localhost
# True, internal address:
# 172.16.10.1 Zaphod
# External address
80.229.37.50

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
xenocide@Zaphod:~$


Like that? Mr Trip

Yes that's the 4th box i've quoted. I'm beginning to think I have too many :p

Sorry, just to add zii, I've reformatted my main box (windows again, linux hdd took a shit) so I don't have access to any X-serverd boxes apart from my laptop (with mesa-only 3d accel, which doesn't work). So you'll have to bear with me.

Sorry for any confusion!

zii
12-07-08, 21:12
Cheers.

# External address
80.229.37.50

There is no hostname associated with this IP. Is this a typo or intensional. I'll try both any way.

Does anyone know a utility that can find out the external IP address? When I say utility I do not mean a website. I mean something I can put inside a script (but not traceroute because its blocked on my router, which is intentional, but caused by laziness)

zii
12-07-08, 21:19
Found away:

lynx -dump "http://checkip.dyndns.org"

Chuck it into a script

zii
12-07-08, 21:29
;
I have tried these three with the external IP (212.n.n.n) and it still won't work. connection to server failed...

# attempt 1
212.n.n.n mypc

# attempt 3
212.n.n.n localhost
#127.0.0.1 localhost

# attempt 2
127.0.0.1 localhost
212.n.n.n

Mighty Max
12-07-08, 21:37
Appaerntly, the Client.exe somehow passes back not the IP address of the PC, but the IP of the actual ISP assigned broadband address!




HostName : Laptop
HostIP : 10.0.0.10
WINSOCKMGR : Bind recv socket HostIP 0, Addr:167772170, Port:20999
WINSOCKMGR : Bind send socket HostIP 0, Addr:167772170, Port:21000


As shown, neocron connects through the local, not the wan address.

Update the updater.ini with the new IP (there are plenty updater.ini posted with the new address 83.236.174.254) and you are set, no need to fiddle with alternative localhost addresses. If it (the artificial injected wan address) belongs to your router and not an local PPP-connection all you will do is sabotaging your own network.

zii
12-07-08, 22:20
Phew. I am pleased that this piece of insanity has been dispelled as a myth.
However, I wonder if this came about because people are not using the Launcher to call Client.exe, which does not surprise me because I cannot get the Laucher to work.

If I hit connect then I get: AutoUpdater : connecting to server...

On top of this the NeocronLauncher is unstable on my Linux installation with either wine or cedega. It always takes several attempts to launch it because in most cases it crashes. I have not yet found the error. (Does anyone know where cedega logs into?)

The updater.ini is correct. However, I think round robin DNS for dowel.... is broken. Read my post on http://forum.neocron.com/showthread.php?t=142574 for more information about this.

zii
13-07-08, 10:11
Still cannot connect. Output of ethereal below during client startup & up to "cannot connect to server" in case this of any use to anyone. I cannot see any problems.



No. Time Source Destination Protocol Info
1 0.000000 Sony_f6:eb:1a Cisco_7c:7e:6e ARP Who has 10.5.5.1? Tell 10.5.5.102

Frame 1 (42 bytes on wire, 42 bytes captured)
Ethernet II, Src: Sony_f6:eb:1a (00:01:4a:f6:eb:1a), Dst: Cisco_7c:7e:6e (00:0e:84:7c:7e:6e)
Address Resolution Protocol (request)

No. Time Source Destination Protocol Info
2 0.000222 Cisco_7c:7e:6e Sony_f6:eb:1a ARP 10.5.5.1 is at 00:0e:84:7c:7e:6e

Frame 2 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Cisco_7c:7e:6e (00:0e:84:7c:7e:6e), Dst: Sony_f6:eb:1a (00:01:4a:f6:eb:1a)
Address Resolution Protocol (reply)

No. Time Source Destination Protocol Info
3 14.693431 10.5.5.102 83.236.174.254 TCP 38600 > afs3-fileserver [SYN] Seq=0 Win=5840 Len=0 MSS=1460 TSV=396482 TSER=0 WS=7

Frame 3 (74 bytes on wire, 74 bytes captured)
Ethernet II, Src: Sony_f6:eb:1a (00:01:4a:f6:eb:1a), Dst: Cisco_7c:7e:6e (00:0e:84:7c:7e:6e)
Internet Protocol, Src: 10.5.5.102 (10.5.5.102), Dst: 83.236.174.254 (83.236.174.254)
Transmission Control Protocol, Src Port: 38600 (38600), Dst Port: afs3-fileserver (7000), Seq: 0, Len: 0

No. Time Source Destination Protocol Info
4 14.774046 83.236.174.254 10.5.5.102 TCP afs3-fileserver > 38600 [SYN, ACK] Seq=0 Ack=1 Win=65535 Len=0 MSS=1380 WS=0 TSV=0 TSER=0

Frame 4 (78 bytes on wire, 78 bytes captured)
Ethernet II, Src: Cisco_7c:7e:6e (00:0e:84:7c:7e:6e), Dst: Sony_f6:eb:1a (00:01:4a:f6:eb:1a)
Internet Protocol, Src: 83.236.174.254 (83.236.174.254), Dst: 10.5.5.102 (10.5.5.102)
Transmission Control Protocol, Src Port: afs3-fileserver (7000), Dst Port: 38600 (38600), Seq: 0, Ack: 1, Len: 0

No. Time Source Destination Protocol Info
5 14.774128 10.5.5.102 83.236.174.254 TCP 38600 > afs3-fileserver [ACK] Seq=1 Ack=1 Win=5888 Len=0 TSV=396502 TSER=0

Frame 5 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Sony_f6:eb:1a (00:01:4a:f6:eb:1a), Dst: Cisco_7c:7e:6e (00:0e:84:7c:7e:6e)
Internet Protocol, Src: 10.5.5.102 (10.5.5.102), Dst: 83.236.174.254 (83.236.174.254)
Transmission Control Protocol, Src Port: 38600 (38600), Dst Port: afs3-fileserver (7000), Seq: 1, Ack: 1, Len: 0

No. Time Source Destination Protocol Info
6 14.854899 83.236.174.254 10.5.5.102 TCP [TCP segment of a reassembled PDU]

Frame 6 (72 bytes on wire, 72 bytes captured)
Ethernet II, Src: Cisco_7c:7e:6e (00:0e:84:7c:7e:6e), Dst: Sony_f6:eb:1a (00:01:4a:f6:eb:1a)
Internet Protocol, Src: 83.236.174.254 (83.236.174.254), Dst: 10.5.5.102 (10.5.5.102)
Transmission Control Protocol, Src Port: afs3-fileserver (7000), Dst Port: 38600 (38600), Seq: 1, Ack: 1, Len: 6

No. Time Source Destination Protocol Info
7 14.854954 10.5.5.102 83.236.174.254 TCP 38600 > afs3-fileserver [ACK] Seq=1 Ack=7 Win=5888 Len=0 TSV=396522 TSER=8631778

Frame 7 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Sony_f6:eb:1a (00:01:4a:f6:eb:1a), Dst: Cisco_7c:7e:6e (00:0e:84:7c:7e:6e)
Internet Protocol, Src: 10.5.5.102 (10.5.5.102), Dst: 83.236.174.254 (83.236.174.254)
Transmission Control Protocol, Src Port: 38600 (38600), Dst Port: afs3-fileserver (7000), Seq: 1, Ack: 7, Len: 0

No. Time Source Destination Protocol Info
8 14.935930 83.236.174.254 10.5.5.102 TCP [TCP segment of a reassembled PDU]

Frame 8 (72 bytes on wire, 72 bytes captured)
Ethernet II, Src: Cisco_7c:7e:6e (00:0e:84:7c:7e:6e), Dst: Sony_f6:eb:1a (00:01:4a:f6:eb:1a)
Internet Protocol, Src: 83.236.174.254 (83.236.174.254), Dst: 10.5.5.102 (10.5.5.102)
Transmission Control Protocol, Src Port: afs3-fileserver (7000), Dst Port: 38600 (38600), Seq: 7, Ack: 1, Len: 6

No. Time Source Destination Protocol Info
9 14.935968 10.5.5.102 83.236.174.254 TCP 38600 > afs3-fileserver [ACK] Seq=1 Ack=13 Win=5888 Len=0 TSV=396542 TSER=8631779

Frame 9 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Sony_f6:eb:1a (00:01:4a:f6:eb:1a), Dst: Cisco_7c:7e:6e (00:0e:84:7c:7e:6e)
Internet Protocol, Src: 10.5.5.102 (10.5.5.102), Dst: 83.236.174.254 (83.236.174.254)
Transmission Control Protocol, Src Port: 38600 (38600), Dst Port: afs3-fileserver (7000), Seq: 1, Ack: 13, Len: 0

No. Time Source Destination Protocol Info
10 24.807969 10.5.5.102 83.236.174.254 TCP 38600 > afs3-fileserver [FIN, ACK] Seq=1 Ack=13 Win=5888 Len=0 TSV=399011 TSER=8631779

Frame 10 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Sony_f6:eb:1a (00:01:4a:f6:eb:1a), Dst: Cisco_7c:7e:6e (00:0e:84:7c:7e:6e)
Internet Protocol, Src: 10.5.5.102 (10.5.5.102), Dst: 83.236.174.254 (83.236.174.254)
Transmission Control Protocol, Src Port: 38600 (38600), Dst Port: afs3-fileserver (7000), Seq: 1, Ack: 13, Len: 0

No. Time Source Destination Protocol Info
11 24.887393 83.236.174.254 10.5.5.102 TCP afs3-fileserver > 38600 [ACK] Seq=13 Ack=2 Win=65535 Len=0 TSV=8631879 TSER=399011

Frame 11 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Cisco_7c:7e:6e (00:0e:84:7c:7e:6e), Dst: Sony_f6:eb:1a (00:01:4a:f6:eb:1a)
Internet Protocol, Src: 83.236.174.254 (83.236.174.254), Dst: 10.5.5.102 (10.5.5.102)
Transmission Control Protocol, Src Port: afs3-fileserver (7000), Dst Port: 38600 (38600), Seq: 13, Ack: 2, Len: 0

No. Time Source Destination Protocol Info
12 24.890983 83.236.174.254 10.5.5.102 TCP afs3-fileserver > 38600 [FIN, ACK] Seq=13 Ack=2 Win=65535 Len=0 TSV=8631879 TSER=399011

Frame 12 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Cisco_7c:7e:6e (00:0e:84:7c:7e:6e), Dst: Sony_f6:eb:1a (00:01:4a:f6:eb:1a)
Internet Protocol, Src: 83.236.174.254 (83.236.174.254), Dst: 10.5.5.102 (10.5.5.102)
Transmission Control Protocol, Src Port: afs3-fileserver (7000), Dst Port: 38600 (38600), Seq: 13, Ack: 2, Len: 0

No. Time Source Destination Protocol Info
13 24.891038 10.5.5.102 83.236.174.254 TCP 38600 > afs3-fileserver [ACK] Seq=2 Ack=14 Win=5888 Len=0 TSV=399031 TSER=8631879

Frame 13 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Sony_f6:eb:1a (00:01:4a:f6:eb:1a), Dst: Cisco_7c:7e:6e (00:0e:84:7c:7e:6e)
Internet Protocol, Src: 10.5.5.102 (10.5.5.102), Dst: 83.236.174.254 (83.236.174.254)
Transmission Control Protocol, Src Port: 38600 (38600), Dst Port: afs3-fileserver (7000), Seq: 2, Ack: 14, Len: 0


Also, I saw that client.exe tried to connect to foo.dafire.de. An nslookup reviels that I cannot find this. What is dafire.de?

root@axe:~# nslookup foo.dafire.de
Server: 195.244.192.66
Address: 195.244.192.66#53

** server can't find foo.dafire.de: NXDOMAIN

aKe`cj
13-07-08, 10:46
What is dafire.de?



http://forum.neocron.com/member.php?u=2634

he should be able to provide you with an answer :)

zii
13-07-08, 13:44
Unlikely as one cannot sent emails nor PM him through this forum.

Xeno LARD
15-07-08, 14:44
http://forum.neocron.com/member.php?u=2634

he should be able to provide you with an answer :)

Haha busted. This could be interesting.

Nidhogg
15-07-08, 14:47
I think DaFire's a bit busy right now...

N

Xeno LARD
15-07-08, 15:35
I think DaFire's a bit busy right now...

N

Go on..

Xeno LARD
16-07-08, 19:58
zii: This sounds stupid but i've not got a machine to try it with atm. Try editing the command line so that it uses this:


Client hubbeltubbelwubbel 83.236.174.254:7000

So.. the command line in cegeda should read


hubbeltubbelwubbel 83.236.174.254:7000

Let me know if it works ;)

Don't ask me why that string.

MrTrip
17-07-08, 05:27
The wiki states you need to use your EXTERNAL IP with your Hostname.

External meaning ISP assigned, my WAN ip is 24.149.18.236 so my hosts looks like

24.149.18.236 DIGITALL-Ubuntu


DIGITALL-Ubuntu being my hostname. If the hostname is set to resolve to the loopback IP you will not be able to connect to NC's servers.

Also check for a firewall in place. I ended up forwarding ports in my router to my local IP and it all worked nicely.

Mighty Max
17-07-08, 10:03
The wiki states you need to use your EXTERNAL IP with your Hostname.

I was confused why this advice still pops up, and whether i have overseen anything that could make this setting relevant, so i did some tests.

The result is, the hostname resolving via hosts for the system name does not change anything with neocron.

The entry assigns an name entry with an ip and the ip with a name.
So getting onto that level on a windows system (winsock returns the hostname "Laptop") and checking the desired assoziations:



Laptop -> UnKnown
87.*wan.ip*.204 -> ISP Poolname
ISP Poolname -> 87.*wan.ip*.204
10.*lan.ip*.2 -> Unknown

(NetBEUI or other name resolution services are turned off, so not jumping in for missing names)

We notice that a name resolution between wan ip and hostname is not needed to connect
We also notice that there is no ip associated with the hostname.

The conclusion is that hosts manipulation is not needed for the local wan address.
Instead it could cause problems on software that compares resolved names (There might be firewalls that do this in specific application protocols to prevent return address manipulation) because your wan ip resolves to different names (hostname vs poolname) in and outside your system.


If i've overseen a sideeffect of the hosts and a possible link to the connect problems please correct me, otherwise drop that line out of the wiki.

zii
17-07-08, 19:44
hubbeltubbelwubbel 83.236.174.254:7000



One reason why this ought to work is because the IP above has a PTR for foo.dafire.de, which is the mystical host that the Client cannot resolve. 'Tis odd that it has no A record.

However, it still did not work. I disabled iptables, just in case, and this made no difference.

Also, I put the IP and FQDN into my hosts file, but this made not change.

Xeno LARD
17-07-08, 23:47
Just to confirm it can be done ;).

zii
18-07-08, 12:59
Just to confirm it can be done ;).
For some reason I cannot read this even though I am logged on:


"You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
You are not logged in. Fill in the form at the bottom of this page and try again.
You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation."

...But I do believe you.

Setlec
18-07-08, 16:08
For some reason I cannot read this even though I am logged on

it work just fine tbh.

MrTrip
24-07-08, 18:38
Update:

Ubuntu 8.04 running Wine 1.0 + following Wiki guide minus Automatix = successful Neocron.

OK scratch that, the instructions are kinda longer, but since no more Automatix, gotta have em.

Asurmen Spec Op
24-07-08, 23:18
Update:

Ubuntu 8.04 running Wine 1.0 + following Wiki guide minus Automatix = successful Neocron.

OK scratch that, the instructions are kinda longer, but since no more Automatix, gotta have em.
Since Im going to be putting x64 Gentoo on my desktop today, I'll try it again and see if I can get it.

Setlec
25-07-08, 04:12
Since Im going to be putting x64 Gentoo on my desktop today, I'll try it again and see if I can get it.

Don't forget to install the 32bit binaries!!!!! or you will never make it work!

Asurmen Spec Op
02-08-08, 22:53
Don't forget to install the 32bit binaries!!!!! or you will never make it work!
My system is multilib. I'm not crazy ;).
I wasn't able to install it until a few days ago( I found out that my DVD-RW drive went to Crahn) so I'll give it a shot tonight.

zii
04-08-08, 11:59
Still cannot get past the login screen. I know that there is nothing wrong with the game itself because I can run the tutorial. Just connecting to the server :(

eNTi
04-08-08, 14:34
will reactivate and try today, i think.

Setlec
04-08-08, 16:27
Still cannot get past the login screen. I know that there is nothing wrong with the game itself because I can run the tutorial. Just connecting to the server :(

Check your iptable software manager maybe it's blocking! try to ping the game server too!

zii
06-08-08, 16:01
I have disabled and enabled iptables and it not blocking. (its in the rest of thread ;)

MrTrip
07-08-08, 19:48
I have disabled and enabled iptables and it not blocking. (its in the rest of thread ;)


Whats the exact error you are getting? Is it not able to communicate with the gameserver?

DER_julu
07-08-08, 20:44
ummm... zii... would you be so kind and post your resolv.conf, your hosts and hostname ? i think i remember theres some related issue with these files, and the correct entries of your ip (lan-wise, not just 127.0.0.1) in the hosts...

i'll try to find the script i've been using before hardy, maybe it will bring a bit more light to the matter, since i can't remember what it exactly was (been having an extra-load of fun with cyrus today, stuff like that tends to fry the remaining brain cells of mine...);

edit:// forget it, just saw you tried that, sorry...

zii
11-08-08, 17:55
Whats the exact error you are getting? Is it not able to communicate with the gameserver?


After I enter the login & password I get:


Cannot connect to server

zii
11-08-08, 19:53
Actually, I just tested it and I got this and not what I wrote above:


Failed to connect to server[/QUOTE]

MrTrip
12-08-08, 00:33
Actually, I just tested it and I got this and not what I wrote above:


Failed to connect to server[/QUOTE]

Is that AFTER you login and attempt to get to the gameserver? Or is that during login?

I'll get back at this tonight when I get to my Linux PC again. Its 5:33 PM here now, I'll be back there at 10:30 PM.

zii
12-08-08, 09:31
Launch client.exe
The login/password/enter/resume screen is displayed.
Enter login details and press enter.
A black empty rectangular box is displayed.
A messeage is then shown (i think in the black box) connecting to server.
The black box disappears and a red message is printed in the logon/password/enter/resume box that reads in red: Failed to connect to server

BaDDaSS
16-08-08, 12:03
I'm back on Ubuntu GNU/Linux as of this week, so I'll give it a try tonight/tomorrow maybe.

Still keeping the subs even if it doesn't work, as a sign of support ^_^

MrTrip
17-08-08, 03:44
Launch client.exe
The login/password/enter/resume screen is displayed.
Enter login details and press enter.
A black empty rectangular box is displayed.
A messeage is then shown (i think in the black box) connecting to server.
The black box disappears and a red message is printed in the logon/password/enter/resume box that reads in red: Failed to connect to server

Hmmm... drop me an email at phys1ks@gmail.com and I'll help you there.

zii
28-08-08, 10:43
Brief update:

I attempted the following last night.

1) Disconnected my linux box from the LAN and plugged it into the ADSL modem. This way it DHCPed the external IP address from the ISP instead of an internal IP address. address on eth0 was 212.222.nnn.nnn.

2) Disabled firewall (ufw disable) and verified with iptables -L that confirmed the firewall was inoperative.

3) Started NC client without any parametres and attempted to login and got the message as afore: Failed to connect to server

4) Started NC client with parametres hubbeltubbelwubbel 83.236.174.254:7000 and received the message: Failed to connect to server

5) I repeated the above but with these changes in the etc/hosts:
212.222.nnn.nnn localhost
and then with
212.222.nnn.nnn ziiPC
This produced the same message: : Failed to connect to server

zii
29-08-08, 16:16
Dear Radio Cops,
I am on holiday for the next three weeks so won't read this thread until the 21st of September. Hopefully, something magical will have happened and this Linux NC problem will have been solved... :angel:
Over n oot.

BaDDaSS
05-09-08, 21:47
Finally got around to trying it. Copied Neocron dir to my Home dir from an NTFS backup.

Installed wine (apt-get install), and a wine-doors deb (from their site).

Installed these packages in Wine-Doors;
Visual C++ runtime libraries 6
All fonts available
Common Controls 5
DCOM 98
Microsoft Jet 4
Microsoft Foundation Classes 4
MSXML 4
DirectX9
Windows Scripting Host 5
Windows Installer 2

Couldn't get these to install;
Internet Explorer 6
Visual Basic Common Controls 6
Visual Basic Runtime Libraries 5
Visual Basic Runtime Libraries 6

Ran NeocronLauncher.exe from /home/BaDDaSS/Neocron/
Worked fine. Asked for a resolution, launched the game, logged in.

I entered the world fine. Everything perfect. I'm very surprised lol.

I didn't do anything else from the wiki. Didn't copy msvcrt.dll or quartz.dll or anything like that. Didn't load the tutorial. Nothing.

Just ran NeocronLauncher after installing wine/wine-doors and those few apps.

V. Happy :)

The Launcher html stuff loaded fine too, which also surprised me.
The only problem I have, is when I exit the game, the brightness stays too bright lol.

Could someone please upload/link me a NC icon? Thanks

BaDDaSS
05-09-08, 23:52
Here's a screenshot of the game working =]
http://i34.tinypic.com/2605vdk.png

flib
06-09-08, 00:25
I miss that game :(
I think it's interesting that it runs better for you in Linux than it does for me in Windows.

Nidhogg
06-09-08, 00:56
It'll never run on my Linux box.

http://en.wikipedia.org/wiki/NSLU2 :)

N

Setlec
06-09-08, 07:31
Couldn't get these to install;
Internet Explorer 6
Visual Basic Common Controls 6
Visual Basic Runtime Libraries 5
Visual Basic Runtime Libraries 6


yeah, those softs are crapy tp install on my 5th try i manage to get them installed fine without any problem. NC on linux i get around 90 fps and on windows i get around 72/80 fps... what distrib are you using? Debian, ubuntu? i run NC on Mandriva, though i'm having some problem to make other games to run correctly (native games, ET:QW, Spring).

Cheers

MrTrip
06-09-08, 07:47
I miss that game :(
I think it's interesting that it runs better for you in Linux than it does for me in Windows.

It is quite interesting since it was never written to really be cross platform compatible. It runs VERY well in Linux once it gets going.


It'll never run on my Linux box.

http://en.wikipedia.org/wiki/NSLU2 :)

N

I'm sure I could figure something out with that :P

Glad to hear its working for others though.

BaDDaSS
06-09-08, 16:35
Sorry I should have said. I'm running Ubuntu Hardy.

Wine seems to have improved so much since I last used it, man.

Got Counter-Strike working fine too (although not Source yet o_0), and Photoshop CS2 (which I'm especially impressed with, as last time I could only run PS7).

@Nidd, nice little box. What do you use it for? Replaced the OS?

Nidhogg
06-09-08, 16:43
@Nidd, nice little box. What do you use it for? Replaced the OS?
Yep. I have it "unslung" and use it primarily as an IRC bouncer (Miau).

N

BaDDaSS
07-09-08, 00:59
Okay. Had some problems with my other games (CS Source), found out that WineDoors is dangerous, messes things up, especially if you install DirectX.

Here I've come up with a new (quicker and easier) way to get Neocron working

This is for Ubuntu, but with slight modifications, is quite generic:


sudo apt-get install wine
winecfg
wget http://www.kegel.com/wine/winetricks
sh winetricks corefonts vcrun6 mfc42

Then either install NC, or copy it accross from windows, open the directory and simply run;

wine NeocronLauncher.exe

Works perfectly here.

Someone please hook me up with the icon though!

MrTrip
08-09-08, 01:01
Okay. Had some problems with my other games (CS Source), found out that WineDoors is dangerous, messes things up, especially if you install DirectX.

Here I've come up with a new (quicker and easier) way to get Neocron working

This is for Ubuntu, but with slight modifications, is quite generic:


sudo apt-get install wine
winecfg
wget http://www.kegel.com/wine/winetricks
sh winetricks corefonts vcrun6 mfc42

Then either install NC, or copy it accross from windows, open the directory and simply run;

wine NeocronLauncher.exe

Works perfectly here.

Someone please hook me up with the icon though!

Ah, I'll remove wine-doors from my wiki entry then. Thanks!

Edit: beat me to it haha. I'll clean it up a bit though, I like your way better.

Brammers
08-09-08, 01:21
Quick question, what happened to the Cedega section/support?

MrTrip
08-09-08, 06:44
Quick question, what happened to the Cedega section/support?

Wow, I just noticed that too. I have no idea what happened to it, or even really noticed it was gone.

I was going to do some cleanup on that page though. Whoever wrote the cedega guide can you please re-add it?

Whoever removed it please be careful :(

Also, a question to the mods, could I remove all log files etc from my Neocron directory, zip it and upload it to my server pre-patched? I don't see why not, but just thought I'd ask.

Brammers
08-09-08, 11:04
Wow, I just noticed that too. I have no idea what happened to it, or even really noticed it was gone.

I was going to do some cleanup on that page though. Whoever wrote the cedega guide can you please re-add it?

Whoever removed it please be careful :(


The guide is still in the history, for some reason BaDDaSS edited it out.

I'll do a fishing job on it later, as it looks like Cedega/Transgaming is still kicking about.

Nidhogg
08-09-08, 11:11
Also, a question to the mods, could I remove all log files etc from my Neocron directory, zip it and upload it to my server pre-patched? I don't see why not, but just thought I'd ask.
Don't know what you're trying to do, but it doesn't sound like a problem to me.

N

Brammers
08-09-08, 15:11
Ok done a big tidying up of that page to use Wiki format, and I've put the Cedega section back it.

I've also re-jigged the layout around a little, so it should be easier to read.

Feel free to edit as needed, and I'll be trying Wine again as some point, as I got stuck with installing the neeed DLL's. (The same step Setlec had trouble at)

Question. What do you mean by resolved to external IP, NOT LOCALHOST! bit? My PC's are on a private network, connected to a ADSL router. Do you mean the external IP of the router (Which would be for example 212.123.45.67) or the IP the PC has on my network. (Say for example 192.168.1.50)

MrTrip
08-09-08, 19:45
Don't know what you're trying to do, but it doesn't sound like a problem to me.

N


Sometimes the NeocronLauncher.exe will have problems patching the client up from a fresh install on Linux. This is fully patched to the latest version. No modifications or anything extra, just a patched client folder.

I'll provide the mirror to it on the wiki.


Ok done a big tidying up of that page to use Wiki format, and I've put the Cedega section back it.

I've also re-jigged the layout around a little, so it should be easier to read.

Feel free to edit as needed, and I'll be trying Wine again as some point, as I got stuck with installing the neeed DLL's. (The same step Setlec had trouble at)

Question. What do you mean by resolved to external IP, NOT LOCALHOST! bit? My PC's are on a private network, connected to a ADSL router. Do you mean the external IP of the router (Which would be for example 212.123.45.67) or the IP the PC has on my network. (Say for example 192.168.1.50)

The WAN IP, aka IP of the router. There are some more things you need to do to get it to really communicate properly... Has anybody had success getting it to work inside a private network?



Also Nidd could you do me a huge favor? I want to edit the first post in the thread but I can't do that anymore. Can I PM you the contents I want in the first post so people don't get confused thinking it doesn't work?

BaDDaSS
08-09-08, 21:57
Wow, Wiki looks nice and neat now =]

I was the one who wrote the Cedega guide back whenever, I removed it yesturday when adding the new guide, because for some reason Cedega had troubles logging in - and with regular Wine working perfectly now, I didn't see any need for it.

But I suppose it doesn't do any harm being there.
Can someone else give it a test though, let me know how it goes.

Nidhogg
08-09-08, 21:58
First post updated.

N

Brammers
08-09-08, 22:24
Wow, Wiki looks nice and neat now =]

I was the one who wrote the Cedega guide back whenever, I removed it yesturday when adding the new guide, because for some reason Cedega had troubles logging in - and with regular Wine working perfectly now, I didn't see any need for it.

But I suppose it doesn't do any harm being there.
Can someone else give it a test though, let me know how it goes.

Ahh I see now, no worries. Just add that little bit of info on the logging in issues to the article.

IIRC Cedega is the one that costs money, so lots of people will go for the WINE version. Now that I've not much to do tonight. I may give the new wine version a try again...although you will laugh at the system specs I'm trying to run NC in Linux on.

BaDDaSS
08-09-08, 22:46
Lol, enlighten us.. What're your specs?

And yup, Cedega is license based. It's a good program, it's just a shame their support is so shit, for a paid product.

Brammers
08-09-08, 23:25
Ok... considering I'm using this PC is for seeing it will work, I use this PC mainly for downloading stuff overnight, and I've used it in the past as a Windows PC for running a tradeskiller account on it as well at a very low FPS, so I'm not expecting anything special.

The specs....

P4 1.70GHz
256megs memory (Watch the swap go mad!)
ATI 9200 (Guessing - I know it's a PCI GFX card job)
Ubuntu Linux X86 8.04 LTS

My main PC is a lot better of course, but it doesn't have a native linux install. I use virtual PC's with Linux installed on that for THN dev work (Which is Gentoo based not Ubuntu)

P.S. Having fun with the winetricks mirrors...seems the Kent Mirror is buggered as usual.

Brammers
08-09-08, 23:43
Ok got to the start NC and clear the cache bit.


pete@Tintagel:~/.wine/drive_c/Program Files/Neocron2$ wine Client.exe -sysconfig
fixme:win:EnumDisplayDevicesW ((null),0,0x32812c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3280b4,0x00000000), stub!
pete@Tintagel:~/.wine/drive_c/Program Files/Neocron2$ wine Client.exe -precachefixme:heap:RtlCompactHeap (0x890000, 0x0) stub
fixme:win:EnumDisplayDevicesW ((null),0,0x32812c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3280b4,0x00000000), stub!
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:ddraw:PixelFormat_WineD3DtoDD Can't translate this Pixelformat 64
pete@Tintagel:~/.wine/drive_c/Program Files/Neocron2$

Any clues? (Or am I suspecting my GFX card isn't going to work.)

I've tried it in windows and full screen mode with no luck.

flib
09-09-08, 02:39
I don't see why the graphics card wouldn't work as long as it's drivers are working correctly. Have you run other 3d-accelerated things on this particular installation before? Also, how does glxgears run?

MrTrip
09-09-08, 03:01
Ok got to the start NC and clear the cache bit.


pete@Tintagel:~/.wine/drive_c/Program Files/Neocron2$ wine Client.exe -sysconfig
fixme:win:EnumDisplayDevicesW ((null),0,0x32812c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3280b4,0x00000000), stub!
pete@Tintagel:~/.wine/drive_c/Program Files/Neocron2$ wine Client.exe -precachefixme:heap:RtlCompactHeap (0x890000, 0x0) stub
fixme:win:EnumDisplayDevicesW ((null),0,0x32812c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3280b4,0x00000000), stub!
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:ddraw:PixelFormat_WineD3DtoDD Can't translate this Pixelformat 64
pete@Tintagel:~/.wine/drive_c/Program Files/Neocron2$

Any clues? (Or am I suspecting my GFX card isn't going to work.)

I've tried it in windows and full screen mode with no luck.


ATI hasn't been tested fully...now you can do it!

You can use Envy to install the ATI drivers on Ubuntu. Very helpful.


Edit: Awww look I got bored

http://areamc5.info/linux/linuxpenguin.gif

MrTrip
09-09-08, 05:44
WorldClient: Initialization . . .
CTRL Player Init...Completed ^M
WorldClient: Connecting to NetHost . . . succeed!
WorldClient: Joining session . . .
WORLDCLIENT : Connection failed :
WORLDCLIENT : Join proxy session failed
WorldManager: Shutting down . . .


Join Proxy Session means more than what we think...

I'm trying to use Neocron now through the router so I don't have to reconfigure the entire network here...its becoming a pain.

Heres my network setup


ADSL Modem: *WAN IP* -> Router: xx.5.254 -> PC xx.5.100

ADSL DMZ to Router -> Router DMZ to PC -> PC

There is no reason it shouldn't work.... works fine in Windows all around.

Can KK please specify just what the Join Proxy Session Failed message means and what causes it and possible work arounds?...I mean...do you guys even know yourselves? Haha...

Mighty Max
09-09-08, 06:27
Join Proxy Session means more than what we think...


It means none of the enumerated interfaces receiced data from the server within time.

Unlike previous states of connection, this part does not listen to INADDR_ANY but bound on each enumerated interface. If the enumeration fails (which is more likely to happen on wine) you will allways fail this way.

Check if the interface's ip which is the first point in the route to the server is listed in the errorlog like

"WINSOCKMGR : Bind recv socket HostIP 0, Addr:167772170, Port:47484"

Where Addr is the decimal representation of the IP: in this case 10.0.0.10 (= 0x0A00000A = 167772170)

If it isn't try to add/disable the interface so that it is first in the interface list and more likely to get enumerated by the wine - winsock replacement.

MrTrip
09-09-08, 07:31
It means none of the enumerated interfaces receiced data from the server within time.

Unlike previous states of connection, this part does not listen to INADDR_ANY but bound on each enumerated interface. If the enumeration fails (which is more likely to happen on wine) you will allways fail this way.

Check if the interface's ip which is the first point in the route to the server is listed in the errorlog like

"WINSOCKMGR : Bind recv socket HostIP 0, Addr:167772170, Port:47484"

Where Addr is the decimal representation of the IP: in this case 10.0.0.10 (= 0x0A00000A = 167772170)

If it isn't try to add/disable the interface so that it is first in the interface list and more likely to get enumerated by the wine - winsock replacement.


trace:winsock:WS_gethostname name 0x328cd8, len 64
trace:winsock:WS_gethostname <- 'xerxes.digitallyevolved.net'
trace:winsock:WS_gethostbyname "xerxes.digitallyevolved.net" ret 0x727ac00
trace:winsock:WS_socket af=2 type=2 protocol=0
trace:winsock:WSASocketA af=2 type=2 protocol=0 protocol_info=(nil) group=0 flags=0x1
trace:winsock:WSASocketW af=2 type=2 protocol=0 protocol_info=(nil) group=0 flags=0x1
trace:winsock:WSASocketW created 0110
trace:winsock:WS_socket af=2 type=2 protocol=0
trace:winsock:WSASocketA af=2 type=2 protocol=0 protocol_info=(nil) group=0 flags=0x1
trace:winsock:WSASocketW af=2 type=2 protocol=0 protocol_info=(nil) group=0 flags=0x1
trace:winsock:WSASocketW created 0114
trace:winsock:WS_bind socket 0114, ptr 0x328d04 { family 2, address 97.115.218.146, port 21049 }, length 16
warn:winsock:WS_bind failure - errno = 99
trace:winsock:WS_closesocket socket 010c
trace:winsock:WS_closesocket socket 0110
trace:winsock:WS_closesocket socket 0114

Thats where it seems to fail. eth0 and lo are the only interfaces. Thats my external IP in that code block.

I made eth0:1 with my external IP set as the IP address and now I get a permasync instead of join proxy failed... I think I'm missing one more step. It looks like NC trys to communicate ONLY with the IP addresss associated with my network card and nothing else.

This is the output after doing that


trace:winsock:WSAStartup succeeded
trace:winsock:WS_gethostname name 0x328cd8, len 64
trace:winsock:WS_gethostname <- 'xerxes.digitallyevolved.net'
trace:winsock:WS_gethostbyname "xerxes.digitallyevolved.net" ret 0x74f7de0
trace:winsock:WS_socket af=2 type=2 protocol=0
trace:winsock:WSASocketA af=2 type=2 protocol=0 protocol_info=(nil) group=0 flags=0x1
trace:winsock:WSASocketW af=2 type=2 protocol=0 protocol_info=(nil) group=0 flags=0x1
trace:winsock:WSASocketW created 0114
trace:winsock:WS_socket af=2 type=2 protocol=0
trace:winsock:WSASocketA af=2 type=2 protocol=0 protocol_info=(nil) group=0 flags=0x1
trace:winsock:WSASocketW af=2 type=2 protocol=0 protocol_info=(nil) group=0 flags=0x1
trace:winsock:WSASocketW created 0118
trace:winsock:WS_bind socket 0118, ptr 0x328d04 { family 2, address 97.115.218.146, port 21049 }, length 16
trace:winsock:WS_bind socket 0114, ptr 0x328d04 { family 2, address 97.115.218.146, port 21050 }, length 16
trace:winsock:WSASendTo socket 0118, wsabuf 0x328c74, nbufs 1, flags 0, to 0x328cb4, tolen 16, ovl (nil), func (nil)

I'm thinking...something I need to do with route?

Brammers
09-09-08, 11:50
ATI hasn't been tested fully...now you can do it!

You can use Envy to install the ATI drivers on Ubuntu. Very helpful.


Edit: Awww look I got bored

http://areamc5.info/linux/linuxpenguin.gif

Heh, nice penguin, just need him holding a cursed soul!

I dug around with the ATI stuff, and came across a few resources. I'll give Envy a try tonight, but for some reason Ubuntu is having issues understanding my monitor capabilitys. It thinks it can only do 800x600 at 72Hz (Where it will happily do 1280x1024 at 85Hz) and X-Server config annoyingly seems to only let me configure my keyboard and mouse. Got the same issue on my main box which has an Nvidia card in it.

Also Ubuntu on the box with the ATI card is picking up the motherboard graphics card, but I don't know if this is related.

I'll keep on digging!

BaDDaSS
09-09-08, 12:20
@Brammers I know it sounds like a silly Q, but have you tried launching NeocronLauncher instead of the Client directly? That's how I run it.

And good luck with the ATI. Linux support for 3d gfx on ATI cards is limited. Imo it might be worth robbing an old nvidia off a friend, or spending £15 on eGay.

@MrTrip nice penguin :P I'll hax that into a .ico tonight, my new launcher.
I don't think I did anything special with my router.
You said something about DMZ? I take it you can log in fine when you set your PC to DMZ, but not otherwise. And you've forwarded 21049-21050 to your PC?

[Edit]
Is your router grabbing the WAN IP, or leaving it at the modem and using an internal IP? Because if it's the former, that could be an issue.

DER_julu
09-09-08, 12:21
ati's drivers for linux are terrible, as are the os-drivers. i never really managed to get ati-cards to work on linux properly (video-playback bugged, etc.), but you could try and install the ati-control-interface - that solved the problem with the resolution for me the last time, but you got to run it as root (gksu);

MrTrip
09-09-08, 14:42
@MrTrip nice penguin :P I'll hax that into a .ico tonight, my new launcher.
I don't think I did anything special with my router.
You said something about DMZ? I take it you can log in fine when you set your PC to DMZ, but not otherwise. And you've forwarded 21049-21050 to your PC?

[Edit]
Is your router grabbing the WAN IP, or leaving it at the modem and using an internal IP? Because if it's the former, that could be an issue.

It does not work in DMZ mode either way, but the router is using an internal IP assigned by the ADSL modem. Not sure how to make the router use the external IP... I really hate this ADSL service.

The closest I got was making eth0:1 have my wan IP tied to it. We had this same issue in Texas with a simple network setup where the router had the WAN ip on it and I had an internal with ports forwarded, even tried DMZ there and failed. Ended up running the internet through my box to the router to the rest of the network. Was a pain when I rebooted haha.

Mighty Max
09-09-08, 16:46
Thats where it seems to fail. eth0 and lo are the only interfaces. Thats my external IP in that code block.

I made eth0:1 with my external IP set as the IP address and now I get a permasync instead of join proxy failed... I think I'm missing one more step. It looks like NC trys to communicate ONLY with the IP addresss associated with my network card and nothing else.


This can't work out, unless you are directly connected with an inet router. If you are as most connected via PPP (DSl/Cable/Modem+Router) you will only cause troubles here, as for the server and the client the external ip does identify different machines. Your router will not be able to route to your machine, as he knows two nodes with the IP one beeing himself one on a physical same but logical different network. Guess which he takes :p

The simpliest setup should work here:
Fix ip address to the eth0 (within your router's network range: ip & mask == routeripd & mask)
A route to the neocron servers with the default route set for routerip

This should also fix the bind problem (as your fix to external ip did) and leave you with a working routing for the game

MrTrip
09-09-08, 21:52
This can't work out, unless you are directly connected with an inet router. If you are as most connected via PPP (DSl/Cable/Modem+Router) you will only cause troubles here, as for the server and the client the external ip does identify different machines. Your router will not be able to route to your machine, as he knows two nodes with the IP one beeing himself one on a physical same but logical different network. Guess which he takes :p

The simpliest setup should work here:
Fix ip address to the eth0 (within your router's network range: ip & mask == routeripd & mask)
A route to the neocron servers with the default route set for routerip

This should also fix the bind problem (as your fix to external ip did) and leave you with a working routing for the game

OK then...let me uh try this then...



mrtrip@xerxes:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
foo.dafire.de DD-WRT 255.255.255.255 UGH 0 0 0 eth0
192.168.5.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
default DD-WRT 0.0.0.0 UG 100 0 0 eth0


Correct?

And I get join proxy session failed again.

Mighty Max
09-09-08, 22:18
Does it bind to the sock interfaces or does it fail on one again?
Don't think the client will ignore a failed bind and continue on the join.

Brammers
09-09-08, 22:51
A little update on my attempts to get Neocron to work work with Linux on my systems.

The ATI 9200SE box - a little more luck but still a no-go. I tried the envy drivers, and made a little more progress. I got an option to select a D9D driver instead of the old D7D driver which was giving those Pixelformat errors.

It would startup, you see the precache bar start moving before NC crashes out with a different set of errors. It's a step further than I got before.

As I said earlier, I said "systems" my 2nd which is my main box did have a Ubuntu 7.x 64bit edition on it. I stop using it when I found Java to be bit unstable when trying to use Eclipse IDE on it. So I left it to patch up and upgrade itself to 8.04.1 Hardy 64bit.

Anyway, after installing wine, following the guide in the wiki...IT WORKS, and I didn't have to bother with the editing of the hosts file.

Edit: One minor issue, when you exit the game the gamma isn't reset, so I have a rather bright desktop, any tips for reseting it without restarting X-Server.

eNTi
09-09-08, 23:41
Edit: One minor issue, when you exit the game the gamma isn't reset, so I have a rather bright desktop, any tips for reseting it without restarting X-Server.
"man xset" is your friend. you can easily put that in the shellscript you start neocron with.

MrTrip
10-09-08, 00:26
Does it bind to the sock interfaces or does it fail on one again?
Don't think the client will ignore a failed bind and continue on the join.

Yes


trace:winsock:WS_bind socket 0114, ptr 0x328d04 { family 2, address 97.115.218.146, port 21049 }, length 16
warn:winsock:WS_bind failure - errno = 99


Still has an error. It will NOT connect unless my WAN IP matches the IP of my network interface. It will only get closer if I create eth0:1 and set that to my WAN ip, but then it fails to communicate properly.

BaDDaSS
10-09-08, 00:27
Lmao, I forgot to mention that bug Brammers.

Glad to see you got it working on at least one machine though. What gfx card is on the x64 box?

We now have confirmation that Neocron works on both 32bit and 64bit. Nice

MrTrip
10-09-08, 00:28
A little update on my attempts to get Neocron to work work with Linux on my systems.

The ATI 9200SE box - a little more luck but still a no-go. I tried the envy drivers, and made a little more progress. I got an option to select a D9D driver instead of the old D7D driver which was giving those Pixelformat errors.

It would startup, you see the precache bar start moving before NC crashes out with a different set of errors. It's a step further than I got before.

As I said earlier, I said "systems" my 2nd which is my main box did have a Ubuntu 7.x 64bit edition on it. I stop using it when I found Java to be bit unstable when trying to use Eclipse IDE on it. So I left it to patch up and upgrade itself to 8.04.1 Hardy 64bit.

Anyway, after installing wine, following the guide in the wiki...IT WORKS, and I didn't have to bother with the editing of the hosts file.

Edit: One minor issue, when you exit the game the gamma isn't reset, so I have a rather bright desktop, any tips for reseting it without restarting X-Server.


Brammers what is your network setup? You must be behind a router?

Brammers
10-09-08, 00:35
Brammers what is your network setup? You must be behind a router?

Yeah I am behind a router (A Netgear ADSL router), although all my PC's are assigned their IP's via DHCP.

Also I do have "Use local port" ticked in my configuration, whether that makes a difference, I dont know, but I've always needed that ticked since I've always played it behind some sort of NAT network.

BaDDaSS
10-09-08, 00:35
MrTrip, I don't have any rules setup on my router for NC.

It's usually quite strict with some applications, yet NC seems to get through fine. :/

It's also a Netgear ADSL Router, but I don't have "Use Local Port" ticked.

Brammers
10-09-08, 00:44
This is my routes table, and this is pretty standard network sort of setup.


pete@sedna:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.199.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
default xxxxxxxx.xxxxxx 0.0.0.0 UG 0 0 0 eth0


pete@sedna:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.199.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.199.250 0.0.0.0 UG 0 0 0 eth0

@MrTrip - Try it without the first route, and let the default gateway do all the routing.

MrTrip
10-09-08, 01:31
This is my routes table, and this is pretty standard network sort of setup.


pete@sedna:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.199.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
default xxxxxxxx.xxxxxx 0.0.0.0 UG 0 0 0 eth0


pete@sedna:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.199.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.199.250 0.0.0.0 UG 0 0 0 eth0

@MrTrip - Try it without the first route, and let the default gateway do all the routing.



So here is my new network setup.

Actiontec ADSL router in transparent bridge mode to Linksys router, Linksys router authenticates with the DSL ISP now and holds the WAN IP.

Static IP of 192.168.5.100 on my box with the Linksys router in DMZ mode to me.

...Still proxy failure

Brammers
10-09-08, 01:46
So here is my new network setup.

Actiontec ADSL router in transparent bridge mode to Linksys router, Linksys router authenticates with the DSL ISP now and holds the WAN IP.

Static IP of 192.168.5.100 on my box with the Linksys router in DMZ mode to me.

...Still proxy failure

Did you try the localport setting in the NC config, and does NC work without your DMZ setup?

MrTrip
10-09-08, 02:46
Did you try the localport setting in the NC config, and does NC work without your DMZ setup?

Killed DMZ mode, and tried with and without localport. Failed. I'm missing something here.... something just isn't right...arghhh


trace:winsock:WS_bind socket 0118, ptr 0x328d04 { family 2, address 97.115.218.146, port 21049 }, length 16
warn:winsock:WS_bind failure - errno = 99

What in gods name is errno 99 >_< google returns nothing useful, its really starting to piss me off....

Mighty Max
10-09-08, 06:17
What in gods name is errno 99 >_< google returns nothing useful, its really starting to piss me off....

Doesn't bring you forward, it's just errno 99 -"Cannot assign requested address"

MrTrip
10-09-08, 07:21
Doesn't bring you forward, it's just errno 99 -"Cannot assign requested address"

Ugh... It is something to do with this network setup I just know it. If everybody else can connect properly, what the hell....

MrTrip
13-09-08, 06:03
Ugh... It is something to do with this network setup I just know it. If everybody else can connect properly, what the hell....

So on a whim I changed my hosts file back to 127.0.0.1 and sure enough it freaking worked...wow. *screenshots*

http://img510.imageshack.us/img510/8559/ncinlinuxql3.th.png (http://img510.imageshack.us/my.php?image=ncinlinuxql3.png)

BaDDaSS
13-09-08, 13:57
w00t, about time. Grats! =]

MrTrip
13-09-08, 20:58
Did you try the localport setting in the NC config, and does NC work without your DMZ setup?

Brammers I have a question for you... is there any real advantage of 64bit Ubuntu over 32bit? I had troubles getting everything working on 64bit :( especially flash...

Brammers
14-09-08, 01:52
Brammers I have a question for you... is there any real advantage of 64bit Ubuntu over 32bit? I had troubles getting everything working on 64bit :( especially flash...

At this time, I say not really.

I'm trying using 64bit Linux mainly for development, since 64bit computing will be creeping into daily use. Most of the stuff I'm interesting in works very well in 64bit mode.

I've also had stability issues with some 64bit, mostly with Java, which really doesn't like 64bit atm.

MrTrip
14-09-08, 05:29
At this time, I say not really.

I'm trying using 64bit Linux mainly for development, since 64bit computing will be creeping into daily use. Most of the stuff I'm interesting in works very well in 64bit mode.

I've also had stability issues with some 64bit, mostly with Java, which really doesn't like 64bit atm.

Ah, yeah I ran into the same thing with stability. I just dropped back to x86. I just got bored and installed openSolaris in a virtual box, doubt I'll keep it though, don't really understand it :(

BaDDaSS
14-09-08, 13:07
"man xset" is your friend. you can easily put that in the shellscript you start neocron with.

How does this xset work then?

MrTrip
14-09-08, 18:34
How does this xset work then?

Yeah I read through the man for xset and don't really get it either.

Russeric
15-09-08, 00:56
Hello, all. I just came back and wanted to try to dual box with my other account on my Linux box, because I love simultaneously developing characters that work together in MMORPGs.

Anyway, I've followed both versions of the guide for setting Neocron up in Linux (and spent 5 hours enabling 3D acceleration in Fiesty), but I'm running into a problem. I can run the NeocronLauncher.exe fine, but when I click on "Check Hardware" in the configuration child or run Client.exe -sysconfig I get a fatal runtime error. No logs are produced, and wine produces no output for it, so I am having a terrible time trying to diagnose this. I've tried with my XP MSVCRT.DLL and quartz.dll and also the ones supplied in the guide, and they only produce slightly different error messages (but both are Fatal Runtime Errors)

I don't know if it's relevant, but my box is pretty ancient. It's the same one I used during NC Beta 4 with no problems, but the video card has since been replaced with an NVIDIA TNT2 Pro. I don't expect it to look good or anything, I am basically just going to be running lowest settings and hanging around my apartment to do tradeskill things.

Any help would be appreciated.

james_finn
15-09-08, 01:19
Hello, all. I just came back and wanted to try to dual box with my other account on my Linux box, because I love simultaneously developing characters that work together in MMORPGs.

Anyway, I've followed both versions of the guide for setting Neocron up in Linux (and spent 5 hours enabling 3D acceleration in Fiesty), but I'm running into a problem. I can run the NeocronLauncher.exe fine, but when I click on "Check Hardware" in the configuration child or run Client.exe -sysconfig I get a fatal runtime error. No logs are produced, and wine produces no output for it, so I am having a terrible time trying to diagnose this. I've tried with my XP MSVCRT.DLL and quartz.dll and also the ones supplied in the guide, and they only produce slightly different error messages (but both are Fatal Runtime Errors)

I don't know if it's relevant, but my box is pretty ancient. It's the same one I used during NC Beta 4 with no problems, but the video card has since been replaced with an NVIDIA TNT2 Pro. I don't expect it to look good or anything, I am basically just going to be running lowest settings and hanging around my apartment to do tradeskill things.

Any help would be appreciated.

I have a nagging suspicion that they changed the direct X level when they did the DoY update, someone else might be able to elaborate more - this is the only details on the site regarding minimum spec:

Direct3D-compatible video card with at least 32 MB
/Delphi

Russeric
15-09-08, 01:40
I have a nagging suspicion that they changed the direct X level when they did the DoY update, someone else might be able to elaborate more - this is the only details on the site regarding minimum spec:

Direct3D-compatible video card with at least 32 MB
/Delphi

I'm pretty sure it does have 32Meg of VRAM, and I know that it supports Direct3D.

MrTrip
15-09-08, 01:41
Hello, all. I just came back and wanted to try to dual box with my other account on my Linux box, because I love simultaneously developing characters that work together in MMORPGs.

Anyway, I've followed both versions of the guide for setting Neocron up in Linux (and spent 5 hours enabling 3D acceleration in Fiesty), but I'm running into a problem. I can run the NeocronLauncher.exe fine, but when I click on "Check Hardware" in the configuration child or run Client.exe -sysconfig I get a fatal runtime error. No logs are produced, and wine produces no output for it, so I am having a terrible time trying to diagnose this. I've tried with my XP MSVCRT.DLL and quartz.dll and also the ones supplied in the guide, and they only produce slightly different error messages (but both are Fatal Runtime Errors)

I don't know if it's relevant, but my box is pretty ancient. It's the same one I used during NC Beta 4 with no problems, but the video card has since been replaced with an NVIDIA TNT2 Pro. I don't expect it to look good or anything, I am basically just going to be running lowest settings and hanging around my apartment to do tradeskill things.

Any help would be appreciated.

Sounds like a serious issue with your video card. Do you even have the latest NVIDIA drivers installed?

Russeric
15-09-08, 02:23
Sounds like a serious issue with your video card. Do you even have the latest NVIDIA drivers installed?

Well it's nvidia-glx-legacy (I believe version 1.0.7184), so not exactly the newest. I was not able to start X after using the "Restricted Drivers Manager" app, so I installed legacy through apt by hand. So far it has been working with OpenGL fine for 3D screensavers and the like (when I was using the nv driver, they would crash or not display).

MrTrip
15-09-08, 06:21
Well it's nvidia-glx-legacy (I believe version 1.0.7184), so not exactly the newest. I was not able to start X after using the "Restricted Drivers Manager" app, so I installed legacy through apt by hand. So far it has been working with OpenGL fine for 3D screensavers and the like (when I was using the nv driver, they would crash or not display).

Your video card might just be too old to support playing this game in Linux with Wine. Have you tried installing your video drivers using Envy?




mrtrip@xerxes:~$ fortune
You will be run over by a bus.
mrtrip@xerxes:~$


:(

Russeric
15-09-08, 13:05
Your video card might just be too old to support playing this game in Linux with Wine. Have you tried installing your video drivers using Envy?


Hmm you are probably right that my video card is too old, but I still have hope for it, because I was able to access Neocron's sysconfig properly on the Windows XP boot of the same machine.

About Envy, I have used it in the past, but it hasn't worked for me. Also, I have read that installing with Envy keeps you from installing with the Restricted Drivers Manager (which it seemed to do in this case). However, I have just tried to use Envy again, but the version in the repository (0.8.2-0ubuntu1) does not support Feisty. I've tried downloading from the creator's site, but the only deb he has for Envy Legacy requires the build-essentials package, which tries to uninstall everything on my system when I select it from Synaptic (and apt-get complains about libc-dev and g++). I guess I'll have to tinker with this a bit more.

By the way, thanks for your help.

MrTrip
15-09-08, 18:50
Hmm you are probably right that my video card is too old, but I still have hope for it, because I was able to access Neocron's sysconfig properly on the Windows XP boot of the same machine.

About Envy, I have used it in the past, but it hasn't worked for me. Also, I have read that installing with Envy keeps you from installing with the Restricted Drivers Manager (which it seemed to do in this case). However, I have just tried to use Envy again, but the version in the repository (0.8.2-0ubuntu1) does not support Feisty. I've tried downloading from the creator's site, but the only deb he has for Envy Legacy requires the build-essentials package, which tries to uninstall everything on my system when I select it from Synaptic (and apt-get complains about libc-dev and g++). I guess I'll have to tinker with this a bit more.

By the way, thanks for your help.


Follow these instructions...


Open a terminal and type


sudo apt-get install build-essential

It will not uninstall everything.

Then type


wget http://albertomilone.com/ubuntu/nvidia/scripts/legacy/envy_0.9.10-0ubuntu10_all.deb

Then


dpkg -i envy_0.9.10-0ubuntu10_all.deb

Then just run Envy from your Applications -> System Tools menu

Yay!

Also I'm quite surprised you haven't upgraded from Feisty yet. Stability better for you in Feisty than newer versions?

MrTrip
15-09-08, 21:19
Just another note, will everybody who has got Neocron working PLEASE submit test data to Wines AppDB

http://appdb.winehq.org/objectManager.php?sClass=version&iId=8568&iTestingId=31313

That is the version I am manager of. Thanks!

Russeric
16-09-08, 01:10
Also I'm quite surprised you haven't upgraded from Feisty yet. Stability better for you in Feisty than newer versions?

Actually I stopped upgrading because I had to kill the dist-upgrade utility because it stopped working several times. That was when I was upgrading to Feisty, and now it identifies itself as being Feisty even though I don't remember it ever fully completing the upgrade, so I was afraid that this might have some serious ramifications if I tried to step OVER the version to the next one (I can't figure out how to RE-upgrade Fiesty).

Well anyway, earlier this morning I bit the bullet and upgraded to Gutsy so that I could try Envy again, but now a lot of things appear broken and I'm afraid the same thing might have happened. For example, all the help features are currently broken, and Synaptic keeps on telling me to use the reload button to sync it with the sources.list but no matter how many times I reload, it still keeps the Fiesty repos. I've also had to manually go into sources.list and add restricted, universe, and multiverse because there was only one line in the file after the upgrade. Ugh I would totally wipe this partition and clean install Hoary if I had the time and means of backing up all my data.

Anyway, I'll try Envy a little later tonight. I just thought I'd drop a message here since I haven't been home to try it today and wouldn't want you to think I gave up on your advice.

Thanks again.

MrTrip
16-09-08, 01:32
Actually I stopped upgrading because I had to kill the dist-upgrade utility because it stopped working several times. That was when I was upgrading to Feisty, and now it identifies itself as being Feisty even though I don't remember it ever fully completing the upgrade, so I was afraid that this might have some serious ramifications if I tried to step OVER the version to the next one (I can't figure out how to RE-upgrade Fiesty).

Well anyway, earlier this morning I bit the bullet and upgraded to Gutsy so that I could try Envy again, but now a lot of things appear broken and I'm afraid the same thing might have happened. For example, all the help features are currently broken, and Synaptic keeps on telling me to use the reload button to sync it with the sources.list but no matter how many times I reload, it still keeps the Fiesty repos. I've also had to manually go into sources.list and add restricted, universe, and multiverse because there was only one line in the file after the upgrade. Ugh I would totally wipe this partition and clean install Hoary if I had the time and means of backing up all my data.

Anyway, I'll try Envy a little later tonight. I just thought I'd drop a message here since I haven't been home to try it today and wouldn't want you to think I gave up on your advice.

Thanks again.


Why are you even using the gui's?

First, post the contents of your sources.list here

Second, stop using the damn GUI's, they are worthless IMHO unless you are searching for a package you don't know the name of.

If you had a half arsed upgrade, you can finish it by doing

sudo apt-get update
sudo apt-get dist-upgrade

It should finish the update to Fiesty or whatever you set to update to.

Russeric
16-09-08, 02:26
Why are you even using the gui's?

First, post the contents of your sources.list here

Second, stop using the damn GUI's, they are worthless IMHO unless you are searching for a package you don't know the name of.

If you had a half arsed upgrade, you can finish it by doing

sudo apt-get update
sudo apt-get dist-upgrade

It should finish the update to Fiesty or whatever you set to update to.

But those GUI's SO looked like they knew what they were doing... All with their pictures and stuff...

But yeah, command line is actually how I upgraded to Gutsy. Looks like I had forgotten the gutsy-updates when I redid the sources.list, so I have just added them and updated. Here is the sources.list


deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse


Hopefully this should fix a few of my problems with the distro at least.

MrTrip
16-09-08, 08:44
But those GUI's SO looked like they knew what they were doing... All with their pictures and stuff...

But yeah, command line is actually how I upgraded to Gutsy. Looks like I had forgotten the gutsy-updates when I redid the sources.list, so I have just added them and updated. Here is the sources.list


deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse


Hopefully this should fix a few of my problems with the distro at least.


Looks good. Just do apt-get update and apt-get upgrade and let it go. It should sort everything out for you.

Then do apt-get remove nvidia* and apt-get purge nvidia* then install envy and run it to install the proper nvidia drivers for you.

BaDDaSS
16-09-08, 12:17
Submitted to your Wine AppDB page ^^

MrTrip
16-09-08, 17:31
Submitted to your Wine AppDB page ^^

Lots of love <3

Can somebody test just doing a plain clean install of Neocron, patching, and attempting to play without doing DLL overrides and such?

Russeric
16-09-08, 21:27
Looks good. Just do apt-get update and apt-get upgrade and let it go. It should sort everything out for you.

Then do apt-get remove nvidia* and apt-get purge nvidia* then install envy and run it to install the proper nvidia drivers for you.
Well Envy has failed for me at this point...

This box spent all morning upgrading to Hardy (maybe now I won't get "Hardy" and "Hoary" mixed up so often?) and after two runs of EnvyNG my graphics driver no longer works. My operating system seems to be completely fixed, and I've purged all the nvidia packages, but I can't run X except in "Low-Graphics Mode".

Envy correctly identifies my card at the beginning of the run, notifies that it is going to be installing legacy, and then runs through the installation process (which for some reason keeps giving warnings that the -envy packages are unverified), and tells me everything worked. When I reboot, however, Ubuntu attempts to switch from teminal mode to X 3 times, but fails and finally presents me with a low level X dialog that tells me it's running in "Low-Graphics Mode" (at least it's an improvement over getting dumped to the terminal with the X logs) and then gives me a chance to pick my driver and monitor from a few lists. If I select "nvidia" it fails again and continues on to X with Low Graphics Mode.

Not sure what the problem is here... I'll keep at it...

MrTrip
16-09-08, 22:32
Well Envy has failed for me at this point...

This box spent all morning upgrading to Hardy (maybe now I won't get "Hardy" and "Hoary" mixed up so often?) and after two runs of EnvyNG my graphics driver no longer works. My operating system seems to be completely fixed, and I've purged all the nvidia packages, but I can't run X except in "Low-Graphics Mode".

Envy correctly identifies my card at the beginning of the run, notifies that it is going to be installing legacy, and then runs through the installation process (which for some reason keeps giving warnings that the -envy packages are unverified), and tells me everything worked. When I reboot, however, Ubuntu attempts to switch from teminal mode to X 3 times, but fails and finally presents me with a low level X dialog that tells me it's running in "Low-Graphics Mode" (at least it's an improvement over getting dumped to the terminal with the X logs) and then gives me a chance to pick my driver and monitor from a few lists. If I select "nvidia" it fails again and continues on to X with Low Graphics Mode.

Not sure what the problem is here... I'll keep at it...

I had this problem before.

Run the following

sudo apt-get remove nvidia* | apt-get purge nvidia*

envy --uninstall-all

sudo dpkg-reconfigure xserver-xorg

startx



That will bring you back to your x desktop all happy and clean.

Then I suggest you do

sudo apt-get remove envy* | apt-get purge envy*

sudo reboot


you should be rebooted now sitting at your x desktop with no problems.

Then install envy AGAIN and try to install the driver AGAIN. It should work nicely for you this time around.

Russeric
16-09-08, 23:29
I had this problem before.

Run the following

sudo apt-get remove nvidia* | apt-get purge nvidia*

envy --uninstall-all

sudo dpkg-reconfigure xserver-xorg

startx



That will bring you back to your x desktop all happy and clean.

Then I suggest you do

sudo apt-get remove envy* | apt-get purge envy*

sudo reboot


you should be rebooted now sitting at your x desktop with no problems.

Then install envy AGAIN and try to install the driver AGAIN. It should work nicely for you this time around.

Gah wish I had read what you wrote a few hours ago instead of dicking around with the xorg.conf.

It looks like it misidentified my monitor, a dell M992. It only came up with "Plug & Play Monitor" and even when I selected it from a list, it got the available range of resolutions and refreshrates wrong.

I couldn't figure out how to fix this through the gui so I just manually edited the section for the monitor in xorg.conf, and now I have 3d support.

I would appreciate it if you took a glance over the end result to check if I am making any huge mistakes:



# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV5 [RIVA TNT2/TNT2 Pro]"
Busid "PCI:1:0:0"
Driver "nvidia"
Vendorname "NVIDIA"
Option "AllowGLXWithComposite" "True"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
Vendorname "Dell"
Modelname "Dell M992"
Horizsync 30.0-96.0
Vertrefresh 50.0-160.0
Option "DPMS"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync interlace +vsync
modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
modeline "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@75" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@70" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
Gamma 1.0
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
Defaultdepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
EndSection
Section "Module"
Load "glx"
Load "GLcore"
Load "v4l"
EndSection
Section "ServerFlags"
EndSection

In case you need benchmarks, here is my xorg.conf from before I started the upgrades. I had to cut out the other xorg (from after Envy did its thing) because the post was too long.


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro]"
Driver "nv"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "DELL M992"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro]"
Monitor "DELL M992"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection


Right now I don't want to mess with Envy again, since I am actually using the -legacy-envy drivers, but if the NC problems don't go away I'll have to go back to it and do it the way you suggested.

As for NC in Wine, I am closer: a real error message from Wine! Well, a few, plus some fixmes. The big ones are the lack of MIDI support which popped up when I first started it and also when I clicked on "Configure Hardware", and a problem with Quartz.

Here is the initial Wine stdout/stderr when I run $ wine NeocronLauncher.exe


fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
fixme:shdocvw:PersistMemory_Load (0x13a830)->(0x43179c 9c)
fixme:shdocvw:OleControl_FreezeEvents (0x13a830)->(1)
fixme:shdocvw:OleControl_FreezeEvents (0x13a830)->(0)
fixme:iphlpapi:NotifyAddrChange (Handle 0x7de899d4, overlapped 0x7de899b8): stub
fixme:system:SetProcessDPIAware stub!
fixme:msimtf:CActiveIMM_Create ((nil) {08c0e040-62d1-11d1-9326-0060b067b86e} 0x106ef34)
fixme:ole:CoCreateInstance no instance created for interface {08c0e040-62d1-11d1-9326-0060b067b86e} of class {4955dd33-b159-11d0-8fcf-00aa006bcc59}, hres is 0x80004002
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x13a8cc)->((null) 1 0x32bdac (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 25 2 0x32bdc0 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 26 2 0x32bdc0 (nil))
fixme:shdocvw:ClientSite_GetContainer (0x13a8cc)->(0x32bdfc)
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->({000214d1-0000-0000-c000-000000000046} 37 0 0x32bec0 (nil))
fixme:shdocvw:HttpNegotiate_BeginningTransaction (0x13af40)->(L"" L"" 0 0x32bef8)
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 29 2 0x32f4f0 (nil))
fixme:shdocvw:DocHostUIHandler_GetDropTarget (0x13a8cc)
fixme:shdocvw:ClientSite_GetContainer (0x13a8cc)->(0x32f30c)
fixme:shdocvw:InPlaceFrame_SetStatusText (0x13a8cc)->(0xb7ea36d1)
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 25 2 0x32f240 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 26 2 0x32f240 (nil))
fixme:mshtml:HlinkTarget_SetBrowseContext (0x150390)->((nil))
fixme:msimtf:CActiveIMM_Create ((nil) {08c0e040-62d1-11d1-9326-0060b067b86e} 0x106ef34)
fixme:ole:CoCreateInstance no instance created for interface {08c0e040-62d1-11d1-9326-0060b067b86e} of class {4955dd33-b159-11d0-8fcf-00aa006bcc59}, hres is 0x80004002
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x13a8cc)->((null) 1 0x32dffc (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 25 2 0x32e010 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 26 2 0x32e010 (nil))
fixme:shdocvw:ClientSite_GetContainer (0x13a8cc)->(0x32e04c)
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->({000214d1-0000-0000-c000-000000000046} 37 0 0x32e110 (nil))
fixme:shdocvw:HttpNegotiate_BeginningTransaction (0x13af40)->(L"" L"" 0 0x32e148)
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 29 2 0x32f4f0 (nil))
fixme:shdocvw:DocHostUIHandler_GetDropTarget (0x13a8cc)
fixme:shdocvw:ClientSite_GetContainer (0x13a8cc)->(0x32f30c)
fixme:shdocvw:InPlaceFrame_SetStatusText (0x13a8cc)->(0xb7ea36d1)
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 25 2 0x32f240 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 26 2 0x32f240 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 21 2 (nil) (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x13a8cc)->((null) 28 2 0x32f48c (nil))
fixme:bidi:mirror stub: mirroring of characters not yet implemented

Then, after I click "Configure Hardware" (or by running $ wine Client.exe -sysconfig):


fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.

Along with the same runtime error.

For now I am going to try to fix the Quartz er- oh wait... I just looked back at the output and I didn't get the Quartz error the second time I ran it for this post. Gah. Looks like I'm taking steps backwards.

Russeric
16-09-08, 23:32
By the way, MrTrip, thanks for being so patient and helpful... I probably wouldn't be if someone tried to come to me with problems and they had a 9 year old video card.

Well at least I'm not trying to run Neocron on my 486... yet... ;)

Russeric
17-09-08, 01:05
Alright, I lied. I actually did go back and do the Envy thing with a clean xorg.conf and you were right, it worked fine this time, except that it still didn't get my monitor right. However, I fixed that by adding in HorizSync and VertRefresh lines. (and I also added the CompositeGLX thing because I have read a while back that that can increase performance)

Unfortunately, my the Neocron Configure Configure Hardware dialog still doesn't work. And now there are no Error messages from Wine, just fixmes.

Oh well, I guess I'll have to continue this tomorrow.

MrTrip
17-09-08, 02:28
Alright, I lied. I actually did go back and do the Envy thing with a clean xorg.conf and you were right, it worked fine this time, except that it still didn't get my monitor right. However, I fixed that by adding in HorizSync and VertRefresh lines. (and I also added the CompositeGLX thing because I have read a while back that that can increase performance)

Unfortunately, my the Neocron Configure Configure Hardware dialog still doesn't work. And now there are no Error messages from Wine, just fixmes.

Oh well, I guess I'll have to continue this tomorrow.

You should have a nvidia settings program that helps you with your settings. I had to add gksudo to the launch line to get it to save xorg.conf properly.

Try tinkering with that to see if it makes it work. Good luck!

MrTrip
17-09-08, 05:59
So I was out of constructive things to do now that I got Neocron working in Linux...and I did this ->

http://digitallyevolved.net/img/misc/ncinlinux.png

I added a neocron feed to conky haha. Its not perfect, and really not too useful, but I think I'll make a kill counter for it next or something.

Oh, heres the code to add it to a .conkyrc file



#Neocron Feed
#${color #F09000}${exec tail -n 5 /home/mrtrip/games/Neocron2/logs/console.log | cut -c23-200 | ~/conky/bin/wordwrap -w 50}


And here is the wordwrap script to make it look neat



##########################################################################
# Shellscript: wordwrap - wrap lines on word boundaries
# Author : Heiner Steven <heiner.steven@odn.de>
# Date : 2001-12-10
# Requires :
# Category : Text Utilities
# SCCS-Id. : @(#) wordwrap 1.4 04/09/24
##########################################################################
# Description
# A very simple text formatting program. The input is read
# word by word. All words are joined using a space (ASCII
# 32) character. If "-j" was specified, each line is
# filled up to the maximum line length, or the next empty
# line before it is printed. Each continued line can be
# offset by a number of blanks.
#
# Note
# o Leading whitespace is ignored
# o An AWK program actually formats the input. It is written in
# a way to be portable to a wide range of AWK dialects.
# o thanks for Samus-Aran for suggesting the "-l" option
#
# Caveats
# o Should have an option for keeping whitespace inbetween words
##########################################################################

PN=`basename "$0"` # Program name
VER='1.4'

# Uncomment the following line to disable the search for the fastest AWK
#: ${AWK:=awk}

DEFWIDTH=72 # Default line length
DEFOFFSET=0 # Default continued line offset
DEFMARGIN=0 # Default left margin

Usage () {
echo >&2 "$PN - wrap lines on word boundaries, $VER
usage: $PN [-j] [-w width] [-o offset] [-l margin] [file ...]
-j join multiple lines up to the maximum line length
-l left margin (default $DEFMARGIN)
-o offset of continued lines (default $DEFOFFSET)
-w max. line width (default is $DEFWIDTH characters)"
exit 1
}

Msg () {
for MsgLine
do echo "$PN: $MsgLine" >&2
done
}

Fatal () { Msg "$@"; exit 1; }

##########################################################################
# searchprog - search program using search PATH
# usage: searchprog program
##########################################################################

searchprog () {
_search=$1; shift

for _dir in `echo "$PATH" | sed "s/^:/.:/;s/:\$/:./;s/::/:.:/g;s/:/ /g"`
do
[ -x "$_dir/$_search" ] || continue
echo "$_dir/$_search"
return 0
done

return 1
}

# isint - is argument a valid integer number?
isint () {
case "$1" in
*[!0-9]*) return 1;;
*) return 0;;
esac
}

set -- `getopt :hjl:o:w: "$@"` || Usage
[ $# -lt 1 ] && Usage # "getopt" detected an error

# Search for an AWK implementation, prefer the fastest one
: ${AWK:=`searchprog mawk || searchprog gawk || searchprog nawk || echo awk`}

LineWidth=
JoinLines=false
LeftMargin=
while [ $# -gt 0 ]
do
case "$1" in
-j) JoinLines=true;;
-l) isint "$2" || Fatal "invalid margin: $2"
LeftMargin=$2; shift;;
-o) isint "$2" || Fatal "invalid offset: $2"
LineOffset=$2; shift;;
-w) isint "$2" || Fatal "invalid line width: $2"
LineWidth=$2; shift;;
--) shift; break;;
-h) Usage;;
-*) Usage;;
*) break;; # First file name
esac
shift
done

: ${LineWidth:=$DEFWIDTH}
: ${LineOffset:=$DEFOFFSET}
: ${LeftMargin:=$DEFMARGIN}

$AWK '
BEGIN {
WORDSEP = " "
WORDSEPLEN = length (WORDSEP)
maxwidth = '"$LineWidth"'
if ( "'"$JoinLines"'" == "true" ) joinlines = 1; else joinlines = 0;
line = ""
offset = '"$LineOffset"'
margin = '"$LeftMargin"'
if ( offset >= 1 ) indent = sprintf ("%*s", offset, " ")
if ( margin >= 1 ) leftmargin = sprintf ("%*s", margin, "")
}
{
# Special handling: preserve leading whitespace characters
if ( line == "" ) {
for ( i=1; i<length($0); ++i ) {
c = substr ($0, i, 1)
if ( c != " " && c != " " ) break
}
if ( i > 1 ) line = substr ($0, 1, i-1)
}

for ( i=1; i<=NF; ++i ) {
newlen = length (line) + length ($i)
if ( line != "" ) newlen += WORDSEPLEN
if ( newlen > maxwidth ) {
print leftmargin line
line = indent $i
} else {
if ( line != "" ) line = line WORDSEP
line = line $i
}
}

# No joining of lines: print the current line immediately

if ( !joinlines || NF == 0 ) {
print leftmargin line
if ( line != "" && NF == 0 ) print "" # preserve empty line
line = ""
}
}
END {
if ( line != "" ) {
print leftmargin line
}
}
' "$@"

Seezur001
17-09-08, 07:07
Just curious about something.


//=====================================================
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 7D6293CC 01:000193CC C:\WINDOWS\system32\ntdll.dll

The majority, if not all of my FRE and Client crashing is because of an Access Violation with the NTDLL.DLL file. On linux, since the Windows subsystem is emulated, how often do you crash while playing Neocron on Linux?

MrTrip
17-09-08, 07:28
Just curious about something.

The majority, if not all of my FRE and Client crashing is because of an Access Violation with the NTDLL.DLL file. On linux, since the Windows subsystem is emulated, how often do you crash while playing Neocron on Linux?

So far for me never. I am able to alt+tab anywhere in the game world (in Windows in an outside environment you are unable to alt+tab in DX9 mode)

I have yet to fatal in Linux.

Also, Wine is not an emulator.


Myth 1: "Wine is slow because it is an emulator"

Some people mean by that that Wine must emulate each processor instruction of the Windows application. This is plain wrong. As Wine's name says: "Wine Is Not an Emulator": Wine does not emulate the Intel x86 processor. It will thus not be as slow as Wabi which, since it is not running on a x86 Intel processor, also has to emulate the processor. Windows applications that do not make system calls will run just as fast as on Windows (no more no less). Some people argue that since Wine introduces an extra layer above the system a Windows application will run slowly. It is true that, in theory, Windows applications that run in Wine or are recompiled with Winelib will not be able to achieve the same performance as native Unix applications. But that's theory. In practice you will find that a well written Windows application can beat a badly written Unix application at any time. The efficiency of the algorithms used by the application will have a greater impact on its performance than Wine.

Also, and that's what people are usually interested in, the combination Wine+Unix may be more efficient than Windows. Just as before it's just how good/bad their respective algorithms are. Now to be frank, performance is not yet a Wine priority. Getting more applications to actually work in Wine is much more important right now. For instance most benchmarks do not work yet in Wine and getting them to work at all should obviously have a higher priority than getting them to perform well.

But for those applications that do work and from a purely subjective point of view, performance is good. There is no obvious performance loss, except for some slow graphics due to unoptimized Wine code and X11 driver translation performance loss (which can be a problem sometimes, though).

I will say that Neocron runs smoother under Wine than it does in native Windows. Leaves us with the idea that Windows is Neocrons biggest issue, not Neocron its self. Neocron just doesn't have all the work arounds built into it to make it run nicer in Windows. IMHO.


Edit- Just a note for some players, to suppress those annoying fixme: messages do the following


export WINEDEBUG=-all,err+module

That will stop the fixme:toolhelp:* messages that spam the console.

Updating wiki...

BaDDaSS
17-09-08, 12:06
Liking the little conky script.

Brammers
17-09-08, 12:15
One question, how does your framerate compare to Windows? Normally I get a fairly rock solid 90FPS in Plaza 1, but under Linux I've noticed it's a lot lower (40FPS round about)

I don't know if this is down to the drivers, me using 64bit Linux or something else.

MrTrip
17-09-08, 15:33
One question, how does your framerate compare to Windows? Normally I get a fairly rock solid 90FPS in Plaza 1, but under Linux I've noticed it's a lot lower (40FPS round about)

I don't know if this is down to the drivers, me using 64bit Linux or something else.

Ive always had low framerate in Neocron, no matter Windows or Linux. It hovers around 30-40, sometimes around 60. Now CS:S? 100+. Go figure.

Asurmen Spec Op
18-09-08, 23:39
So I was out of constructive things to do now that I got Neocron working in Linux...and I did this ->

http://digitallyevolved.net/img/misc/ncinlinux.png

I added a neocron feed to conky haha. Its not perfect, and really not too useful, but I think I'll make a kill counter for it next or something.

Oh, heres the code to add it to a .conkyrc file



#Neocron Feed
#${color #F09000}${exec tail -n 5 /home/mrtrip/games/Neocron2/logs/console.log | cut -c23-200 | ~/conky/bin/wordwrap -w 50}


And here is the wordwrap script to make it look neat



##########################################################################
# Shellscript: wordwrap - wrap lines on word boundaries
# Author : Heiner Steven <heiner.steven@odn.de>
# Date : 2001-12-10
# Requires :
# Category : Text Utilities
# SCCS-Id. : @(#) wordwrap 1.4 04/09/24
##########################################################################
# Description
# A very simple text formatting program. The input is read
# word by word. All words are joined using a space (ASCII
# 32) character. If "-j" was specified, each line is
# filled up to the maximum line length, or the next empty
# line before it is printed. Each continued line can be
# offset by a number of blanks.
#
# Note
# o Leading whitespace is ignored
# o An AWK program actually formats the input. It is written in
# a way to be portable to a wide range of AWK dialects.
# o thanks for Samus-Aran for suggesting the "-l" option
#
# Caveats
# o Should have an option for keeping whitespace inbetween words
##########################################################################

PN=`basename "$0"` # Program name
VER='1.4'

# Uncomment the following line to disable the search for the fastest AWK
#: ${AWK:=awk}

DEFWIDTH=72 # Default line length
DEFOFFSET=0 # Default continued line offset
DEFMARGIN=0 # Default left margin

Usage () {
echo >&2 "$PN - wrap lines on word boundaries, $VER
usage: $PN [-j] [-w width] [-o offset] [-l margin] [file ...]
-j join multiple lines up to the maximum line length
-l left margin (default $DEFMARGIN)
-o offset of continued lines (default $DEFOFFSET)
-w max. line width (default is $DEFWIDTH characters)"
exit 1
}

Msg () {
for MsgLine
do echo "$PN: $MsgLine" >&2
done
}

Fatal () { Msg "$@"; exit 1; }

##########################################################################
# searchprog - search program using search PATH
# usage: searchprog program
##########################################################################

searchprog () {
_search=$1; shift

for _dir in `echo "$PATH" | sed "s/^:/.:/;s/:\$/:./;s/::/:.:/g;s/:/ /g"`
do
[ -x "$_dir/$_search" ] || continue
echo "$_dir/$_search"
return 0
done

return 1
}

# isint - is argument a valid integer number?
isint () {
case "$1" in
*[!0-9]*) return 1;;
*) return 0;;
esac
}

set -- `getopt :hjl:o:w: "$@"` || Usage
[ $# -lt 1 ] && Usage # "getopt" detected an error

# Search for an AWK implementation, prefer the fastest one
: ${AWK:=`searchprog mawk || searchprog gawk || searchprog nawk || echo awk`}

LineWidth=
JoinLines=false
LeftMargin=
while [ $# -gt 0 ]
do
case "$1" in
-j) JoinLines=true;;
-l) isint "$2" || Fatal "invalid margin: $2"
LeftMargin=$2; shift;;
-o) isint "$2" || Fatal "invalid offset: $2"
LineOffset=$2; shift;;
-w) isint "$2" || Fatal "invalid line width: $2"
LineWidth=$2; shift;;
--) shift; break;;
-h) Usage;;
-*) Usage;;
*) break;; # First file name
esac
shift
done

: ${LineWidth:=$DEFWIDTH}
: ${LineOffset:=$DEFOFFSET}
: ${LeftMargin:=$DEFMARGIN}

$AWK '
BEGIN {
WORDSEP = " "
WORDSEPLEN = length (WORDSEP)
maxwidth = '"$LineWidth"'
if ( "'"$JoinLines"'" == "true" ) joinlines = 1; else joinlines = 0;
line = ""
offset = '"$LineOffset"'
margin = '"$LeftMargin"'
if ( offset >= 1 ) indent = sprintf ("%*s", offset, " ")
if ( margin >= 1 ) leftmargin = sprintf ("%*s", margin, "")
}
{
# Special handling: preserve leading whitespace characters
if ( line == "" ) {
for ( i=1; i<length($0); ++i ) {
c = substr ($0, i, 1)
if ( c != " " && c != " " ) break
}
if ( i > 1 ) line = substr ($0, 1, i-1)
}

for ( i=1; i<=NF; ++i ) {
newlen = length (line) + length ($i)
if ( line != "" ) newlen += WORDSEPLEN
if ( newlen > maxwidth ) {
print leftmargin line
line = indent $i
} else {
if ( line != "" ) line = line WORDSEP
line = line $i
}
}

# No joining of lines: print the current line immediately

if ( !joinlines || NF == 0 ) {
print leftmargin line
if ( line != "" && NF == 0 ) print "" # preserve empty line
line = ""
}
}
END {
if ( line != "" ) {
print leftmargin line
}
}
' "$@"

Hey about your script.
I notice you always have the 'box' on each line. Is this because NC uses \r\n instead of \n?
If so(and it looks so) you could do some regex on each line s/\r// (or just do s/\r//g for all of the output of tail)

Quick Linux related question, why don't Ubuntu users ever just use su? I was confused as hell when installing Ubuntu on my friends system it didn't even ask me to choose a root password.

Brammers
19-09-08, 00:11
Quick Linux related question, why don't Ubuntu users ever just use su? I was confused as hell when installing Ubuntu on my friends system it didn't even ask me to choose a root password.

You can use su, but Ubuntu uses sudo. What sudo does is run the command as root, so long as you have permissions and also know your own user password. ;)

Asurmen Spec Op
19-09-08, 00:37
You can use su, but Ubuntu uses sudo. What sudo does is run the command as root, so long as you have permissions and also know your own user password. ;)
Brammers, I assure you I know about sudo. I have sudo installed on my Gentoo Desktop and Laptop(not my server though). Sudo is great for those 'I need to be root to run this command' moments. But there are bunches of times where you need to do more than one thing, and for those times I'd perfer just logging into root over repeatedly sudo-ing or making one long ass command.
*shrug* some things about Ubuntu just bug the hell out of me.

flib
19-09-08, 01:26
I pretty much always have to run more than once command as root, so I pretty see sudo as a useless security vulnerability.

MrTrip
19-09-08, 05:55
You realize there is sudo su right?

flib
19-09-08, 06:13
If you're asking me, then, yes, I do realize that. I also realize that once I've logged in that way, I can change the root password, but the vulnerability is still there.

Mighty Max
19-09-08, 06:21
sudousers is your friend.
You wouldn't want to give a user the right to change the pw if you wouldn't give the pw to him in the first place, wouldn't you?

MrTrip
19-09-08, 07:52
If you're asking me, then, yes, I do realize that. I also realize that once I've logged in that way, I can change the root password, but the vulnerability is still there.

I was asking assman.

Asurmen, I didn't write that script, I only wrote the conky config portion.

flib
19-09-08, 07:55
sudousers is your friend.
You wouldn't want to give a user the right to change the pw if you wouldn't give the pw to him in the first place, wouldn't you?
Of course it's useful for machines with multiple users who you don't trust, but that's not really what we're talking about here.
Also, I really hate the way they implemented sudoers.

Kanedax
19-09-08, 08:00
[ Edited ]

flib
19-09-08, 09:21
[ Edited ]

BaDDaSS
19-09-08, 13:01
Trolling Fail.

Sudo is good. Ubuntu is all about ease of use... Average Joe doesn't need to know about root.
Joe shouldn't even need to open a terminal window. If a program needs root, it'll ask Joe for his password on launch. Simple.

If an advanced user wants to change things around, then that's upto them.
But to bring the Linux Desktop to the masses, we need ease of use.

flib
19-09-08, 13:31
Everyone agrees that Ubuntu is great for Joe, since Joe can't handle the more complicated stuff, but as I've been saying, we're not talking about Joe right now.

Asurmen Spec Op
19-09-08, 15:45
Trolling Fail.

Sudo is good. Ubuntu is all about ease of use... Average Joe doesn't need to know about root.
Joe shouldn't even need to open a terminal window. If a program needs root, it'll ask Joe for his password on launch. Simple.

If an advanced user wants to change things around, then that's upto them.
But to bring the Linux Desktop to the masses, we need ease of use.
Yes, lets prioritize all of our choices for the Average Joe, be cool like OSX :rolleyes: . Personally I think it was a good and accurate 'troll'.

Trip: just pass it through another thing that does the s/\r//g :P you could take it all into a nice little perl script or something.

as far as sudo su, that is a big 'stab in the face' of su, kinda like doing sudo passwd

Trolling Fail.

Sudo is good. Ubuntu is all about ease of use... Average Joe doesn't need to know about root.
Joe shouldn't even need to open a terminal window. If a program needs root, it'll ask Joe for his password on launch. Simple.

If an advanced user wants to change things around, then that's upto them.
But to bring the Linux Desktop to the masses, we need ease of use.
I never understood the huge 'bring linux to the masses' drive... The 'masses' don't know their ass from a RJ-45 jack =/



Oh yeah, linux fight!

MrTrip
19-09-08, 16:38
Hahaha...Theres a fight over Linux practices in here.. Lets all compile slackware and get along?