From a6b2a740b900d63f05845c050f729ba5cfbbc9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Fri, 11 Aug 2023 22:48:05 +0800 Subject: [PATCH] Add Anarch --- docs/development/licenses.md | 1 + docs/library/anarch.md | 123 +++++++++++++++++++++++++++++++++++ docs/meta/core-list.md | 1 + mkdocs.yml | 1 + 4 files changed, 126 insertions(+) create mode 100644 docs/library/anarch.md diff --git a/docs/development/licenses.md b/docs/development/licenses.md index 3fa151d868..519781dd26 100644 --- a/docs/development/licenses.md +++ b/docs/development/licenses.md @@ -58,6 +58,7 @@ See below for a summary of the licenses behind RetroArch and its cores: |----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|----------------| | [3D Engine](../library/3d_engine.md) | [GPLv3](https://github.com/libretro/libretro-3dengine/blob/master/license) | | | [2048](../library/2048.md) | [Public Domain](https://github.com/libretro/libretro-2048/blob/master/COPYING) | | +| [Anarch](../library/anarch.md) | [CC0](https://codeberg.org/iyzsong/anarch-libretro/src/branch/master/LICENSE) | | | [Atari800](../library/atari800.md) | [GPLv2](https://github.com/atari800/atari800/blob/master/COPYING) | | | [Beetle bsnes](../library/beetle_bsnes.md) | [GPLv2](https://github.com/libretro/beetle-bsnes-libretro/blob/master/COPYING) | | | [Beetle Cygne](../library/beetle_cygne.md) | [GPLv2](https://github.com/libretro/beetle-wswan-libretro/blob/master/COPYING) | | diff --git a/docs/library/anarch.md b/docs/library/anarch.md new file mode 100644 index 0000000000..bb19baaf40 --- /dev/null +++ b/docs/library/anarch.md @@ -0,0 +1,123 @@ +# Anarch + +## Background + +Anarch is an extremely small, completely public domain, no-dependency, no-file, portable suckless anarcho-pacifist from-scratch 90s-style Doom clone that runs everywhere. + + +The Anarch core has been authored by + +- [Miloslav Číž](https://codeberg.org/drummyfish) +- [iyzsong](https://codeberg.org/iyzsong) + +The Anarch core is licensed under + +- [CC0](https://codeberg.org/iyzsong/anarch-libretro/src/branch/master/LICENSE) + +A summary of the licenses behind RetroArch and its cores can be found [here](../development/licenses.md). + + +## Features + +Frontend-level settings or features that the RVVM core respects. + +| Feature | Supported | +|-------------------|:---------:| +| Restart | - | +| Saves | ✔ | +| States | ✕ | +| Rewind | ✕ | +| Netplay | ✕ | +| Core Options | ✕ | +| RetroAchievements | ✕ | +| RetroArch Cheats | ✕ | +| Native Cheats | ✕ | +| Controls | ✔ | +| Remapping | - | +| Multi-Mouse | - | +| Rumble | ✕ | +| Sensors | ✕ | +| Camera | ✕ | +| Location | ✕ | +| Subsystem | ✕ | +| [Softpatching](../guides/softpatching.md) | ✕ | +| Disk Control | ✕ | +| Username | ✕ | +| Language | ✕ | +| Crop Overscan | ✕ | +| LEDs | ✕ | + +## Geometry and timing + +- The Anarch core's core provided FPS is 60. +- The Anarch core's core provided sample rate is 8000 Hz. +- The Anarch core's base width is 700. +- The Anarch core's base height is 512. +- The Anarch core's max width is 700. +- The Anarch core's max height is 512. +- The Anarch core's core provided aspect ratio is 175/128. + + +## User 1 device types + +The Anarch core supports the following device type(s) in the controls menu, bolded device types are the default for the specified user(s): + +- **RetroPad** +- Keyboard +- Mouse + +## Joypad + +| RetroPad Inputs | Anarch core inputs | +|------------------------------------------------|--------------------------| +| ![](../image/retropad/retro_b.png) | Button B | +| ![](../image/retropad/retro_y.png) | Jump | +| ![](../image/retropad/retro_select.png) | Menu | +| ![](../image/retropad/retro_start.png) | Map | +| ![](../image/retropad/retro_dpad_up.png) | Up | +| ![](../image/retropad/retro_dpad_down.png) | Down | +| ![](../image/retropad/retro_dpad_left.png) | Left | +| ![](../image/retropad/retro_dpad_right.png) | Right | +| ![](../image/retropad/retro_a.png) | Button A | +| ![](../image/retropad/retro_x.png) | Button C | +| ![](../image/retropad/retro_l1.png) | Previous Weapon | +| ![](../image/retropad/retro_r1.png) | Next Weapon | + + +## Keyboard + +| RetroKeyboard Inputs | Anarch core inputs | +|------------------------------|---------------------------| +| Keyboard w | Up | +| Keyboard s | Down | +| Keyboard q | Left | +| Keyboard e | Right | +| Keyboard j | Button A | +| Keyboard k | Button B | +| Keyboard l | Button C | +| Keyboard p | Next Weapon | +| Keyboard f | Cycle Weapon | +| Keyboard Left Control | Button A | +| Keyboard Left Shift | Button B | +| Keyboard Space | Jump | +| Keyboard Tab | Map | +| Keyboard Escape | Menu | + + +## Mouse + +| RetroMouse Inputs | Anarch core inputs | +|-------------------------------------------------------|---------------------------| +| ![](../image/retromouse/retro_mouse.png) Mouse Cursor | Movement | +| ![](../image/retromouse/retro_left.png) Mouse 1 | Button A | +| ![](../image/retromouse/retro_right.png) Mouse 2 | Toggle Freelook | +| ![](../image/retromouse/retro_middle.png) Mouse 3 | Cycle Weapon | +| Wheel Up | Previous Weapon | +| Wheel Down | Next Weapon | + + +## External Links + +- [Game Manual](https://codeberg.org/iyzsong/anarch-libretro/raw/branch/master/media/manual.png) +- [Anarch Repository](https://codeberg.org/iyzsong/anarch-libretro) +- [Anarch Issues Here](https://codeberg.org/iyzsong/anarch-libretro/issues) diff --git a/docs/meta/core-list.md b/docs/meta/core-list.md index 9acea85280..b528535e13 100644 --- a/docs/meta/core-list.md +++ b/docs/meta/core-list.md @@ -4,6 +4,7 @@ | 3D Engine | - | This is a test core; it demonstrates how to create a hardware-rendered core in a libretro context | | [4DO](https://docs.libretro.com/library/opera/) | 3DO | | | a5200 | Atari 5200 | | +| Anarch | Game | A port of Anarch, 90s-style Doom clone shooter game | | Arduous | Arduboy | A emulator for Arduboy, a handheld game console with open source software, based on the Arduino hardware platform | | [Atari800](https://docs.libretro.com/library/atari800/) | Atari 5200 | | | Beetle bsnes | Nintendo SNES/SFC | | diff --git a/mkdocs.yml b/mkdocs.yml index 524af2c6cb..8b2edbd3fd 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -249,6 +249,7 @@ nav: - 'Core Library: Game and Scripting Engines': - '2048': 'library/2048.md' - '3D Engine': 'library/3d_engine.md' + - 'Anarch': 'library/anarch.md' - 'Cave Story (NXEngine)': 'library/nxengine.md' - 'Cannonball': 'library/cannonball.md' - 'ChaiLove': 'library/chailove.md'