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.
Files changed (51) hide show
  1. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/LK_Device.py +10 -3
  2. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/Util.py +2 -2
  3. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/hw_GBxCartRW.py +1 -1
  4. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/fw_GBFlash.zip +0 -0
  5. FlashGBX-4.0.1/FlashGBX/res/fw_GBxCart_RW_v1_4.zip +0 -0
  6. FlashGBX-4.0.1/FlashGBX/res/fw_GBxCart_RW_v1_4a.zip +0 -0
  7. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/fw_JoeyJr.zip +0 -0
  8. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX.egg-info/PKG-INFO +4 -3
  9. {FlashGBX-4.0 → FlashGBX-4.0.1}/PKG-INFO +4 -3
  10. {FlashGBX-4.0 → FlashGBX-4.0.1}/README.md +2 -1
  11. {FlashGBX-4.0 → FlashGBX-4.0.1}/setup.py +2 -2
  12. FlashGBX-4.0/FlashGBX/res/fw_GBxCart_RW_v1_4.zip +0 -0
  13. FlashGBX-4.0/FlashGBX/res/fw_GBxCart_RW_v1_4a.zip +0 -0
  14. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/DataTransfer.py +0 -0
  15. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/FlashGBX.py +0 -0
  16. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/FlashGBX_CLI.py +0 -0
  17. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/FlashGBX_GUI.py +0 -0
  18. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/Flashcart.py +0 -0
  19. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/GBMemory.py +0 -0
  20. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/Mapper.py +0 -0
  21. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/PocketCamera.py +0 -0
  22. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/PocketCameraWindow.py +0 -0
  23. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/RomFileAGB.py +0 -0
  24. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/RomFileDMG.py +0 -0
  25. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/UserInputDialog.py +0 -0
  26. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/__init__.py +0 -0
  27. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/__main__.py +0 -0
  28. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/fw_GBFlash.py +0 -0
  29. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/fw_GBxCartRW_v1_3.py +0 -0
  30. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/fw_GBxCartRW_v1_4.py +0 -0
  31. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/fw_JoeyJr.py +0 -0
  32. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/hw_GBFlash.py +0 -0
  33. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/hw_JoeyJr.py +0 -0
  34. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/pyside.py +0 -0
  35. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/Third Party Notices.md +0 -0
  36. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/config.zip +0 -0
  37. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/fw_GBxCart_RW_Mini_v1_0.zip +0 -0
  38. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/fw_GBxCart_RW_XMAS_v1_0.zip +0 -0
  39. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/fw_GBxCart_RW_v1_1_v1_2.zip +0 -0
  40. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/fw_GBxCart_RW_v1_3.zip +0 -0
  41. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/icon.ico +0 -0
  42. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/icon.png +0 -0
  43. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX/res/pc_frame.png +0 -0
  44. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX.egg-info/SOURCES.txt +0 -0
  45. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX.egg-info/dependency_links.txt +0 -0
  46. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX.egg-info/entry_points.txt +0 -0
  47. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX.egg-info/requires.txt +0 -0
  48. {FlashGBX-4.0 → FlashGBX-4.0.1}/FlashGBX.egg-info/top_level.txt +0 -0
  49. {FlashGBX-4.0 → FlashGBX-4.0.1}/LICENSE +0 -0
  50. {FlashGBX-4.0 → FlashGBX-4.0.1}/MANIFEST.in +0 -0
  51. {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._try_write(buffer)
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._try_write(buffer)
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 = 1719702722
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
- else:
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)
@@ -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 using the GBxCart RW by insideGadgets
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 using the GBxCart RW by insideGadgets
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 using the GBxCart RW by insideGadgets",
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'],
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