giongto35 / cloud-game

Web-based Cloud Gaming service for Retro Game
https://www.youtube.com/watch?v=GUBrJGAxZZg
Apache License 2.0
2.24k stars 343 forks source link

How to play win95 and win98 games #457

Open zslliu opened 1 month ago

zslliu commented 1 month ago

I successfully installed dosbox_pure_libretro.so as a new core and added a win95.img,but I couldn’t find "Run Installed operating system" option. The win95.img is not work.

sergystepanov commented 1 month ago

It's not supported yet, as well as proper DosBox integration. DosBox for DOS games with keyboard and mouse can be tested in the https://github.com/giongto35/cloud-game/pull/436 branch, and in order to support Windows layer it should have Virtual Filesystem implementation, which I'll try add this summer.

guozanhua218 commented 1 month ago

It's not supported yet, as well as proper DosBox integration. DosBox for DOS games with keyboard and mouse can be tested in the #436 branch, and in order to support Windows layer it should have Virtual Filesystem implementation, which I'll try add this summer. Could it support virtual keyboard and virtual mouse features which support by retro on mobile?

guozanhua218 commented 1 month ago

It's not supported yet, as well as proper DosBox integration. DosBox for DOS games with keyboard and mouse can be tested in the #436 branch, and in order to support Windows layer it should have Virtual Filesystem implementation, which I'll try add this summer. Could it support virtual keyboard and virtual mouse features which support by retro on mobile? If run on PC platform, could it supports native mouse and keyboard events?

sergystepanov commented 1 month ago

Could it support virtual keyboard and virtual mouse features which support by retro on mobile?

DosBox has built-in virtual keyboard and mouse emulation. In cloudretro mouse emulation will work, if you toggle the switch under the options button, and on-screen keyboard toggled by some of the L2-R3 buttons (I don't remember which one). (and yes, L2, R2, L3, R3 buttons on the mobile can be pressed only with the system keyboard)

If run on PC platform, could it supports native mouse and keyboard events?

Of course. In that branch, if you want to try, a real keyboard and mouse will work in full-screen mode. And when I finish, there will be a normal switch between the keyboard/mouse and the default Retropad on mobile and desktop.

guozanhua218 commented 1 month ago

Of course. In that branch, if you want to try, a real keyboard and mouse will work in full-screen mode. And when I finish, there will be a normal switch between the keyboard/mouse and the default Retropad on mobile and desktop. When will submit the fix version?

sergystepanov commented 1 month ago

The first part with just DOS games -- soon, Windows stuff -- no idea.

zslliu commented 2 weeks ago

It's not supported yet, as well as proper DosBox integration. DosBox for DOS games with keyboard and mouse can be tested in the #436 branch, and in order to support Windows layer it should have Virtual Filesystem implementation, which I'll try add this summer.尚不支持它,也不支持正确的 DosBox 集成。用于带有键盘和鼠标的 DOS 游戏的 DosBox 可以在 #436 分支中进行测试,并且为了支持 Windows 层,它应该具有虚拟文件系统实现,我将在今年夏天尝试添加它。 Could it support virtual keyboard and virtual mouse features which support by retro on mobile? 它可以支持手机上retro支持的虚拟键盘和虚拟鼠标功能吗?

Where should I start if trying to add a virtual file system implementation

sergystepanov commented 2 weeks ago

Look here. The API description should be in libretro.h, and your implementation should be in nanoarch.c / naoarch.go. DosBox source should be here https://github.com/schellingb/dosbox-pure/blob/main/dosbox_pure_libretro.cpp. But first try to run Windows image, idk, maybe it will work without the VFS.