Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Feb 9, 2022
1 parent b334dc1 commit 161829a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ Lua scripting is still buggy and unfinished and the **API might change**, althou
+ If you have lag or crashes, check previous question.
- If you're running **Linux**
+ The game and OL should run fine with the latest Wine if you install DXVK.
+ Also works with Proton 5.13+ if you first start the game on Steam and then run `STEAM_COMPAT_DATA_PATH=~/.steam/steam/steamapps/compatdata/418530 WINEPREFIX=~/.steam/steam/steamapps/compatdata/418530/pfx ~/.steam/root/steamapps/common/Proton\ 5.13/proton run ~/.steam/steam/steamapps/common/Spelunky\ 2/Overlunky/Overlunky.exe` adjusting the paths for your setup.
+ Also works with [proton-ge-custom](https://github.com/GloriousEggroll/proton-ge-custom) using the [command line switch](#command-line-switches) from Steam.
+ Also works with [Proton-GE](https://github.com/GloriousEggroll/proton-ge-custom) using the [command line switch](#command-line-switches) `--launch_playlunky ..` for a non-Steam game shortcut. Just make sure the game and the OL shortcut are set to use Proton-GE.
+ Put the Segoe UI ttf files to your wineprefixes Windows/Fonts to show the ui correctly.
+ You're still mostly on your own here, this is a Windows 10 program for a Windows 10 game.
- If you **don't have scripts** in the Scripts tab
Expand All @@ -153,4 +152,6 @@ cmake --build . --config Release --target ALL_BUILD
The binaries will be in `build/bin/Release/`. You can also try the scripts in `.vscode` with VSCode. Set `OL_DEBUG=1` in the *game environment* to enable logging to console.

## Command line switches
- `--launch_game <path_to_game_directory>` will launch Spel2.exe from that directory and hook to the game process, rather than trying to find it. Might be useful on linux for example.
- `--launch_game <path_to_game_directory>` will launch Spel2.exe from that directory and hook to the game process, rather than trying to find it.
- `--launch_playlunky <path_to_game_directory>` will launch playlunky_launcher.exe from that directory and hook to the game process.
These can be used with Steam, also on Linux, by adding Overlunky.exe as a non-Steam game and adding to launch options.
2 changes: 1 addition & 1 deletion src/injector/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ int main(int argc, char** argv)
WaitForInputIdle(pi.hProcess, 1000);

INFO("Waiting a few seconds before injecting...");
std::this_thread::sleep_for(10s);
std::this_thread::sleep_for(5s);

CloseHandle(pi.hThread);
}
Expand Down

0 comments on commit 161829a

Please sign in to comment.