Author Topic: MW:LL mod running on GNU/Linux  (Read 977 times)

0 Members and 1 Guest are viewing this topic.

Offline cest73

  • Star Captain
  • ***
  • Posts: 752
  • l33tp0intz: +21/-19
  • there are links in my signature -->
    • MW:LL game status online (kudos: Spooky)
MW:LL mod running on GNU/Linux
« on: July 24, 2016, 08:01:56 PM »
hi,
i'm not even sure this belongs here or in the install section.

I'm trying (hard) to get this mod to work on Wine on GNU/Linux

I had it "play" the first time ever in my "32bit prefix" this afternoon

the backup is on the way

then i will try recreate the exact step that made it work this time (ever).

my PC:
4GB ram (so no big deal)
4x @3.16GHz X5460 "Xeon" 771/775 modded CPU (don't ask, just don't :) - but no big deal)
HD6770 Radeon (by far no big deal - but Radeon bear with me)
Sata2 HDD (5400RPM so no big deal either)
19" VGA TFT ("blue vga connector - an ancient monitor)
all else is no big deal

BIG DEAL:
* Slackware64 14.2 (the most recent one) the 64 bit version
* multilib by Alien BOB step by step true to guide (for WoW64 - big deal - but easy done)
* sbopkg - downloaded and installed 0.38 the actual - newest for 14.2 (big deal)
* Alien BOB's wine.Slackbuild from his repo - edited a bit (tweaked) and made for 1.5.52 wine
* 1.7.52 (so older one) multilib built wine
(note maybe more steps here)
* ran the winecfg and enabled all staging options
* installed the beta installer with no trick whatsoever
* started the game with -dx9 -mod MWLL options

and it ran!

so i seek what made it come to life now (waiting backup ~9GB)


note: no proprietary drivers used (no EULA) so far :)

read you soon

Offline cest73

  • Star Captain
  • ***
  • Posts: 752
  • l33tp0intz: +21/-19
  • there are links in my signature -->
    • MW:LL game status online (kudos: Spooky)
Re: MW:LL mod running on GNU/Linux
« Reply #1 on: July 24, 2016, 11:07:35 PM »
got it render;
got it to show hosts (via gamespy fix);
got it even to download map (stone rose?);
can't get it to play (yet)

stay tuned...

P.S.
it seems to be a issue of routing or so (ICMP errors, UDP won't go through?)

Offline cest73

  • Star Captain
  • ***
  • Posts: 752
  • l33tp0intz: +21/-19
  • there are links in my signature -->
    • MW:LL game status online (kudos: Spooky)
Re: MW:LL mod running on GNU/Linux
« Reply #2 on: July 25, 2016, 12:41:03 PM »
so far the problem:
1. i get to list servers in game
2. can't login to none of the listed servers (ICMP error for some reason?)

I. can't run bruno's tool in wine at all ?

investigating further

Offline cest73

  • Star Captain
  • ***
  • Posts: 752
  • l33tp0intz: +21/-19
  • there are links in my signature -->
    • MW:LL game status online (kudos: Spooky)
Re: MW:LL mod running on GNU/Linux
« Reply #3 on: July 25, 2016, 08:50:51 PM »
hope anyone is reading this at all

got to game

had even a training with two players @9 FPS (at times even 13!)

open source drivers
wine
mesa
something about acceleration is sluggish ???

to get to game i need to use connect to IP button on the server list menu.

at least it works so far

i report further progress

Offline thEClaw

  • Star Captain
  • ***
  • Posts: 976
  • l33tp0intz: +75/-0
Re: MW:LL mod running on GNU/Linux
« Reply #4 on: July 26, 2016, 06:38:23 AM »
I am following your thread, it would be nice to see MWLL working under Linux. I haven't played in years, since I banned Windows from my PC.

Offline Bruno_007

  • Apprentice Dev
  • Star Captain
  • *
  • Posts: 833
  • l33tp0intz: +90/-0
  • Osiris hats: sold out. ~Str1k3r
Re: MW:LL mod running on GNU/Linux
« Reply #5 on: July 26, 2016, 10:36:51 AM »
This apparently works for Warface (another CryEngine game):

Code: [Select]
#!/bin/bash
# Date : (2016-05-23 12:12)
# Last revision : (2016-05-23 12:12)
# Wine version used : 1.9.9
# Distribution used to test : Debian 8 (Wheezy)
# Author : Jimy Byerley
# License : GNU/GPL v3

## Beta script ##

[ "$PLAYONLINUX" = "" ] && exit 1
source "$PLAYONLINUX/lib/sources"

TITLE="Warface"
PREFIX="Warface"
EDITOR="Crytek"
GAME_URL="http://www.warface.com/"
AUTHOR="Jimy Byerley"
GAME_VMS="256"
STEAM_ID="291480"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2346

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.9.9"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Install mandatory dependencies
POL_Call POL_Install_xact
POL_Call POL_Install_xinput
#POL_Call POL_Install_d3dx9

# Prepare Steam
POL_Call POL_Install_steam
POL_Call POL_Install_steam_flags "$STEAM_ID"

# Run the install
POL_Wine_WaitBefore "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"

# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" "Game;"

#Closing POL
POL_SetupWindow_Close
exit 0
From here: https://www.warface.com/forum/viewtopic.php?t=5153&p=29648

Uses PlayOnLinux and Wine. Adapt the script to remove the "STEAM" parts of the code (POL_Call POL_Install_d3dx9 is commented out for some reason). Can't attest for the performance.

In your current setup, AMD doesn't has decent GPU drivers for linux? That could improve your game performance.
Tools and I:
   - MWLL Online Launcher (LAN UDP Forwarder) - evolution of past "Le Proof of Concepto" project: connect without Gamespy via packet redirection;
   - Vehicle Browser - "Pocket Wiki" Šokaolias (not really that though);
   - Rconnect 4.3 - Server tools: map manager/player voting add-ons;
   - CryHammer - Validates Patch/CDKey of Crysis Wars (now unable to validate CDKey due to turned off Gamespy servers).

Offline Vic-Viper.v1

  • Moderator
  • Recruit
  • *
  • Posts: 96
  • l33tp0intz: +15/-3
Re: MW:LL mod running on GNU/Linux
« Reply #6 on: July 27, 2016, 10:11:17 AM »
then after your in the server list Screen  open yout Console  and type      Connect ServerAddress       Make sure to incluse port so it looks liek this "Connect 199.233.247.149:64107"    <- - - Huntress Caosmarch

Offline cest73

  • Star Captain
  • ***
  • Posts: 752
  • l33tp0intz: +21/-19
  • there are links in my signature -->
    • MW:LL game status online (kudos: Spooky)
Re: MW:LL mod running on GNU/Linux
« Reply #7 on: July 28, 2016, 07:49:45 AM »
hi there, kind thanks for the support :)

i was in for a "just works" metod.

heavy hacking is seldom a "catch it all" ;)

so far what works
1. on officially installed untainted 14.2 Slackware
2. install native slackware package of WINE-1.9.14 from sourceforge
3. install the game on GUI (no hacks needed)to default empty "prefix"
4. a script:
 
Code: [Select]
# to be posted
# cd into bin32 gamefolder
# wine crysis with -dx9 -mod MWLL
and it starts!
5. install gamespy fix as per install howto
6. now server browsing works also
7. all wait to connect was futile (icmp errors???)
8. typing connect in console futile also ???
9. connect to ip newer failed yet - tiresome though

my hd 6770 aka Juniper XT goes  13...9 fps
so far
imho due to wine threading and dx9 to GL conversion overhead

i used many wine (pun) but stock 32bit 1.9.14 works
didn't even need winetricks, let alone playonlinux
i had it initially working on 1.7.52-staging
why Slackware? long term support and stability of updates, just avoid current branch for production ;)

Offline cest73

  • Star Captain
  • ***
  • Posts: 752
  • l33tp0intz: +21/-19
  • there are links in my signature -->
    • MW:LL game status online (kudos: Spooky)
Re: MW:LL mod running on GNU/Linux
« Reply #8 on: August 09, 2016, 11:10:11 PM »
for those following this thread,
do please switch to here :]

from now on i will post there