为自己持有的设备移植Batocera,目前支持的设备:
-
BesTV R3300-L
-
CAINIAO CNIoT-CORE
-
CAINIAO LEMO XIAOC
-
CAINIAO XiaoYi Pro
-
DAMO Cockpit8250
-
Elo Backpack5 RK3588S
-
TIANNUO TN3399_V3
-
SMART AM40
-
Xerox ET1020
-
AOC 65T33Z T7 4G Version
-
CoreLab TVPro T7 8G Version
Batocera是一个基于Linux的开源模拟器游戏系统,rootfs采用Buildroot构建。集成了RetroArch和一些独立模拟器如PPSSPP,并且带有EmulationStation模拟器前端,使打开游戏从执行命令变成操作手柄/键盘。同时Batocera还附带Kodi媒体播放器
PS:Batocera镜像只附带几个示例游戏ROM,需要玩家自己导入外部ROM和BIOS,BIOS可以在此处下载
官方提供了基于Dokcer的编译方法,方便在任何Linux发行版上编译,步骤如下
cd docker
docker buildx build -t batoceralinux/batocera.linux-build:latest .
cd ..
touch .ba-docker-image-available
首先下载源码
git clone --recursive https://github.com/retro98boy/batocera.linux.git
不同平台的编译命令不同,例如RK3399平台只需:
make rk3399-source
make rk3399-build
具体支持哪些平台可见此处
编译完成后,目标镜像在batocera.linux/output/<平台>/images/batocera/images
移植的设备不在官方的设备支持列表内,系统自带的在线升级不可用,但是官方为39及以后的版本提供本地升级方法:
将对应设备的boot.tar.xz文件上传到设备的/userdata/system/upgrade目录(不存在就自行创建)
39-43版本:执行batocera-upgrade manual开始升级
43之后的版本:执行batocera-upgrade --media-upgrade开始升级
升级完毕后重启设备即可
retro98boy/batocera.linux:master <- batocera-linux/batocera.linux:master
batocera-linux/batocera.linux:master <- retro98boy/batocera.linux:master
Batocera Linux is an open-source and completely free retro-gaming distribution that can be copied to a USB stick or an SD card with the aim of turning any computer/nano computer into a gaming console during a game or permanently. Batocera Linux does not require any modification on your computer. It supports many emulators and game engines out of the box.
- 🌐 Browse our website for general information and get access to all the latest downloads
- 📝 Documentation is available on our wiki and frequently updated
- 💬 Discuss any topic with the community on our Discord Server
- 🆘 The most effective way is to join our Discord Server and go to the #help-and-support channel
There is a Batocera subreddit that is fairly active
- 🔧 If you want to help with development, we accept PRs -- anyone is welcome, we embrace the Bazaar development principles
- 🎨 No need to be a developer, you can also help with translations, talk about our project on Youtube or Twitter, create themes for EmulationStation
- 💵 If you like Batocera, you can help us with a Paypal donation, it's always appreciated!
Finally, you can now proudly rock some offcial Batocera T-shirts, hoodies and other merch.
boardPlatform-specific build configuration. This is where to include special patches/configuration files needed to have particular components work on a particular platform. It is instead encouraged to apply patches at the location of the package itself, but this may not always be possible.buildrootBuildroot, the tool used to create the final compiled images. For newcomers, you can safely ignore this folder. Compilation instructions can be found on the wiki.configsBuild flags, which define what components will be built with your image depending on your chose architecture. If you're trying to port Batocera to a new architecture (device, platform, new bit mode, etc.) this is the file you'll need to edit. More information on the build configuration section on the buildroot compiling page.packageThe "meat and potatoes" of Batocera. This is where the majority of emulator data, config generators, core packages, system utilities, etc. all go into. This is the friendliest place to start dev-work for new devs, as most of it is handled by Python and Makefile.scriptsVarious miscellanous scripts that handle aspects external to Batocera, such as the report data sent to the compatibility page or info about the Bezel Project.
A cheatsheet of notable files/folders can be found on the wiki.
Built with ❤️