Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Team name: me0wall
Environment Setup
As I only learned about the competition the day before it ended, I didn't have time to wait for the development machine authorization, so I completed all the work in qemu.
The OS is Debian trixie/sid, with a kernel version of 6.9.12-riscv64.
qemu version is 9.0.50 and the host environment is Windows x86_64.
Install dependencies:
Build
RetroArch
No modifications needed, just compile directly.
git clone https://github.com/CatMe0w/rvspoc-P2425-RetroArch cd rvspoc-P2425-RetroArch ./configure make clean make
ppsspp
No modifications needed, just compile directly.
git clone https://github.com/CatMe0w/libretro-super cd libretro-super ./libretro-fetch.sh ppsspp ./libretro-build.sh ppsspp
flycast
I have completed the initial adaptation for riscv32 and riscv64, and it can be compiled and run.
git clone https://github.com/CatMe0w/libretro-super cd libretro-super ./libretro-fetch.sh flycast ./libretro-build.sh flycast
Precompiled binaries have been uploaded to https://github.com/CatMe0w/rvspoc-P2425-RetroArch/releases
Additional Targets
flycast without RetroArch dependency
During the adaptation of flycast, I also completed the adaptation of standalone flycast, which can be compiled and run.
Other RetroArch Cores
These cores can be compiled directly. Since qemu is slow, the cores listed here may continue to be added before the competition ends.
git clone https://github.com/CatMe0w/libretro-super cd libretro-super ./libretro-fetch.sh mame meson mesons melonds nestopia snes9x mgba mednafen_vb mednafen_wswan mednafen_supafaust mednafen_pcfx mednafen_saturn mednafen_psx mednafen_psx_hw mednafen_supergrafx mednafen_lynx mednafen_ngp mednafen_gba mednafen_pce mednafen_pce_fast mednafen_psx_hw gambatte mupen64plus_next ./libretro-build.sh mame meson mesons melonds nestopia snes9x mgba mednafen_vb mednafen_wswan mednafen_supafaust mednafen_pcfx mednafen_saturn mednafen_psx mednafen_psx_hw mednafen_supergrafx mednafen_lynx mednafen_ngp mednafen_gba mednafen_pce mednafen_pce_fast mednafen_psx_hw gambatte mupen64plus_next
Where mupen64plus_next uses my adapted fork.
队伍名:me0wall
环境配置
由于本人在结束前一天才了解到比赛,已经来不及等待开发机授权,因此在 qemu 中完成了所有的工作。
所使用的系统为 Debian trixie/sid,内核版本为 6.9.12-riscv64。
qemu 版本为 9.0.50,宿主环境为 Windows x86_64。
安装依赖:
编译
RetroArch
无需改动,直接编译即可。
git clone https://github.com/CatMe0w/rvspoc-P2425-RetroArch cd rvspoc-P2425-RetroArch ./configure make clean make
ppsspp
无需改动,直接编译即可。
git clone https://github.com/CatMe0w/libretro-super cd libretro-super ./libretro-fetch.sh ppsspp ./libretro-build.sh ppsspp
flycast
我完成了初步的 riscv32 与 riscv64 适配,已经能够通过编译和运行。
git clone https://github.com/CatMe0w/libretro-super cd libretro-super ./libretro-fetch.sh flycast ./libretro-build.sh flycast
预编译的二进制文件已经上传至 https://github.com/CatMe0w/rvspoc-P2425-RetroArch/releases
额外目标
不依赖 RetroArch 的 flycast
在适配 flycast 时,也一并完成了独立 flycast 的适配,已经能够通过编译和运行。
其他 RetroArch 核心
这些核心可以直接编译。由于 qemu 很慢,此处列出的核心可能在比赛结束前持续追加。
git clone https://github.com/CatMe0w/libretro-super cd libretro-super ./libretro-fetch.sh mame meson mesons melonds nestopia snes9x mgba mednafen_vb mednafen_wswan mednafen_supafaust mednafen_pcfx mednafen_saturn mednafen_psx mednafen_psx_hw mednafen_supergrafx mednafen_lynx mednafen_ngp mednafen_gba mednafen_pce mednafen_pce_fast mednafen_psx_hw gambatte mupen64plus_next ./libretro-build.sh mame meson mesons melonds nestopia snes9x mgba mednafen_vb mednafen_wswan mednafen_supafaust mednafen_pcfx mednafen_saturn mednafen_psx mednafen_psx_hw mednafen_supergrafx mednafen_lynx mednafen_ngp mednafen_gba mednafen_pce mednafen_pce_fast mednafen_psx_hw gambatte mupen64plus_next
其中 mupen64plus_next 使用我适配的 fork。