FlashGBX 4.0__tar.gz → 4.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/LK_Device.py +10 -3
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/Util.py +2 -2
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/hw_GBxCartRW.py +1 -1
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/fw_GBFlash.zip +0 -0
- FlashGBX-4.0.1/FlashGBX/res/fw_GBxCart_RW_v1_4.zip +0 -0
- FlashGBX-4.0.1/FlashGBX/res/fw_GBxCart_RW_v1_4a.zip +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/fw_JoeyJr.zip +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX.egg-info/PKG-INFO +4 -3
- {FlashGBX-4.0 → FlashGBX-4.0.1}/PKG-INFO +4 -3
- {FlashGBX-4.0 → FlashGBX-4.0.1}/README.md +2 -1
- {FlashGBX-4.0 → FlashGBX-4.0.1}/setup.py +2 -2
- FlashGBX-4.0/FlashGBX/res/fw_GBxCart_RW_v1_4.zip +0 -0
- FlashGBX-4.0/FlashGBX/res/fw_GBxCart_RW_v1_4a.zip +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/DataTransfer.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/FlashGBX.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/FlashGBX_CLI.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/FlashGBX_GUI.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/Flashcart.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/GBMemory.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/Mapper.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/PocketCamera.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/PocketCameraWindow.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/RomFileAGB.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/RomFileDMG.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/UserInputDialog.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/__init__.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/__main__.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/fw_GBFlash.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/fw_GBxCartRW_v1_3.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/fw_GBxCartRW_v1_4.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/fw_JoeyJr.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/hw_GBFlash.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/hw_JoeyJr.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/pyside.py +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/Third Party Notices.md +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/config.zip +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/fw_GBxCart_RW_Mini_v1_0.zip +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/fw_GBxCart_RW_XMAS_v1_0.zip +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/fw_GBxCart_RW_v1_1_v1_2.zip +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/fw_GBxCart_RW_v1_3.zip +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/icon.ico +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/icon.png +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/pc_frame.png +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX.egg-info/SOURCES.txt +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX.egg-info/dependency_links.txt +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX.egg-info/entry_points.txt +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX.egg-info/requires.txt +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX.egg-info/top_level.txt +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/LICENSE +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/MANIFEST.in +0 -0
- {FlashGBX-4.0 → FlashGBX-4.0.1}/setup.cfg +0 -0
|
@@ -532,8 +532,11 @@ class LK_Device(ABC):
|
|
|
532
532
|
buffer.extend(struct.pack(">I", key))
|
|
533
533
|
buffer.extend(struct.pack(">I", value))
|
|
534
534
|
|
|
535
|
-
self.
|
|
536
|
-
|
|
535
|
+
if self.FW["fw_ver"] >= 12:
|
|
536
|
+
self._try_write(buffer)
|
|
537
|
+
else:
|
|
538
|
+
self._write(buffer)
|
|
539
|
+
|
|
537
540
|
def _cart_read(self, address, length=0, agb_save_flash=False):
|
|
538
541
|
if self.MODE == "DMG":
|
|
539
542
|
if length == 0:
|
|
@@ -595,7 +598,10 @@ class LK_Device(ABC):
|
|
|
595
598
|
buffer.extend(struct.pack(">I", address >> 1))
|
|
596
599
|
buffer.extend(struct.pack(">H", value & 0xFFFF))
|
|
597
600
|
|
|
598
|
-
self.
|
|
601
|
+
if self.FW["fw_ver"] >= 12:
|
|
602
|
+
self._try_write(buffer)
|
|
603
|
+
else:
|
|
604
|
+
self._write(buffer)
|
|
599
605
|
|
|
600
606
|
if self.MODE == "DMG" and sram: self._set_fw_variable("DMG_WRITE_CS_PULSE", 0)
|
|
601
607
|
|
|
@@ -2523,6 +2529,7 @@ class LK_Device(ABC):
|
|
|
2523
2529
|
|
|
2524
2530
|
self.INFO["dump_info"]["vf_addr_reorder"] = addr_reorder
|
|
2525
2531
|
self.INFO["dump_info"]["vf_value_reorder"] = value_reorder
|
|
2532
|
+
self.INFO["dump_info"]["agb_read_method"] = self.AGB_READ_METHODS[self.AGB_READ_METHOD]
|
|
2526
2533
|
|
|
2527
2534
|
else:
|
|
2528
2535
|
self.INFO["dump_info"]["agb_read_method"] = self.AGB_READ_METHODS[self.AGB_READ_METHOD]
|
|
@@ -8,9 +8,9 @@ from enum import Enum
|
|
|
8
8
|
|
|
9
9
|
# Common constants
|
|
10
10
|
APPNAME = "FlashGBX"
|
|
11
|
-
VERSION_PEP440 = "4.0"
|
|
11
|
+
VERSION_PEP440 = "4.0.1"
|
|
12
12
|
VERSION = "v{:s}".format(VERSION_PEP440)
|
|
13
|
-
VERSION_TIMESTAMP =
|
|
13
|
+
VERSION_TIMESTAMP = 1719742346
|
|
14
14
|
DEBUG = False
|
|
15
15
|
DEBUG_LOG = []
|
|
16
16
|
APP_PATH = ""
|
|
@@ -191,7 +191,7 @@ class GbxDevice(LK_Device):
|
|
|
191
191
|
if self.FW["fw_ver"] >= 12:
|
|
192
192
|
temp = bytearray([self.DEVICE_CMD["QUERY_CART_PWR"]])
|
|
193
193
|
self._get_fw_variable("CART_MODE")
|
|
194
|
-
|
|
194
|
+
elif self.CanPowerCycleCart():
|
|
195
195
|
temp = bytearray([self.DEVICE_CMD["OFW_QUERY_CART_PWR"]])
|
|
196
196
|
self._write(temp)
|
|
197
197
|
self._read(1)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: FlashGBX
|
|
3
|
-
Version: 4.0
|
|
4
|
-
Summary: Reads and writes Game Boy and Game Boy Advance cartridge data
|
|
3
|
+
Version: 4.0.1
|
|
4
|
+
Summary: Reads and writes Game Boy and Game Boy Advance cartridge data
|
|
5
5
|
Home-page: https://github.com/lesserkuma/FlashGBX
|
|
6
6
|
Author: Lesserkuma
|
|
7
7
|
Project-URL: Source, https://github.com/lesserkuma/FlashGBX/
|
|
@@ -73,7 +73,8 @@ These work for installing fresh and upgrading from an older version.
|
|
|
73
73
|
* If installation fails, try this command instead:<br>`pip3 install "FlashGBX[qt5]"`
|
|
74
74
|
* If installation still fails, you can install the minimal version (command line interface) with this command:<br>`pip3 install FlashGBX`
|
|
75
75
|
|
|
76
|
-
* Pre-made Linux packages and instructions for select distributions are available [here](https://github.com/JJ-Fox/FlashGBX-Linux-builds/releases/latest).
|
|
76
|
+
* Pre-made Linux packages and instructions for select distributions are available [here](https://github.com/JJ-Fox/FlashGBX-Linux-builds/releases/latest), contributed by JJ-Fox.
|
|
77
|
+
* Pre-made macOS packages and instructions are available [here](https://github.com/Cliffback/FlashGBX-macOS) (in the “Releases” section), contributed by Cliffback.
|
|
77
78
|
|
|
78
79
|
#### Running
|
|
79
80
|
Use this command in a Terminal or Command Prompt window to launch the installed FlashGBX application:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: FlashGBX
|
|
3
|
-
Version: 4.0
|
|
4
|
-
Summary: Reads and writes Game Boy and Game Boy Advance cartridge data
|
|
3
|
+
Version: 4.0.1
|
|
4
|
+
Summary: Reads and writes Game Boy and Game Boy Advance cartridge data
|
|
5
5
|
Home-page: https://github.com/lesserkuma/FlashGBX
|
|
6
6
|
Author: Lesserkuma
|
|
7
7
|
Project-URL: Source, https://github.com/lesserkuma/FlashGBX/
|
|
@@ -73,7 +73,8 @@ These work for installing fresh and upgrading from an older version.
|
|
|
73
73
|
* If installation fails, try this command instead:<br>`pip3 install "FlashGBX[qt5]"`
|
|
74
74
|
* If installation still fails, you can install the minimal version (command line interface) with this command:<br>`pip3 install FlashGBX`
|
|
75
75
|
|
|
76
|
-
* Pre-made Linux packages and instructions for select distributions are available [here](https://github.com/JJ-Fox/FlashGBX-Linux-builds/releases/latest).
|
|
76
|
+
* Pre-made Linux packages and instructions for select distributions are available [here](https://github.com/JJ-Fox/FlashGBX-Linux-builds/releases/latest), contributed by JJ-Fox.
|
|
77
|
+
* Pre-made macOS packages and instructions are available [here](https://github.com/Cliffback/FlashGBX-macOS) (in the “Releases” section), contributed by Cliffback.
|
|
77
78
|
|
|
78
79
|
#### Running
|
|
79
80
|
Use this command in a Terminal or Command Prompt window to launch the installed FlashGBX application:
|
|
@@ -44,7 +44,8 @@ These work for installing fresh and upgrading from an older version.
|
|
|
44
44
|
* If installation fails, try this command instead:<br>`pip3 install "FlashGBX[qt5]"`
|
|
45
45
|
* If installation still fails, you can install the minimal version (command line interface) with this command:<br>`pip3 install FlashGBX`
|
|
46
46
|
|
|
47
|
-
* Pre-made Linux packages and instructions for select distributions are available [here](https://github.com/JJ-Fox/FlashGBX-Linux-builds/releases/latest).
|
|
47
|
+
* Pre-made Linux packages and instructions for select distributions are available [here](https://github.com/JJ-Fox/FlashGBX-Linux-builds/releases/latest), contributed by JJ-Fox.
|
|
48
|
+
* Pre-made macOS packages and instructions are available [here](https://github.com/Cliffback/FlashGBX-macOS) (in the “Releases” section), contributed by Cliffback.
|
|
48
49
|
|
|
49
50
|
#### Running
|
|
50
51
|
Use this command in a Terminal or Command Prompt window to launch the installed FlashGBX application:
|
|
@@ -8,9 +8,9 @@ with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read(
|
|
|
8
8
|
|
|
9
9
|
setuptools.setup(
|
|
10
10
|
name="FlashGBX",
|
|
11
|
-
version="4.0",
|
|
11
|
+
version="4.0.1",
|
|
12
12
|
author="Lesserkuma",
|
|
13
|
-
description="Reads and writes Game Boy and Game Boy Advance cartridge data
|
|
13
|
+
description="Reads and writes Game Boy and Game Boy Advance cartridge data",
|
|
14
14
|
url="https://github.com/lesserkuma/FlashGBX",
|
|
15
15
|
packages=setuptools.find_packages(),
|
|
16
16
|
install_requires=['pyserial>=3.5', 'Pillow', 'setuptools', 'requests', 'python-dateutil'],
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|