Latest Neocron News and Information

  • New test server patch #563 has been released to Vedeena

Running Neocron in Linux

From Neocron Wiki
Jump to: navigation, search

Huge thanks to vitamin and all the guys at #winehq on irc.freenode.net for all the help they gave me in this. Could not have done it without you guys!

Credit and questions go to MrTrip for this wiki entry (Josh@DigitallyEvolved.net - MrTrip on NC forums)

Neocron 2.2 in Linux with Wine

This has been tested on Ubuntu Linux x86, the system stats follow

AMD Athlon64 X2 5200+ Dual Core
2GB DDR2 800Mhz
GeForce 7900GS
Ubuntu Linux X86 (Feisty Fawn)


Intel Core 2 Quad Q9300
4GB PC2-8500C5 1066MHz SLI-Ready DDR2
GeForce 9800 GX2 1024MB GDDR3
Ubuntu GNU/Linux 32bit 8.04.1 LTS


== Instructions for getting Neocron working with Wine ==

It is preferably to copy Neocron 2.2 directory from an NTFS drive/Windows PC. This guide offers no instructions for installing Neocron

Update! Automatrix is outdated, and WineDoors is unsupported. WineHQ Recommend the use of Winetricks.
These instructions are for people who have just installed Ubuntu



1. Install Wine and ubuntu-restricted-extras from your terminal with the following
sudo apt-get install wine ubuntu-restricted-extras
2. Run the command winecfg in terminal, this will setup your user account for Wine.
3. Download Winetricks
wget http://www.kegel.com/wine/winetricks
4. Install the following packages via Winetricks
Visual C++ Runtime Libraries 6
MS Core Fonts
Microsoft Foundation Classes 4
With the following command;
sh winetricks corefonts vcrun6 mfc42

5. Now just run the launcher! Either by double clicking the exe, or in terminal cd to the Neocron directory and type wine NeocronLauncher.exe

Done! Neocron should now run smoothly.

If all else fails

If the above didn't work, you may need to follow these additional instructions

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!

A few notes on getting things working, sometimes you have to fiddle with the msvcrt.dll or quartz.dll file versions to get the one that works properly. I offer the versions I use on my website at http://areamc5.info/linux to get things rolling


Notes on getting the launcher to play nicely
With the recent server re-shuffle i'd been having trouble getting the launcher working. First off you need to get version 6 of MFC42.dll and put it in your neocron directory.

Edit ini/updater.ini so it looks like this:

SERVERIP=83.236.174.254
PORT=8020
PATCHPREFIX=patches\cp
EXE=Client.exe
GAMESERVERIP=83.236.174.254
HOMEURL=http://launcher.neocron.com/
FTPSERVER=ftp.neocron.com
TESTPATCHDIR=/nc2testserver
RETAILPATCHDIR=/nc2retail
ISRETAILVERSION=1
USELOCALPORT=0
LOCALPORT=0

And finally launch NeocronUpdater.exe from the wine command line as such

xenocide@trillian:~/.cedega/NC2/c_drive/Program Files/neocron2$ wine NeocronLauncher.exe

This will allow you to watch for any other DLL conflicts/needs and rectify them. You can now start your game patched up!