-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emulation #103
Comments
Right now it's possible to add custom game with
|
You could use libretro for this, use it as a source. Then the user could select which "Core" to use (A core is a game emulator, like snes9x or dolphin) and select the rom. What do you think?? |
RetroArch is now supported as a compatibility layer. Add game ROM as a custom game, force compatibility mode in its properties and select RetroArch as a compatibility layer. Then select appropriate core and run. I plan to add other (not RetroArch) emulator support, emulated games source and possibly recursive game scan. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
f5b3ad0 adds emulated games import. GameHub parses RetroArch cores info for supported file extensions and scans directory with |
Images and icon patterns for custom emulators Added button to download all missing images for games Added data providers page to settings
I was looking to find a way to filter my console game (emulated) from the rest of the games without needing to use tags, so, here my idea: By creating a new platform filter: Linux, Windows, Mac and Emulators. In this idea, everything that uses retroarch or custom emulator would receive the "Emulator" platform and loses the "Linux" platform. Not sure if it's the best approach but at least it would be possible to filter the console games and also technically it's not native from Linux/Windows/Mac would make sense to not display as native from these platforms. |
I have added |
Awesome, working perfectly here |
Everything works perfectly! Only thing I've noticed is that Retroarch does not have a custom pattern option (at least, that I could find). As a result, .zip and .7z (among some other formats) are not picked up. So far these are the only two formats that are missing from my library, I'll keep you updated if I find more. I'm not sure if the solution is just to add these missing extensions as found or to let the user have total control over which extensions are searched for. I should mention that when it comes to file extraction, Retroarch already takes care of this on its own - there's no need to extract using GameHub and pass the result in - Retroarch can easily take in a zip (or in some (core-specific?) cases, 7z) and load only the appropriate file for its core. |
@CorporalQuesadilla currently some cores and file extensions are ignored to not spam imported games list with possibly unrelated files: GameHub/src/ui/dialogs/ImportEmulatedGamesDialog.vala Lines 36 to 37 in 480c20f
Maybe it should be configurable. |
That's fair, I can definitely see the benefits of having a blacklist, especially for .bin, which causes a lot of issues for users who should be using .cue in the first place. I think Genesis/MD sometimes use .bin for some ROMs, but overall the No-Intro standard is .md. Virtual Boy and DS also use .bin sometimes. Still, bin is more likely to cause issues than not. I've also noticed that PSX cores do accept .exe - an unlikely circumstance, though. I think that most Dosbox users would likely be using a standalone build instead of the libretro core, and agree that including exe by default would likely cause more clutter. If we're going with the blacklist approach, perhaps there could be checkboxes for each so the user becomes aware of which extensions are ignored. If we're going with a whitelist approach, I think all extensions should appear in a comma separated textbox, alongside a list of defaults (or a reset to default button). Personally, I prefer the whitelist approach, as a complete blacklist would be rather difficult, and somewhat less useful since Linux users often have tons of files without extensions at all while ROMs are almost always packaged with some form of semi-unique extension. For reference, here are the extensions recognized by most major cores: There may be a few duplicates, but I went through every core and manually typed only the ones I felt worth including. No idea if it's any use to you, but I've been meaning to do this for my own personal projects anways. I did choose to leave out any archive formats (mostly zip and 7z) as well as anything associated with dosbox or otherwise super common formats. |
Now blacklists are configurable in Settings/Emulators/RetroArch. Both lists should be separated by |
@hlechner yes, DOSBox is displayed as compatibility layer if there is |
I was running the games directly calling the dosbox without a Maybe would be a good idea to document it then? I can create a wiki page if you want. Based on Arch Linux Wiki to create a file you need to run the command (inside the DOSBox): And then you can manually edit the dosbox.conf to launch the game by adding the lines to execute the game on
|
I've just found GameHub today and tried to import a Cemu game. I have set up Cemu as a custom emulator but when I go to import the game (Breath of the Wild) it fails to find the game. My folder structure is (Emulation/Games/Nintendo - WiiU/DECRYPTED/The Legend of Zelda Breath of the Wild [ALZE0101]/code/U-King.rpx) but no matter what folder I point GameHub to it just doesn't find the game at all. Also when try to add the rpx file directly it is greyed out and not selectable. So how would I go about importing exactly? |
@Sixdd6 Have you configured Cemu as a custom emulator? To do this:
After you've configured an emulator, click |
After checking through your instructions, yes the emulator is set up just fine. The problem is that GameHub does not detect the game properly, I click the + button and browse to where the .rpx file is at but the game is not detected. I have already tried running the game through Cemu through Wine and it works fine, GameHub simply does not detect the game. |
I found the problem, the values for executable and images were autofilled but not actually filled, they were slightly grey. Maybe a proper autofill for those values would be good since they disappear as soon as you click to input the exact same thing anyway. |
When importing a few billion roms Gamehub seems to hang, as there is no indication that GameHub is importing anything. would be way more user friendly if there is any indication that GameHub is importing/working, since the current behaviour it looks a lot like nothing is happening and that GH has crashed |
Download only mode (tkashkin#107) Former-commit-id: 4150ba2
Former-commit-id: f5b3ad0
Former-commit-id: 843d4d2
Images and icon patterns for custom emulators Added button to download all missing images for games Added data providers page to settings Former-commit-id: e4486e7
Improved image scaling Fix images downloader popup being cut off in some cases (tkashkin#249) Former-commit-id: 1543581
…ns (tkashkin#103) Former-commit-id: 2729433
Could you add support for emulators?
The text was updated successfully, but these errors were encountered: