Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate rewrite: uNew #223

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
e0dff75
Make (WIP) rewrite public
XorTroll Jun 3, 2023
f90b014
Start with some key uMad features
XorTroll Jun 8, 2023
2c210c4
More improvements
XorTroll Jun 11, 2023
ef8fb2a
Many changes
XorTroll Jun 28, 2023
4970c00
Fix suspended title alpha and ugly menu transitions
XorTroll Jun 28, 2023
9f8ca25
Cache homebrew NACP too
XorTroll Jun 28, 2023
5ff1a0e
Improve some bits of code
XorTroll Jul 7, 2023
8b0791b
Use hbmenu as a homebrew chooser dialog, more fixes
XorTroll Jul 9, 2023
49faa4e
Implement new menu system+UI, and much more
XorTroll Jul 25, 2023
7d14f03
Introduce uManager, other changes
XorTroll Jul 27, 2023
f366ad9
Start integrating strings and themes
XorTroll Aug 5, 2023
17b6e67
Actually deal with all strings
XorTroll Aug 6, 2023
a90b488
Fix minor details
XorTroll Aug 8, 2023
562c2b6
Correct stribng
XorTroll Aug 9, 2023
2d8560d
Minor fixes
XorTroll Aug 12, 2023
09f2cea
Proper default icons, support several image formats in themes, more
XorTroll Aug 17, 2023
779ef73
Actual proper default icons
XorTroll Aug 17, 2023
08caca1
Proper icon for uManager
XorTroll Aug 21, 2023
009d74a
Fix title cache, update for latest ams
XorTroll Aug 31, 2023
873730f
New README, add uScreen USB tool, and more improvements/fixes
XorTroll Sep 6, 2023
2559c95
Try to fix workflows
XorTroll Sep 6, 2023
e599bff
USB works now, other minor fixes
XorTroll Sep 6, 2023
1c9b0d0
Minor improvements with uScreen
XorTroll Sep 6, 2023
f1749f7
Implement update support, fixes on lang support, add simplified Chinese
XorTroll Sep 7, 2023
01262e8
Support moving back entries in menu, other minor fixes
XorTroll Sep 16, 2023
0ec9117
Try again to fix workflows
XorTroll Sep 16, 2023
cea9f55
Try to fix workflows v2
XorTroll Sep 16, 2023
a6c4e83
Changes for latest libnx/ams
XorTroll Dec 31, 2023
0eaa01d
Update for latest ams
XorTroll Mar 31, 2024
217d3de
Big changes to default theme, minor fixes and changes
XorTroll Jun 15, 2024
dc09573
Use arc for result stuff
XorTroll Jun 15, 2024
19adf7d
uNew just got some major improvements
XorTroll Jul 1, 2024
7ddf25e
Show active theme above, fix Plutonium submodule
XorTroll Jul 1, 2024
ddd3923
Try to fix workflows
XorTroll Jul 1, 2024
992f75b
Try to fix workflows x2
XorTroll Jul 1, 2024
2b43b05
Try to fix workflows x3
XorTroll Jul 1, 2024
e656e4e
Update ko.json
DDinghoya Jul 1, 2024
f33bcbb
Merge pull request #221 from DDinghoya/patch-4
XorTroll Jul 1, 2024
7117ae6
Minor menu fixes, add Spanish translations
XorTroll Jul 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 17 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@

name: Build uLaunch

on: [push]
on: [push, pull_request]

jobs:
uLaunch:
runs-on: ubuntu-latest

container:
image: devkitpro/devkita64
container: devkitpro/devkita64:latest

steps:
- uses: actions/checkout@v1
- name: Update repository
- uses: actions/checkout@master
with:
submodules: recursive

- name: Update packages and install Python
run: |
git submodule update --init --recursive
sudo -n apt-get update
sudo -n apt-get upgrade -y patch autoconf automake diffutils pkgconf fakeroot git maven file tar bzip2 zstd python3 python3-pip python-is-python3
python -m pip install requests
sudo -n dkp-pacman --noconfirm -U \
"https://wii.leseratte10.de/devkitPro/other-stuff/dkp-toolchain-vars-1.0.2-1-any.pkg.tar.xz"

- name: Set workspace permissions
run: chmod 777 -R "$GITHUB_WORKSPACE"

- name: Prepare master libnx
run: |
Expand All @@ -30,3 +39,4 @@ jobs:
with:
name: SdOut
path: SdOut.zip
if-no-files-found: error
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ SdOut/
*.npdm
*.nso
*.nsp
*.nacp
*.nro
*.lst
*.gen.hpp
.vs/
bin/
obj/
obj/
old/
out/
target/
13 changes: 11 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
[submodule "Plutonium"]
path = Plutonium
path = libs/Plutonium
url = https://github.com/XorTroll/Plutonium
[submodule "Atmosphere-libs"]
path = Atmosphere-libs
path = libs/Atmosphere-libs
url = https://github.com/Atmosphere-NX/Atmosphere-libs
[submodule "arc"]
path = arc
url = https://github.com/XorTroll/arc
[submodule "libs/json"]
path = libs/json
url = https://github.com/nlohmann/json
[submodule "libs/zip"]
path = libs/zip
url = https://github.com/kuba--/zip
1 change: 0 additions & 1 deletion Atmosphere-libs
Submodule Atmosphere-libs deleted from 590cda
101 changes: 53 additions & 48 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,57 +1,62 @@
VERSION_MAJOR := 1
VERSION_MINOR := 0
VERSION_MICRO := 0
export VERSION := $(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_MICRO)

export UL_MAJOR := 0
export UL_MINOR := 3
export UL_MICRO := 4
export UL_VERSION := $(UL_MAJOR).$(UL_MINOR).$(UL_MICRO)
export UL_DEFS := -DUL_MAJOR=$(VERSION_MAJOR) -DUL_MINOR=$(VERSION_MINOR) -DUL_MICRO=$(VERSION_MICRO) -DUL_VERSION=\"$(VERSION)\"

export UL_DEFS := -DUL_MAJOR=$(UL_MAJOR) -DUL_MINOR=$(UL_MINOR) -DUL_MICRO=$(UL_MICRO) -DUL_VERSION=\"$(UL_VERSION)\"
.PHONY: all fresh clean pu arc usystem uloader umenu umanager uscreen

export UL_COMMON_SOURCES := ../uLaunch/source ../uLaunch/source/am ../uLaunch/source/dmi ../uLaunch/source/cfg ../uLaunch/source/db ../uLaunch/source/fs ../uLaunch/source/net ../uLaunch/source/os ../uLaunch/source/util
export UL_COMMON_INCLUDES := ../uLaunch/include
all: arc usystem uloader umenu umanager uscreen

export UL_CXXFLAGS := -fno-rtti -fexceptions -fpermissive -std=gnu++20
fresh: clean all

.PHONY: all base make_hbtarget hbtarget make_daemon daemon make_menu menu clean
pu:
@$(MAKE) -C libs/Plutonium/

all: hbtarget daemon menu
arc:
@python arc/arc.py gen_db default+./libs/uCommon/include/ul/ul_Results.rc.hpp
@python arc/arc.py gen_cpp rc UL ./libs/uCommon/include/ul/ul_Results.gen.hpp

base:
@mkdir -p SdOut/

make_hbtarget:
@$(MAKE) -C uHbTarget/
@mkdir -p SdOut/ulaunch/bin/uHbTarget
@mkdir -p SdOut/ulaunch/bin/uHbTarget/sys
@mkdir -p SdOut/ulaunch/bin/uHbTarget/applet
@mkdir -p SdOut/ulaunch/bin/uHbTarget/app
@cp uHbTarget/uHbTarget.nso SdOut/ulaunch/bin/uHbTarget/sys/main
@cp uHbTarget/uHbTarget.nso SdOut/ulaunch/bin/uHbTarget/applet/main
@cp uHbTarget/uHbTarget.nso SdOut/ulaunch/bin/uHbTarget/app/main
@cp uHbTarget/uHbTarget_sys.npdm SdOut/ulaunch/bin/uHbTarget/sys/main.npdm
@cp uHbTarget/uHbTarget_applet.npdm SdOut/ulaunch/bin/uHbTarget/applet/main.npdm
@cp uHbTarget/uHbTarget_app.npdm SdOut/ulaunch/bin/uHbTarget/app/main.npdm

hbtarget: base make_hbtarget

make_daemon:
@$(MAKE) -C uDaemon/
clean:
@$(MAKE) clean -C projects/uSystem
@$(MAKE) clean -C projects/uLoader
@$(MAKE) clean -C projects/uMenu
@$(MAKE) clean -C projects/uManager
@cd projects/uScreen && mvn clean
@rm -rf SdOut

usystem: arc
@$(MAKE) -C projects/uSystem
@mkdir -p SdOut/atmosphere/contents/0100000000001000
@cp uDaemon/out/nintendo_nx_arm64_armv8a/release/uDaemon.nsp SdOut/atmosphere/contents/0100000000001000/exefs.nsp

daemon: base make_daemon

make_menu:
@$(MAKE) -C Plutonium/
@$(MAKE) -C uMenu/
@cp projects/uSystem/out/nintendo_nx_arm64_armv8a/release/uSystem.nsp SdOut/atmosphere/contents/0100000000001000/exefs.nsp
@mkdir -p SdOut/ulaunch/bin/uSystem
@cp projects/uSystem/out/nintendo_nx_arm64_armv8a/release/uSystem.nsp SdOut/ulaunch/bin/uSystem/exefs.nsp

uloader: arc
@$(MAKE) -C projects/uLoader
@mkdir -p SdOut/ulaunch/bin/uLoader
@mkdir -p SdOut/ulaunch/bin/uLoader/applet
@cp projects/uLoader/uLoader.nso SdOut/ulaunch/bin/uLoader/applet/main
@cp projects/uLoader/uLoader_applet.npdm SdOut/ulaunch/bin/uLoader/applet/main.npdm
@mkdir -p SdOut/ulaunch/bin/uLoader/application
@cp projects/uLoader/uLoader.nso SdOut/ulaunch/bin/uLoader/application/main
@cp projects/uLoader/uLoader_application.npdm SdOut/ulaunch/bin/uLoader/application/main.npdm

umenu: arc pu
@$(MAKE) -C projects/uMenu
@mkdir -p SdOut/ulaunch/bin/uMenu
@cp uMenu/uMenu.nso SdOut/ulaunch/bin/uMenu/main
@cp uMenu/uMenu.npdm SdOut/ulaunch/bin/uMenu/main.npdm
@build_romfs uMenu/romfs SdOut/ulaunch/bin/uMenu/romfs.bin

menu: base make_menu

clean:
@rm -rf SdOut/
@$(MAKE) clean -C uDaemon/
@$(MAKE) clean -C uMenu/
@$(MAKE) clean -C uHbTarget/
@mkdir -p SdOut/ulaunch/lang/uMenu
@mkdir -p SdOut/ulaunch/themes
@cp projects/uMenu/uMenu.nso SdOut/ulaunch/bin/uMenu/main
@cp projects/uMenu/uMenu.npdm SdOut/ulaunch/bin/uMenu/main.npdm
@build_romfs projects/uMenu/romfs SdOut/ulaunch/bin/uMenu/romfs.bin

umanager: arc pu
@$(MAKE) -C projects/uManager
@mkdir -p SdOut/ulaunch/lang/uManager
@mkdir -p SdOut/switch
@cp projects/uManager/uManager.nro SdOut/switch/uManager.nro

uscreen:
@cd projects/uScreen && mvn package
1 change: 0 additions & 1 deletion Plutonium
Submodule Plutonium deleted from 8891b6
Loading