rocknic setup

This commit is contained in:
brooksytech 2024-03-23 20:07:30 +00:00
parent d402c01f74
commit d1e836d920
No known key found for this signature in database
153 changed files with 27 additions and 440 deletions

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/contribute/code-of-conduct/](https://rocknix.org/contribute/code-of-conduct/)

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/contribute/](https://rocknix.org/contribute/)

View file

@ -1,13 +1,10 @@
&nbsp;&nbsp;<img src="https://raw.githubusercontent.com/JustEnoughLinuxOS/distribution/dev/distributions/JELOS/logos/rocknix-logo.png" width=192>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[![Latest Version](https://img.shields.io/github/release/JustEnoughLinuxOS/distribution.svg?color=5998FF&label=latest%20version&style=flat-square)](https://github.com/JustEnoughLinuxOS/distribution/releases/latest) [![Activity](https://img.shields.io/github/commit-activity/m/JustEnoughLinuxOS/distribution?color=5998FF&style=flat-square)](https://github.com/JustEnoughLinuxOS/distribution/commits) [![Pull Requests](https://img.shields.io/github/issues-pr-closed/JustEnoughLinuxOS/distribution?color=5998FF&style=flat-square)](https://github.com/JustEnoughLinuxOS/distribution/pulls) [![Discord Server](https://img.shields.io/discord/948029830325235753?color=5998FF&label=chat&style=flat-square)](https://discord.gg/seTxckZjJy)
#
## Licenses
JELOS is a Linux distribution that is made up of many open-source components. Components are provided under their respective licenses. This distribution includes components licensed for non-commercial use only.
ROCKNIX is a Linux distribution that is made up of many open-source components. Components are provided under their respective licenses. This distribution includes components licensed for non-commercial use only.
### JELOS Branding
### ROCKNIX Branding
JELOS branding and images are licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/).
ROCKNIX branding and images are licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/).
You are free to:
@ -20,11 +17,11 @@ Under the following terms:
- NonCommercial: You may not use the material for commercial purposes.
- ShareAlike: If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
### JELOS Software
### ROCKNIX Software
Copyright 2023 JELOS (https://github.com/JustEnoughLinuxOS)
Copyright 2024 ROCKNIX (https://github.com/ROCKNIX)
Original software and scripts developed by the JELOS team are licensed under the terms of the [GNU GPL Version 2](https://choosealicense.com/licenses/gpl-2.0/). The full license can be found in this project's licenses folder.
Original software and scripts developed by the ROCKNIX team are licensed under the terms of the [GNU GPL Version 2](https://choosealicense.com/licenses/gpl-2.0/). The full license can be found in this project's licenses folder.
### Bundled Works
All other software is provided under each component's respective license. These licenses can be found in the software sources or in this project's licenses folder. Modifications to bundled software and scripts by the JELOS team are licensed under the terms of the software being modified.
All other software is provided under each component's respective license. These licenses can be found in the software sources or in this project's licenses folder. Modifications to bundled software and scripts by the ROCKNIX team are licensed under the terms of the software being modified.

View file

@ -1,5 +1,5 @@
BUILD_DIRS=build.*
-include $(HOME)/.${DISTRONAME}/options
-include $(HOME)/.ROCKNIX/options
all: world
@ -47,6 +47,7 @@ S922X:
PROJECT=Amlogic DEVICE=S922X ARCH=aarch64 ./scripts/build_distro
RK3566:
unset DEVICE_ROOT
DEVICE_ROOT=RK3566 PROJECT=Rockchip DEVICE=RK3566 ARCH=arm ./scripts/build_distro
DEVICE_ROOT=RK3566 PROJECT=Rockchip DEVICE=RK3566 ARCH=aarch64 ./scripts/build_distro
@ -74,7 +75,7 @@ package-clean:
# For example: make docker-AMD64 will use docker to call: make AMD64
# All variables are scoped to docker-* commands to prevent weird collisions/behavior with non-docker commands
docker-%: DOCKER_IMAGE := "justenoughlinuxos/rocknix-build:latest"
docker-%: DOCKER_IMAGE := "rocknix/rocknix-build:latest"
# DOCKER_WORK_DIR is the directory in the Docker image - it is set to /work by default
# Anytime this directory changes, you must run `make clean` similarly to moving the distribution directory

View file

@ -1,38 +0,0 @@
# Pull Request Template
## Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
## Type of change
Please delete options that are not relevant.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
## How Has This Been Tested Locally?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
- [ ] Test A
- [ ] Test B
**Test Configuration**:
* Build OS name and version:
* Docker (Y/N):
* JELOS Branch:
* Any additional information that may be useful:
## Checklist:
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
Note: This PR template is adapted from [embeddedartistry](https://github.com/embeddedartistry/templates/blob/master/oss_docs/PULL_REQUEST_TEMPLATE.md)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/contribute/quirks/](https://rocknix.org/contribute/quirks/)

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/contribute/build/](https://rocknix.org/contribute/build/)

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/contribute/packages/](https://rocknix.org/contribute/packages/)

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/configure/shaders/](https://rocknix.org/configure/shaders/)

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/donations/](https://rocknix.org/donations/)

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/faqs/](https://rocknix.org/faqs/)

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/play/controls/](https://rocknix.org/play/controls/)

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/play/netplay/](https://rocknix.org/play/netplay/)

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/configure/optimizations/](https://rocknix.org/configure/optimizations/)

View file

@ -1,23 +0,0 @@
# Bluetooth Audio Setup
## How to pair your headset
Go to the "Controller & Bluetooth Settings" menu in Emulation Station and enable Bluetooth. Put your headset into pairing mode, then select "Pair a bluetooth device" - your audio device should be detected and paired automatically.
Once your headset is paired go to "System Settings" -> "Audio Device" - your headset should appear in the list of devices. Select "Bluetooth Device" or your paired device from the list and let EmulationStation restart. All audio should now go through your bluetooth device.
## Known Working Devices
Since bluetooth is infamously unreliable I'm putting together a few test results with various headphones. This list is very outdated at this point so please feel free to submit your own results - it would greatly help to identify issues and fix them.
| JELOS Device | JELOS Version | Bluetooth Device | Codec(s) | Test Results |
|:-------------:|:-------------:|:----------------:|:-----:|:-------|
| RG353V,<br>RG351V (+dongle) | 20221114 | Jaybird X3 | AAC | Connects but does not play any audio.<br>Worked with previous JELOS version. |
| RG353V | 20221114 | Sennheiser PXC 550-II | AAC, aptX | No issues, connects and works fine. |
| RG353V,<br>RG351V (+dongle) | 20221114 | Sennheiser Momentum TW3 | aptX | No issues, connects and works fine.<br>Required bluez update to v5.66 to prevent occasional crashes.
| RG353V,<br>RG351V (+dongle) | 20221114 | Sony WH-1000XM3 | LDAC | **Very** minor audio stutters with "mobile" (330kbps) and "standard" (660kbps) quality profiles. Best results achieved with "standard" and adaptive bit rate.<br>"High" (990kbps) quality profile has significant impact on emulator performance and is not recommended.<br>No connectivity issues. |
## How to change codec settings
If you run into issues playing audio from your headset you can try playing with the codec configuration options for BlueALSA. A list of command line parameters can be found here: https://github.com/Arkq/bluez-alsa/blob/master/doc/bluealsa.8.rst. On the device they are read from `/storage/.cache/services/bluealsa.conf` (restart required after change).
## Known Issues
* Disconnects are not handled gracefully by JELOS at this point. If you disconnect your headset without first switching back to the default audio device, you won't get any audio until you reboot.
* Does not work with the PCSX ReARMed32 Retroarch core for unknown reasons (no sound will play from this core).<br>**Workaround**: Use a different PSX core (e.g. PCSX ReARMed, SwanStation) when you want to play with a bluetooth headset.

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/configure/cloud-sync/](https://rocknix.org/configure/cloud-sync/)

View file

@ -1,91 +0,0 @@
&nbsp;&nbsp;<img src="https://raw.githubusercontent.com/JustEnoughLinuxOS/distribution/dev/distributions/JELOS/logos/rocknix-logo.png" width=192>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[![Latest Version](https://img.shields.io/github/release/JustEnoughLinuxOS/distribution.svg?color=5998FF&label=latest%20version&style=flat-square)](https://github.com/JustEnoughLinuxOS/distribution/releases/latest) [![Activity](https://img.shields.io/github/commit-activity/m/JustEnoughLinuxOS/distribution?color=5998FF&style=flat-square)](https://github.com/JustEnoughLinuxOS/distribution/commits) [![Pull Requests](https://img.shields.io/github/issues-pr-closed/JustEnoughLinuxOS/distribution?color=5998FF&style=flat-square)](https://github.com/JustEnoughLinuxOS/distribution/pulls) [![Discord Server](https://img.shields.io/discord/948029830325235753?color=5998FF&label=chat&style=flat-square)](https://discord.gg/seTxckZjJy)
#
# Game Engine Launch Files
Game engines such as Build Engine, GZDoom, LZDoom, ScummVM and ECWolf use launch files for launching the game with the specified files and mods. Most are configurable to enable different configurations of game files and mods per game.
> Note: the extensions for game engine launch files are case-sensitive, so make sure the launch extensions `.build`, `.doom`, `.scummvm` and `.ecwolf` are lower case, and make sure any references to game files match the case of the game files exactly (e.g. if the game file is `DOOM.WAD` then trying to launch it as `doom.wad` won't work).
## .build files
These files must be created for each build engine game that will be launched with raze. The file contains a `PATH` variable and an optional `GRP` variable. The `PATH` variable points to the subfolder containing the game's **GRP** file. The optional `GRP` variable is used to identify the specific **GRP** file to load for games with multiple **GRP** files.
Example: `/storage/roms/build/shadow warrior.build` contains
```
PATH=sw
GRP=SW.GRP
-- end --
```
where the Shadow Warrior games files are stored in subfolder `sw`, i.e. `/storage/roms/build/sw/`
> Note: don't leave any space between `GRP` or `PATH` and `=` and enclose filenames containing spaces with "quotes"
> Note: add `-- end --` to the end of the file if it contains multiple lines
## .doom files
These files must be created for each **WAD** that you want to load with gzdoom or lzdoom. The file contains `IWAD` variables and optional `MOD` variables. Multiple `IWAD` and `MOD` variables can be used in the same file to load multiple wads, mods and packages. Therefore, multiple **.doom** files can be created for the same **WAD** for each configuration of the game. It is recommended to store **WAD** files in a **iwads** subfolder and `MODs` in a **mods** subfolder and include the full path to each file in the **.doom** file.
Example: `/storage/roms/doom/doom.doom` contains
```
IWAD=/storage/roms/doom/iwads/doom.wad
```
to load vanilla doom
> Note: don't leave any space between `GRP` or `PATH` and `=` and enclose filenames containing spaces with "quotes"
Example: `/storage/roms/doom/heretic-mod.doom` contains
```
IWAD=/storage/roms/doom/iwads/heretic.wad
IWAD=/storage/roms/doom/iwads/IWMPP_Heretic.wad
MOD=/storage/roms/doom/mods/precise-crosshair-v1.4.1.pk3
MOD=/storage/roms/doom/mods/target-spy-v2.0.1.pk3
-- end --
```
to load Heretic with additional patches and mods.
> Note: add `-- end --` to the end of the file when it contains multiple lines
## .scummvm or .svm files
These files are created by `_Scan ScummVM Games.sh` script in `/storage/.config/scummvm` folder (which is also displayed in EmuStation). The script scans for game folders and generates the relevant `.scummvm` files to launch those games. The files are stored in `/storage/.config/scummvm/games`.
`.scummvm` files are named using the common name of the game and the <a href="https://www.scummvm.org/compatibility/"> <strong>Game Short Name</strong></a> in brackets (e.g. `Beneath a Steel Sky (sky).scummvm`).
`.scummvm` files contain a single line in the form:
* `--path=` variable and the path to the folder containing the game, *followed by*
* <a href="https://www.scummvm.org/compatibility/"> <strong>Game Short Name</strong></a>
Example: `/storage/.config/scummvm/games/Beneath a Steel Sky (sky).scummvm` contains
```
--path="/storage/roms/scummvm/Beneath a Steel Sky (CD VGA)" sky
```
> Note: enclose filenames containing spaces with "quotes"
> Note: `.scummvm` and `.svm` files are identical and interchangeable
> Note: the `.scummvm` files are **NOT** stored in `/storage/roms/scummvm` and any `.scummvm` files stored there will not be displayed by EmuStation. EmuStation only displays `.scummvm` files that are in `/storage/.config/scummvm/games`.
> Note: to display metadata and media within EmuStation, put `gamelist.xml` in `/storage/.config/scummvm/games` and media into relevant subfolders (e.g. `/storage/.config/scummvm/games/media` folder with `boxart`, `images` and `videos` subfolders)
## .ecwolf files
These files must be created for each Wolfenstein 3D compatible game. The file contains `PATH` variable that points to the subfolder containing the game's game files, `DATA` variable with the extension of the game files and `PK3` variables for each separate package file to load. `PK3` variables must be sequentially numbered with **_1**, **_2** etc.
Example: `/storage/roms/ecwolf/wolfenstein3d.ecwolf` contains
```
PATH=Wolfenstein 3D
DATA=WL6
PK3_1=/storage/roms/ecwolf/ecwolf.pk3
-- end --
```
where the Wolfenstein 3D game files have extension **.WL6**
> Note: the data value must match the file extension of the game exactly and is case sensitive so `WL6` is not the same as `wl6`
> Note: don't leave any space between `GRP` or `PATH` and `=` and enclose filenames containing spaces with "quotes"
> Note: add `-- end --` to the end of the file
Example: `/storage/roms/ecwolf/spear of destiny.ecwolf` contains
```
PATH=SOD
DATA=SOD
PK3_1=/storage/roms/ecwolf/SOD/ecwolf.pk3
-- end --
```
where the Spear of Destiny game files have extension **.SOD**
> Note: add `-- end --` to the end of the file

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/systems/moonlight/](https://rocknix.org/systems/moonlight/)

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/configure/vpn/#zerotier](https://rocknix.org/configure/vpn/#zerotier)

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/configure/cloud-sync/](https://rocknix.org/configure/cloud-sync/)

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/configure/vpn/#tailscale](https://rocknix.org/configure/vpn/#tailscale)

View file

@ -1 +0,0 @@
Moved to [https://rocknix.org/configure/vpn/#wireguard](https://rocknix.org/configure/vpn/#wireguard)

View file

@ -44,7 +44,7 @@ fi
if [ "${PROJECT}" = "Rockchip" ]
then
PKG_DEPENDS_TARGET+=" librga rkmpp"
PKG_DEPENDS_TARGET+=" rkmpp"
fi
if [ ! "${OPENGL}" = "no" ]; then

View file

@ -8,7 +8,7 @@ PKG_URL="${PKG_SITE}/releases/download/${PKG_VERSION}/PortMaster.zip"
COMPAT_URL="https://github.com/brooksytech/JelosAddOns/raw/main/compat.zip"
PKG_LICENSE="MIT"
PKG_ARCH="arm aarch64"
PKG_DEPENDS_TARGET="toolchain gptokeyb gamecontrollerdb wget oga_controls control-gen"
PKG_DEPENDS_TARGET="toolchain rocknix-hotkey gamecontrollerdb wget oga_controls control-gen"
PKG_TOOLCHAIN="manual"
PKG_LONGDESC="Portmaster - a simple tool that allows you to download various game ports"

View file

@ -1,11 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2021-present Shanti Gilbert (https://github.com/shantigilbert)
PKG_NAME="gptokeyb"
PKG_VERSION="0303b36b5376a9b25cf82a53ed4242509daf14e9"
PKG_NAME="rocknix-hotkey"
PKG_VERSION="14255daccc61dd8f366b3c88292d54cfef1c087a"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/EmuELEC/gptokeyb"
PKG_SITE="https://github.com/ROCKNIX/rocknix-hotkey"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain libevdev SDL2 control-gen"
PKG_TOOLCHAIN="make"

View file

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2020-present Shanti Gilbert (https://github.com/shantigilbert)
PKG_NAME="librga"
PKG_VERSION="df26244eb0c3991df319d4276ab80e8c0bf91f64"
PKG_ARCH="arm aarch64"
PKG_LICENSE="GNU"
PKG_DEPENDS_TARGET="toolchain libdrm"
PKG_SITE="https://github.com/ROCKNIX/linux-rga"
PKG_URL="${PKG_SITE}.git"
PKG_LONGDESC="The RGA driver userspace "
PKG_TOOLCHAIN="auto"

View file

@ -1,12 +0,0 @@
diff -rupN librga.orig/meson.build librga/meson.build
--- librga.orig/meson.build 2022-07-08 18:24:31.727555866 -0400
+++ librga/meson.build 2022-07-08 18:24:47.499517461 -0400
@@ -28,7 +28,7 @@ libthreads_dep = dependency('threads')
gen_version = vcs_tag(
command : ['./genversion.sh', 'meson'],
- replace_string : ['$GIT_BUILD_VERSION'],
+ replace_string : '$GIT_BUILD_VERSION',
input : 'version.h.template', output : 'version.h',
)
add_project_arguments('-DLINUX=1', language : 'cpp')

Some files were not shown because too many files have changed in this diff Show more