diff --git a/.gitignore b/.gitignore index 496ee2c..aaab5ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.DS_Store \ No newline at end of file +.DS_Store +build/ \ No newline at end of file diff --git a/GDUtils.py b/GDUtils.py index cb0b910..c768121 100644 --- a/GDUtils.py +++ b/GDUtils.py @@ -134,9 +134,9 @@ class MainWindow(QMainWindow): gdLvlGDShareLabel = QLabel("GDLVL/GDShare") self.convertToGdLvl = QPushButton("Convert to GDLVL") - self.convertToGdLvl.clicked.connect(self.on_convert_to_gdlvl_click) + self.convertToGdLvl.clicked.connect(self.on_convert_from_gmd_click) self.convertToGmd = QPushButton("Convert to GMD") - self.convertToGmd.clicked.connect(self.on_convert_to_gmd_click) + self.convertToGmd.clicked.connect(self.on_convert_from_gdlvl_click) gdLvlGDShareButtons = QHBoxLayout() gdLvlGDShareButtons.addStretch() @@ -263,7 +263,7 @@ class MainWindow(QMainWindow): msg.setText("The encoded level data has been copied to your clipboard") msg.exec() - def on_convert_to_gdlvl_click(self): + def on_convert_from_gdlvl_click(self): file_path, _ = QFileDialog.getOpenFileName( self, "Select a GDLVL file", @@ -288,7 +288,7 @@ class MainWindow(QMainWindow): with open(output_file_path, "w") as f: f.write(decode_level(data, False)) - def on_convert_to_gmd_click(self): + def on_convert_from_gmd_click(self): file_path, _ = QFileDialog.getOpenFileName( self, "Select a GMD file", diff --git a/README.md b/README.md index 005edee..b330de1 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,11 @@ A simple python utility app for things related to Geometry Dash - GJP encode/decode - GJP2 encode -## Setup +## Download -### Pre-Compiled +Download the latest release for your platform [here](https://git.lncvrt.xyz/Lncvrt/gdutils/releases) -[Download the latest release for your platform](https://git.lncvrt.xyz/Lncvrt/gdutils/releases) - -### Setup yourself with Python +## Run manually with Python [Download the repository as a ZIP](https://git.lncvrt.xyz/Lncvrt/gdutils/archive/main.zip) and unzip it then run: