-
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.
- Loading branch information
antipatico
committed
Apr 18, 2024
1 parent
7b4b556
commit fee7deb
Showing
9 changed files
with
162 additions
and
28 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.1.1" | ||
__version__="0.2.0" |
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name = "portmaster-no-background" | ||
description = "Disable background animations and effects. From PortMaster" | ||
authors = ["nkahoang","rancossack"] | ||
supported_platforms = ["android", "ios"] | ||
|
||
|
||
[[versions.v0]] | ||
target_file = "globals.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "self.DEBUG = false" | ||
patch_content = """ | ||
self.DEBUG = false | ||
self.debug_background_toggle = true | ||
""" | ||
|
||
[[versions.v0]] | ||
target_file = "game.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "love.graphics.clear({0,1,0,1})" | ||
patch_content = """ | ||
love.graphics.clear(mix_colours(G.C.DYN_UI.DARK, {0.17,0.35,0.26,1}, 0.4)) | ||
""" |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name = "portmaster-nunito-font" | ||
description = "Replace the main font used with nunito, optimized for smaller displays. From PortMaster" | ||
authors = ["nkahoang", "rancossack"] | ||
supported_platforms = ["android", "ios"] | ||
|
||
[[versions.v0]] | ||
target_file = "resources/fonts/m6x11plus.ttf" | ||
supported_hashes = ["skip"] | ||
search_string = "skip" | ||
patch_content = "skip" | ||
artifact = "nunito-font.tty" |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name = "portmaster-simple-fx" | ||
description = "Disable gameplay visible behind menu background, shadows, and bloom effects. From PortMaster" | ||
authors = ["nkahoang","rancossack"] | ||
supported_platforms = ["android", "ios"] | ||
|
||
|
||
[[versions.v0]] | ||
target_file = "globals.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "bloom = 1" | ||
patch_content = """ | ||
bloom = 0, | ||
""" | ||
|
||
[[versions.v0]] | ||
target_file = "globals.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "shadows = 'On'" | ||
patch_content = """ | ||
shadows = 'Off', | ||
""" | ||
|
||
[[versions.v0]] | ||
target_file = "globals.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "self.F_HIDE_BG = false" | ||
patch_content = """ | ||
self.F_HIDE_BG = true | ||
""" | ||
|
||
[[versions.v0]] | ||
target_file = "globals.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "self.TILE_W = self.F_MOBILE_UI and 11.5 or 20" | ||
patch_content = """ | ||
self.TILE_W = 20 | ||
""" | ||
|
||
[[versions.v0]] | ||
target_file = "globals.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "self.TILE_H = self.F_MOBILE_UI and 20 or 11.5" | ||
patch_content = """ | ||
self.TILE_H = 11.5 | ||
""" |
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name = "portmaster-square-display" | ||
description = "Optimize for square and square-like displays. From PortMaster" | ||
authors = ["nkahoang", "rancossack"] | ||
supported_platforms = ["android", "ios"] | ||
|
||
|
||
[[versions.v0]] | ||
target_file = "functions/common_events.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "bloom = 1" | ||
patch_content = """" | ||
bloom = 0 | ||
""" | ||
|
||
# move the hands a bit to the right | ||
[[versions.v0]] | ||
target_file = "functions/common_events.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "G.hand.T.x = G.TILE_W - G.hand.T.w - 2.85" | ||
patch_content = """ | ||
G.hand.T.x = G.TILE_W - G.hand.T.w - 1 | ||
""" | ||
|
||
# then move the playing area up | ||
[[versions.v0]] | ||
target_file = "functions/common_events.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "G.play.T.y = G.hand.T.y - 3.6" | ||
patch_content = """ | ||
G.play.T.y = G.hand.T.y - 4.5 | ||
""" | ||
|
||
# move the decks to the right | ||
[[versions.v0]] | ||
target_file = "functions/common_events.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "G.deck.T.x = G.TILE_W - G.deck.T.w - 0.5" | ||
patch_content = """ | ||
G.deck.T.x = G.TILE_W - G.deck.T.w + 0.85 | ||
""" | ||
|
||
# move the jokers to the left | ||
[[versions.v0]] | ||
target_file = "functions/common_events.lua" | ||
supported_hashes = ["skip"] | ||
search_string = "G.jokers.T.x = G.hand.T.x - 0.1" | ||
patch_content = """ | ||
G.jokers.T.x = G.hand.T.x - 0.2 | ||
""" |
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