Skip to content

Commit

Permalink
add backlayer_shop_type, update readme, try to blindly fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Feb 16, 2022
1 parent cfc11e9 commit 2ae3078
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ Current features and their *default* keyboard shortcuts. Note: There's a LOT of
- **"reset/reload"**: Clear all callbacks made in the console
- **"quit"**: Ragequit
- **Ctrl+Shift+K**: Edit keybindings
- **Ctrl+Shift+U**: Change UI color. You can also change the font in the ini.
- **Ctrl+Shift+I**: ImGui internal metrics and settings
- **Ctrl+Shift+S**: Save options, hotkeys and UI colors
- **Ctrl+Shift+L**: Load options, hotkeys and UI colors
- **Ctrl+Shift+D**: Detach active tab in tabbed interface
Expand Down Expand Up @@ -130,9 +128,8 @@ Lua scripting is still buggy and unfinished and the **API might change**, althou
+ Use *Game Capture* and disable *Allow Transparency* if Overlunky looks weird/black.
+ 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-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.
+ The game and OL should run fine with Wine 7 if you install DXVK.
+ Also works with Proton 7 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 7.
+ 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
+ You didn't put them in the right place. [Follow](#installation-and-usage) the [instructions](#scripts).
Expand Down
1 change: 1 addition & 0 deletions src/game_api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ target_precompile_headers(spel2_api PRIVATE
<sol/sol.hpp>
<d3d11.h>)
target_link_libraries(spel2_api PRIVATE overlunky_warnings)
target_compile_options(spel2_api PRIVATE /Zm1000)
if (MSVC)
target_compile_options(spel2_api PRIVATE /bigobj)
endif()
2 changes: 2 additions & 0 deletions src/game_api/script/usertypes/level_lua.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1417,6 +1417,8 @@ void register_usertypes(sol::state& lua)
sol::no_constructor,
"shop_type",
&LevelGenSystem::shop_type,
"backlayer_shop_type",
&LevelGenSystem::backlayer_shop_type,
"spawn_x",
&LevelGenSystem::spawn_x,
"spawn_y",
Expand Down

0 comments on commit 2ae3078

Please sign in to comment.