ChimeraOS / ChimeraOS/chimera

Adding an additional emulator

Open
#328 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
286
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Hi, I wanted to try out adding an additional emulator to Chimera OS (in particular this would be the Cemu Wii U emulator AppImage).

I don't see any documentation, so I assume that it isn't officially supported, and I can see that the way it works appears to have changed since this comment: https://www.reddit.com/r/ChimeraOS/comments/10sq9d3/little_trick_for_some_nonpresent_emulators/

The structure appears to have change a little, now specifying a name and whether it is enabled,
https://github.com/ChimeraOS/chimera/blob/11bb351abd46c2a0f9e9bec5bad56d7f7fbd07f4/chimera_app/config.py#L216

and that Chimera looks to merge the existing list with the new entries:
https://github.com/ChimeraOS/chimera/blob/11bb351abd46c2a0f9e9bec5bad56d7f7fbd07f4/chimera_app/config.py#L234

However when I alter my settings.json to include a new platform like this Chimera fails to boot, and I don't see any Python parsing errors in the Journal:

```{
"enable_ftp_server": true,
"ftp_username": "gamer",
"ftp_password": "xxxxx",
"ftp_port": 2121,
"keep_password": false,
"recordings_dir": "/home/gamer/.local/share/chimera/recordings",
"sls_conf_file": "/usr/share/chimera/config/sls.conf",
"ffmpeg_inputs": ["-f x11grab -i :0", "-f alsa -i pulse"],
"ffmpeg_vcodec": "",
"ffmpeg_acodec": "",
"enable_remote_launch": false,
"enable_content_sharing": false,
"platforms": {
"wiiu": {
"name": "Wii U",
"enabled": True
}
}
}
```

My questions are initially:

1. Is there a good way of manually running the startup scripts via ssh to see if there are any output errors that aren't being captured by the journal, as that would help me do a little self solving, and not post questions like this
2. Is this actually supported (even if not officially) by ChimeraOS, or am I fixing up the wrong files. I can only assume that it is getting part of the way and then crashing due to a missing dependency.

Contributor guide

No contributing guide indexed for this repository

Research direction

Read chimera_app/config.py around the referenced platform configuration and compare it with the settings.json example. Reproduce the boot failure with the added wiiu entry, then inspect the startup path and journal output to identify whether the configuration is accepted. Done means establishing whether additional platforms are supported and documenting or fixing the failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.