ares-openbsd/README.md

70 行
3.2 KiB
Markdown
Raw 通常表示 履歴

![ares logo](https://ares-emulator.github.io/images/logo.png)
2021-09-27 22:36:37 +09:00
[![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://github.com/higan-emu/ares/blob/master/LICENSE)
2021-09-27 20:39:33 +09:00
2021-07-06 17:37:46 +09:00
**ares** is a multi-system emulator that began development on October 14th, 2004.
It is a descendent of [higan](https://github.com/higan-emu/higan) and [bsnes](https://github.com/bsnes-emu/bsnes/), and focuses on accuracy and preservation.
2021-07-06 17:37:46 +09:00
Official Releases
-----------------
Official releases are available from
2022-03-04 18:02:47 +09:00
[the ares website](https://ares-emu.net).
2021-07-06 17:37:46 +09:00
Nightly Builds
--------------
2021-07-06 17:57:24 +09:00
Automated, untested builds of ares are available for Windows and macOS as a [pre-release](https://github.com/higan-emu/ares/releases/tag/nightly).
2021-07-06 17:37:46 +09:00
Only the latest nightly build is kept.
2022-08-15 00:38:49 +09:00
Prerequisites
-------------
#### *nix building
g++ make pkg-config libgtk2.0-dev libcanberra-gtk-module libgl-dev libasound2-dev
By default, GTK2 is used, but support for GTK3 is available. You will need to install the additional package `libgtk-3-dev` as well
as specifying the command line option `hiro=gtk3` at compile time.
#### Windows building
To build on Windows, using MSYS2 is recommended which can be download [here](https://www.msys2.org/). Follow the instructions
on this page to install and setup an appropriate MINGW64 environment. Running the command `pacman -S --needed base-devel mingw-w64-x86_64-toolchain` from the MSYS2 MSYS terminal should setup everything you need to compile Ares. Note that in order
to compile, you will want to be in a MINGW64 terminal window after install and setup is complete.
Compilation
-----------
Check out the source code by running this command:
git clone https://github.com/ares-emulator/ares.git
From the root of the project directory run:
make -C desktop-ui -j4 build=release
Where `desktop-ui` is the location of the main make file (called 'GNUmakefile' in these projects) and build type is of type 'release'.
`-j4` indicates number of parallel build processes, and shouldn't be set higher than N-1 cores on your processor. Specifying this option can signficantly decrease the time to build this project. There are multiple build types availabe (debug, etc.). Most additional options can be
found in nall's make file (nall/GNUmakefile).
To start compilation from the beginning, run the following prior to compiling:
make -C desktop-ui clean
Build Output
------------
There is a single binary produced at the end of compilation which can be found in `desktop-ui/out`. On OS's besides Linux, the `Database` & `Shader` directories are copied over here as well. On Linux, running `make install` after compilation will copy these directories and binary into suitable locations (see desktop-ui/GNUmakefile for details). Alternatively, these directories can be copied from `ares/Shaders/*` and `mia/Database/*`.
High-level Components
---------------------
* __ares__: emulator cores and component implementations
* __desktop-ui__: main GUI implementation for this project
* __hiro__: cross-platform GUI toolkit that utilizes native APIs on supported platforms
* __nall__: Near's alternative to the C++ standard library
* __ruby__: interface between a hiro application and platform-specific APIs for emulator video, audio, and input