Closed rubin55 closed 4 years ago
Tried also with RickDangerous2. How I make an HBF file (after renaming existing .Slave file to game.Slave):
#!/usr/bin/env bash
dirName="$1"
if [ -d "${dirName}" -a -e "${dirName}/game.Slave" ]; then
dirSize="$(du -sk $1)"
hdfSize=$(echo ${dirSize} | awk '{print int($1*1.25)}')
xdftool -f "${dirName}.hdf" pack ${dirName} size=${hdfSize}K
gzip -c "${dirName}.hdf" > "${dirName}.hdz"
else
echo "Usage: $0 <dirName>"
echo "Notes: <dirName> needs to contain a game.Slave file."
exit 1
fi
Roms are the exact md5's recommended:
[rubin@kuro WHDLoads]$ openssl dgst -md5 ~/Documents/RetroArch/system/kick*
MD5(/Users/rubin/Documents/RetroArch/system/kick34005.A500)= 82a21c1890cae844b3df741f2762d48d
MD5(/Users/rubin/Documents/RetroArch/system/kick40063.A600)= e40a5dfb3d017ba8779faba30cbd1c8e
MD5(/Users/rubin/Documents/RetroArch/system/kick40068.A1200)= 646773759326fbac3b2311fd8c8793ee
Yeah something is just wrong with osx builds of this core. This is another symptom of a deeper issue:
I just cannot find the reason at the moment. Of course there are many #ifdef __APPLE__
kind of things in the code, so this requires some debugging.
BTW: all these things work on Windows, Android, and Switch now, it is only platform=osx (and maybe ios?) that seem to have a problem.
Just adding some additional troubleshooting to this, not sure if it's helpful or not. Trying to load the rickdangerous.hdf with the latest core still crashes, but I've found that if I open the RA quick menu and then close it, the core will no longer crash (although just show a black screen indefinitely). I've verified the same exact hdf/whdload/kickstarts work on a linux machine.
The crashing doesn't seem to be consistent. Sometimes it will crash right away, and sometimes it seems to loop through a mounting in the log several times before giving up.
xxxs-MacBook-Pro:~ xxx$ /Applications/RetroArch.app/Contents/MacOS/RetroArch -L "/Users/xxx/Documents/RetroArch/cores/puae_libretro.dylib" "/Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf"
...
------------------------------------------------------------------------------------
P-UAE 2.6.1
Git Commit: 0186c1b16f7181ffa02d73e6920d3180ce457c46
Build date: Oct 11 2019 00:29:23
------------------------------------------------------------------------------------
Copyright 1995-2002 Bernd Schmidt
1999-2013 Toni Wilen
2003-2007 Richard Drummond
2006-2013 Mustafa 'GnoStiC' Tufan
See the source for a full list of contributors.
This is free software; see the file COPYING for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
------------------------------------------------------------------------------------
Enumerating display devices..
Sorting devices and modes..
done
load config '/Users/xxx/Documents/RetroArch/saves/puae_libretro.uae':0
Opening cfgfile '/Users/xxx/Documents/RetroArch/saves/puae_libretro.uae': OK
RTAREA located at 00F00000
Entered action_replay_load ()
ROM loader.. (<none>)
Known ROM 'KS ROM v3.1 (A1200)' loaded
ROM loader end
memory init end
No disk in drive 0.
Building CPU table for configuration: 68020 24-bit
1883 CPU functions
Building CPU, 45954 opcodes (2 0 1)
CPU=68020, FPU=0, MMU=0, JIT=CPU=0.
hfd open: '/Users/xxx/Documents/RetroArch/system/WHDLoad.hdf'
HDF '/Users/xxx/Documents/RetroArch/system/WHDLoad.hdf' opened, size=2048K mode=3 empty=0
hfd open: '/Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf'
HDF '/Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf' opened, size=400K mode=3 empty=0
memory init end
Reset at 00000000. Chipset mask = 00000007
00000000 2048K/1 = 2048K Chip memory
00200000 8704K/0 = 8704K <none>
00A80000 1024K/2 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00B80000 448K/0 = 448K <none>
00BF0000 64K/0 = 64K CIA
00C00000 1536K/0 = 1536K Custom chipset
00D80000 256K/0 = 256K <none>
00DC0000 64K/0 = 64K Battery backed up clock (none)
00DD0000 64K/0 = 64K <none>
00DE0000 128K/0 = 128K Custom chipset
00E00000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00E80000 64K/0 = 64K Autoconfig
00E90000 448K/0 = 448K <none>
00F00000 64K/1 = 64K UAE Boot ROM
00F10000 448K/0 = 448K <none>
00F80000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
NTSC mode V=59.8859Hz H=15734.2637Hz (227x262+1) IDX=11 (NTSC) D=0 RTG=0/0
[libretro-uae]: Trying to update AV geometry:1 timing:1, to: ntsc:1 hz:59.8859, from video_config:6, video_aspect:2
[libretro-uae]: Already at wanted AV
[libretro-uae]: Update geometry: 720x480, video_config:6
[INFO] Environ SET_GEOMETRY.
hardreset, memory cleared
NTSC mode V=59.8251Hz H=15734.2637Hz (227x262+1) IDX=11 (NTSC) D=0 RTG=0/0
[libretro-uae]: Trying to update AV geometry:1 timing:1, to: ntsc:1 hz:59.8251, from video_config:6, video_aspect:2
[libretro-uae]: Already at wanted AV
[libretro-uae]: Update geometry: 720x480, video_config:6
[INFO] Environ SET_GEOMETRY.
6888x no FPU: f201 00009000 PC=00f80ca0
B-Trap f201 at f80ca0 (0x10e859ca0)
Fastcard: mapped @$200000: 8MB fast memory
Card 1 (ZorroII) done.
Filesystem: mapped memory @$e90000.
Card 2 (ZorroII) done.
Memory map after autoconfig:
00000000 2048K/1 = 2048K Chip memory
00200000 8192K/1 = 8192K Fast memory
00A00000 512K/0 = 512K <none>
00A80000 1024K/2 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00B80000 448K/0 = 448K <none>
00BF0000 64K/0 = 64K CIA
00C00000 1536K/0 = 1536K Custom chipset
00D80000 256K/0 = 256K <none>
00DC0000 64K/0 = 64K Battery backed up clock (MSM6242B)
00DD0000 64K/0 = 64K <none>
00DE0000 128K/0 = 128K Custom chipset
00E00000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00E80000 64K/0 = 64K <none>
00E90000 64K/0 = 64K Filesystem Autoconfig Area
00EA0000 384K/0 = 384K <none>
00F00000 64K/1 = 64K UAE Boot ROM
00F10000 448K/0 = 448K <none>
00F80000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
filesystem: diagentry called: 200098
Mounting uaehf.device 0 (0):
FS: mounted HDF unit DH0 (0000-00200000, /Users/xxx/Documents/RetroArch/system/WHDLoad.hdf)
Partition 'DH0' Dostype=444F5300 (DOS\0) Flags: 00000000
BlockSize: 512, Surfaces: 1, SectorsPerBlock 1
SectorsPerTrack: 32, Reserved: 2, LowCyl 0, HighCyl 127, Size 2M
Buffers: 50, BufMemType: 00000001, MaxTransfer: 7fffffff, Mask: ffffffff, BootPri: 0
First block 0 dostype: 444F5300 (DOS\0)
RDB: OFS, using ROM default FS.
Mounting uaehf.device 1 (0):
FS: mounted HDF unit DH1 (0000-00064000, /Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf)
Partition 'DH1' Dostype=444F5300 (DOS\0) Flags: 00000000
BlockSize: 512, Surfaces: 1, SectorsPerBlock 1
SectorsPerTrack: 32, Reserved: 2, LowCyl 0, HighCyl 24, Size 0M
Buffers: 50, BufMemType: 00000001, MaxTransfer: 7fffffff, Mask: ffffffff, BootPri: 0
First block 0 dostype: 444F5300 (DOS\0)
RDB: OFS, using ROM default FS.
CPU reset PC=f80dc8 (Kickstart ROM)..
hfd open: '/Users/xxx/Documents/RetroArch/system/WHDLoad.hdf'
HDF '/Users/xxx/Documents/RetroArch/system/WHDLoad.hdf' opened, size=2048K mode=3 empty=0
hfd open: '/Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf'
HDF '/Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf' opened, size=400K mode=3 empty=0
memory init end
Reset at 00F80DC8. Chipset mask = 00000007
00000000 2048K/1 = 2048K Chip memory
00200000 8704K/0 = 8704K <none>
00A80000 1024K/2 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00B80000 448K/0 = 448K <none>
00BF0000 64K/0 = 64K CIA
00C00000 1536K/0 = 1536K Custom chipset
00D80000 256K/0 = 256K <none>
00DC0000 64K/0 = 64K Battery backed up clock (MSM6242B)
00DD0000 64K/0 = 64K <none>
00DE0000 128K/0 = 128K Custom chipset
00E00000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00E80000 64K/0 = 64K Autoconfig
00E90000 448K/0 = 448K <none>
00F00000 64K/1 = 64K UAE Boot ROM
00F10000 448K/0 = 448K <none>
00F80000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
NTSC mode V=59.8859Hz H=15734.2637Hz (227x262+1) IDX=11 (NTSC) D=0 RTG=0/0
[libretro-uae]: Trying to update AV geometry:1 timing:1, to: ntsc:1 hz:59.8859, from video_config:6, video_aspect:2
[libretro-uae]: Already at wanted AV
[libretro-uae]: Update geometry: 720x480, video_config:6
[INFO] Environ SET_GEOMETRY.
CPU reset PC=f800d0 (Kickstart ROM)..
hfd open: '/Users/xxx/Documents/RetroArch/system/WHDLoad.hdf'
HDF '/Users/xxx/Documents/RetroArch/system/WHDLoad.hdf' opened, size=2048K mode=3 empty=0
hfd open: '/Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf'
HDF '/Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf' opened, size=400K mode=3 empty=0
memory init end
Reset at 00F800D0. Chipset mask = 00000007
00000000 2048K/1 = 2048K Chip memory
00200000 8704K/0 = 8704K <none>
00A80000 1024K/2 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00B80000 448K/0 = 448K <none>
00BF0000 64K/0 = 64K CIA
00C00000 1536K/0 = 1536K Custom chipset
00D80000 256K/0 = 256K <none>
00DC0000 64K/0 = 64K Battery backed up clock (MSM6242B)
00DD0000 64K/0 = 64K <none>
00DE0000 128K/0 = 128K Custom chipset
00E00000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00E80000 64K/0 = 64K Autoconfig [reset]
00E90000 448K/0 = 448K <none>
00F00000 64K/1 = 64K UAE Boot ROM
00F10000 448K/0 = 448K <none>
00F80000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
NTSC mode V=59.8859Hz H=15734.2637Hz (227x262+1) IDX=11 (NTSC) D=0 RTG=0/0
[libretro-uae]: Trying to update AV geometry:1 timing:1, to: ntsc:1 hz:59.8859, from video_config:6, video_aspect:2
[libretro-uae]: Already at wanted AV
[libretro-uae]: Update geometry: 720x480, video_config:6
[INFO] Environ SET_GEOMETRY.
NTSC mode V=59.8251Hz H=15734.2637Hz (227x262+1) IDX=11 (NTSC) D=0 RTG=0/0
[libretro-uae]: Trying to update AV geometry:1 timing:1, to: ntsc:1 hz:59.8251, from video_config:6, video_aspect:2
[libretro-uae]: Already at wanted AV
[libretro-uae]: Update geometry: 720x480, video_config:6
[INFO] Environ SET_GEOMETRY.
6888x no FPU: f201 00009000 PC=00f80ca0
B-Trap f201 at f80ca0 (0x10e859ca0)
Fastcard: mapped @$200000: 8MB fast memory
Card 1 (ZorroII) done.
Filesystem: mapped memory @$e90000.
Card 2 (ZorroII) done.
Memory map after autoconfig:
00000000 2048K/1 = 2048K Chip memory
00200000 8192K/1 = 8192K Fast memory
00A00000 512K/0 = 512K <none>
00A80000 1024K/2 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00B80000 448K/0 = 448K <none>
00BF0000 64K/0 = 64K CIA
00C00000 1536K/0 = 1536K Custom chipset
00D80000 256K/0 = 256K <none>
00DC0000 64K/0 = 64K Battery backed up clock (MSM6242B)
00DD0000 64K/0 = 64K <none>
00DE0000 128K/0 = 128K Custom chipset
00E00000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00E80000 64K/0 = 64K <none>
00E90000 64K/0 = 64K Filesystem Autoconfig Area
00EA0000 384K/0 = 384K <none>
00F00000 64K/1 = 64K UAE Boot ROM
00F10000 448K/0 = 448K <none>
00F80000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
filesystem: diagentry called: 200098
Mounting uaehf.device 0 (0):
FS: mounted HDF unit DH0 (0000-00200000, /Users/xxx/Documents/RetroArch/system/WHDLoad.hdf)
Partition 'DH0' Dostype=444F5300 (DOS\0) Flags: 00000000
BlockSize: 512, Surfaces: 1, SectorsPerBlock 1
SectorsPerTrack: 32, Reserved: 2, LowCyl 0, HighCyl 127, Size 2M
Buffers: 50, BufMemType: 00000001, MaxTransfer: 7fffffff, Mask: ffffffff, BootPri: 0
First block 0 dostype: 444F5300 (DOS\0)
RDB: OFS, using ROM default FS.
Mounting uaehf.device 1 (0):
FS: mounted HDF unit DH1 (0000-00064000, /Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf)
Partition 'DH1' Dostype=444F5300 (DOS\0) Flags: 00000000
BlockSize: 512, Surfaces: 1, SectorsPerBlock 1
SectorsPerTrack: 32, Reserved: 2, LowCyl 0, HighCyl 24, Size 0M
Buffers: 50, BufMemType: 00000001, MaxTransfer: 7fffffff, Mask: ffffffff, BootPri: 0
First block 0 dostype: 444F5300 (DOS\0)
RDB: OFS, using ROM default FS.
B-Trap ffff at bf8 (0x10ecf1bf8)
[INFO] [GL]: VSync => on
[INFO] [Font]: Using font rendering backend: stb-unicode.
[INFO] [Font]: Using font rendering backend: stb-unicode.
[INFO] [GL]: VSync => on
CPU reset PC=f80dc8 (Kickstart ROM)..
hfd open: '/Users/xxx/Documents/RetroArch/system/WHDLoad.hdf'
HDF '/Users/xxx/Documents/RetroArch/system/WHDLoad.hdf' opened, size=2048K mode=3 empty=0
hfd open: '/Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf'
HDF '/Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf' opened, size=400K mode=3 empty=0
memory init end
Reset at 00F80DC8. Chipset mask = 00000007
00000000 2048K/1 = 2048K Chip memory
00200000 8704K/0 = 8704K <none>
00A80000 1024K/2 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00B80000 448K/0 = 448K <none>
00BF0000 64K/0 = 64K CIA
00C00000 1536K/0 = 1536K Custom chipset
00D80000 256K/0 = 256K <none>
00DC0000 64K/0 = 64K Battery backed up clock (MSM6242B)
00DD0000 64K/0 = 64K <none>
00DE0000 128K/0 = 128K Custom chipset
00E00000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00E80000 64K/0 = 64K Autoconfig
00E90000 448K/0 = 448K <none>
00F00000 64K/1 = 64K UAE Boot ROM
00F10000 448K/0 = 448K <none>
00F80000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
NTSC mode V=59.8859Hz H=15734.2637Hz (227x262+1) IDX=11 (NTSC) D=0 RTG=0/0
[libretro-uae]: Trying to update AV geometry:1 timing:1, to: ntsc:1 hz:59.8859, from video_config:6, video_aspect:2
[libretro-uae]: Already at wanted AV
[libretro-uae]: Update geometry: 720x480, video_config:6
[INFO] Environ SET_GEOMETRY.
CPU reset PC=f800d0 (Kickstart ROM)..
hfd open: '/Users/xxx/Documents/RetroArch/system/WHDLoad.hdf'
HDF '/Users/xxx/Documents/RetroArch/system/WHDLoad.hdf' opened, size=2048K mode=3 empty=0
hfd open: '/Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf'
HDF '/Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf' opened, size=400K mode=3 empty=0
memory init end
Reset at 00F800D0. Chipset mask = 00000007
00000000 2048K/1 = 2048K Chip memory
00200000 8704K/0 = 8704K <none>
00A80000 1024K/2 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00B80000 448K/0 = 448K <none>
00BF0000 64K/0 = 64K CIA
00C00000 1536K/0 = 1536K Custom chipset
00D80000 256K/0 = 256K <none>
00DC0000 64K/0 = 64K Battery backed up clock (MSM6242B)
00DD0000 64K/0 = 64K <none>
00DE0000 128K/0 = 128K Custom chipset
00E00000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00E80000 64K/0 = 64K Autoconfig [reset]
00E90000 448K/0 = 448K <none>
00F00000 64K/1 = 64K UAE Boot ROM
00F10000 448K/0 = 448K <none>
00F80000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
NTSC mode V=59.8859Hz H=15734.2637Hz (227x262+1) IDX=11 (NTSC) D=0 RTG=0/0
[libretro-uae]: Trying to update AV geometry:1 timing:1, to: ntsc:1 hz:59.8859, from video_config:6, video_aspect:2
[libretro-uae]: Already at wanted AV
[libretro-uae]: Update geometry: 720x480, video_config:6
[INFO] Environ SET_GEOMETRY.
NTSC mode V=59.8251Hz H=15734.2637Hz (227x262+1) IDX=11 (NTSC) D=0 RTG=0/0
[libretro-uae]: Trying to update AV geometry:1 timing:1, to: ntsc:1 hz:59.8251, from video_config:6, video_aspect:2
[libretro-uae]: Already at wanted AV
[libretro-uae]: Update geometry: 720x480, video_config:6
[INFO] Environ SET_GEOMETRY.
6888x no FPU: f201 00009000 PC=00f80ca0
B-Trap f201 at f80ca0 (0x10e859ca0)
Fastcard: mapped @$200000: 8MB fast memory
Card 1 (ZorroII) done.
Filesystem: mapped memory @$e90000.
Card 2 (ZorroII) done.
Memory map after autoconfig:
00000000 2048K/1 = 2048K Chip memory
00200000 8192K/1 = 8192K Fast memory
00A00000 512K/0 = 512K <none>
00A80000 1024K/2 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00B80000 448K/0 = 448K <none>
00BF0000 64K/0 = 64K CIA
00C00000 1536K/0 = 1536K Custom chipset
00D80000 256K/0 = 256K <none>
00DC0000 64K/0 = 64K Battery backed up clock (MSM6242B)
00DD0000 64K/0 = 64K <none>
00DE0000 128K/0 = 128K Custom chipset
00E00000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
00E80000 64K/0 = 64K <none>
00E90000 64K/0 = 64K Filesystem Autoconfig Area
00EA0000 384K/0 = 384K <none>
00F00000 64K/1 = 64K UAE Boot ROM
00F10000 448K/0 = 448K <none>
00F80000 512K/1 = 512K Kickstart ROM (1483A091)
=KS ROM v3.1 (A1200) rev 40.68 (512k)
filesystem: diagentry called: 200098
Mounting uaehf.device 0 (0):
FS: mounted HDF unit DH0 (0000-00200000, /Users/xxx/Documents/RetroArch/system/WHDLoad.hdf)
Partition 'DH0' Dostype=444F5300 (DOS\0) Flags: 00000000
BlockSize: 512, Surfaces: 1, SectorsPerBlock 1
SectorsPerTrack: 32, Reserved: 2, LowCyl 0, HighCyl 127, Size 2M
Buffers: 50, BufMemType: 00000001, MaxTransfer: 7fffffff, Mask: ffffffff, BootPri: 0
First block 0 dostype: 444F5300 (DOS\0)
RDB: OFS, using ROM default FS.
Mounting uaehf.device 1 (0):
FS: mounted HDF unit DH1 (0000-00064000, /Users/xxx/Downloads/RickDangerous_v1.2_0776.hdf)
Partition 'DH1' Dostype=444F5300 (DOS\0) Flags: 00000000
BlockSize: 512, Surfaces: 1, SectorsPerBlock 1
SectorsPerTrack: 32, Reserved: 2, LowCyl 0, HighCyl 24, Size 0M
Buffers: 50, BufMemType: 00000001, MaxTransfer: 7fffffff, Mask: ffffffff, BootPri: 0
First block 0 dostype: 444F5300 (DOS\0)
RDB: OFS, using ROM default FS.
[INFO] Paused.
I think I just finally fixed this problem today, in commit: https://github.com/libretro/libretro-uae/commit/600c26c9ad15bda371c310677ef2800600616630
Should be on next buildbot build, please test.
My Hero! It works!
Cool! Thanks for testing.
RetroArch 1.7.5 with P-UAE 2.6.1 a739e45 on macOS Mojave 10.14.2.
Loading game from ADF works (tested with Diplomacy.adf).
Console output:
System dump output: