mirror of
https://github.com/CTR-tools/CTR-ModSDK.git
synced 2024-11-23 05:29:49 +00:00
Update plugin.py for compatibility with latest psx-modding-toolchain commit
This commit is contained in:
parent
fec09f636f
commit
14182a740d
@ -6,13 +6,13 @@ def warning() -> None:
|
||||
print("rename the folder to ctr-tools and put it in CrashTeamRacing/plugins/")
|
||||
|
||||
def extract(plugin_path: str, game_path: str, game_version: None) -> None:
|
||||
if os.path.isdir(plugin_path + "ctr-tools"):
|
||||
if os.path.join(plugin_path, "ctr-tools"):
|
||||
os.system(plugin_path + "ctr-tools/bigtool.exe " + game_path + "BIGFILE.BIG")
|
||||
else:
|
||||
warning()
|
||||
|
||||
def build(plugin_path: str, game_path: str, game_version: None) -> None:
|
||||
if os.path.isdir(plugin_path + "ctr-tools"):
|
||||
if os.path.join(plugin_path, "ctr-tools"):
|
||||
os.system(plugin_path + "ctr-tools/bigtool.exe " + game_path + "bigfile.txt")
|
||||
else:
|
||||
warning()
|
||||
warning()
|
||||
|
Loading…
Reference in New Issue
Block a user