diff --git a/assets/games/dos/rogue.conf b/assets/games/dos/rogue.conf new file mode 100644 index 000000000..015eb847b --- /dev/null +++ b/assets/games/dos/rogue.conf @@ -0,0 +1,2 @@ +[autoexec] +ROGUE.EXE \ No newline at end of file diff --git a/assets/games/dos/rogue.zip b/assets/games/dos/rogue.zip new file mode 100644 index 000000000..53129bd8a Binary files /dev/null and b/assets/games/dos/rogue.zip differ diff --git a/pkg/config/config.yaml b/pkg/config/config.yaml index 31fe7b764..1f73955a0 100644 --- a/pkg/config/config.yaml +++ b/pkg/config/config.yaml @@ -228,6 +228,7 @@ emulator: # https://docs.libretro.com/library/fbneo/ mame: lib: fbneo_libretro + folder: mame roms: [ "zip" ] nes: lib: nestopia_libretro @@ -265,6 +266,19 @@ emulator: "mupen64plus-rdp-plugin": gliden64 "mupen64plus-rsp-plugin": hle "mupen64plus-astick-sensitivity": 100 + dos: + lib: dosbox_pure_libretro + roms: [ "zip", "cue" ] + folder: dos + kbMouseSupport: true + hid: + 0: [ 257, 513 ] + 1: [ 257, 513 ] + 2: [ 257, 513 ] + 3: [ 257, 513 ] + options: + "dosbox_pure_conf": "outside" + "dosbox_pure_force60fps": "true" encoder: audio: diff --git a/pkg/worker/room/room_test.go b/pkg/worker/room/room_test.go index 2be732d5a..9470d7ccd 100644 --- a/pkg/worker/room/room_test.go +++ b/pkg/worker/room/room_test.go @@ -98,6 +98,7 @@ var ( alwas = games.GameMetadata{Name: "Alwa's Awakening (Demo)", Type: "nes", Path: "Alwa's Awakening (Demo).nes", System: "nes"} sushi = games.GameMetadata{Name: "Sushi The Cat", Type: "gba", Path: "Sushi The Cat.gba", System: "gba"} fd = games.GameMetadata{Name: "Florian Demo", Type: "n64", Path: "Sample Demo by Florian (PD).z64", System: "n64"} + rogue = games.GameMetadata{Name: "Rogue", Type: "dos", Path: "dos/rogue.zip", System: "dos"} ) func TestMain(m *testing.M) { @@ -127,6 +128,7 @@ func TestAll(t *testing.T) { {game: sushi, frames: 150, color: 2}, {game: alwas, frames: 50, color: 1}, {game: fd, frames: 50, system: "gl", color: 1}, + {game: rogue, frames: 33, color: 1}, } crc32q := crc32.MakeTable(0xD5828281)