Fix Cemu launch for Rom Library

This commit is contained in:
Dragoon Dorise 2024-07-01 12:43:31 +02:00
parent 0ca2cd1e23
commit fece626c1a
6 changed files with 28 additions and 9 deletions

View File

@ -1,7 +1,4 @@
collection: Sony PlayStation 3
shortname: ps3
extensions: desktop, DESKTOP
launch: /run/media/mmcblk0p1/Emulation/tools/launchers/rpcs3.sh {file.path}
extensions: desktop, DESKTOP, ps3
launch: /run/media/mmcblk0p1/Emulation/tools/launchers/rpcs3.sh {file.path}

4
roms/wiiu/metadata.txt Normal file
View File

@ -0,0 +1,4 @@
collection: Nintendo Wii U
shortname: wiiu
extensions: elf, ELF, rpx, RPX, tmd, TMD, wua, WUA, wud, WUD, wuhb, WUHB, wux, WUX
launch: /run/media/mmcblk0p1/Emulation/tools/launchers/cemu.sh -f -g {file.path}

View File

@ -1,6 +1,4 @@
collection: Nintendo Wii U
shortname: wiiu
extensions: elf, ELF, rpx, RPX, tmd, TMD, wua, WUA, wud, WUD, wuhb, WUHB, wux, WUX
launch: /run/media/mmcblk0p1/Emulation/tools/launchers/cemu.sh -f -g {file.path}
launch: /run/media/mmcblk0p1/Emulation/tools/launchers/cemu.sh -f -g z:{file.path}

View File

@ -1 +0,0 @@
place your roms here

17
roms/wiiu/systeminfo.txt Normal file
View File

@ -0,0 +1,17 @@
System name:
wiiu (custom system)
Full system name:
Nintendo Wii U
Supported file extensions:
.rpx .RPX .wud .WUD .wux .WUX .elf .ELF .iso .ISO .wad .WAD .wua .WUA
Launch command:
/bin/bash /run/media/external/Emulation/tools/launchers/cemu.sh -f -g z:%ROM%
Platform (for scraping):
wiiu
Theme folder:
wiiu

View File

@ -43,6 +43,10 @@ def generate_game_lists(roms_path):
valid_system_dirs = []
for system_dir in os.listdir(roms_dir):
if system_dir == "wiiu":
system_dir = "wiiu/roms"
if system_dir == "xbox360":
system_dir = "xbox360/roms"
full_path = os.path.join(roms_dir, system_dir)
if os.path.isdir(full_path) and not os.path.islink(full_path) and os.path.isfile(os.path.join(full_path, 'metadata.txt')):
file_count = sum([len(files) for r, d, files in os.walk(full_path)])