Jump to content

Spawn

UHQ Community Staff
  • Posts

    280
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Spawn

  1. On 10/31/2022 at 11:33 PM, Glurak said:

    thats right

     

    i install the 2 Disk German Version normally.  Installed Patch 1.3

    And then i copied the modernizer2 Beta 2c in the root of the game.  After that Text is english voice is german. I did nothing else  as described here. except nolf2 exe is running as admin and xp2 compat mode. 

    The reason why your text is in english after enabling modernizer is that the rez file contains a updated CRES.DLL file which contains all the text in the game. New things were added to the ingame menus that required new strings to be made.

    You can edit the rez and remove CRES.DLL or use the multilingual mod which I believe replaces the modernizer CRES.DLL with the v1.3 one. This will result in missing text in the menus but your game will run in other languages.


     

    Quote

    But i can't Realy recommended the Modernizer Mod for SP , i ll still prefer the 1.3 Retail + Widescreen !

    In most cases when running without modernizer you'll need to limit FPS down to 60 as well.

  2. On 8/11/2022 at 10:16 PM, Mefionir said:

    in reality I have limited myself only to replacing the original sound.rez file. being an Italian user I didn't need to keep the original English file😅

    maybe I'm wrong for the customization but it works really well for me if combined with the subtitle mod ita.

    Btw, here is a version of Modernizer with a updated Italian language file: 

    NOLF_Modernizer_Italian_1006.rar

    (Updated translations by Gassosa, also contains translations of the new menu)

    Also German has been updated for modernizer:

    NOLF_Modernizer_German_1006.rar

  3. I suppose that the easiest way to use it would be backing up your original English sound.rez file from the Nolf2 base directory and replace it with this one. Otherwise you would have to run it as a mod and that would prevent you from running other mods/updates.

  4. Nolf Custom map pack 2022


    Custom Maps made by various community mappers

    This installer will automatically find your No One Lives Forever installation and put the needed rez file into your Custom folder.
    There will be no trace from the installer when installation is done.
    No uninstall function or registry key.
     
     
    To uninstall simply delete 2022_CUSTOM_MAP_PACK.REZ from your custom folder.


     

  5. spacer.png

    This mappack comes as a installer and also a rar file, it is up to you.


    Download here

    Featuring 8 brand new multiplayer maps:

    Deathmatch:
        Heavy Weapons ( by Legbat)
        Worlds Apart (by Legbat)
        Cargoship (by Black Cat)
        Termination Station (by Legbat)
        Corridors 2021 (by Spawn)

    Harm vs Unity:
        Hell on Earth revisited (by Legbat)
        Highrise Sniper (by Legbat)
        Worlds Apart (by Legbat)
        Alien World (by Legbat)
        Corridors 2021 (by Spawn)

    This map pack also contains all maps released in previous versions of the Nolf1 map packs. All textures that previously replaced textures from the original game is now removed from the mappack and levels that previously didn't have a load image now has one.

    • Like 1
  6. That version works alright. The main difference in this version is that it has a modified version of Nolf.exe that will load a widescreen patch Named WidescreenGOTY.  You may want to break the link there and remove/rename the file WidescreenGOTY.rez located in the game folder and use only Nolf1 Modernizer 1.006 instead. This is the most used version for playing online as well.

    Nolf.exe and Lithtech.exe should run with administrator privileges, this is usually why the game fails to save changes in keybinds.

  7. On 4/16/2022 at 12:16 AM, ex3meGER said:

    Hi,

    does is still work with the Modernizer Mod what pushes the version to 1.6 ?
    Since that update it seems I can't find my own hostet server anymore ?

    This update has a new master server, so it won't show up on qtracker. You also need to forward the port you're using and also the next port after that.
    So if you use port 27888, you will need to forward 27888 and 27889.

  8. I decided to run a couple of Nolf2 dedicated servers and this lead into a little tutorial about how it can be setup easily for anyone, even with limited knowledge of linux. Figured I'd post it here as well :)

    Linux distro used: Linux Mint 20.3 Cinnamon v5.2.7
    Linux Kernel: 5.4.0-107-generic
    Winetricks version: 20220411
    Wine version: 7.0

     

    1) Install Wine

    Wine is an open-source compatibility layer that allows you to run Windows applications on Unix-like operating systems such as Linux. I will be installing the latest stable version from winehq.org in this setup.

    Open up a terminal

    If your system is 64 bit, enable 32 bit architecture:

    sudo dpkg --add-architecture i386

    Download and add the repository key:

    wget -nc https://dl.winehq.org/wine-builds/winehq.key

     

    sudo mv winehq.key /usr/share/keyrings/winehq-archive.key

    Add the repository:

    wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources
    sudo mv winehq-focal.sources /etc/apt/sources.list.d/

    Update packages:

    sudo apt update
    sudo apt install --install-recommends winehq-stable

     

    2) Install Winetricks

    The normal install is either through the software manager or command line:

    sudo apt-get install winetricks

    Update it:

    sudo winetricks --self-update

     

    3) Setup a wine Prefix for Nolf2

    Just to explain this concept so that people who aren't used to dealing with this will understand how it works, a few programs such as NOLFSrv.exe for Nolf1 will run out of the box without any extra dependencies. Other software like Nolf2Srv.exe needs extra windows components in order to function.  

    I have my custom wine prefixes (also refered to as wine bottles) in a directory named Wine in my user's home directory.
    Each program should have its own prefix, unless they are somewhat related and runs with the same dependencies.

    So in a nutshell:
    wine1.png

    Here are 3 examples who have their own separate registry, dll files, "C:\ drive" and other windows components.
    This is where Winetricks becomes relevant. You use this program to choose what extra components the program needs to function.

    Let's create a wine prefix for Nolf2

    From this point forward, you won't need sudo rights to configure the rest. This means that you can create a user with limited privileges who will run the game server.

    Nolf2 is a win32 application, so we specify that with WINEARCH=win32, we also want to create the wine prefix, and last we put in the wine command that will create this prefix. I also prefer short names on folders when dealing with terminal, less to write and less problems with spaces. So I'll name my prefix folder nolf2 rather than No-One-Lives-Forever-A-Spy-In-Harms-Way.

    WINEARCH=win32 WINEPREFIX=~/Wine/nolf2 winecfg


    (~ is short for /home/<your username>)

    After running this command, this window will eventually appear:

    wine2.png

    I'll choose Windows 7 here because I am not sure how the 2015 C++ redistributables will react to for example Windows XP.

    You can then close the window.

    To make Nolf2Srv run in wine, you'll need a couple of dependencies
    Back in your terminal change the last word to winetricks

    WINEPREFIX=~/Wine/nolf2 winetricks

    This window will magically appear

    winetricks1.png

    Select the default wine prefix

    winetricks2.png

    And choose to install a windows dll or component

    winetricks3.png


    vb6run - should take care of the original code for the game[/td][/tr]
    vcrun2015 - or newer should work just fine for the modernizer code
    vcrun6 - I suspect that I needed this in order to pass arguments to NOLF2Srv


    Install these and most likely ignore a lot of errors, if they don't install all at once, try installing them one by one.

    When you're back to the main windows in winetricks, you click cancel to exit.

    Tada, the prefix is ready!

     

    4) Copy over Nolf2

    When you go into Wine --> nolf2 (your wineprefix) you will find a bunch of newly created stuff
    This folder named drive_c is now your C:\ drive

    bottle1.png

    In there you will also find some familiar windows component that has a minimum of what Nolf2Srv needs to function

    bottle2.png

    This is where I make another folder named nolf2, and copy the game (in preinstalled form) into it.

    To finally test if the whole thing even runs, type this into your terminal

    WINEPREFIX=~/Wine/nolf2 wine ~/Wine/nolf2/drive_c/nolf2/nolf2srv.exe

    nolf2srv.png

    If everything works, you should see this, you may or may not be able to choose a profile to load. I could never get the dropdown menu for profiles show up in linux. ERROR - Unable to load resources simply means that it cannot find your profiles.

    To load the server with a flag/argument you will need to alter the command slightly

    WINEPREFIX=~/Wine/nolf2 wine start /unix ~/Wine/nolf2/drive_c/nolf2/nolf2srv.exe -profile spawn

    This will load a profile named spawn, just replace this name with your own profile name.

     

    5) Create a new profile

    NOTE: Make sure that lithtech.exe runs with admin privledges

    In order for the profile to work with modernizer v1.4M, it is a good idea to create a new profile from scratch, select:

    profile1.png

    Create a new profile and type in a profile name, hit ok and back

    profile1a.png

    Next step is to start a new server by clicking Multiplayer (internet),
    then select the game type you want to host.

    Select Host, and this screen appears

    profile3.png

    Click Campaign and create a new campaign

    profile4.png

    The name here can be anything, this is not the one you pass on to the server later
    Next up is map selection, this explains itself pretty well.

    profile5.png

    Next you should set a network port and forward this port and the next one in your firewall.
    In this case port:27892 and port:27893

    Make sure Dedicated Server is set to Yes
    and finally click Launch

    profile6.png

    This will create everything you need in your game folder in order to run dedicated with the stand alone NOLF2Srv.exe

     

    6) Copy profile over to the linux server

    Open your Profiles folder on the computer you used to configure your game server and copy your <profile.txt> and the folder with the same name over to the Profiles folder on the server.

    Also make sure that your DMMissions.txt and DDMissions.txt from the game folder are the same as the ones you have on the computer where you configured the game server.

    profile_spawn.png

    Let's start this thing:

    WINEPREFIX=~/Wine/nolf2 wine start /unix ~/Wine/nolf2/drive_c/nolf2/nolf2srv.exe -profile spawn

    server_running.png

    If the Running time counter starts to run, it should work  ?

     


    7) Keep it alive

    Nolf2 servers tend to crash from time to time, so a auto restart function could be a good idea.

    My initial plan was to have Crontab running a check every minute to see if the server was alive or not, but Wine doesn't seem to be friends with Crontab. This is why I ended up creating a launcher that starts the server + a script that will guard it.

    First of all, you would want to shut down any display of error messages after a crash, this will prevent the script from restarting Nolf2srv.exe. Launch Winetricks:

    WINEPREFIX=~/Wine/nolf2 winetricks

    Select the default wineprefix

    winetricks1.png

    This time choose "Change settings"

    winetricks4.png

    Then disable the crash dialog by selecting nocrashdialog

    winetricks5.png

     

    Open up your favorite text editor and copy/paste this:

    #!/bin/bash
    	while :
    do
    	(/bin/ps aux | /bin/grep -v 'grep' | /bin/grep 'nolf2srv' 2>&1 >/dev/null || WINEPREFIX=~/Wine/nolf2 wine start /unix ~/Wine/nolf2/drive_c/nolf2/nolf2srv.exe -profile spawn)
    	sleep 60
    done

     

    You'll need to change profile and path to your likings.

    This little script will search for the process nolf2srv and execute the start server command if the process doesn't exist. This function is packed into a while loop that will run every 60 seconds and will go on forever.

    I saved it as nolf2dm.sh in my Wine folder and made it executable.

    chmod +x ~/Wine/nolf2dm.sh

    or go into the file's properties -> Permissions and check Executable : Allow executing file as program

    executable.png

     

    You can now start the server and script by command

    sh ~/Wine/nolf2dm.sh

    If you prefer a clickable button on your desktop, this can be done by right clicking the desktop and creating a new launcher with the command:

    /home/<your username>/Wine/nolf2dm.sh

    The launcher needs full path, ~ won't work here.

     

    That should be it :)

     

     

     

  9. On 10/17/2021 at 2:12 AM, madmaxgamer said:

    As the title says, im stuck at this step. I have extracted textures from REZ files, Opened DTX with viewer, sent to editor, upscaled it, exported to DDS for some reason, and now how do i turn it back into DTX to put in a REZ file, so the game reads it as a replacement ?

    The viewer also support DDS which is the newer replacement for DTX for games such as F.E.A.R.. The best way in my opinion is to mass import TGA or PCX files directly into DEDIT.
    Dedit versions from 2.1 -> Jupiter can read the same DTX version. (DTX from Lithtech 1.0 -> 1.5 is a older unsupported format for nolf)

  10. On 8/16/2021 at 7:25 PM, Wokkun said:

    This thread can be closed.

    ---

    I messed around a bit and figured it out. I use a AMD card, so I used dgvoodoo and set my resolution to the default settings in the NOLF launcher, now it runs as smooth as butter.

    Such a blast to play this classic again after all these years!

    Good to hear that you got it working.. We also play online every Saturday (and sometimes Sunday) at 3pm EST / 21.00 GMT (ish)

     

  11. Have you attempted to run nolf1 and nolf2 using the modernizer updates? I am not able to play nolf1 or 2 without them anymore after getting a new computer.

    The modernizer updates will fix graphic issues in many cases, resolution, input system, multiplayer and more..

    Nolf 1

    Nolf 2

    As for contract J.A.C.K there is no fix yet..

    Also if you can avoid it, try to install the games on a different drive than C:\ due to windows 10's "fantastic" DEP system that will prevent nolf from running in many cases.

    (https://www.online-tech-tips.com/windows-xp/disable-turn-off-dep-windows/)

     

  12. On 1/12/2021 at 6:50 PM, Max24 said:

    I had no success trying to combine the different Modernizer versions and the "Object.LTO" from various REZ files. Either NOLF crashes while starting a level, or the game crashes at random occasions (for example when a shot misses the target).

    If I'm not mistaken, Objects.lto contains most objects in the game. from AI reactions to hinged door behavior etc. The modernizer one is built with VS2019 and probably needs the 2015 or newer c++ redist update to work.. (untested, Hey Jake would know for sure)

    when you load the modernizer, or any update/mod that contains a version of objects.lto then file version in the last rez loaded is the one that the game will use. The others will be ignored by the engine.

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines Privacy Policy.