skmp / reicast-emulator

Reicast was a multiplatform Sega Dreamcast emulator
https://reicast.emudev.org
Other
1.1k stars 344 forks source link

Memory card files not being generated, can't save. #1335

Closed creamcast closed 6 years ago

creamcast commented 6 years ago
Platform Branch Hash CIDL
Opensuse leap 15 (Linux) mater Hashtag (skip if unknown) Yes

Description of the Issue

after launching reicast the vmu files do not get created. Going into the BIOS there are no memory cards plugged.

Logs Gathered

Personality: 00000000
Updated personality: 00000000
Linux paging: 4096 00001000 00000FFF
MAP 00800000 w/ 25165824
MAP 20000000 w/ 25165824
MAP 04000000 w/ 16777216
MAP 06000000 w/ 16777216
MAP 0C000000 w/ 0
A8
vmem reserve: base: C54A0000, aram: e54a0000, vram: C94A0000, ram: D14A0000
Resetting mem
Mem alloc successful!
libwebsockets test server - (C) Copyright 2010-2013 Andy Green <andy@warmcat.com> - licensed under LGPL2.1
Initial logging level 7
Library version: 1.3 c11b847
IPV6 not compiled in
libev support not compiled in
 static allocation: 4488 + (16 x 1024 fds) = 20872 bytes
Malformed entry on config - ignoring @ 72(ElfFile)
Malformed entry on config - ignoring @ 75(ta.HashCheckFile)
Malformed entry on config - ignoring @ 76(ta.HashLogFile)
 canonical_hostname = linux-2489
 per-conn mem: 184 + 1554 headers + protocol rx buf
 Listening on port 5678
Found 10 matching FB configs.
Chosen visual ID = 0x24
Loaded /home/me/.local/share/reicast/data/dc_boot.bin as bootrom

Loaded /home/me/.local/share/reicast/data/dc_nvmem.bin as nvram

Using Recompiler
Auto-selected audio backend "alsa" (Advanced Linux Sound Architecture).
Initializing audio backend "alsa" (Advanced Linux Sound Architecture)...
recSh4 Init
Freeing fpcb

         CodeCache addr: 0x4aa000 | from: 0x4aa000 | addr here: 0x4a85a0
Warning: CDI Image Loaded!
  Many CDI images are known to be defective, GDI or CHD format is preferred. Please only file bug reports when using images known to be good (GDI or CHD).
gdrom: Failed to open image "null"
libevdev.so: cannot open shared object file: No such file or directory
WARNING: libevdev is not available. You'll not be able to use button names instead of numeric codes in your controller mappings!

evdev: Trying to open device at '/dev/input/event15'
evdev: Found 'Xbox Gamepad (userspace driver)' at '/dev/input/event15'
evdev: found a named mapping for the device (Xbox Gamepad (userspace driver).cfg)
evdev: reading mapping file: 'Xbox Gamepad (userspace driver).cfg'
btn_a = 304
btn_b = 305
btn_c = 316
btn_d = 318
btn_x = 307
btn_y = 308
btn_z = 317
btn_start = 315
btn_escape = 1
WARNING: dreamcast/btn_dpad1_left not configured!
WARNING: dreamcast/btn_dpad1_right not configured!
WARNING: dreamcast/btn_dpad1_up not configured!
WARNING: dreamcast/btn_dpad1_down not configured!
WARNING: dreamcast/btn_dpad2_left not configured!
WARNING: dreamcast/btn_dpad2_right not configured!
WARNING: dreamcast/btn_dpad2_up not configured!
WARNING: dreamcast/btn_dpad2_down not configured!
WARNING: compat/btn_trigger_left not configured!
WARNING: compat/btn_trigger_right not configured!
axis_dpad1_x = 16
axis_dpad1_y = 17
axis_dpad2_x = 3
axis_dpad2_y = 3
axis_x = 0
axis_y = 1
axis_trigger_left = 10
axis_trigger_right = 9
evdev: Using 'Xbox Gamepad (userspace driver)' mapping
evdev: range of axis 0 is from -32768 to 32767
evdev: range of axis 1 is from -32768 to 32767
evdev: range of axis 10 is from 0 to 255
evdev: range of axis 9 is from 0 to 255
Unsupported configuration (-1) for Maple Device, using None
Unsupported configuration (-1) for Maple Device, using None
evdev: Controller 2 disabled by config.
evdev: Controller 3 disabled by config.
evdev: Controller 4 disabled by config.
Sh4 Reset
cntx // fpcb offset: -68157440 // pc offset: -184 // pc A0000000
Get MemPtr unsupported area : addr=0xA0000000
Get MemPtr unsupported area : addr=0xA0000018
Sh4: i-cache invalidation A0000016
Freeing fpcb
recSh4:Dynarec Cache clear at A0000016
Get MemPtr unsupported area : addr=0x80000080
Get MemPtr unsupported area : addr=0x800000A8
Get MemPtr unsupported area : addr=0x800000BE
Get MemPtr unsupported area : addr=0x800000C6
Freeing fpcb
recSh4:Dynarec Cache clear at 8C0000DE
ALSA: underrun occurred
GL context version: 3.1
OSD: 6
Error opening /home/me/.local/share/reicast/data/buttons.png
Invalid GD-DMA start, SB_GDEN=0.Ingoring it.
VREG = 03 ARMRST 00
VREG = 03 ARMRST 01
VREG = 03 ARMRST 00
sh4io: Invalid read access @@ 00000030
Sh4: i-cache invalidation 8C00DD78
Freeing fpcb
recSh4:Dynarec Cache clear at 8C00DD78
DIV32S matched 1% @ 0x8C00CF78
DIV32S matched 100% @ 0x8C00CF7E
div32s 1/0/3
Invalid GD-DMA start, SB_GDEN=0.Ingoring it.
Sh4: i-cache invalidation 8C09E6A6
Freeing fpcb
recSh4:Dynarec Cache clear at 8C09E6A6
Sh4: i-cache invalidation AC09D990
Freeing fpcb
recSh4:Dynarec Cache clear at AC09D990
VREG = 03 ARMRST 00
new tactx
new tactx
DIV32S matched 1% @ 0x8C091086
DIV32S matched 100% @ 0x8C09108C
div32s 1/0/3
DIV32S matched 1% @ 0x8C0911E4
DIV32S matched 100% @ 0x8C0911EC
div32s 1/0/3
DIV32S matched 1% @ 0x8C09126E
DIV32S matched 1% @ 0x8C091278
VREG = 03 ARMRST 01
VREG = 03 ARMRST 01
VREG = 03 ARMRST 00
FOG TABLE Curve match: maxdev: 0.43 cents
reicast git/n - 13.18 (0.00) - 75.85 - V: 37.93 (6.91, PAL480i50.00) R: 5.49+0.00 VTX: 0.00 , MIPS: 0.00
reicast git/n - 10.06 (0.00) - 99.40 - V: 49.70 (inf, PAL480i50.00) R: 0.00+0.00 VTX: 0.00 , MIPS: 0.00
recSh4 Term
Sh4 Term
baka0815 commented 6 years ago
Unsupported configuration (-1) for Maple Device, using None
Unsupported configuration (-1) for Maple Device, using None

That's odd, for player 1 the default should be 'VMU'. You can add maple_device_1=1 to your controller configuration to set the first device to VMU (_2 for second device).

creamcast commented 6 years ago

Ok , its working after writing maple_device1=1 (without the underscore before the 1) in the [dreamcast] section in the controller configuration.