Posted June 01, 2017
high rated
I've put together a Wine wrapper for Fallout: New Vegas, allowing it to be played on Linux almost like a native game & with no Wine knowledge required.
Simply run the build script to create the wrapper. If the installer files are not alongside the wrapper build files then the path to them will need to be specified either by passing it as an argument to the build script with -respath="<path>" or by setting an environment variable named WINEWRAP_RESPATH containing it. You can change the path to build the wrapper in and the name of the wrapper directory with the -buildpath= and -dirname= arguments. The build path can also be set with the WINEWRAP_BUILDPATH environment variable.
The output will be a directory containing the game set up within a preconfigured Wine prefix, along with its own copy of Wine, extracted game icons, documentation, and start script(s). From there simply run the start script to play. The start script also includes options for creating a shortcut, configuring the wrapper etc.
(to uninstall simply delete the game directory and any shortcuts you created, and the game's user data directory in ~/.local/share if you don't want to keep your saves & settings)
User data is stored under ~/.local/share/falloutnv
Full details are in the readme.txt and release notes. Here is the download link:
falloutnv_wine.tar.xz
(46.3 kB, SHA256: ac415925e0a4f71444a676c2c51c0c475c12dfef4a24315e83d5cb96efdbb400)
Last updated 2021/07/11
The wrapper uses Wine 6.0 + DXVK. Wine and Winetricks will be downloaded automatically if not present; to avoid redownloading for other scripts the downloaded Wine package will be stored in ~/.cache/winewrap
In addition to Wine and Winetricks, Wine Mono will also be downloaded. This will be stored in ~/.cache/wine to save having to redownload it if it's needed again for something else.
If anyone runs into any problems with this then post in this thread, Adamhm's Linux Wine Wrappers - News, FAQ & Discussion and/or The "Judas™ does this run in Wine" thread v1.173.
Using New Vegas Script Extender (NVSE)
The start script includes options for running custom commands and creating custom shortcuts for mods, tools/utilities etc. such as NVSE. To use NVSE with this wrapper:
- Install NVSE into the game's directory inside the Wine prefix as you would on Windows (this can be found at <wrapper dir>/prefix/drive_c/Fallout New Vegas)
- You can then launch it by running the start script with the argument: runwine=nvse_loader.exe
- You can create a shortcut to use NVSE automatically. Run the start script with no arguments to bring up the menu, select the option to create a shortcut, and set the shortcut arguments to: runwine=nvse_loader.exe
This approach can be used for running other launchers & mod managers etc. Read the release notes for more details on the various launch options and script features.
Compatibility with certain mods
Certain other mods such as texture packs may require some additional components to work properly. These can be installed through Winetricks, which can be accessed from the advanced options section of the start script's menu. d3dx9_38 was required for at least one texture pack; other libraries may also be required for other mods.
For more of my Linux Wine wrappers check out post 3 in this thread: Adamhm's Linux Wine Wrappers - News, FAQ & Discussion
Simply run the build script to create the wrapper. If the installer files are not alongside the wrapper build files then the path to them will need to be specified either by passing it as an argument to the build script with -respath="<path>" or by setting an environment variable named WINEWRAP_RESPATH containing it. You can change the path to build the wrapper in and the name of the wrapper directory with the -buildpath= and -dirname= arguments. The build path can also be set with the WINEWRAP_BUILDPATH environment variable.
The output will be a directory containing the game set up within a preconfigured Wine prefix, along with its own copy of Wine, extracted game icons, documentation, and start script(s). From there simply run the start script to play. The start script also includes options for creating a shortcut, configuring the wrapper etc.
(to uninstall simply delete the game directory and any shortcuts you created, and the game's user data directory in ~/.local/share if you don't want to keep your saves & settings)
User data is stored under ~/.local/share/falloutnv
Full details are in the readme.txt and release notes. Here is the download link:
falloutnv_wine.tar.xz
(46.3 kB, SHA256: ac415925e0a4f71444a676c2c51c0c475c12dfef4a24315e83d5cb96efdbb400)
Last updated 2021/07/11
The wrapper uses Wine 6.0 + DXVK. Wine and Winetricks will be downloaded automatically if not present; to avoid redownloading for other scripts the downloaded Wine package will be stored in ~/.cache/winewrap
In addition to Wine and Winetricks, Wine Mono will also be downloaded. This will be stored in ~/.cache/wine to save having to redownload it if it's needed again for something else.
If anyone runs into any problems with this then post in this thread, Adamhm's Linux Wine Wrappers - News, FAQ & Discussion and/or The "Judas™ does this run in Wine" thread v1.173.
Using New Vegas Script Extender (NVSE)
The start script includes options for running custom commands and creating custom shortcuts for mods, tools/utilities etc. such as NVSE. To use NVSE with this wrapper:
- Install NVSE into the game's directory inside the Wine prefix as you would on Windows (this can be found at <wrapper dir>/prefix/drive_c/Fallout New Vegas)
- You can then launch it by running the start script with the argument: runwine=nvse_loader.exe
- You can create a shortcut to use NVSE automatically. Run the start script with no arguments to bring up the menu, select the option to create a shortcut, and set the shortcut arguments to: runwine=nvse_loader.exe
This approach can be used for running other launchers & mod managers etc. Read the release notes for more details on the various launch options and script features.
Compatibility with certain mods
Certain other mods such as texture packs may require some additional components to work properly. These can be installed through Winetricks, which can be accessed from the advanced options section of the start script's menu. d3dx9_38 was required for at least one texture pack; other libraries may also be required for other mods.
For more of my Linux Wine wrappers check out post 3 in this thread: Adamhm's Linux Wine Wrappers - News, FAQ & Discussion
Post edited July 11, 2021 by adamhm