https://github.com/vulcan-dev/beamng-nsb
https://github.com/vulcan-dev/beamng-nsb
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vulcan-dev/beamng-nsb
- Owner: vulcan-dev
- Created: 2024-05-13T20:05:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-18T00:28:17.000Z (about 2 years ago)
- Last Synced: 2025-02-28T08:32:30.946Z (over 1 year ago)
- Language: C
- Size: 177 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What is this?
This project simply removes some restrictions on BeamNG.drive. It works by patching memory or hooking functions in the game. To use it, simply place `winmm.dll` in the game directory and then use whichever argument(s) you want below. If you don't specify anything, then nothing will happen, the game won't get touched. And the `-c` part is the prefix I have, that way there's no conflicts with the real game arguments.
I also don't see anyone ever even using this, there's not really much point of it. I get to mess around with the game though, so yeah :)
## Installation
Simply download `winmm.lib` and `signatures.json` from the releases and put them in the game's `Bin64` folder (in the installation path, not where mods and other stuff is located).
All you have to do then is launch the game with the argument specified above. It works because programs automatically load dll's like `winmm`.
(Also, the `nsb` stands for "no sandbox". That's what it was originally called, but the function that I hook doesn't really handle that, it only handles loadlib)
## Commandline Arguments
- `-c-allow-loadlib` : Allows functions such as `loadlib`, `ffi.load` and maybe others.
- `-c-unrestrict-openwebbrowser` : Unrestricts the `openWebBrowser` (as of recently (0.30 or 0.31), they secured this function (to some extent..), this will just remove those restrictions)