This commit is contained in:
Lesserkuma 2021-03-17 14:24:02 +01:00
parent b53a3c4e21
commit 1c26434854
7 changed files with 14 additions and 7 deletions

View File

@ -229,7 +229,7 @@ class FlashGBX_GUI(QtWidgets.QWidget):
QtWidgets.QMessageBox.critical(self, "{:s} {:s}".format(APPNAME, VERSION), config_ret[i][1], QtWidgets.QMessageBox.Ok)
QtCore.QTimer.singleShot(1, lambda: [ self.UpdateCheck(), self.FindDevices() ])
def GuiCreateGroupBoxDMGCartInfo(self):
self.grpDMGCartridgeInfo = QtWidgets.QGroupBox("Game Boy Cartridge Information")
self.grpDMGCartridgeInfo.setMinimumWidth(280)
@ -699,7 +699,6 @@ class FlashGBX_GUI(QtWidgets.QWidget):
msgbox.exec()
dontShowAgain = cb.isChecked()
elif "dmg-mmsa-jpn" in self.STATUS["cart_type"] and "operation" in self.STATUS and self.STATUS["operation"] == "GBMEMORY_INITIAL_DUMP":
# todo
self.STATUS["operation"] = None
elif "dmg-mmsa-jpn" in self.STATUS["cart_type"]:
self.lblHeaderROMChecksumResult.setText("0x{:04X}".format(self.CONN.INFO["rom_checksum_calc"]))
@ -887,7 +886,7 @@ class FlashGBX_GUI(QtWidgets.QWidget):
if cart_types[1][index]["flash_size"] == (Util.DMG_Header_ROM_Sizes_Flasher_Map[i] * 0x4000):
self.cmbHeaderROMSizeResult.setCurrentIndex(i)
self.STATUS["cart_type"] = cart_types[1][index]
elif self.CONN.GetMode() == "AGB":
cart_types = self.CONN.GetSupportedCartridgesAGB()
if cart_types[1][index] == "AUTODETECT": # special keyword

View File

@ -5,7 +5,7 @@ from enum import Enum
# Common constants
APPNAME = "FlashGBX"
VERSION_PEP440 = "1.4.1"
VERSION_PEP440 = "1.4.2"
VERSION = "v{:s}".format(VERSION_PEP440)
DEBUG = False

View File

@ -5,13 +5,15 @@
"SD007_BV5_V3 with HY29LV160BT",
"SD007_BV5_V3 with 29LV160BE-90PFTN",
"SD007_TSOP_48BALL with M29W160ET",
"SD007_48BALL_64M_V2 with M29W160ET"
"SD007_48BALL_64M_V2 with M29W160ET",
"SD007_48BALL_64M_V8 with M29W160ET"
],
"flash_ids":[
[ 0xAE, 0xAE, 0xC4, 0xC4 ],
[ 0xAE, 0xAE, 0x4A, 0x4A ],
[ 0x04, 0x04, 0x4A, 0x4A ],
[ 0x20, 0x20, 0xC4, 0xC4 ],
[ 0x20, 0x20, 0xC4, 0xC4 ],
[ 0x20, 0x20, 0xC4, 0xC4 ]
],
"voltage":3.3,

View File

@ -2230,7 +2230,8 @@ class GbxDevice:
self.SetProgress({"action":"ABORT", "info_type":"msgbox_critical", "info_msg":"Couldnt write {:d} bytes to flash at position 0x{:X}. Please make sure that the cartridge contacts are clean, and that the selected cartridge type and settings are correct.".format(len(data), pos-len(data)), "abortable":False})
return False
else:
if isinstance(data, int) or data is None or data == b'':
if (skipping is False) and (isinstance(data, int) or data is None or data == b''):
print(skipping, data)
self.SetProgress({"action":"ABORT", "info_type":"msgbox_critical", "info_msg":"No flash commands available for this cartridge type. Please make sure that the selected cartridge type and settings are correct. ({:s})".format(str(data)), "abortable":False})
return False
else:

Binary file not shown.

View File

@ -95,6 +95,7 @@ by Lesserkuma
- SD007_48BALL_64M_V5 with 36VF3204
- SD007_48BALL_64M_V6 with 36VF3204
- SD007_48BALL_64M_V6 with 29DL163BD-90
- SD007_48BALL_64M_V8 with M29W160ET
- SD007_BV5_DRV with M29W320DT
- SD007_BV5_DRV with S29GL032M90TFIR4
- SD007_BV5_V2 with HY29LV160TT
@ -353,3 +354,7 @@ The author would like to thank the following very kind people for their help and
- Added support for official cartridges with the M161 memory bank controller; tested with “Mani 4 in 1: Tetris + Alleyway + Yakuman + Tennis” (DMG-601CHN) (requires GBxCart RW firmware R26 or newer)
- Added support for B104 with MSP55LV128 *(thanks Zelante)*
- Added save data backup and restore support for official cartridges with ATMEL AT29LV512 flash chips; tested with a copy of “Mario Kart: Super Circuit” (AGB-AMKP-EUR)
### v1.4.2 (released 2021-03-17)
- Confirmed support for SD007_48BALL_64M_V8 with M29W160ET *(thanks marv17)*
- Fixed minor bugs

View File

@ -4,7 +4,7 @@ with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read(
setuptools.setup(
name="FlashGBX",
version="1.4.1",
version="1.4.2",
author="Lesserkuma",
description="Reads and writes Game Boy and Game Boy Advance cartridge data. Currently supports the GBxCart RW hardware device by insideGadgets.",
url="https://github.com/lesserkuma/FlashGBX",