massop Posted February 27, 2018 Share Posted February 27, 2018 Hi guys, I have cemu working in game EX perfectly. because of the way the WiiU roms are formatted the games I have ripped are separated into individual folders and i cannot take out the executable file from the folder as it will break the game (*.rpx) An example of the ROM file structure is below C:\roms\wiiu\mario 3d world\code\mario.rpx C:\roms\wiiu\zelda\code\mzeldarpx C:\roms\wiiu\tetris\code\tetris.rpx A work around is to make a new directory with shortcuts to all the files and have game EX look for *.lnk files for roms, however when i do this I get the below error from Cemu The thing that gets me is if I open the .lnk file from cemu directly the game actually works so even though this is an emulator issue something is not quite right. I have tried running the runitgame.bat file without the .lnk in the extension like below cemu.exe -f -g "D:\Games\ROMs\Nintendo WiiU\Mario Kart 8." Instead of Quote cemu.exe -f -g "D:\Games\ROMs\Nintendo WiiU\Mario Kart 8.lnk" But this just produced the same error in cemu Have any of you guys got this working via the .lnk method or are you doing this differently? Let me know. Thanks runitgame.bat chcp 65001 D: CD "D:\Games\Emulated\Nintendo WiiU\cemu_1.11.3" cemu.exe -f -g "D:\Games\ROMs\Nintendo WiiU\Mario Kart 8.lnk" log.txt 16:36:48.27 27/02/2018: Opening Configuration File 16:36:48.29 27/02/2018: GameEx: Version 15.10: Starting Log 16:36:48.35 27/02/2018: Windows 10 Home 64-bit 16:36:48.36 27/02/2018: Aero running 16:36:48.36 27/02/2018: Tablet PC detected 16:36:48.37 27/02/2018: Initializing Vista/Windows 7 volume control 16:36:48.38 27/02/2018: Getting CPU and RAM info 16:36:48.38 27/02/2018: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 16257MB 16:36:48.39 27/02/2018: 2.81Ghz - 8 Cores or CPU's 16:36:48.39 27/02/2018: Running Randomize() 16:36:48.41 27/02/2018: Loading PlugIns 16:36:48.42 27/02/2018: Checking for applications to Launch On Startup 16:36:48.42 27/02/2018: Setting default net connection limit to 15 16:36:48.42 27/02/2018: Running Misc startup tasks 16:36:48.43 27/02/2018: Setting Menu types 16:36:48.43 27/02/2018: Getting Configuration Values 16:36:48.44 27/02/2018: Using Theme: Sidebar 1920x1080 16:36:48.44 27/02/2018: Checking for alternate Image Directory for Theme: Sidebar 1920x1080 16:36:48.44 27/02/2018: Launching HideOS.exe 16:36:48.45 27/02/2018: Initialising Video/MNG DLL's 16:36:48.45 27/02/2018: Hiding Taskbar 16:36:48.46 27/02/2018: Is Media Center running? 16:36:48.47 27/02/2018: Checking/Creating LCD Registry values 16:36:48.47 27/02/2018: Check Media Center Exit/Start Mode 16:36:48.48 27/02/2018: Media Center Mode 2 16:36:48.49 27/02/2018: Video previews on. Warning: Only recommended on modern systems 16:36:48.49 27/02/2018: Custom Game Device Input enabled: Getting custom codes 16:36:48.50 27/02/2018: Snap Delay set to: 4 16:36:48.50 27/02/2018: Get other settings 16:36:48.51 27/02/2018: Set: Find emulator artwork on best match basis 16:36:48.51 27/02/2018: Start work for Form 16:36:48.51 27/02/2018: Getting Original Screen Size 16:36:48.52 27/02/2018: Opening Database Connection 16:36:48.52 27/02/2018: Data Source=D:\GameEx\DATA\data.db3;Pooling=true;FailIfMissing=true 16:36:48.59 27/02/2018: Initializing Component 16:36:54.05 27/02/2018: MAME Path is: D:\Games\Emulated\M.A.M.E 16:36:54.05 27/02/2018: MAME EXE file is: mame64.exe 16:36:54.06 27/02/2018: ROM Path is: D:\Games\Emulated\M.A.M.E\roms 16:36:54.07 27/02/2018: Catver.ini is located at: D:\GameEx\DATA\catver.ini 16:36:54.07 27/02/2018: History.dat is located at: D:\GameEx\DATA\history.dat 16:36:54.08 27/02/2018: nplayers.ini is located at: D:\GameEx\DATA\nplayers.ini 16:36:54.08 27/02/2018: command.dat is located at: D:\GameEx\DATA\command.dat 16:36:54.09 27/02/2018: MAMEinfo.dat is located at: D:\GameEx\DATA\mameinfo.dat 16:36:54.09 27/02/2018: Loading Controls.ini map file 16:36:54.09 27/02/2018: Snap Path is: D:\Games\Emulated\M.A.M.E\snap 16:36:54.10 27/02/2018: Database Snap Path: Not Found 16:36:54.10 27/02/2018: Background Snap Path: Not Found 16:36:54.10 27/02/2018: AVI Snap Path is: D:\Games\Images & Video\Arcade Collections\MAME [Videos][MP4][480p][MAME .148][EM 20130306] 16:36:54.11 27/02/2018: Flyer Path is: D:\Games\Emulated\M.A.M.E\flyers 16:36:54.11 27/02/2018: Cabinet Path is: D:\Games\Emulated\M.A.M.E\cabinets 16:36:54.12 27/02/2018: Cabinet 3D Path: Not Found 16:36:54.12 27/02/2018: Title Path is: D:\Games\Emulated\M.A.M.E\titles 16:36:54.12 27/02/2018: Title Path: Not Found 16:36:54.13 27/02/2018: PCB Path is: D:\Games\Emulated\M.A.M.E\pcb 16:36:54.13 27/02/2018: Artwork Preview Path: Not Found 16:36:54.13 27/02/2018: Panel Path is: D:\Games\Emulated\M.A.M.E\cpanel 16:36:54.14 27/02/2018: Manual Path: Not Found 16:36:54.14 27/02/2018: Icon Path is: D:\Games\Emulated\M.A.M.E\icons 16:36:54.14 27/02/2018: Marquee Path is: D:\Games\Emulated\M.A.M.E\marquees 16:36:54.15 27/02/2018: Applying Language/Text 16:36:54.15 27/02/2018: Text/Language: English 16:36:54.16 27/02/2018: Loading Language/Text 16:36:54.16 27/02/2018: Loading Addins 16:36:54.17 27/02/2018: Using Version 3 Themes Animations 16:36:54.17 27/02/2018: Retrieving resolution setting 16:36:54.19 27/02/2018: Using General Font: Agency FB 16:36:54.19 27/02/2018: Using Title Font: Impact 16:36:54.19 27/02/2018: GameEx will try to reduce CPU usage 16:36:54.25 27/02/2018: Initialising Direct3D 16:36:54.33 27/02/2018: Applying GameEx is Loading Image 16:36:54.36 27/02/2018: Setting Resolution to 2560x1440 32 bit color 16:36:54.37 27/02/2018: Creating Surfaces 16:36:54.47 27/02/2018: Creating Back Buffer 16:36:54.48 27/02/2018: Version 2 Theme being used. Loading. 16:36:54.48 27/02/2018: Loading Button Data 16:36:54.49 27/02/2018: Loading Font Data 16:36:54.49 27/02/2018: Loading Layout Data 16:36:54.50 27/02/2018: Loading Taskbar Data 16:36:54.50 27/02/2018: Loading graphic Surfaces 16:36:54.50 27/02/2018: Display is running at: 2560x1440 32bit color, 60hz 16:36:54.51 27/02/2018: Adapter: Intel(R) HD Graphics 630 16:36:54.51 27/02/2018: Max texture size: 8192x8192 16:36:54.51 27/02/2018: Available texture memory: -71MB 16:36:54.58 27/02/2018: Initialising Bass Audio Library 16:36:54.71 27/02/2018: Creating Surfaces Misc and Dialogs 16:36:54.78 27/02/2018: Creating Surfaces Volume 16:36:54.79 27/02/2018: Creating Surfaces Arrows 16:36:54.80 27/02/2018: Creating Surfaces GameEXlogo Text 16:36:54.80 27/02/2018: Creating Surfaces Toolbar 16:36:54.83 27/02/2018: Creating Surfaces Toolbar Controls 16:36:54.84 27/02/2018: Creating Surfaces Backgrounds 16:36:54.86 27/02/2018: Creating Surfaces GameEx Logo 16:36:54.86 27/02/2018: Creating Surface Unselected 16:36:54.87 27/02/2018: Creating Surfaces Snaps 16:36:54.87 27/02/2018: Creating Surfaces Menu and List Bars 16:36:55.04 27/02/2018: Creating Fonts 16:36:55.04 27/02/2018: Creating Game Font 16:36:55.37 27/02/2018: Creating Game Font Faded 16:36:55.87 27/02/2018: Creating Title Font 16:36:55.88 27/02/2018: Restoring Title Font From Cache 16:36:55.99 27/02/2018: Creating Font Black 16:36:56.11 27/02/2018: Creating Font Black Small 16:36:56.18 27/02/2018: Fonts Created Succesfully 16:36:56.54 27/02/2018: Initial Emulator Load 16:36:56.57 27/02/2018: Loading Custom Emulators 16:36:56.57 27/02/2018: Loading Emulator 1: Playstation 16:36:56.58 27/02/2018: Loading Emulator 2: Playstation 2 16:36:56.59 27/02/2018: Loading Emulator 3: Dreamcast 16:36:56.59 27/02/2018: Loading Emulator 4: Sega Saturn 16:36:56.60 27/02/2018: Loading Emulator 5: Nintendo 64 16:36:56.61 27/02/2018: Loading Emulator 6: Super Nintendo 16:36:56.61 27/02/2018: Loading Emulator 7: Nintendo Gamecube 16:36:56.62 27/02/2018: Loading Emulator 8: Nintendo Wii 16:36:56.62 27/02/2018: Loading Emulator 9: Nintendo WiiU 16:36:56.63 27/02/2018: Checking if Steam enabled 16:36:56.63 27/02/2018: Steam is installed correctly 16:36:56.64 27/02/2018: Found Steam Base Install Folder: c:/program files (x86)/steam 16:36:56.64 27/02/2018: Found Steam Base Install Folder: D:\\Steam 16:36:56.64 27/02/2018: Invalid or filtered path: 16:36:56.65 27/02/2018: Found Steam Game: Street Fighter V: Arcade Edition. AppID=310950. Location:C:\Program Files (x86)\Steam\steamapps\common\StreetFighterV 16:36:56.65 27/02/2018: Found Steam Game: Cmoar VR Cinema. AppID=527160. Location:C:\Program Files (x86)\Steam\steamapps\common\Cmoar VR Cinema 16:36:56.65 27/02/2018: Found Steam Game: DRAGON BALL FighterZ. AppID=678950. Location:C:\Program Files (x86)\Steam\steamapps\common\DRAGON BALL FighterZ 16:36:56.66 27/02/2018: Found Steam Game: Awesomenauts. AppID=204300. Location:D:\Steam\steamapps\common\Awesomenauts 16:36:56.66 27/02/2018: Found Steam Game: Sonic & All-Stars Racing Transformed. AppID=212480. Location:D:\Steam\steamapps\common\Sonic & All-Stars Racing Transformed 16:36:56.66 27/02/2018: Found Steam Game: THE KING OF FIGHTERS '98 ULTIMATE MATCH FINAL EDITION. AppID=222420. Location:D:\Steam\steamapps\common\The King of Fighters'98 Ultimate Match 16:36:56.67 27/02/2018: Found Steam Game: THE KING OF FIGHTERS 2002 UNLIMITED MATCH. AppID=222440. Location:D:\Steam\steamapps\common\The King of Fighters 2002 Unlimited Match 16:36:56.67 27/02/2018: Found Steam Game: THE KING OF FIGHTERS XIII STEAM EDITION. AppID=222940. Location:D:\Steam\steamapps\common\King of Fighters XIII 16:36:56.68 27/02/2018: Found Steam Game: Broforce. AppID=274190. Location:D:\Steam\steamapps\common\Broforce 16:36:56.68 27/02/2018: Found Steam Game: Invisigun Heroes. AppID=375750. Location:D:\Steam\steamapps\common\Invisigun Heroes 16:36:56.68 27/02/2018: Found Steam Game: TEKKEN 7. AppID=389730. Location:D:\Steam\steamapps\common\TEKKEN 7 16:36:56.69 27/02/2018: Found Steam Game: MELTY BLOOD Actress Again Current Code. AppID=411370. Location:D:\Steam\steamapps\common\MELTY BLOOD Actress Again Current Code 16:36:56.69 27/02/2018: Found Steam Game: GRID 2. AppID=44350. Location:D:\Steam\steamapps\common\grid 2 16:36:56.69 27/02/2018: Found Steam Game: Bot Vice. AppID=491040. Location:D:\Steam\steamapps\common\Bot Vice 16:36:56.70 27/02/2018: Found Steam Game: Killer Instinct. AppID=577940. Location:D:\Steam\steamapps\common\Killer Instinct 16:36:56.70 27/02/2018: Found Steam games. Steam enabled. 16:36:56.71 27/02/2018: Checking if Origin enabled 16:36:56.72 27/02/2018: Cannot find origin executable 16:36:56.73 27/02/2018: Checking if Uplay enabled 16:36:56.73 27/02/2018: Cannot find UPlay executable 16:36:56.81 27/02/2018: MAME CMD options: -nowindow -joy -skip_gameinfo 16:36:56.84 27/02/2018: Initialising DirectInput for Gamepad support 16:36:56.88 27/02/2018: Using Device Controller (Xbox One For Windows) 16:36:56.91 27/02/2018: Loading Start Page 16:36:56.96 27/02/2018: Initializing MCE Remote 16:36:56.97 27/02/2018: Playing intro sound file 16:36:57.99 27/02/2018: Initialization OK! Starting GameEx! 16:36:57.99 27/02/2018: Testing Main Loop Once: Processing Frame 16:36:58.14 27/02/2018: Testing Main Loop Once: Main Loop ran successfully 16:37:01.76 27/02/2018: Attempting to load game list 16:37:01.96 27/02/2018: Validating: Emulator_1: Video Snap Path: D:\Games\Images & Video\Console Collection 480p\Sony Playstation [Videos][MP4][480p][HyperList 1.0][EM 20121208] 16:37:01.96 27/02/2018: Validating: Emulator_2: Video Snap Path: D:\Games\Images & Video\Console Collection 480p\Sony Playstation 2 [Videos][MP4][480p][EM 20121120][WIP] 16:37:01.97 27/02/2018: Validating: Emulator_2: Database: [Console] Sony PlayStation 2 16:37:01.97 27/02/2018: Validating: Emulator_3: Video Snap Path: D:\Games\Images & Video\Console Collection 480p\Sega Dreamcast [Videos][MP4][480p][HyperList 1.5][EM 20121020] 16:37:01.97 27/02/2018: Validating: Emulator_3: Database: [Console] Sega Dreamcast 16:37:01.98 27/02/2018: Validating: Emulator_4: Video Snap Path: D:\Games\Images & Video\Console Collection 480p\Sega Saturn [Videos][MP4][480p][EM 20121228][Hyperlist 1.1] 16:37:01.98 27/02/2018: Validating: Emulator_4: Database: [Console] Sega Saturn 16:37:01.98 27/02/2018: Validating: Emulator_5: Video Snap Path: D:\Games\Images & Video\Console Collection 480p\Nintendo 64 [Videos][MP4][480p][HyperList 1.1][EM 20120904] 16:37:01.99 27/02/2018: Validating: Emulator_6: Video Snap Path: D:\Games\Images & Video\Console Collection 480p\Nintendo SNES [Videos][MP4][480p][HyperList 1.1][EM 20121211] 16:37:01.99 27/02/2018: Validating: Emulator_6: Database: [Console] Nintendo SNES 16:37:01.00 27/02/2018: Validating: Emulator_7: Video Snap Path: D:\Games\Images & Video\Console Collection 480p\Nintendo GameCube [Videos][MP4][480p][EM 20121230][WIP] 16:37:02.00 27/02/2018: Validating: Emulator_8: Video Snap Path: D:\Games\Images & Video\Console Collection 480p\Nintendo Wii [Videos][MP4][480p][EM 20120826][WIP] 16:37:02.01 27/02/2018: Validating: Emulator_8: Database: [Console] Nintendo Wii 16:37:02.20 27/02/2018: Restoring Emulator from Cache: 1 16:37:02.50 27/02/2018: Restoring Emulator from Cache: 2 16:37:02.55 27/02/2018: Restoring Emulator Database From Cache: 2 16:37:02.79 27/02/2018: Restoring Emulator from Cache: 3 16:37:02.82 27/02/2018: Restoring Emulator Database From Cache: 3 16:37:03.07 27/02/2018: Restoring Emulator from Cache: 4 16:37:03.11 27/02/2018: Restoring Emulator Database From Cache: 4 16:37:03.35 27/02/2018: Restoring Emulator from Cache: 5 16:37:03.62 27/02/2018: Restoring Emulator from Cache: 6 16:37:03.68 27/02/2018: Restoring Emulator Database From Cache: 6 16:37:04.68 27/02/2018: Restoring Emulator from Cache: 8 16:37:04.71 27/02/2018: Restoring Emulator Database From Cache: 8 16:37:04.93 27/02/2018: Restoring Emulator from Cache: 9 16:37:30.89 27/02/2018: Running: cmd.exe /c D: cemu.exe -f -g "D:\Games\ROMs\Nintendo WiiU\Mario Kart 8.lnk" 16:37:31.07 27/02/2018: Shutting down display 16:37:49.45 27/02/2018: Writing Stats 16:37:49.47 27/02/2018: Plugin: Game Exit 16:37:49.48 27/02/2018: Plugin: Process Commands 16:37:49.48 27/02/2018: Refreshing Keyboard 16:37:49.59 27/02/2018: Initialising Audio 16:37:50.42 27/02/2018: Restoring Window 16:37:50.44 27/02/2018: Reinitializing Graphics System 16:37:51.81 27/02/2018: Reloading Game Info Page 16:37:52.02 27/02/2018: Returning to GameEx 16:37:54.94 27/02/2018: Exiting GameEx! 16:37:54.97 27/02/2018: Closing HideOS.exe 16:38:45.26 27/02/2018: Disposing all videos 16:38:45.27 27/02/2018: Deleting temporary Karaoke videos 16:38:45.27 27/02/2018: Disposing Image List 16:38:45.28 27/02/2018: Disposing Fonts 16:38:45.28 27/02/2018: Disposing Surfaces 16:38:45.31 27/02/2018: Saving Settings 16:38:45.31 27/02/2018: Saving Settings 16:38:45.33 27/02/2018: Shutting down Bass 16:38:45.53 27/02/2018: Disposing Plugins 16:38:45.53 27/02/2018: Disposing Plugins 16:38:45.54 27/02/2018: Closing database connection 16:38:45.54 27/02/2018: Checking for applications to Launch On Exit 16:38:45.63 27/02/2018: Bye Link to comment Share on other sites More sharing options...
stigzler Posted February 27, 2018 Share Posted February 27, 2018 Hmmm.. this is ringing some bells. Think I had this when authoring TypeXtra and if I recall, it has something to do with .lnk not resolving to the full path name via command line. Let me look into it briefly. Link to comment Share on other sites More sharing options...
stigzler Posted February 27, 2018 Share Posted February 27, 2018 Hmmmm... tougher than I thought. Found one workaround, though. You can rename your .rpx files to the game name. Then setup thus: Long scan though, potentially and guess less than ideal renaming roms. I'll look into this some more.. Link to comment Share on other sites More sharing options...
massop Posted February 27, 2018 Author Share Posted February 27, 2018 Thanks for looking into this , I will use your workaround and see how it goes, the issue with this though is if my library grows but at least its a working solution which is better than what i found. Thanks Link to comment Share on other sites More sharing options...
stigzler Posted February 27, 2018 Share Posted February 27, 2018 Hold fire. Knocking together a down and dirty batch for you. gimme 10. Link to comment Share on other sites More sharing options...
stigzler Posted February 27, 2018 Share Posted February 27, 2018 Here you go, fella. It's as rough as Donald Trump's ethics, but does the job. Put this file wherever you want: WiiULauncher.bat Then setup GE thusly: ROM Path being where all your shortcuts are kept. Command Line being: "{your WiiULauncher.bat file}" "{The Cemu exe file}" "{exactly as typed}" Should do the trick. Damn, I'd forgotten how icky batch is! Link to comment Share on other sites More sharing options...
RedDog Posted February 27, 2018 Share Posted February 27, 2018 If you don't mind some renaming in the rom folder, this setup should work without .lnk files: Rom Path: C:\roms\wiiu Command Line: Cemu.exe -g -f "[ROMPATH]\[ROMFILE]" Then, change the name of the .rpx file to match the game folder inside the wiiu folder. For example, for C:\roms\wiiu\mario 3d world\code\mario.rpx, rename mario.rpx to mario 3d world.rpx. You will also need to set Scan Sub Folders to Yes in the Advanced Emulator Setup. This worked for me and changing the names of the file and folder did not appear to break anything. I did only test with one game though. Link to comment Share on other sites More sharing options...
massop Posted February 28, 2018 Author Share Posted February 28, 2018 Thanks guys both solutions work for me. @RedDog the Stig did show me this method originally and it does work but the issue with that method is when you have 50+ games (I dont yet but emulation is so good I am considering it) it will be a chore t rename everything. Thanks again 1 Link to comment Share on other sites More sharing options...
stigzler Posted February 28, 2018 Share Posted February 28, 2018 lol @ "the Stig" Glad it worked. Link to comment Share on other sites More sharing options...
Recommended Posts