This open-source project aims to be a modern engine re-implementation for "The Elder Scrolls: Arena" from 1994 by Bethesda Softworks. It is written in C++17 and uses SDL2, WildMIDI for music, and OpenAL Soft for sound and mixing. There is support for Windows, Linux, and macOS.
- Version: 0.12.0
- License: MIT
- Discord: https://discord.gg/DgHe2jG
No actual gameplay yet, but all locations and interiors can be accessed for testing. Citizens wander around cities and the wilderness but cannot be interacted with. Fast traveling works and you can go to any city or dungeon on the world map. Collision detection is barebones (just enough for playtesting) and needs work. Character creation works but character questions and player attributes are not implemented. Some of the in-game interface icons work; for example, left clicking the map icon goes to the automap, and right clicking it goes to the world map.
Controls:
- WASD - move and turn. Hold LCtrl to strafe.
- Esc - pause menu
- Tab - character sheet
- F - draw/sheathe weapon
- G - hold and click voxel to destroy
- L - logbook
- M - world map
- N - automap
- V - status
- F2 - player position
- F4 - debug profiler
- PrintScreen - screenshot
Inspired by OpenXcom and OpenMW, this started out as a simplistic ray tracing tech demo in early 2016, and is now steadily inching closer to something akin to the original game. I am using a clean-room approach for understanding Arena's algorithms and data structures, the details of which can be found in the wiki. It is a behavioral approximation project, not about matching machine instructions, and quality-of-life changes are made where they make sense.
There are two versions of Arena: the floppy disk version (which Bethesda released for free) and the CD version. The user must acquire their own copy of Arena because OpenTESArena is a standalone engine and does not contain content.
OpenTESArena is MIT-licensed.
Check out CONTRIBUTING.md for more details on how to assist with development.
If you would like music played in-game, see Music setup below. The engine uses ArenaPath
and MidiConfig
from the options file to find where the game files and MIDI config are.
- Get the most recent build from the releases tab.
- Download the Full Game from the Bethesda website, or get the CD version from somewhere such as GOG.
- Extract Arena106Setup.zip and run Arena106.exe.
- Pick a destination folder to install into. This can be anywhere on your hard drive or in the OpenTESArena
data
folder. - Open
options-default.txt
in theoptions
folder and changeArenaPath
to where you put theARENA
/ARENACD
folder. - Run OpenTESArena.exe.
If you see an error about missing MSVCP141.dll or similar, download and run the Visual C++ Redistributable Installer for Windows:
- 64-bit (recommended): vc_redist.x64.exe
- 32-bit: vc_redist.x86.exe
If you see a warning about alcOpenDevice()
failing, or there is no sound, download the OpenAL 1.1 Windows Installer and run oalinst.exe.
- Download the Full Game from the Bethesda website.
- Unzip
Arena106Setup.zip
Arena106.exe
is a self-extracting RAR file. Use a tool such as The Unarchiver to extract it into a folder of data files.
- Download the most recent build from the releases tab.
- Open the
.dmg
and copy OpenTESArena to theApplications
folder or another location - Right-click on the app and choose "Show Package Contents"
- Navigate to
Contents/Resources/data
and copy in the files for Arena that you extracted earlier - Return to the
Applications
folder or wherever you have the app installed and open OpenTESArena. If you have Gatekeeper turned on (the default for macOS), you will need to do the following:- Right-click on the app and choose "Open"
- In the warning that appears saying that it is from an unidentified developer, choose "Open"
- The app will start. In the future, you can just double-click on the app without having to go through these steps.
Substitute <version>
with the current version number (0.#.0
), and <arch>
with the desired architecture (32
or 64
).
sudo apt-get install wget unzip rar
wget https://cdnstatic.bethsoft.com/elderscrolls.com/assets/files/tes/extras/Arena106Setup.zip
wget https://github.com/afritz1/OpenTESArena/releases/download/opentesarena-<version>/opentesarena-<version>-Linux<arch>.tar.gz
tar xvzf opentesarena-<version>-Linux<arch>.tar.gz
cd opentesarena-<version>-Linux<arch>/data
unzip ../../Arena106Setup.zip
rar x Arena106.exe
cd ..
./run.sh
options-default.txt
comes with releases and stores default settings. options-changes.txt
is generated in your user prefs folder and stores user-specific settings, and you can either create it yourself or let the program create it. For now, you can change things like ArenaPath
in options-default.txt
, but in the future, a wizard will take care of this instead. The prefs folders are:
- Windows:
<username>/AppData/Roaming/OpenTESArena/options/
- Linux:
~/.config/OpenTESArena/options/
- macOS:
~/Library/Preferences/OpenTESArena/options/
Arena uses MIDI files for music, so the user must have MIDI sound patches in order to have music play in-game.
The easiest way is to download one of the eawpats packages (zip, tar.gz) and place the extracted eawpats folder into the OpenTESArena data
folder.
If you would like to use a different sound patches library like OPL3, edit MidiConfig
in the options file to point to the MIDI .cfg
file for that library.
- CMake
- OpenAL Soft 1.18.2
- SDL 2.0.4
- WildMIDI 0.4.3 (optional; required for music)
- Create a
build
folder in the project's top-level directory. - Use CMake to generate your project files in
build
. In a Unix terminal, the command might look like:
cd build
cmake ..
make -j4
- Other user-specific parameters may be necessary for CMake depending on your IDE.
- Verify that the
data
andoptions
folders are in the same folder as the executable. If not, then copy them from the project's root folder. - Make sure that
MidiConfig
andArenaPath
in the options file point to valid locations on your computer (i.e.,data/eawpats/timidity.cfg
anddata/ARENA
respectively).
If you struggle, here are some more detailed guides:
If there is a bug or technical problem in the program, check out the issues tab!
The Unofficial Elder Scrolls Pages are a great resource for information all about Arena. Various tools like WinArena and BSATool allow for browsing Arena's content, and there is a very detailed manual as well. I also recommend the Lazy Game Review on YouTube for a humorous overview of the game's history and gameplay.
Project YouTube channel: https://www.youtube.com/channel/UCJpmkgtHRIxR7aOpi909GKw