Skip to content

Commit

Permalink
Merge pull request #867 from iyzsong/master
Browse files Browse the repository at this point in the history
Add Anarch
  • Loading branch information
fpscan authored Sep 20, 2023
2 parents b8c086d + a6b2a74 commit 967acaa
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/development/licenses.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) | |
Expand Down
123 changes: 123 additions & 0 deletions docs/library/anarch.md
Original file line number Diff line number Diff line change
@@ -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)
1 change: 1 addition & 0 deletions docs/meta/core-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | |
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 967acaa

Please sign in to comment.