All Projects → SnoutBug → BeamNG_terrainMaterialCache

SnoutBug / BeamNG_terrainMaterialCache

Licence: other
BeamNG.drive Black Terrain fix for Linux and Mac

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to BeamNG terrainMaterialCache

AreWeAntiCheatYet
A comprehensive and crowd-sourced list of games using anti-cheats and their compatibility with GNU/Linux or Wine.
Stars: ✭ 289 (+256.79%)
Mutual labels:  steam, proton, wine
ProtonUp-Qt
Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface.
Stars: ✭ 578 (+613.58%)
Mutual labels:  steam, proton, steamdeck
PlayOnGit
Launch your games on Linux directly from the start menu, with excellent performance.
Stars: ✭ 31 (-61.73%)
Mutual labels:  proton, wine
BoilR
Synchronize games from other platforms into your Steam library
Stars: ✭ 664 (+719.75%)
Mutual labels:  steam, steamdeck
Conty
Easy to use unprivileged Linux container packed into a single portable executable
Stars: ✭ 198 (+144.44%)
Mutual labels:  steam, wine
wine-portable-executable
Wine builds packed into portable executables
Stars: ✭ 85 (+4.94%)
Mutual labels:  proton, wine
protonup
Install and Update Proton-GE
Stars: ✭ 436 (+438.27%)
Mutual labels:  steam, proton
Steamforwarder
steam_api.dll implementation for wine. Your windows games now can interact with your linux steam! (This repo mirrors https://gitlab.com/xomachine/SteamForwarder)
Stars: ✭ 190 (+134.57%)
Mutual labels:  steam, wine
Protontricks
A simple wrapper that does winetricks things for Proton enabled games, requires Winetricks.
Stars: ✭ 182 (+124.69%)
Mutual labels:  steam, wine
Proton Caller
Run any Windows program through Proton
Stars: ✭ 130 (+60.49%)
Mutual labels:  steam, wine
wine-launcher
Wine Launcher - Running Windows games under Linux
Stars: ✭ 249 (+207.41%)
Mutual labels:  proton, wine
gtasa-savegame-editor
GUI tool to edit GTA San Andreas savegames.
Stars: ✭ 56 (-30.86%)
Mutual labels:  proton, wine
lighttpd-Link
A lighttpd powered lightweight web server for the Steam Link
Stars: ✭ 21 (-74.07%)
Mutual labels:  steam
deepin-wine-qq-arch
Tencent QQ on Deepin Wine5(com.qq.im.deepin) For Archlinux
Stars: ✭ 274 (+238.27%)
Mutual labels:  wine
Adium-Steam-IM
Adium protocol plugin to support Steam instant messaging
Stars: ✭ 50 (-38.27%)
Mutual labels:  steam
notepad-plus-plus
Unofficial snap repo for notepad-plus-plus snap
Stars: ✭ 51 (-37.04%)
Mutual labels:  wine
CallAdmin
CallAdmin is a multilingual sourcemod plugin which provides in-game report functionality
Stars: ✭ 52 (-35.8%)
Mutual labels:  steam
Game-Assets-And-Resources
Free and paid game assets and game resources for 2D games, 3D games, mobile games, Steam games, Unity games, and other games.
Stars: ✭ 164 (+102.47%)
Mutual labels:  steam
steam-group-members
A node module to get a steam groups members list using promises.
Stars: ✭ 17 (-79.01%)
Mutual labels:  steam
CSGOItemDB
An API to retrieve accurate CS:GO prices for high- and low-tier items
Stars: ✭ 35 (-56.79%)
Mutual labels:  steam

There is a Linux Port available, see post on BeamNG.drive Forums

The port is experimental, I will therefore keep this repository online for the time being should there be any issues. But please do give it a shot!

Textures will load normally when using Proton Experimental Bleeding Edge. The steps below are no longer required if you can switch.

Cached Texture files for BeamNG

Hack to fix the Black Terrain found after the 0.24 release on Linux using Proton/Wine or Mac using Crossover

Massive thanks to every contributor for providing the pre-generated textures for this transplant.

[Script] Usage

Paste the following command into your terminal (Note: This script will only work on Linux Systems, Mac users go here)

curl https://raw.githubusercontent.com/SnoutBug/BeamNG_terrainMaterialCache/main/auto_update.py | python3 -

You're done! Troubleshooting

[Manual] Usage (Steam - Proton)

Default Maps

Please verify that this path exists BEFORE using the commands below

~/.steam/root/steamapps/compatdata/284160/pfx/drive_c/users/steamuser/AppData/Local/BeamNG.drive/0.26/temp/art
mkdir ~/.steam/root/steamapps/compatdata/284160/pfx/drive_c/users/steamuser/AppData/Local/BeamNG.drive/0.26/temp/art
cd "$_"
url=github.com/SnoutBug/BeamNG_terrainMaterialCache/releases/download/default/
wget ${url}etk.tar.gz
wget ${url}jri.tar.gz
wget ${url}utah.tar.gz
wget ${url}derby.tar.gz
wget ${url}hirochi.tar.gz
wget ${url}industrial.tar.gz
wget ${url}gridmap_v2.tar.gz
wget ${url}small_island.tar.gz
wget ${url}east_coast_usa.tar.gz
ls *.tar.gz | xargs -n 1 tar -xvf
rm *.tar.gz
cd ~/

BeamNG Repository (Mods)

  1. Look at the URL of your map (eg. www.beamng.com/resources/natural-playground.18030/)
  2. Copy the number behind the period (18030) to the following URL like this: www.github.com/SnoutBug/BeamNG_terrainMaterialCache/releases/tag/18030
  3. If the page exists, you will find a one-liner in the release's description which you can then use to downlad the textures

Troubleshooting

The above mentioned path did not exist

  1. Open your Steam Library and find BeamNG.drive
  2. Right Click > Manage > Browse Local Files
  3. Right Click > Open Terminal (or find a different way to do so)
  4. Use the following command
mkdir ../../compatdata/284160/pfx/drive_c/users/steamuser/AppData/Local/BeamNG.drive/0.26/temp/art
  1. If successful: Copy the all commands from above (excluding the first one)

Running the Game with WINE

  1. Find the equivalent of: %localappdata%\BeamNG.drive\0.26\temp\art\terrainMaterialCache
  2. Modify the command below if need be
mkdir ~/.wine/drive_c/users/$USER/AppData/Local/BeamNG.drive/0.26/temp/art
  1. If successful: Copy the all commands from above (excluding the first one)

Running the game with CrossOver - Mac

  1. Select your Bottle towards the left of crossover
  2. Open advanced options and click on the Open C: drive button
  3. Finder will open, navigate to /users/crossover/Local/AppData/BeamNG.drive/0.26/temp/art
  • Should the temp or art folders not exist, create them.
  1. Once inside the art folder, open the Terminal at the current location
  2. Use the commands above excluding the first two (mkdir and cd)

Generating your own Textures

To generate textures yourself, you can modify and run the command below.

MAP="italy" && curl https://raw.githubusercontent.com/SnoutBug/BeamNG_terrainMaterialCache/main/generate_textures.py | python3 - $MAP

In this case the textures for Italy will be generated. To generate textures for mods, make sure that the mod is placed in /home/$USER/.local/share/BeamNG.drive/

Contribute

You created a map using a PBR terrain and want to contribute

  1. Delete all files in %localappdata%\BeamNG.drive\0.26\temp\art\terrainMaterialCache
  2. Load up your map and only your map
  3. Copy all files inside of %localappdata%\BeamNG.drive\0.26\temp\art\terrainMaterialCache into an archive
  4. Upload the archive
  5. Use this link for further steps

Links

Initial discussion on the forum

Linux Port

Dedicated issue on Valve's GitHub for Proton

BeamNG.drive on ProtonDB

Tutorial on YouTube

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].