-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made sense out of the patching versioning, tidy things up
- Loading branch information
antipatico
committed
Apr 18, 2024
1 parent
3cc7c81
commit 5674b49
Showing
19 changed files
with
243 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__="0.2.0" | ||
__version__="0.2.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
name = "crt" | ||
description = "Disable CRT effect [Fixes blackscreen bug on Pixels and other devices]" | ||
authors = ["blake502"] | ||
supported_platforms = ["android", "ios"] | ||
|
||
|
||
[[versions.v0]] | ||
target_file = "globals.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "crt = " | ||
patch_content = """ | ||
[[patch_lists]] | ||
version = 0 | ||
# supported_game_versions = ALL | ||
[[patch_lists.patch_files]] | ||
target_file = "globals.lua" | ||
[[patch_lists.patch_files.patches]] | ||
search_string = "crt = " | ||
patch_content = """ | ||
crt = 0, | ||
""" | ||
|
||
[[versions.v0]] | ||
target_file = "game.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "G.SHADERS['CRT'])" | ||
patch_content = "" | ||
[[patch_lists.patch_files]] | ||
target_file = "game.lua" | ||
[[patch_lists.patch_files.patches]] | ||
search_string = "G.SHADERS['CRT'])" | ||
# patch_content = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
name = "external-storage" | ||
description = "Save game files under /sdcard/Android [Works well for Android < 13]" | ||
authors = ["blake502"] | ||
supported_platforms = ["android"] | ||
|
||
|
||
[[versions.v0]] | ||
target_file = "conf.lua" | ||
supported_hashes = ["sha256:1e2499c2cb"] | ||
search_string = "function love.conf(t)" | ||
patch_content = """ | ||
[[patch_lists]] | ||
version = 0 | ||
# supported_game_versions = ALL | ||
[[patch_lists.patch_files]] | ||
target_file = "conf.lua" | ||
[[patch_lists.patch_files.patches]] | ||
search_string = "function love.conf(t)" | ||
patch_content = """ | ||
function love.conf(t) | ||
t.externalstorage = true | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
name = "fps" | ||
description = "Cap the FPS limit to the FPS limit of the screen" | ||
authors = ["blake502"] | ||
supported_platforms = ["android", "ios"] | ||
|
||
|
||
[[versions.v0]] | ||
target_file = "main.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "G.FPS_CAP = G.FPS_CAP or" | ||
patch_content = """ | ||
[[patch_lists]] | ||
version = 0 | ||
# supported_game_versions = ALL | ||
[[patch_lists.patch_files]] | ||
target_file = "main.lua" | ||
[[patch_lists.patch_files.patches]] | ||
search_string = "G.FPS_CAP = G.FPS_CAP or" | ||
patch_content = """ | ||
p_ww, p_hh, p_wflags = love.window.getMode() | ||
G.FPS_CAP = p_wflags['refreshrate'] | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
name = "landscape-hidpi" | ||
description = "Forces the game to always stay in landscape mode and apply hidpi fix for iOS" | ||
authors = ["blake502"] | ||
supported_platforms = ["ios"] | ||
|
||
|
||
[[versions.v0]] | ||
target_file = "main.lua" | ||
supported_hashes = ["sha256:f2cb21e757"] | ||
search_string = "local os = love.system.getOS()" | ||
patch_content = """ | ||
[[patch_lists]] | ||
version = 0 | ||
# supported_game_versions = ALL | ||
[[patch_lists.patch_files]] | ||
target_file = "main.lua" | ||
[[patch_lists.patch_files.patches]] | ||
search_string = "local os = love.system.getOS()" | ||
patch_content = """ | ||
local os = love.system.getOS() | ||
love.window.setMode(2, 1, {highdpi = true}) | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
name = "landscape" | ||
description = "Forces the game to always stay in landscape mode, ignoring the screeen orentation of the device" | ||
authors = ["blake502"] | ||
supported_platforms = ["android", "ios"] | ||
|
||
|
||
[[versions.v0]] | ||
target_file = "main.lua" | ||
supported_hashes = ["sha256:f2cb21e757"] | ||
search_string = "local os = love.system.getOS()" | ||
patch_content = """ | ||
[[patch_lists]] | ||
version = 0 | ||
# supported_game_versions = ALL | ||
[[patch_lists.patch_files]] | ||
target_file = "main.lua" | ||
[[patch_lists.patch_files.patches]] | ||
search_string = "local os = love.system.getOS()" | ||
patch_content = """ | ||
local os = love.system.getOS() | ||
love.window.setMode(2, 1) | ||
""" |
Oops, something went wrong.