From df9756630217bffadef54460fc7487bdcc48e588 Mon Sep 17 00:00:00 2001 From: EricGoldsteinNz Date: Tue, 19 Dec 2023 21:54:51 +1300 Subject: [PATCH] Update all ROM lists after making a firmware change. Move to v1.3.2 --- build.bat | 2 +- tadpole.py | 16 ++++++++++------ versioninfo | 8 ++++---- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/build.bat b/build.bat index 46ee267..5bdf73c 100644 --- a/build.bat +++ b/build.bat @@ -1,5 +1,5 @@ @echo off -set ver=1.3.1_rc1 +set ver=1.3.2 rem build script for the distributable versions of tadpole if not exist "venv\" ( python -m venv venv diff --git a/tadpole.py b/tadpole.py index 74bdd08..b966863 100644 --- a/tadpole.py +++ b/tadpole.py @@ -540,9 +540,10 @@ def addBoxart(self): romList = frogtool.getROMList(rom_path) msgBox = DownloadProgressDialog() failedConversions = 0 - #Check what the user has configured; upload or download + #Check what the user has configured; local or download ovewrite = tpConf.getThumbnailOverwrite() if not tpConf.getThumbnailDownload(): + # User has chosen to use local thumbnails directory = QFileDialog.getExistingDirectory() if directory == '': return @@ -564,16 +565,17 @@ def addBoxart(self): if not tadpole_functions.addThumbnail(rom_full_path, drive, system, newThumbnailPath, ovewrite): failedConversions += 1 msgBox.showProgress(i, True) - #User wants to download romart from internet + else: - QMessageBox.about(self, "Add Thumbnails", "You have Tadpole configured to download thumbnails automatically. \ -For this to work, your roms must be in ZIP files and the name of that zip must match their common released English US localized \ -name. Please refer to https://github.com/EricGoldsteinNz/libretro-thumbnails/tree/master if Tadpole isn't finding \ -the thumbnail for you. ") + #User wants to download romart from internet #ARCADE can't get ROM art, so just return if system == "ARCADE": QMessageBox.about(self, "Add Thumbnails", "Custom Arcade ROMs cannot have thumbnails at this time.") return + QMessageBox.about(self, "Add Thumbnails", "You have Tadpole configured to download thumbnails automatically. \ +For this to work, your roms must be in ZIP files and the name of that zip must match their common released English US localized \ +name. Please refer to https://github.com/EricGoldsteinNz/libretro-thumbnails/tree/master if Tadpole isn't finding \ +the thumbnail for you. ") #Need the url for scraping the png's, which is different ROMART_baseURL_parsing = "https://github.com/EricGoldsteinNz/libretro-thumbnails/tree/master/" ROMART_baseURL = "https://raw.githubusercontent.com/EricGoldsteinNz/libretro-thumbnails/master/" @@ -724,6 +726,8 @@ def change_OS(self): url = self.OS_options[self.sender().text()] logging.info("Tadpole~change_OS: Updating OS from ({url})") self.UpdateDeviceFromZip(url) + #Rebuild the ROM lists just incase we did a full rebuild + RunFrogTool(self.combobox_drive.currentText(),static_AllSystems) def makeMulticoreROMList(self): diff --git a/versioninfo b/versioninfo index d618006..20a3bab 100644 --- a/versioninfo +++ b/versioninfo @@ -1,7 +1,7 @@ VSVersionInfo( ffi=FixedFileInfo( - filevers=(1, 3, 1, 0), - prodvers=(1, 3, 1, 0), + filevers=(1, 3, 2, 0), + prodvers=(1, 3, 2, 0), mask=0x3f, flags=0x0, OS=0x4, @@ -15,12 +15,12 @@ VSVersionInfo( u'080904B0', [StringStruct(u'CompanyName', u'EricGoldstein'), StringStruct(u'FileDescription', u'tadpole'), - StringStruct(u'FileVersion', u'1.3.1_rc1'), + StringStruct(u'FileVersion', u'1.3.2'), StringStruct(u'InternalName', u'tadpole'), StringStruct(u'LegalCopyright', u'by EricGoldstein 2023'), StringStruct(u'OriginalFilename', u'tadpole.exe'), StringStruct(u'ProductName', u'tadpole'), - StringStruct(u'ProductVersion', u'1.3.1')]) + StringStruct(u'ProductVersion', u'1.3.2')]) ]), VarFileInfo([VarStruct(u'Translation', [2057, 1200])]) ]