mirror of
https://github.com/lindbergh-loader/lindbergh-loader.git
synced 2026-10-13 17:48:27 +03:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3e6027139 | ||
|
|
565a9208b7 | ||
|
|
be78a23a31 | ||
|
|
8942c510ec | ||
|
|
685d569a08 |
+17
-2
@@ -48,11 +48,26 @@ sudo ln -s /lib/i386-linux-gnu/libglut.so /lib/i386-linux-gnu/libglut.so.3
|
||||
|
||||
### Let's Go Jungle Rev A
|
||||
|
||||
- The game must be run in export mode to have the stereo sound option.
|
||||
The game must be run in export mode to have the stereo sound option.
|
||||
|
||||
### Outrun 2 SP SDX
|
||||
|
||||
- You need to set `SKIP_OUTRUN_CABINET_CHECK` to 1 in `lindbergh.conf` to play in DX, SDX or Standard cabinet types.
|
||||
You need to set `SKIP_OUTRUN_CABINET_CHECK` to 1 in `lindbergh.conf` to play in DX, SDX or Standard cabinet types.
|
||||
|
||||
### Ghost Squad / 2Spicy
|
||||
|
||||
You may have sound issues such as the game complaining that the system cannot open `/dev[/sound]/dsp`. You **must not** use the `libopenal.so.0` files that came with the game, please delete those if you've moved them into your game folder. Do the following:
|
||||
|
||||
```
|
||||
sudo apt install pipewire-audio-client-libraries:i386
|
||||
sudo cp /usr/share/doc/pipewire/examples/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/
|
||||
```
|
||||
|
||||
Then in the game folder you must create a symlink to the `libopenal.so.1` library installed on your system:
|
||||
|
||||
```
|
||||
ln -s /usr/lib/i386-linux-gnu/libopenal.so.1 libopenal.so.0
|
||||
```
|
||||
|
||||
## Configuration File : lindbergh.conf
|
||||
|
||||
|
||||
@@ -305,6 +305,15 @@ int open(const char *pathname, int flags, ...)
|
||||
|
||||
int (*_open)(const char *pathname, int flags, ...) = dlsym(RTLD_NEXT, "open");
|
||||
|
||||
// Attempt to open /dev/dsp and /dev/dsp1
|
||||
if (strcmp(pathname, "/dev/dsp") == 0) {
|
||||
int dspFileDescriptor = _open("/dev/dsp", flags, mode);
|
||||
if(dspFileDescriptor != -1)
|
||||
return dspFileDescriptor;
|
||||
|
||||
return _open("/dev/dsp1", flags, mode);
|
||||
}
|
||||
|
||||
if (strcmp(pathname, "/dev/lbb") == 0)
|
||||
{
|
||||
hooks[BASEBOARD] = _open(HOOK_FILE_NAME, flags, mode);
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "securityboard.h"
|
||||
#include "log.h"
|
||||
#include "config.h"
|
||||
|
||||
#define SECURITY_BOARD_FRONT_PANEL 0x38
|
||||
#define SECURITY_BOARD_FRONT_PANEL_NON_ROOT 0x1038
|
||||
@@ -51,8 +52,10 @@ int securityBoardSetDipResolution(int width, int height)
|
||||
setResolutionDips(1, 1, 0);
|
||||
else if (width == 1360 && height == 768)
|
||||
setResolutionDips(1, 1, 1);
|
||||
else
|
||||
log_warn("Resolution not compatible, using 640 x 480\n");
|
||||
else {
|
||||
if(getConfig()->showDebugMessages)
|
||||
log_warn("Resolution not original, setting dips to 640 x 480.\n");
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user