Comments (10)
I recently revisited this issue. I tried to use some SCUMMVM games with the custom emulator feature. It's promising, but it won't work as expected with SCUMMVM since it requires to change the directory to the game directory, for every game. The custom emulator feature does not allow that (or at least, I don't know how to do it without creating a custom script).
Moreover, maybe could be a good idea to remove the Dosbox/Wine/Proton code and re-add them as custom emulators.
from gamehub.
it requires to change the directory to the game directory, for every game. The custom emulator feature does not allow that
Yes, it currently uses install_dir
of Emulator
as a working directory.
Possible solutions:
- Use
install_dir
ofGame
- Provide option to choose which directory to use (game or emu)
First solution can possibly break emulators if they require to be launched from their directory.
Second solution may be a bit harder (or may not). What should be default for that option if second will be implemented?
Moreover, maybe could be a good idea to remove the Dosbox/Wine/Proton code and re-add them as custom emulators.
No. CompatTools
and Emulators
are different things and work differently.
Also Emulators
can depend on CompatTools
itself.
from gamehub.
Provide option to choose which directory to use (game or emu)
I think that's the best option. The default could be the install_dir
of Emulator
. I believe this is the most common configuration for Emulators
.
No. CompatTools and Emulators are different things and work differently.
Also Emulators can depend on CompatTools itself.
Fair enough. So, do you think that SCUMMVM should be a CompatTool
or an Emulator
?
from gamehub.
So, do you think that SCUMMVM should be a CompatTool or an Emulator?
I don't know. ScummVM uses *.ini
for configs, it's a bit harder to detect than dosbox_*.conf
for DOSBox. Also I don't think that ScummVM is as popular as DOSBox.
User can add it as a custom emulator if needed.
from gamehub.
Provide option to choose which directory to use (game or emu)
Added as a compat option for CustomEmulator
tool
Options list now shows translatable option description
for options instead of name
(name
is shown in tooltip instead). I don't know if it's better than it was before.
from gamehub.
I don't know. ScummVM uses .ini for configs, it's a bit harder to detect than dosbox_.conf for DOSBox.
Using scummvm --auto-detect
in the game directory works 99% of the time. Time to test it!
from gamehub.
Works great!. My last suggestion is to include the scummvm
custom emulator if GameHub detects scummvm
in the PATH. If you don't want to implement this feature, just close this issue.
from gamehub.
How does scummvm --auto-detect
work? Does it just launch game if detected? Is there a way to use that autodetection but without launching game?
from gamehub.
Does it just launch game if detected?
Yes.
Is there a way to use that autodetection but without launching game?
Use --detect
to show games in the current directory. Some examples:
$ scummvm --detect
ID Description Full Path
-------------- ---------------------------------------------------------- ---------------------------------------------------------
zak Zak McKracken and the Alien Mindbenders (FM-TOWNS/English) /home/g/Games/GOG/Zak_McKracken_and_the_Alien_Mindbenders
$ scummvm --detect
ID Description Full Path
-------------- ---------------------------------------------------------- ---------------------------------------------------------
kyra2 The Legend of Kyrandia: The Hand of Fate (CD/DOS/English) /home/g/Games/GOG/The_Legend_of_Kyrandia_Hand_of_Fate_Book_Two
kyra2 The Legend of Kyrandia: The Hand of Fate (CD/DOS/German) /home/g/Games/GOG/The_Legend_of_Kyrandia_Hand_of_Fate_Book_Two
kyra2 The Legend of Kyrandia: The Hand of Fate (CD/DOS/French) /home/g/Games/GOG/The_Legend_of_Kyrandia_Hand_of_Fate_Book_Two
$ scummvm --detect
WARNING: ScummVM could not find any game in /tmp
WARNING: Consider using --path=<path> *before* --add or --detect to specify a directory
WARNING: Consider using --recursive *before* --add or --detect to search inside subdirectories
from gamehub.
187c708 🎉
It works great! I will test with a few games and close this issue.
from gamehub.
Related Issues (20)
- [Feature Request] User Categories for GOG games
- Automatic update for game HOT 2
- Dosbox config file ignored HOT 2
- Won't detect ROMs HOT 1
- Can't log into Humble Bundle or itch.io accounts HOT 5
- "Open installation directory" opens VS Code instead of Dolphin HOT 3
- Add GameHub to Flathub HOT 1
- Proton compatibility layer suddenly missing on non-Steam games HOT 15
- when choose "skip" at the main menu , then the gamehub crashes everytime HOT 1
- GOG bonus content not downloaded to the correct directory
- Interface stutters on main window scroll HOT 3
- Can't Download or install Games from GOG HOT 4
- Crash just on launching AppImage "Master" version
- Itch.io games lose vertical images, don't load in correctly
- AppImage crash
- QT frontend for kde plasma? HOT 2
- Games Crash If they Are Installed On Another Partition
- Immediate crash when downloading/installing HOT 4
- Please stop using webkit2gtk 4.0
- Authentication links don't work when built without webkitgtk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gamehub.