1
0
mirror of synced 2024-11-30 20:24:27 +01:00
lindbergh-loader/README.md

67 lines
2.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
2022-07-07 14:37:11 +02:00
This project aims to hook and emulate the various different parts of the SEGA Lindbergh allowing the games to run on modern versions of Linux.
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-12-28 14:37:43 +01:00
You will need an nvidia graphics card and I have tested with the latest version of Ubuntu.
Please be aware that the project is in very early stages, and there will be lots of issues with all games.
2022-10-11 13:19:37 +02:00
## Dependencies
2022-07-19 14:55:52 +02:00
2022-12-28 23:24:10 +01:00
First make sure you have up to date nVidia drivers for your computer, and then install the following:
2022-07-19 14:55:52 +02:00
2022-10-11 13:19:37 +02:00
```
sudo dpkg --add-architecture i386
2022-12-28 15:57:47 +01:00
sudo apt install gcc-multilib
sudo apt install freeglut3:i386 freeglut3-dev:i386 libglew-dev
sudo apt install xorg-dev
sudo apt install libopenal1 libopenal-dev
sudo apt install libalut-dev:i386
sudo apt install libxmu6:i386
sudo apt install libstdc++5:i386
2022-10-11 13:19:37 +02:00
```
2022-07-19 14:55:52 +02:00
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 addgroup $USER dialout
sudo addgroup $USER input
```
2022-12-28 23:24:10 +01:00
To build, run the makefile, and then copy the contents of the build directory into your 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
2022-12-28 13:37:32 +01:00
LD_PRELOAD=lindbergh.so LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ./hod4M.elf
2022-07-07 14:34:29 +02:00
```
2023-07-07 00:10:48 +02:00
Some games will require extra libraries like `libposixtime.so`. These can be found in any dumps of the Lindbergh CF image.
2022-12-28 14:36:42 +01:00
2022-10-11 13:19:37 +02:00
A default configuration file is provided in `docs/lindbergh.conf`. It should be placed in the same folder as 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-02-10 00:23:49 +01:00
I recomend that you do not run this as root, and instead use the usergroups for input/dialout to give the emulator access to what it needs. The Lindbergh games expect full control of the Linux OS and with root privilages it is possible that they could cause damage to your computer.
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
2022-12-28 14:20:45 +01:00
## Thanks
2023-11-13 23:48:08 +01:00
This project has been built by referencing things made by Teknoparrot, Doozer and JayFoxRox and from contributions by Rolel and
dkeruza-neo and extensive testing by Francesco so thanks to all of them!