Commit graph

8017 commits

Author SHA1 Message Date
Stefan
2d66e682f0
system.sh: update Debian unstable version
Current Debian bookworm/testing has version 12. Debian trixie/unstable has version 13.
2023-03-07 12:36:22 +01:00
Stefan
bab23cb8cc
system.sh: add Ubuntu 22.04
Debian >= 12 and Ubuntu >= 22.10 have libsdl2-tests package. Set __os_debian_ver="12" for Ubuntu versions >= 22.10.
2023-03-07 12:32:01 +01:00
Aaron Pfeifer
4b5f20f12b Clean up emulationstation configscripts to use a consistent sanitize implementation for filenames that include the device name
Previously, certain characters were unnecessarily escaped when placed within range expressions.  This change aligns the
sanitizing code with reicast.
2023-03-06 08:39:57 -05:00
Aaron Pfeifer
d24b45674e retroarch: Fix ES configscript not using fixed strings in grep commands that are searching for the device name
The impact of this is that any device name that's reported with special characters from grep's default regular expression
engine would fail.  For example, "*" would be misinterpreted.  This change makes the script more aligned with other
grep commands in the file.
2023-03-06 08:39:57 -05:00
Aaron Pfeifer
0442962f54 reicast: Fix ES configscript not accounting for a few additional special characters when generating sanitizing filenames (/, \, and *)
https://github.com/RetroPie/RetroPie-Setup/pull/2992 references this commit in reicast: 8b5c2a3fac (diff-b3f91e0a878ca6a79689c44f6b0e14f1e4d9d01e664190a41f5ee15f18c35adaR140-R150)
which is used as the reference for which additional characters to sanitize
2023-03-06 08:39:57 -05:00
Aaron Pfeifer
3bd3b9c715 mupen64plus: Fix ES configscript not accounting for special characters (e.g. / and *) when using the device name in sed commands 2023-03-06 08:39:57 -05:00
Stefan
92eb182839
emulationstation.sh: workaround Ubuntu 22.04 focus problem
Emulationstation has focus problems under Ubuntu 22.04's "GNOME on Wayland" session. Don't use SDL2's wayland driver and run emulationstation with --fullscreen-borderless if desktop session is "GNOME on Wayland".
2023-03-06 12:43:14 +01:00
Jools Wills
5f9a1a32d8 cdogs-sdl - update to v1.4.1
This fixes building on bullseye

Also closes #3418
2023-03-05 15:10:26 +00:00
Jools Wills
0af7d4f561 ti99sim-sdl1 - include patch to fix building on recent g++
include/common.hpp was missing a cstdio include required for fclose
2023-03-05 15:01:32 +00:00
Jools Wills
d519e79e89 ti99sim - include patch to fix building on recent g++
src/core/device-support.cpp was missing a cstring include which throws an error on recent g++
2023-03-05 15:01:28 +00:00
Jools Wills
b9674554bb minivmac - include patch to fix building on gcc 10+
Move the SDL declarations from MYOSGLUE.h to MYOSGLUE.c
This fixes building on GCC 10+ due to the MYOSGLUE.h header being included by every source file.

PR has been sent upstream https://github.com/vanfanel/minivmac_sdl2/pull/3
2023-03-05 14:30:50 +00:00
Jools Wills
90d535028b Don't use compareVersions for GCC version comparisons
gcc -dumpversion on GCC >= 7 seems to provide the major version but the documentation suggests this depends on how it's configured.
We only need to test the major version so using compareVersions isn't required.

https://gcc.gnu.org/onlinedocs/gcc/Developer-Options.html states:
>Print the compiler version (for example, 3.0, 6.3.0 or 7)—and don’t do anything else. This is the compiler
>version used in filesystem paths and specs. Depending on how the compiler has been configured it can be
>just a single number (major version), two numbers separated by a dot (major and minor version) or three
>numbers separated by dots (major, minor and patchlevel version).

Ensure __gcc_version only contains the major version just in case in system.sh
2023-03-05 14:09:26 +00:00
Jools Wills
8517e142c7 system - enable binaries for Raspberry Pi OS 11 (bullseye)
Adjust logic slightly
2023-03-05 13:53:20 +00:00
Jools Wills
6bf638afec
Merge pull request #3657 from joolswills/stella_6.7
stella - update to version 6.7
2023-03-05 13:50:23 +00:00
Jools Wills
1917b4ebbf lr-dosbox-pure - install g++ v9 on arm if v10 is the system default
This fixes building on Bullseye.

According to https://github.com/libretro/dosbox-pure/commit/603b1c7ae

>Switch to gcc 9 to avoid buggy assembly genetation [sic] of gcc 10
>On armv7l, gcc 10.2 with -O2 on the file core_dynrec.cpp generates assembly that wrongfully passes NULL to the runcode function
>resulting in a segfault crash. It can be observed by writing block->cache.start to stdout twice where it is NULL at first
>and then the actual value thereafter. This affects upstream SVN DOSBox as well as this core.
2023-03-05 13:49:26 +00:00
Jools Wills
26367fba18
Merge pull request #3658 from cmitu/lr-scummvm-fix2
lr-scummvm: M32 emulation build change
2023-03-05 08:07:12 +00:00
cmitu
c3d8ac7263 lr-scummvm: M32 emulation build change
Upstream changed the Makefile variable, add it also here.
2023-03-05 07:29:16 +00:00
cmitu
552ad8eeee lr-prboom: workaround a recent regression
Until [1] is resolved - one way or another - use a good known commit to build the PrBoom core.
Upstream core is relatively static, so we're not loosing much for pinning the version.

[1] https://github.com/libretro/libretro-prboom/issues/181
2023-03-05 05:54:29 +00:00
Jools Wills
80e8a85231
Merge pull request #3656 from joolswills/multiple_distcc
crosscomp - allow configuration of multiple distcc daemons
2023-03-04 12:11:32 +00:00
Jools Wills
d94761127d stella - update to version 6.7 2023-03-04 11:59:13 +00:00
Jools Wills
305ba91e24 crosscomp - allow configuration of multiple distcc daemons
Instead of switch_distcc to change the default distcc daemon to point to an installed cross compiler,
it now has a configure_distcc function that allows configuring additional distcc daemons on different ports.

$md_inst/bin is no longer used. Symlinks for cc/gcc/c++/g++ are now made in the $md_inst/$dist/bin folders where the
cross compiler binaries are installed.

Example usage:

./retropie_packages.sh crosscomp configure_distcc buster 3633

Will configure a /etc/init.d/distcc-buster script (copied from /etc/init.d/distcc) on port 3633.
The logging will be in /var/log/distcc-buster.log. The /etc/default/distcc config is still used by all daemons.

This is used to allow multiple daemons for RPI buster / bullseye cross compiling (Which I use for building the distribution binaries)
2023-03-03 22:00:19 +00:00
Jools Wills
bbbd564164
Merge pull request #3655 from gizmo98/fix-#3138
mupen64plus.sh: fix issue #3138
2023-03-03 21:57:51 +00:00
Stefan
b4d0f9ed7e mupen64plus.sh: rice-video - fix rpi/mesa video issues
Rice video has issues with rpi's mesa driver. Display is flickering or screen is black. ScreenUpdateSetting=7 fixes this issue. Fixes #3138.
2023-03-03 20:48:23 +01:00
Jools Wills
27bdc399fa
Merge pull request #3653 from gizmo98/Gliden64-ConfigVersion
mupen64plus.sh: update GlideN64 config version
2023-03-03 16:22:50 +00:00
Stefan
616bc72dfb
mupen64plus.sh: update GlideN64 config version
GlideN64 overwrites settings if config version is to old. Current config version is 29.
1f4d04f43b/src/Config.h (L8)
2023-03-03 16:26:25 +01:00
Jools Wills
3f6f6dbd98 dosbox-staging - fix typo (armv6 not arm6) 2023-03-03 14:00:20 +00:00
Jools Wills
b17416cee6
Merge pull request #3652 from joolswills/dosbox-staging_neon
dosbox-staging - disable speexdsp simd support on armv6 devices
2023-03-03 13:29:44 +00:00
Jools Wills
bfdb0bde23 dosbox-staging - disable speexdsp simd support on armv6 devices
This fixes building on armv6 devices such as the RPI1.

The meson speexdsp script will test for neon support by building for armv7+neon.
This will cause neon to be enabled when building for the RPI1, breaking compilation.

Fixes #3651
2023-03-03 13:21:32 +00:00
Jools Wills
e87e40b44c raspbiantools - use aptRemove for disable_zram
Use our helper function for package removal (which uses apt-get).

apt will throw a warning when run via retropie_setup

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
2023-03-01 18:11:08 +00:00
Jools Wills
8fc96a7dbd lr-beetle-pce-fast / lr-beetle-supergrafx - include licence in install 2023-03-01 17:09:38 +00:00
Jools Wills
33e9bed04a lr-beetle-pce - move to optional package section 2023-03-01 12:54:44 +00:00
Jools Wills
c68bd9d78e
Merge pull request #3649 from nemo93/nemo93/beetlepce
lr-beetle-pce: add accurate PC Engine/CD/SuperGrafx core
2023-03-01 12:52:07 +00:00
nemo93
d6a4ac6a64 lr-beetle-pce: add accurate PC Engine/CD/SuperGrafx core 2023-03-01 13:40:47 +01:00
Jools Wills
ea3873ce9e
Merge pull request #3648 from cmitu/hypseus-sdl-update
hypseus: update runtime parameters for ARM
2023-03-01 12:07:13 +00:00
cmitu
98b7b6a87a hypseus: update runtime parameters for ARM
Since SDL has been updated, make sure we don't encounter the performance issue reported on 2.0.16+ with RPI.
After 2.0.16, using `SDL_TEXTUREACCESS_TARGET` for a `SDL_Texture` leads to an extra conversion inside SDL, so avoid it by telling `hypseus` to use `SDL_TEXTUREACCESS_STREAMING`.

Previous discussion and analysis of the performance impact:
 * https://github.com/DirtBagXon/hypseus-singe/issues/66
 * https://retropie.org.uk/forum/topic/18505/
2023-03-01 05:56:34 +00:00
Jools Wills
2178b68d11
Merge pull request #3607 from joolswills/sdl2_bullseye
sdl2 - updated to retropie-2.26.3 branch for bullseye
2023-02-28 17:57:58 +00:00
Cristi Mitrana
97979ca3f6
Merge pull request #3639 from schiele/scummvm-2.7.0
scummvm: update to version 2.7.0

New Games:

    Added support for Soldier Boyz.
    Added support for C64 and ZX Spectrum versions of GLK Scott Adams Interactive Fiction games.
    Added support for GLK Scott Adams adventures 1-12 in the TI99/4A format.
    Added support for Obsidian.
    Added support for Pink Panther: Passport to Peril.
    Added support for Pink Panther: Hokus Pokus Pink.
    Added support for Adibou 2 "Environment", "Read/Count 4 & 5" and "Read/Count 6 & 7".
    Added support for Driller/Space Station Oblivion (DOS/EGA/CGA, Amiga, AtariST, ZX Spectrum and Amstrad CPC versions).
    Added support for Halls of the Dead: Faery Tale Adventure II.

New platforms:

    Added support for the RetroMini RS90 under OpenDingux beta.
    Added support for the 1st generation Miyoo (New BittBoy, Pocket Go and PowKiddy Q90-V90-Q20) under TriForceX MiyooCFW.
    Added support for the Miyoo Mini.
    Added support for KolibriOS.

General:

    Reduced amount of false positives in Mass Add.
    Updated the Roland MT-32 emulation code to Munt mt32emu 2.7.0.
    Added support for shader-based scalers.
    Added option for mono sound output (via --output-channels=CHANNELS command line option).
    Improved cursor scaling in OpenGL mode.
    Fix crash when browsing folders containing files with \1 in the names.
    Added possibility to specify RNG seed via GUI or command line option.
    Added possibility to run ScummVM in autodetection mode by renaming the executable starting with 'scummvm-auto' or by providing an empty file named 'scummvm-autorun' next to the ScummVM executable.
    Added possibility to supply command line parameters which will be picked up automatically. Put them one per line in a file named 'scummvm-autorun'.
    Added possibility to customize the default settings by specifying an initial configuration file to load if no configuration file exists in the usual location (via --initial-cfg=FILE or -i command line option).
    Added support for loading game resources which are bigger than 2GB on more platforms.
2023-02-28 19:29:17 +02:00
cmitu
6133ec4398 scummvm: build updates
* fix building from source on low memory devices
* disable `sdl1` on `kms` platforms
2023-02-28 13:47:48 +00:00
Robert Schiele
0a0e7c2df3 scummvm: update to version 2.7.0
Changes in 2.7.0:

 New games:
   - Added support for Soldier Boyz.
   - Added support for C64 and ZX Spectrum versions of GLK Scott Adams
     Interactive Fiction games.
   - Added support for GLK Scott Adams adventures 1-12 in the TI99/4A format.
   - Added support for Obsidian.
   - Added support for Pink Panther: Passport to Peril.
   - Added support for Pink Panther: Hokus Pokus Pink.
   - Added support for Adibou 2 "Environment", "Read/Count 4 & 5" and "Read/Count 6 & 7".
   - Added support for Driller/Space Station Oblivion (DOS/EGA/CGA, Amiga, AtariST, ZX Spectrum and Amstrad CPC versions).
   - Added support for Halls of the Dead: Faery Tale Adventure II.

 New platforms:
   - Added support for the RetroMini RS90 under OpenDingux beta.
   - Added support for the 1st generation Miyoo (New BittBoy, Pocket Go and PowKiddy Q90-V90-Q20) under TriForceX MiyooCFW.
   - Added support for the Miyoo Mini.
   - Added support for KolibriOS.

 General:
   - Reduced amount of false positives in Mass Add.
   - Updated the Roland MT-32 emulation code to Munt mt32emu 2.7.0.
   - Added support for shader-based scalers.
   - Added option for mono sound output (via --output-channels=CHANNELS command
     line option).
   - Improved cursor scaling in OpenGL mode.
   - Fix crash when browsing folders containing files with \1 in the names.
   - Added possibility to specify RNG seed via GUI or command line option.
   - Added possibility to run ScummVM in autodetection mode by renaming the
     executable starting with 'scummvm-auto' or by providing an empty file
     named 'scummvm-autorun' next to the ScummVM executable.
   - Added possibility to supply command line parameters which will be picked
     up automatically. Put them one per line in a file named 'scummvm-autorun'.
   - Added possibility to customize the default settings by specifying an initial
     configuration file to load if no configuration file exists in the usual
     location (via --initial-cfg=FILE or -i command line option).
   - Added support for loading game resources which are bigger than 2GB on more
     platforms.

 AGI:
   - Improved support for French translations.

 AGOS:
   - Added option to disable the fade-out effects on room transition for
     Simon1 and 2.

 AGS:
   - Added support for the original installer files for Maniac Mansion Deluxe and
     The New Adventures of Zak McKracken.

 Director:
   - Support for Pippin version of L-Zone.
   - Fix a bug caused by use of slash in filename.

 Dreamweb:
   - Support playing from the original installer floppies.

 Hadesch:
   - Added support for a 1997 release.

 Kyra:
   - Added support for the Korean version of Legend of Kyrandia 1.
   - Support multi-floppy mac kyra1 both as installer floppies and as installed directory.
   - Added support for the Hebrew version of Legend of Kyrandia 3.

 MADS:
   - Added support for original floppy installer file layout for Rex Nebular.

 Neverhood:
   - Added support for Japanese version of Neverhood.
   - Support localizations by -=CHE@TER=- & Rigel.

 Plumbers:
   - Fixed crash with windows version.

 Private:
   - Allow playing mac version directly from installer CD.
   - Added support for Japanese/Mac version

 Queen:
   - Added option for using a better font in Hebrew version.

 SAGA:
   - Added support for Chinese Inherit the Earth.
   - Added support for Chinese I Have no Mouth and I Must Scream.
   - Added support for Korean I Have no Mouth and I Must Scream.
   - Added support for playing directly from floppy installer for ITE.
   - Support for Amiga (AGA/ECS, Retail/Demo, English/German) Inherit the Earth.

 SCI:
   - Improved text rendering for Macintosh titles.
   - Added support for Casio MT-540, CT-460 and CSM-1 MIDI devices for the SCI0
     games that originally supported it.

 SCUMM:
   - Added support for CGA, CGA Composite, CGA black & white and Hercules modes
     for SCUMM 1 versions of Zak McKracken and Maniac Mansion.
   - Improved accuracy of CGA and Hercules modes for SCUMM 2 (enhanced) versions of
     Zak McKracken and Maniac Mansion.
   - Improved accuracy of CGA and Hercules modes for Monkey Island 1 (EGA version
     only - the VGA version does not have CGA and Hercules modes).
   - Fixed some minor glitches for the CGA mode of Loom.
   - Added EGA dithering mode for VGA versions of Loom, Monkey Island 1 and 2 and
     Indiana Jones 4.
   - Fixed a possible dead-end in the Ultimate Talkie Edition of Monkey Island 2,
     if one doesn't pick up a required item before Captain Dread brings Guybrush
     back to Scabb Island, at the end of Part II.
   - Fixed various original game bugs, oversights and continuity errors (only
     when using the "Enable game-specific enhancements" setting).
   - Improved the decoding of some Western European game strings when they're
     displayed through ScummVM's interface, such as when pausing a game.
   - Fixed the navigator head not pointing to some directions in Monkey
     Island 1, in the original releases without the enhanced verb interface.
   - Fixed slightly inaccurate text position in v4 games and in Loom v3.
   - For Sam & Max, it is now possible to shoot down the text lines of the
     final credits with the crosshair mouse cursor, just like in the original.
   - Fixed lipsync issues in the final scene of Freddi Fish 4.
   - Fixed The Dig and COMI loading cursors not being shown when they should.
   - Improved the accuracy of some audio drivers, which was notably impacting
     the pitch bending effect in the DOTT intro music.
   - In COMI, only let Guybrush read the clock of Puerto Pollo in the English,
     Italian and (fan-made) Russian versions of the game, matching the behavior
     of the original interpreters (probably because of the poor results in the
     other languages).
   - Improved support for Hebrew HE game localizations.
   - Fixed Roland MT-32 support in Sam & Max.
   - Implemented original GUI and save menus for LucasArts games (DOS, Windows,
     Amiga, Macintosh, FM-Towns, SegaCD, Atari ST, NES and Commodore 64 versions).
     Also activate the general "Ask for confirmation on exit" option for a more
     authentic '90s experience!
   - Fixed minor timing issues for the SMUSH video engine, mostly affecting
     Full Throttle.
   - Added a low latency audio mode to Full Throttle, The Dig and The Curse of
     Monkey Island; this can improve audio performance expecially in non-desktop
     devices, but it is also a little less accurate than the original.
   - Implemented reloading CD audio for Monkey Island 1 and Loom (CD versions),
     when reloading a save state.

 Sherlock:
   - Added support for Chinese Rose Tattoo.

 Sky:
   - Added support for Chinese Beneath a Steel Sky.

 Sword1:
   - Support Novy Disk Russian translation.
   - Fixed launching various demos.
   - Switched detection to md5-based. Submit your unrecognized versions!

 Sword2:
   - Switched detection to md5-based. Submit your unrecognized versions!

 Tinsel:
   - Fixed Discworld II subtitle colors on big-endian ports.

 Toon:
   - Made game menus behave like in the original.

 TwinE:
   - Fixed rendering issue with doors.
   - Fixed invalid music pause in behaviour and inventory menu.
   - Fixed giving kashes instead of hearts as fallback.
   - Fixed item flashing when they drop.
   - Fixed meca penguin angle at spawn.
   - Fixed background redraw when watching cutscenes at the television.
   - Fixed recenter the screen on activating an inventory item.
   - Fixed pressing W to talk to people also makes you jump.

 Ultima8:
   - Added support for saving and resizing of minimap.
   - Adjust cursor to behave closer to the original.
   - Adjust item quantity slider to behave closer to the original.

 Xeen:
   - Several crash fixes for Clouds of Xeen.
   - Wait until farewell finishes before leaving shops.
   - Don't reload map after leaving character creation.
   - Implement correct clouds falling logic for Swords of Xeen.
   - Fix GateMaster monster in Underworld map.

 3DS port:
   - Update relocation parser to support PREL31 that are emitted by new compiler.
   - Do more autoconfiguration in ./configure.

 Android port:
   - Added Storage Access Framework support.
   - Improved support for game controllers.

 iOS port:
   - Added pointer device support.
   - Improved suppport for touchpad mode.
   - Added support for games that use 32 bit pixel formats.

 Nintendo DS port:
   - Added a splash screen to the top screen when the launcher is active.

 OpenDingux port:
   - Added support for dynamic plugins.

 PS Vita port:
   - Added support for dynamic plugins.

 PSP port:
   - Improved support for games that use 32 bit pixel formats.

 RISC OS port:
   - Added support for 26-bit versions of RISC OS.
2023-02-28 14:29:20 +01:00
Jools Wills
ebcb9c4711
Merge pull request #3645 from s1eve-mcdichae1/repo-commit-sha
packages.sh - function rp_hasNewerModule - variable length commit hash
2023-02-27 17:05:20 +00:00
Jools Wills
f2631dc033
Merge pull request #3647 from cmitu/samba-no-more
samba: update restart to remove old service name
2023-02-27 07:52:24 +00:00
cmitu
dee89131b8 samba: update restart to remove old service name
Removed the `samba` service name, it's not used since _stretch_.
2023-02-27 04:13:53 +00:00
Jools Wills
034ed6239b
Merge pull request #3646 from gizmo98/fix#3563
runcommand.sh: suppress framebuffer garbage
2023-02-25 20:09:49 +00:00
Jools Wills
3ab79309ea
Merge pull request #3638 from cmitu/osk-netplay
netplay: use the OSK to configure netplay options
2023-02-25 18:34:53 +00:00
cmitu
7ecf97fe96 retronetplay: make use of the 'inputBox' helper
Modified the netplay configuration dialog to use the new 'inputBox' helper function.
If OSK is installed, it will be used automatically so a keyboard is no longer required to configure these options.
2023-02-25 18:24:06 +00:00
cmitu
7ca41aa29f helpers: updates to the 'inputBox' function
Added more info about the usage and mentioned the return value to differentiate between ok/cancel buttons.
Modified the prompt text for the `dialog` based inputbox so it's similar to how the OSK script shows it.
2023-02-25 18:24:06 +00:00
cmitu
b6ea0392e9 joy2key: teach the OSK to start with a value
Added a new parameter to `osk.py` to populate the input box with an existing value.
This makes it easier to replace the `dialog`'s `--inputbox` widget, which accepts an existing value as the last argument.

Removed the prefix from the input prompt, let it be handled by the caller.
2023-02-25 18:23:22 +00:00
Stefan
050745ef8b runcommand.sh: suppress framebuffer garbage
Fix https://github.com/RetroPie/RetroPie-Setup/issues/3563.
2023-02-25 12:40:51 +01:00
Cristi Mitrana
cf8877c81d
Merge pull request #3644 from joolswills/helpers_inputtext
helpers - added inputBox function that uses the OSK
2023-02-25 08:59:51 +02:00
s1eve-mcdichae1
4fa61189a8 packages.sh function rp_hasNewerModule() - allows variable-length repo_commit sha for comparison. Enforce a minimum of four characters. 2023-02-24 16:04:09 -08:00