Giter VIP home page Giter VIP logo

dosbox-pure's Introduction

Hi there ๐Ÿ‘‹

Welcome to my GitHub profile! These are some of the projects I have published here:

You can also find me on ๐Ÿ˜ Mastodon or ๐Ÿฆ Twitter

dosbox-pure's People

Contributors

abouvier avatar inactive123 avatar jdgleaver avatar john-parton avatar m4xw avatar marblemunkey avatar realnc avatar schellingb avatar swordfish90 avatar torinde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dosbox-pure's Issues

Failed to Open libretro Core

I am getting a "Failed to open libretro core, when trying to run any DOS zip game?

I have tried the 64bit DLL with RetraArch 64bit in Windows and tried 32bit DLL with Retroarch 32Bit in Windows.

Both give the same error when tryingto launch a Zip game
1

Request: 7zip archive support

Hello!

It'd be great if DOSBox Pure would support 7z archives (as well as loading games from them on-the-fly, just like zip files do) due to the superior compression ratios with LZMA2 compared to zip archives.

With that said, thanks for your hard work! I've been using DOSBox Pure extensively for the last few days and it works really well so far - stellar release! Features like loading games from archives, save states, and fast forward which 95% of the other forks ignore are absolute game changers, so really, thanks again!

Slight Drift With Onscreen Keyboard

I am experiencing a slight drift when using the onscreen keyboard. No other issues with drifting.

Version: 0.2
Gamepad: Xbox One
RetroArch: 1.9.0

Enhancement - allow binding of full keyboard with Keyboard+Right Mouse

Hi,
I'm trying to configure Elder Scrolls - Daggerfall on RG351P. The best device type seems to be Mouse with Right, but this has a very restricted list of keyboard keys that can be assigned. Mouse-look works well on the right analog, and swinging the weapon (R1 + right analog), but left / right slide (strafe) isn't possible because Right Shift cannot be bound to Right, and similarly Jump / Crouch / Cast Spell / Abort Spell cannot be assigned to B, X, R2, L2 respectively. Is it possible to enhance so that any keyboard key can be assigned to a button, which is possible in Custom Keyboard, but that doesn't provide the mouse support, which is important for this game.
DosBox SVN provides the key and mouse customisation, but the game doesn't seem to load with that core.
Many thanks.

Keyboard double input (Issue)

I've tried 3 games so far, the first one being Duke Nukem 3D, in the pop up menu, pressing up or down makes the cursor scroll two times, so I can't select "uneven" options, the same happened in Blood, Alien Rampage ran fine, no issues in the arrow keys.
Ingame on Duke Nukem 3D, pressing up, it also pressed the map button which is Tab, so I figure there's some issues regarding input that need to be checked.
I couldn't get Blood to start since Blood.exe couldn't be selected due to the doubled input issue.

Can't enable MPU-401

In standalone DosBox there is an audio option to enable "MPU-401". This uses General midi and it sounds great. In DosBox Pure i can't find anything related to this. If i choose general midi in game options i hear nothing, unless i have a soundfont in my system folder. These soundfonts, however, never sound as good as games do in my old DosBox setup (that use the MPU-401 option).

Is there any way to enable this option?

Request: CHD format support for disc images

Hey again,

related to the 7z request, it'd be great if disc images for games that do have them the CHD format would be supported.

I'm sure CHD is well known as it's supported by many RetroArch cores already. Just in case here's some info:

CHD stands for "Compressed Hunk of Data" and is a format for storing disk images, developed by the MAME team.

libchdr from @rtissera provides a sample library:
https://github.com/rtissera/libchdr

Some of the benefits of the CHD format:

  • Lossless compression
  • Better compression than bin/cue/iso/etc.
  • Streamable format, doesn't need to decompressed, just play
  • Its very easy to convert entire folders of disc images with some batch file magic
  • Single file for every disc
  • Supports redbook audio in FLAC compression
  • Non-destructive, images can be easily reverted to their original format
  • It's becoming the defacto standard for libretro cores with support for MAME, Saturn, PCEngine/RurboGrafx, SegaCD/MegaCD, PS1 and Dreamcast cores

Thanks!

Some keyboard keys register with additional keys

Describe the bug
W registers as W+2
S registers as S+SPACE
Q registers as Q+1
A registers as A+SHIFT
[ registers as [+SPACE
] registers as ]+SPACE

It happens in all games, but it works as expected during the setup for all of them (Doom, Duke, Descent). I don't have any issue in doxbox CLI as well.
So when I hit W key my character switches to a pistol during walking, Or he jumps during walking backward when I hit S.
My control is configured to "Generic Keyboard" and I have RetroArch hotkeys configured through Alt. So I don't think keys overlapping with RetroArch is the case (like space enables rewind)
Also I've disabled any gamapad detection just in case.

To Reproduce
Play any gave with the keyboard.
Also I found that the easiest way to check the keys is X-COM. As you have to type security code at the beginning of the game.

Expected behaviour
W should registers as W in games (and not W + 2)
S should registers as S (and not S + SPACE)

Environment (please complete the following information):

  • Windows 10 2009

Version of dosbox-pure:
version 0.4

Configuration parameters:

Additional context

Is it technically possible to Netplay a DOS game which doesn't support multiplayer?

Hi all! Sorry in advance if this is a dumb question. Is it possible to play a DOS game over network even if it doesn't have a network multiplayer option?

For example Arcade Volleyball is a 2 player game (fantastic game btw ๐Ÿ˜„), but there is no other option than playing on the same machine with keyboard/mouse.

I see there are some efforts like https://yang-online.com/ but I'd love to be able to play them in RA with Netplay.

Experiment 1: I played a SNES game (Contra III) with snes9x core on my local network with 2 machines.

Result 1: Netplay works, games are fast, there is no lag.

Experiment 2: With same machines, same RA versions and DosBox Pure 0.4:

  1. I loaded Arcade Volleyball on host and enabled Netplay.
  2. Other machine is connected over LAN (I see it after "Refresh Netplay Host List") Note: I had to enable DMZ setting for host machine on my router.
  3. It warns me to load the content manually on client machine.
  4. I load the game from my DOS playlist and I see the notification saying host-client connected.

Result 2: There is no sync in video/keyboard whatsoever. I feel a bit lag. Both games are working separately and slow.

Note: I tried the same with DosBox SVN core and the result is same.

Maybe there is a technical limitation here, I just wonder possibilites. I could help by providing more experiments. I'm also a JS developer with weak C background, I could also try to help on coding in C/C++/Objective C if you can give me some assistance. Thanks for reading so far ๐Ÿ˜….

Save state hotkey doesn't work

I compiled the DOSBox Pure from the latest main branch on my Raspberry Pi 4, running the latest RetroPie on Raspbian. Everything works great except that this is the only core that somehow doesn't honor the save game shortcut (Select + Right Shoulder). All other cores I'm using are working correctly. Loading shortcut (Select + Left Shoulder) also works fine.

I also wanted to express my warm feelings towards your contribution. Playing DOS games is finally very convenient, accessible, super easy and the integration with RetroArch unlocks awesome features! Thank you from my heart! I looked at what you did and I'm speechless. What you've done is not just coding. It's art!

Request: default executable file within game.zip?

Would it be possible to search for a default file on load that specifies the game executable?
e.g. Game.zip contains:
a.exe
b.bat
c.cmd
where b.bat is the executable that actually starts the game
We could add a text file called default_executable.txt to the root of the zip file which has one line e.g. : "c:\path\b.bat"
(if default-executable.txt is not found then proceed as currently)
This way the default can be packaged in the game zip, rather than in a seperate save file
Not a big issue but nice to have

[Reques] Option to disable/enable touchscreen emulated mouse in Android to avoid double input press when using retropad.

Hi! Amazing job on the core, seems super promising!

As the title says, an option to disable touchscreen mouse input in Android would be ideal. As it is now, when using a gamepad overlay to press, for example, up, also registers as a mouse click or movement, which makes almost impossible to play some games with double input per button press, even moving down at the boot screen to get to the exe to start a game was a chore with all the previous options getting clicked before getting there.

With an option to disable it, one could just emulate mouse with the analog stick (virtual), option which already exits in the controller bindings, without a second input in the way plus the benefit of binding more keys to other joystick buttons.

Controller jumps 2 lines in start menu

Steps to Reproduce:

  1. Start RA with DOSBox Pure core in Linux Mint or Windows 10
  2. Run any DOS game with more than 1 executable in its folder using the Pure core
  3. Attempt to navigate start menu

Current Results:
When navigating the DOSBox Pure start menu using a controller, the cursor jumps 2 lines at a time when pressing up or down on the D-Pad or left analog stick.

Expected Results:
The cursor (line highlight) should only jump one line at a time.

Workaround:
This issue doesn't seem to occur when using the keyboard arrow keys.

Notes:

  • This issue was encountered using the PDP Afterglow wired Xbox 360 controller.
  • Issue occurs regardless of whether Game Focus mode is on or off.
  • Repro Rate isn't consistent, sometimes it will work properly. Not sure exactly how to reproduce this issue reliably.
  • In Linux, it seems possible to reproduce the correct behaviour by activating Game Focus and using the left analog stick (not d-pad) to navigate.
  • Seems to occur more severely on Windows.

After Burner II crashes RetroArch

When i load this game with version 0.3 of the core RetroArch crashes.

It loads with an older, regular DOSBOX core.

I'm using roms from the {REDACTED} (Admin: removed reference to piracy).

Willing to help create OS X build

While I am not a programmer, I am very good at following directions and compiling things. Would be nice to have an OS X build.

What would I need to do to help?

Major slowdown in Alone in the Dark games.

When loading up Alone in the Dark games (using {REDACTED} (Admin: removed reference to piracy)) the speed of the game is incredibly slow. I've been able to speed these up by adjusting the "Emulated performance" option in core options (I'm using RetroArch, not sure if that's a given or not) A user at libretro forums advised I post that here though.

Cannot mount GOG game.ins files

I'm on an Ubuntu 20.10-based operating system and I cannot mount GOG game.ins files within dosbox-pure.

A game.ins file is equivalent to a .cue file, but makes some assumptions that can cause problems for non-windows dosbox users under certain circumstances (such as not using GOG's provided version of Dosbox).

I believe this is related to an issue that existed in both dosbox-staging and boxtron

Link to dosbox-staging issue: dosbox-staging/dosbox-staging#349

EDIT: DosBox Staging fix can be found in this PR: dosbox-staging/dosbox-staging#674

Ghostbusters II unrelentingly requesting disk 2

When loading up Ghostbusters 2 ({REDACTED} (Admin: removed reference to piracy)) after the intro-sequence the game requests disk 2.
This happens regardless of the executable chosen, and also happens after running the install executable.
This is happening with the RetroArch implementation, but (as with my other post) I was advised to post that here.

(As a side note, It's entirely possible I'm doing something wrong with this game but I can find next to 0 documentation on this error in other DOSBox builds aside from 2 forum posts on ghostbusters related sites that mention they have the issue - but with no resolution posted)

Maybe make GCC9 an ifdef?

I spent 20 minutes compiling gcc9 on AArch64 only for it to fail and then realized DOSBox-Pure works with GCC 10.

Possibly just make GCC9 apply only if arch is armv7?

Vsync support?

I noticed a lot of games have screen tearing. I'm aware this is a DOS thing but IIRC there were some DosBox versions that did eliminate this issue. Could something similar be implemented in Pure?

[Enhancement/Suggestion] I made a readme to include in Libretro Docs

Hey @schellingb, I drafted a readme file for DOSBox Pure that could be included in Libretro Docs.

https://github.com/mrmatteastwood/docs/blob/master/docs/library/dosbox-pure.md

It is based on the existing DOSBox documentation and it's really just a first draft, I included everything from your readme, made some changes and additions, and left a few chunks of the original DOSBox document from the Libretro Docs in there because I don't know if they still apply or what should be changed about them.

I annotated the whole thing (look for the red squares) and I'm sure I got a bunch of stuff wrong, but it's a start and I'd be curious what you think. If you like this approach, I'll be more than happy to keep working on this documentation until we can finally submit it to the Libretro team, I'll just need your input because there's a bunch here that I simply don't know or understand.

Also, I'm a real GitHub n00b. I was able to make a fork of https://docs.libretro.com/ and then create that new .md file (dosbox-pure.md), but I'm not sure I'm doing everything right. Anyway, for now it looks like it works. Of course I'll be happy to give you access, just need to figure out how.

Disc Control always reads first disc

I have some games that use multiple images to install a game. I loaded the images into the Disc Control menu, as one would expect, selected disc 2, and closed the menu... only to be told that the wrong disc was inserted. After closing the installer, I found myself able to reopen it - even though it should only work if disc 1 is inserted, which it shouldn't be, since I've selected disc 2.
This is a rambly way to say, I don't think the disc control is working properly, or if it is, I have no idea how it's supposed to be used.

No sound in Deathtrack?

Am I doing something wrong? I can get PC speaker sound in "Space Quest I" (EGA), and MIDI sound via a soundfont with "Doom", but I can't get standard Soundblaster/Adlib sound when playing Deathtrack.

Files from a floppy image. They work fine with "normal" dosbox on my PC, but on the same PC, the same files (zipped or unzipped) don't produce sound in Retroarch.

Android support?

Hello, is this core a PC exclusive or are you planning support for more platforms later, such as Android? Thanks.

Time Commando not working

I got this game working on the normal Dosbox core and it was a little trickier to get the .conf file ready for that, but in Dosbox pure, it won't mount the cue/bin/iso file at all. So, trying to start via the exe will just prompt for the mounted CD.

Content keeps running when RA menu is open

Hey, @schellingb, I noticed that games keep running in the background when I open the RetroArch menu, even though the following options are set to ON in RA:

  • User Interface > Pause Content When Menu Is Active
  • User Interface > Pause Content When Not Active

I encountered this issue on Linux Mint. No other cores (that I have installed) are affected. For instance, when running a Super Nintento Game in Snes9x - Current, or a PS game in Beetle PSX, they pause when I open the RA menu.

Also, this issue does not occur on Windows 10, where DOS games running in DOSBox Pure do pause when the RA menu is active.

I tried deleting retroarch.cfg and re-configuring RA from scratch, but the issue still occurs. Really odd, not sure what else to try.

Save State Freeze Game "The Secret Agent"

I have issue from save state.
When i make save state that crash my game is ok but if you close and reopen the game and you restore save state the game freeze.

i have also change 16mb to 64mb but only work when game is open when you close game save state freeze the game "The Secret Agent"
log : es_launch_stderr.log

On-Screen keyboard no longer works when using custom keybindings

Steps to Reproduce:

  1. Start RA with DOSBox Pure core in Linux Mint or Windows 10
  2. Run any DOS game using the Pure core
  3. In Quick Menu > Controls > Port 1 Controls, select "Custom Keyboard Bindings" and create a custom key mapping profile
  4. In-game, press down left thumb to bring up on-screen keyboard

Expected Results
The on-screen keyboard overlay should appear when pressing down the left thumb in-game, even when a custom key binding profile is set.

Current Results
The on-screen keyboard does appear when pressing down the left thumb stick while using key mapping profiles like the automatically detected key mappings, generic key mappings & co., but not when using a custom key mapping profile.

Notes

  • Issue first encountered in DOSBox Pure version 0.3.
  • This might be related to the fix implemented for issue #14, "Controller jumps 2 lines in start menu" (#14)
  • I noticed that more button mapping options are available when selecting e.g. Generic Keyboard Bindings than in Custom Bindings. For instance, in "Generic", one can map keys to the left and right trigger axes, which is not possible in Custom.

ems driver

some games requires to disable ems driver.
would be cool if this option is added.
in dosbox you can type in command line
ems=false
and then start the game
it can be in a batch file too.
in dosboxpure,this give an error.

full throttle slows down

Hello,I was testing some graphical adventures in this fantastic core and I have noticed that Full Throttle is slowing down even changing the options of cycles, cpu, etc.

Gamename.save.zip not compatible with EmulationStation gameslist

Can you please change the save name removing .zip?
In Emulationstation if I use .zip .ZIP as file extension for DosBox games I still see the save files in the games list.

Maybe a good naming may be gamename.save without the .zip, or maybe if you want to keep it recognizable as archives maybe .tar?

Run-Ahead support?

Does this support Run-Ahead now, or will it support Run-Ahead in the future?

Add games to playlist?

I'm trying to add games to the playlist. Even if performing Scan File or Scan Directory, the games are added to the list, but without executables inside. If I load the core and then load the content, the game works normally.

Zip file with Mortal Kombat
mk-dos

Game added with Scan File option
MK-201228-170015

Game loaded from Load Content menu
Mortal Kombat (1993)(Acclaim Entertainment, Inc )  Action -201228-170415

Thanks for your great work with this core!

EDIT: changed 'manual scan' to 'scan file'

Unable to parse zip files of greater than 2 GB

Multi-CD games which are in a single .zip file can't be loaded if the zip file is over 2 GB. Was able to test by removing cd images from the zip files and reloading, which causes the data to be seen. I know it doesn't affect a lot of games but there are definitely games in the CD era with many cds.

Wing Commander 3 as a test, before removing a CD image:
image

Wing Commander 3 as a test, after removing a CD image:
image

DOSBox Pure on Retropie - won't read core.

Hey everyone! I seem to be having an issue trying DOSBox Pure on Retropie (with my Raspberry Pi 400). I've dumped the .so and .info files into the RetroArch core file, but I can't seem to actually access DOSBox Pure through Retropie, just regular DOSBox. Am I supposed to be able to access it from Retropie as I would regular DOSBox? What might I be doing wrong? Sorry for the possibly simple question, but I appreciate any help I can get.

-comchia

Map Controllers

There is a way to insert a .map file into the game's .zip, as some automatic settings are buggy or not ideal.
Mortal Kombat Trilogy for example, does not map the block button.

Skipping Files when Scrolling at the Start

I have found when I try and load a File from a Zip File when I scroll goes to every 2nd File and not 1 at a Time.

So that means I can't get to some files I need to get to Play the Game.

No MT32 support

Another feature that would be nice to have from the main core. Thanks in advance. If I'm just overlooking this somehow, feel free to close, but I can't find it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.