mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-11 12:33:53 -06:00
59 lines
2.6 KiB
YAML
59 lines
2.6 KiB
YAML
emulator: "CoolbarEmu"
|
|
type: standalone + libretro
|
|
core_classification: official_port
|
|
source: "https://github.com/AloysHF/CoolbarEmu"
|
|
upstream: "https://github.com/AloysHF/CoolbarEmu"
|
|
profiled_date: "2026-10-17"
|
|
source_commit: "aa6df0ec289ffc4f89f4c03f748d0b121fb4323f"
|
|
core_version: "0.2.0"
|
|
version_basis:
|
|
kind: file
|
|
path: "Cargo.toml"
|
|
pattern: '\[workspace\.package\][^\[]*?^version\s*=\s*"([^"]+)"'
|
|
display_name: "Coolbar (CoolbarEmu)"
|
|
cores:
|
|
- "coolbaremu"
|
|
systems:
|
|
- "coolbar"
|
|
|
|
notes: |
|
|
Emulator for Coolbar/CBE applications of Chinese feature phones, written
|
|
in Rust. The workspace builds a standalone binary (crates/coolbaremu) and
|
|
the libretro core (crates/coolbaremu-libretro), the buildbot builds the
|
|
latter only (Cargo.toml:13). Guest ARM/Thumb code runs on the armv4t_emu
|
|
crate and the phone firmware services are reimplemented in
|
|
crates/coolbaremu-core/src/machine/services. Text is drawn with the unifont
|
|
crate compiled into the core (Cargo.toml:35,
|
|
crates/coolbaremu-core/src/machine/drawing.rs:2163).
|
|
|
|
The content is read whole by CbeArchive::load()
|
|
(crates/coolbaremu-core/src/cbe/archive.rs:68-73). Files next to the .cbe
|
|
(pay kernels, records, update data) are indexed as the guest filesystem
|
|
(crates/coolbaremu-core/src/machine/mod.rs:1071-1073,
|
|
crates/coolbaremu-core/src/machine/virtual_fs.rs:62-117), and they belong to
|
|
the game. Guest writes and deletes stay in memory, the host files are
|
|
never modified.
|
|
|
|
The only system directory file is coolbaremu/coolbaremu_orientation.csv,
|
|
an optional user list of CRC32, size and orientation for landscape titles
|
|
missing from the built-in table
|
|
(crates/coolbaremu-libretro/src/libretro/api.rs:43-46,
|
|
crates/coolbaremu-libretro/src/libretro/api.rs:414-468,
|
|
crates/coolbaremu-core/src/orientation_profile.rs:31-56). The core looks it
|
|
up before creating the machine, matching both names exactly, and a missing
|
|
or invalid file is logged and the built-in table applies. The standalone
|
|
binary reads the same path below --system-dir, "system" by default
|
|
(crates/coolbaremu/src/main.rs:25-26, crates/coolbaremu/src/main.rs:41-46,
|
|
crates/coolbaremu/src/main.rs:111-113), and stops on an invalid file
|
|
(crates/coolbaremu/src/main.rs:209-216). Otherwise it reads and writes only
|
|
the files named on its command line, --screenshot, --save-state and
|
|
--load-state (crates/coolbaremu/src/main.rs:176-178,
|
|
crates/coolbaremu/src/main.rs:184-190).
|
|
|
|
files: []
|
|
|
|
exclusion_note: >
|
|
The firmware services are reimplemented in the core and the font is the
|
|
embedded unifont crate. The system directory holds only an optional
|
|
user-written orientation list.
|