Skip to content

Commit

Permalink
Update all ROM lists after making a firmware change.
Browse files Browse the repository at this point in the history
Move to v1.3.2
  • Loading branch information
EricGoldsteinNz authored and EricGoldsteinNz committed Dec 19, 2023
1 parent 6d121f5 commit df97566
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 10 additions & 6 deletions tadpole.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/"
Expand Down Expand Up @@ -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):
Expand Down
8 changes: 4 additions & 4 deletions versioninfo
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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])])
]
Expand Down

0 comments on commit df97566

Please sign in to comment.