From 5cbcd65c9437f55b115fce5cc596864ff3bae988 Mon Sep 17 00:00:00 2001 From: John Cote Date: Sat, 30 Mar 2024 23:45:35 -0400 Subject: [PATCH] general: Fix config & DC paths --- .gitignore | 1 - config/Configrc.prc | 4 ++-- otpgo/.gitignore | 1 + toontown/launcher/QuickStartLauncher.py | 2 +- toontown/toonbase/ToontownStart.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 otpgo/.gitignore diff --git a/.gitignore b/.gitignore index a55df7b..fad4562 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,3 @@ venv/ PPYTHON_PATH local/ errorCode -otpgo diff --git a/config/Configrc.prc b/config/Configrc.prc index b6093af..fda4c5a 100644 --- a/config/Configrc.prc +++ b/config/Configrc.prc @@ -31,8 +31,8 @@ want-dev 0 schellgames-dev 0 # DC Files -dc-file etc/toon.dc -dc-file etc/otp.dc +dc-file config/toon.dc +dc-file config/otp.dc # HTTP/Downloading verify-ssl 0 diff --git a/otpgo/.gitignore b/otpgo/.gitignore new file mode 100644 index 0000000..ce59d17 --- /dev/null +++ b/otpgo/.gitignore @@ -0,0 +1 @@ +otpgo diff --git a/toontown/launcher/QuickStartLauncher.py b/toontown/launcher/QuickStartLauncher.py index f629cbc..ce6b898 100644 --- a/toontown/launcher/QuickStartLauncher.py +++ b/toontown/launcher/QuickStartLauncher.py @@ -1,6 +1,6 @@ if __debug__: from panda3d.core import loadPrcFile - loadPrcFile('etc/Configrc.prc') + loadPrcFile('config/Configrc.prc') else: import sys sys.path = [''] diff --git a/toontown/toonbase/ToontownStart.py b/toontown/toonbase/ToontownStart.py index 6ecda03..56596e4 100644 --- a/toontown/toonbase/ToontownStart.py +++ b/toontown/toonbase/ToontownStart.py @@ -13,7 +13,7 @@ try: launcher except: if __debug__: - loadPrcFile('etc/Configrc.prc') + loadPrcFile('config/Configrc.prc') from toontown.launcher.ToontownDummyLauncher import ToontownDummyLauncher launcher = ToontownDummyLauncher()