Skip to content

Commit

Permalink
Add a DOS game (Rogue)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergystepanov committed May 21, 2024
1 parent dcb8be1 commit 0f1a45d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/games/dos/rogue.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[autoexec]
ROGUE.EXE
Binary file added assets/games/dos/rogue.zip
Binary file not shown.
14 changes: 14 additions & 0 deletions pkg/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ emulator:
# https://docs.libretro.com/library/fbneo/
mame:
lib: fbneo_libretro
folder: mame
roms: [ "zip" ]
nes:
lib: nestopia_libretro
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions pkg/worker/room/room_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 0f1a45d

Please sign in to comment.