1
0
mirror of synced 2024-11-27 22:50:47 +01:00
lindbergh-loader/README.md

84 lines
3.5 KiB
Markdown
Raw Normal View History

2022-10-11 13:19:37 +02:00
# SEGA Lindbergh Emulator
2022-07-07 14:34:29 +02:00
2024-01-30 15:38:30 +01:00
This project emulates the SEGA Lindbergh, allowing games to run on modern Linux computers with an NVIDIA graphics card to be used as replacement hardware for broken Lindbergh systems in physical arcade machines.
2022-07-07 14:34:29 +02:00
2022-09-02 15:49:39 +02:00
You can view the supported titles [here.](docs/supported.md)
2022-10-11 13:19:37 +02:00
## Dependencies
2022-07-19 14:55:52 +02:00
First make sure you have up-to-date NVIDIA drivers and then install the following:
2022-07-19 14:55:52 +02:00
2022-10-11 13:19:37 +02:00
```
2024-01-05 22:14:40 +01:00
sudo dpkg --add-architecture i386
sudo apt update
2022-12-28 15:57:47 +01:00
sudo apt install gcc-multilib
2024-01-05 22:14:40 +01:00
sudo apt install build-essential
2024-01-06 00:50:55 +01:00
sudo apt install freeglut3:i386
2024-01-05 22:14:40 +01:00
sudo apt install freeglut3-dev:i386
sudo apt install libglew-dev
2022-12-28 15:57:47 +01:00
sudo apt install xorg-dev
sudo apt install libopenal1:i386 libopenal-dev:i386
2024-01-06 00:50:55 +01:00
sudo apt install libalut-dev:i386 // You will need to find libalut-dev:i386, libalut0:i386 and multiarch-support:i386 from Ubuntu Xenial.
2022-12-28 15:57:47 +01:00
sudo apt install libxmu6:i386
sudo apt install libstdc++5:i386
2024-03-03 23:17:03 +01:00
sudo apt install libasound2-dev:i386
```
For Ubuntu 22.04 and above you'll need to download manually from Xenial.
2024-02-29 13:14:47 +01:00
2024-03-03 23:17:03 +01:00
```
2024-02-29 13:14:47 +01:00
wget -q http://launchpadlibrarian.net/534757982/multiarch-support_2.23-0ubuntu11.3_i386.deb \
&& dpkg -i multiarch-support_2.23-0ubuntu11.3_i386.deb
wget -q http://launchpadlibrarian.net/184146495/libalut0_1.1.0-5_i386.deb \
&& dpkg -i libalut0_1.1.0-5_i386.deb
wget -q http://launchpadlibrarian.net/184146496/libalut-dev_1.1.0-5_i386.deb \
&& dpkg -i libalut-dev_1.1.0-5_i386.deb
2022-10-11 13:19:37 +02:00
```
2022-07-19 14:55:52 +02:00
2024-01-06 00:50:55 +01:00
Note: The project has been tested to work on Ubuntu 22.04, and doesn't currently work on Ubuntu 23.10. Multiple packages such as `freeglut3:i386` are not available anymore on Debian Trixxie or Ubuntu 23.10.
2022-07-07 14:34:29 +02:00
## Building & Running
2023-02-10 00:23:49 +01:00
This emulator will need access to the input devices and serial devices on Linux. Before running this emulator you should add your user account to the following groups and then _restart your computer_.
```
sudo usermod -a -G dialout,input $USER
2023-02-10 00:23:49 +01:00
```
2023-12-29 00:00:45 +01:00
To build, run the makefile, and then copy the contents of the build directory into the game directory and run.
2022-07-07 14:34:29 +02:00
```
make
cp build/* ~/the-house-of-the-dead-4/disk0/elf/.
cd ~/the-house-of-the-dead-4/disk0/elf
2024-03-03 23:17:03 +01:00
./lindbergh
2022-07-07 14:34:29 +02:00
```
2023-12-29 00:00:45 +01:00
Some games will require extra libraries like `libposixtime.so`, which can be found in dumps of the Lindbergh CF image.
2022-12-28 14:36:42 +01:00
2023-12-29 00:00:45 +01:00
A default configuration file is provided in `docs/lindbergh.conf`. It should be placed in the same folder the game is run from. If no config file is present a default setting will be used.
2022-12-28 14:20:45 +01:00
2023-12-29 00:00:45 +01:00
Do not run this as root, instead use the usergroups for input/dialout to give the emulator access to what it needs. Lindbergh games expect full control of the Linux OS and with root privilages it is possible that they could cause damage to your computer.
2023-02-10 00:23:49 +01:00
2023-12-28 23:52:05 +01:00
A `lindbergh` executable is provided in the build directory to easily run the games. Place it in the same directory as the game elf, and run `./lindbergh` to automatically start the game with the correct environment variables set, or run `./lindbergh -t` for test mode.
2022-12-28 22:04:21 +01:00
## Controls
2022-12-28 23:24:10 +01:00
Currently the controls are set up for The House of the Dead 4.
2022-12-28 22:04:21 +01:00
2022-12-28 23:24:10 +01:00
| Key | Mapping |
|-------------|----------------|
| t | Test |
| s | Service |
| 5 | Coin 1 |
| 1 | Player 1 Start |
| Right Click | Reload |
| Left Click | Shoot |
2022-12-28 22:04:21 +01:00
2024-03-03 23:17:03 +01:00
Controls can be modified in the `lindbergh.conf` file.
2022-12-28 14:20:45 +01:00
## Thanks
2024-03-09 22:48:20 +01:00
This project has been built by referencing earlier projects by Teknoparrot and JayFoxRox and from contributions by Doozer, Rolel, dkeruza-neo, Caviar-X and RetroFan with extensive testing by Francesco - thanks to all of them!