Compare commits

...
5 Commits
Author SHA1 Message Date
Bobby Dilley d3e6027139 Update guide.md 2025-01-28 17:42:07 +00:00
Bobby Dilley 565a9208b7 Update guide.md 2025-01-28 15:36:05 +00:00
Bobby Dilley be78a23a31 Make dkeruza happy 2025-01-28 15:24:06 +00:00
Bobby Dilley 8942c510ec Look for /dev/dsp and /dev/dsp1 2025-01-28 10:45:35 +00:00
Bobby Dilley 685d569a08 Remove not needed message 2025-01-28 10:16:06 +00:00
3 changed files with 31 additions and 4 deletions
+17 -2
View File
@@ -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
+9
View File
@@ -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);
+5 -2
View File
@@ -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;
}