DEKI/ENGINE 문서
매뉴얼 API 참조
deki-anbernic-boards 0.40.1
Deki 패키지 레퍼런스
deki-anbernic-boards

Anbernic RG40XX H를 빌드 대상으로 제공합니다. 빌드 패널에서 고르면 Build로 휴대기의 순정 펌웨어용 앱을 만들고, Install로 SD 카드에 넣거나 Wi-Fi로 보냅니다. 앱은 Apps 목록에 나타납니다.

저장소: github.com/dekiengine/deki-anbernic-boards · 최신 릴리스: 0.40.0 · 엔진 0.40.0 이상 필요 · 의존: deki-input, deki-rendering

DekiEditor --packages-add deki-anbernic-boards <project> 또는 패키지 관리자로 설치합니다. 엔진 자체의 컴포넌트와 C++ API는 Deki 문서에 있습니다.

에디터에는 Anbernic Boards(으)로 표시됩니다.

컴포넌트

컴포넌트 카테고리 설명
AnbernicDisplaySetup Anbernic Anbernic 휴대용 게임기의 화면에 게임을 표시합니다.
AnbernicInputSetup Anbernic Anbernic 휴대용 게임기의 버튼을 키로 엔진에 전달합니다.

기능 플래그

빌드에서 뺄 수 있는 부분입니다. define이 있는 기능은 그 define으로 켜고 끄며, 나머지는 컴포넌트와 함께 제거됩니다.

기능 define 기본값
Display — 켜짐
Input — 켜짐

컴포넌트 레퍼런스

AnbernicDisplaySetup

Anbernic 휴대용 게임기의 화면에 게임을 표시합니다.

인스펙터 이름: Anbernic 디스플레이 설정 · 카테고리: Anbernic · 유형: DekiAnbernic::AnbernicDisplaySetup

속성 유형 기본값 제약 설명
scale int32 0 0~8 화면 픽셀 하나당 패널 픽셀 수입니다. 0이면 들어가는 만큼 최대로 확대합니다.
panelWidth int32 640 1~4096 패널의 너비(픽셀)입니다. RG40XX H는 640입니다.
panelHeight int32 480 1~4096 패널의 높이(픽셀)입니다. RG40XX H는 480입니다.

AnbernicInputSetup

Anbernic 휴대용 게임기의 버튼을 키로 엔진에 전달합니다.

인스펙터 이름: Anbernic 입력 설정 · 카테고리: Anbernic · 유형: DekiAnbernic::AnbernicInputSetup

리플렉션된 속성이 없습니다.

변경 내역

변경 내역은 영어로 되어 있습니다.

0.40.0

The Anbernic RG40XX H as a build target

  • anbernic_rg40xx_h: 640x480 ARGB8888, cross-compiled with Arm's aarch64-none-linux-gnu toolchain and linked static.
  • Display: sets /dev/fb0 to the panel's size in ARGB8888 with two pages, flips between them on its own thread, and puts the firmware's mode back when the game quits.
  • Input: the buttons from the ANBERNIC-keys device, the d-pad and the left stick as keys; Menu quits.
  • Install: <Name>.sh and <Name>/ in Roms/APPS/ on a stock firmware card, with Imgs/<Name>.png as its picture. The script goes last, so the Apps list shows the game only once it is whole.

Install over Wi-Fi

  • With the handheld's address in the platform (Install over Wi-Fi: frameworkOptions sshHost, sshUser, sshCard), Install offers it beside the SD cards, as the target ssh:root@<address>. It copies with the computer's own ssh and scp, logs in with its key only, and installs as onto a card: a hidden folder first, every file checked against the build (SHA-256) before it replaces the old app, the script last, an app the editor did not install left alone. A refused login says how to add the key; the README has the steps, and the stock firmware's /root permissions trap.

Sticks

  • Both sticks are read as sticks (DekiInput::GetStick), from -1 to 1 over each axis' own range; the left one still sends the arrow keys too.

Measuring

  • A file named profile beside the game turns on a report in its log every 2 s: frames and their spacing, the engine's update, render and present, each kind of component and blit path, the costliest objects, and the display thread's copy. With trace in that file, every frame also goes to trace.txt: when it was handed over, its time step, the camera in screen pixels, and when it went up on the panel.

이전 릴리스: CHANGELOG.md


패키지의 리플렉션 데이터에서 생성했습니다(엔진 0.40.1). 속성 이름은 씬 파일에서 쓰는 키입니다. 이름을 바꿔도 별칭이 유지됩니다(호환성).