Commit graph

43 commits

Author SHA1 Message Date
V0rt3x667
98a55c2935 Use kmsxx to set resolution & refresh rate 2024-09-07 00:29:06 +01:00
G Derber
f7761fd635
Add ability to differentiate group ownership from user ownership. 2024-08-06 09:38:25 -04:00
cmitu
b2d1805e1f attractmode: add default font dependency
Added the Free fonts, since `attract` will not start without it's default font (FreeSans).
The font search code has changed recently, triggering now an error without FreeSans being present.
2023-03-15 20:36:28 +00:00
Jools Wills
bd3831a74b
Merge pull request #3518 from cmitu/attractmode-build2
attractmode: fix build on videocore/kms platforms
2022-04-25 22:36:24 +01:00
cmitu
3138610f96 attractmode: fix build on videocore/kms platforms
Upstream project changed the `makefile` in [1] and `EXTRA_CFLAGS` was removed.
Use the new `EXTRA_CXXFLAGS` instead, so our compiler flags and directives to find the locally compiled `sfml-pi` are passed on.

[1] 502f5d71e5
2022-04-23 19:04:00 +01:00
cmitu
90c1ba5ad2 attractmode: dependency update
`libavresample-dev` has been obsoleted by `libswresample-dev` on recent (21.10 and later) Ubuntu versions and Debian Testing.
Also explicitely add the dependency on curl's libs.
2022-04-09 16:43:39 +01:00
Jools Wills
4709f5adee attractmode - checkout the main repository first, for compatibility with source checking
Previously the location of the sfml-pi repo would be used as it was called first on the RPI,
which would mean an update is always done as the sfml-pi hash would have been stored rather than the
main repository. Ideally we would handle it so if either repository updates, but that requires a fair
amount of additional code as with mupen64plus and it's not work it for this - the sfml-pi code doesn't
change that often and better to just base it on the core code
2021-03-01 22:55:05 +00:00
Jools Wills
ab88a0b6bc fixed some left over references to __mod_section[$id] to __mod_info[$id/section] 2021-02-22 03:22:45 +00:00
Jools Wills
14b0376d93 fixed some left over references to __mod_flags[id] to __mod_info[id/flags] 2021-02-22 03:14:59 +00:00
Jools Wills
c76aeafede updated some more modules with rp_module_repo that "should" work ok now 2021-02-15 23:54:13 +00:00
Jools Wills
acdb1ddac8 Switch to associative arrays for module data and storage
Previously all the module data was in indexed arrays with matching offsets.
Each scriptmodule folder had an initial index and it was incremented per module.

Many package functions expected an index. Indexes were never unique and could change
depending on added modules etc. We also had to convert between them and module IDs.

Now it's all done by module id. There is a numbered index of all modules found, that
increments which is used in the GUI setup menus. But it's not needed by any packaging functions.

md_idx is dropped and the few modules that used it for install checks etc now use md_id.

all packaging functions use the id.

retropie_packages.sh now accepts the module id only.
2021-01-07 05:10:02 +00:00
Jools Wills
b618fd2079 attractmode - added missing dependency libglu1-mesa-dev for kms targets 2020-09-10 02:30:11 +01:00
cmitu
7dbc83b645 attractmode: enable for KMS/DRM
Added 'attractmode' for the 'kms' platform, since it now includes support for DRM/KMS.
The 'sfml-pi' branch on https://github.com/mickelson/sfml-pi/ can be built with OpenGL or GLES support (default is OpenGL).

Added 2 corrections:
 - don't remove an empty system name (can happen when 'delEmulator' is used for a Port)
 - really replace '/' in the system's full name, on both addition and deletion of a system

When using KMS, `attractmode` starts with 'preferred' video mode, as reported by the display's EDID,
This could be different than the current video mode set via 'config.txt' or via 'cmdline.txt' by users.

Modified the startup script to hint the video mode via 'SFML_DRM_MODE' and 'SFML_DRM_REFRESH' environment variables.
2020-07-05 03:59:38 +01:00
Conn O'Griofa
a3856ff3c9 attractmode: Pi: update for new vendor graphics libraries 2017-11-24 04:26:14 +00:00
Jools Wills
518b888eab disable some modules (rpi1 / sdl1 etc) from the kms platform 2017-11-02 19:49:59 +00:00
Jools Wills
b3361325b1 attractmode - backup existing attract.cfg when adding system 2017-03-16 18:10:10 +00:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +00:00
Jools Wills
22ba501c46 attractmode - install sfml as part of install - fixes #1893 2017-02-18 18:54:30 +00:00
Jools Wills
a65ac5d239 attractmode - fix up logic for config / binary check 2017-02-17 19:49:39 +00:00
Jools Wills
becd0d73b4 attractmode - skip most of configure on removal 2017-02-17 19:48:38 +00:00
Jools Wills
f7d3545ca3 attractmode - add remove_ function / check for launch script in case configs are in place but attractmode is removed 2017-02-17 19:45:42 +00:00
Jools Wills
7ffa926862 attractmode - remove uneeded mkdir 2017-01-23 17:51:13 +00:00
Jools Wills
2f26b64fc3 attractmode - add missing dependency for non rpi builds 2017-01-23 17:48:30 +00:00
Jools Wills
0e4a45ddd0 add systems to attractmode / mehstation even if rom folders are empty 2016-12-28 17:00:28 +00:00
Jools Wills
e5fb6a0ffd attractmode - simplyfy snap location logic 2016-11-30 14:28:48 +00:00
Jools Wills
8af4ee67e7 attractmode - fix snap path after making names singular 2016-11-30 14:24:04 +00:00
Jools Wills
30752faa42 attractmode - fix _del_system sed 2016-11-29 14:34:29 +00:00
Jools Wills
3cbc3fb527 attractmode - add function for returning config dir 2016-11-29 03:18:27 +00:00
Jools Wills
98abb86ae4 attractmode - code order 2016-11-26 06:01:03 +00:00
Jools Wills
a5ae9e5e69 attractmode - skip _del_system_attractmode if attractmode not installed 2016-11-26 05:58:02 +00:00
Jools Wills
1913fefc22 attractmode - skip _add_rom_attractmode if attractmode not installed 2016-11-26 05:52:55 +00:00
Jools Wills
2a93965072 attractmode - added _del_system_attractmode for removing systems/displays from the attractmode configuration 2016-11-25 23:49:48 +00:00
Jools Wills
477abae728 attractmode - singular folder names for artwork 2016-11-25 16:12:11 +00:00
Jools Wills
298dd48bd3 attractmode - set artwork paths including workaround for retropie menu 2016-11-24 01:34:52 +00:00
Jools Wills
559765a48f retropiemenu - rework retropie menu to support multiple frontends
* call a _add_rom_module function for each setting
 * add _add_rom_emulationstation function for managing gamelists
 * add _add_rom_attractmode function for managing attractmode romlists
 * rename _addsystem_module to _add_system_module
2016-11-24 00:27:55 +00:00
Jools Wills
e787ce22c5 attractmode - fix flag check 2016-11-22 01:37:05 +00:00
Jools Wills
735728ab14 attractmode - added frontend flag, to avoid reconfiguring frontends 2016-11-22 01:26:42 +00:00
Jools Wills
91c3e8fc25 attractmode - fix check for existing romlist 2016-11-22 01:25:51 +00:00
Jools Wills
087661ce3c attractmode - use fullname (with / stripped) for lists 2016-11-21 23:05:19 +00:00
Jools Wills
9003985a6b attractmode - ignore folders with no roms when generating config / cleanup 2016-11-21 20:50:33 +00:00
Jools Wills
324c728387 attractmode - reconfigure all installed packages at configure stage to get an initial emulator list 2016-11-21 20:50:33 +00:00
Jools Wills
dc6966f967 attractmode - added configuration/romlist generation 2016-11-21 20:50:33 +00:00
Jools Wills
1ee9f31319 added attractmode module 2016-11-21 20:50:28 +00:00