Commit Graph

63 Commits

Author SHA1 Message Date
rlaphoenix 819e030252 Remove ImageMagick installation via Chocolatey from GitHub Workflows
ImageMagick is pre-installed on Windows runners.
2022-11-13 09:08:15 +00:00
rlaphoenix c20ea9dc4f Auto build NSP forwarders for nx-hbmenu and aio-switch-updater on release
The NRO downloads are not cached because we need to make sure each release has the latest NRO.

Releases won't happen often so caching isn't as big of a deal.
2022-11-13 09:07:35 +00:00
rlaphoenix 2ab9b43694 Update forwarder exefs ROM based on nx-hbloader v2.4.3
The source code is also now public: https://github.com/Skywalker25/Forwarder-Mod

Co-Authored-By: Skywalker25 <17167674+Skywalker25@users.noreply.github.com>
2022-11-13 07:15:38 +00:00
rlaphoenix d7f78778a1 Link the Open-Source Repository for the forwarder ROM 2022-11-13 06:57:23 +00:00
rlaphoenix a6146e77fc Remove Credit to mpham as nothing by him is used anymore 2022-11-13 06:57:23 +00:00
rlaphoenix 981c8597a9 Build a basic NSP forwarder during CI tests 2022-11-13 06:57:23 +00:00
rlaphoenix 873e0e8faa Warn if the NRO has no icon instead of crashing 2022-11-13 06:42:12 +00:00
rlaphoenix 7508f9ed14 Build a new NACP if the NRO does not have one
It creates a fairly basic NACP but all values should be sane for a simple NSP Forwarder. The only thing that could reasonably be improved is the Titles and Ratings, e.g., different tiles and ratings for each language and region.

This introduces 3x dependencies, bs4, lxml, and hptnacp.
2022-11-13 06:42:12 +00:00
rlaphoenix c572361c9c Fix process return codes on error 2022-11-13 06:42:12 +00:00
rlaphoenix 565ebc13e6 Disable 4x types of save data allocation
This usually reduces the installed file size by 63 MB.

Fixes #2
2022-11-13 06:42:12 +00:00
rlaphoenix 3ff7957b1f Fix subprocess calls on Python 3.7
It seems subprocess doesn't like Path objects in Python 3.7 for some reason, so let's just resolve them as absolute strings when used.
2022-11-13 06:42:12 +00:00
rlaphoenix 173a21db19 Fix output file exists and size checks in nstool funcs 2022-11-13 06:42:12 +00:00
rlaphoenix 4e7423f58e Allow manually specifying the sdmc NRO path with --sdmc
This allows the user to not require the NRO path to be on the Switch's microSD card and can instead be anywhere on their PC or any other storage.

The --sdmc MUST be the full path to where the NRO file is on the Switch's microSD card, excluding any drive letter. You don't need to start it with `sdmc:/`.
This is effectively the path to the NRO file that the NSP will load.

The NRO path must still exist and be an NRO file. It is expected to be the same NRO file that the manual --sdmc specifies.
2022-11-13 03:27:24 +00:00
rlaphoenix 380fdb260e Don't require the ROM to exist
Unlike the NRO, we never need to read anything from it. The only downside with this change is it will not be able to check if the ROM path provided actually exists.

The benefit though is you can more easily batch and script ROM paths without needing the Switch's microSD card to be inserted to the PC.
2022-11-13 03:07:36 +00:00
rlaphoenix 64104f6538 Remove the To-do section from the README
It's basically fully ticked off with some potentially enhancements. The issues in it were moved as GitHub issues.
2022-11-12 11:34:18 +00:00
rlaphoenix 9034b6a27b Add an argument to manually set the version 2022-11-12 11:22:54 +00:00
rlaphoenix 1e6a7a3722 Add the extracted version to the filename 2022-11-12 11:16:02 +00:00
rlaphoenix 8557b0a987 Update Changelog for v1.1.0 2022-11-12 11:13:28 +00:00
rlaphoenix 0c40321536 Bump to v1.1.0 2022-11-12 11:13:19 +00:00
rlaphoenix a26d895afd Add badges to the README 2022-11-12 11:02:09 +00:00
rlaphoenix 4b2afa8e50 Use pre-defined unofficial title IDs for some homebrew
This is to keep a specific title ID throughout each release's bundled prebuilt NSPs.

It also helps the community sort of decide on a title ID when making and sharing updated NSP forwarders (e.g., to update the version listed under Title Information, or a new icon comes out).

With a static icon NSPs can be installed to overwrite and remove the old version which helps as well.
2022-11-12 10:50:17 +00:00
rlaphoenix 58266070ad Improve the installation instructions in the README 2022-11-12 10:37:26 +00:00
rlaphoenix a82e17e9c1 Update Development Status to 4 - Beta 2022-11-12 10:25:13 +00:00
rlaphoenix 698213c120 Add a list of Features to the README 2022-11-12 10:24:08 +00:00
rlaphoenix 5329ef657d Remove the list of Changes from the README
This is because the project has evolved so much compared to when it started that it could honestly be called an entirely different project.

Credit is still kept.
2022-11-12 10:23:53 +00:00
rlaphoenix fbea98b8f9 Fix logs after the call to hacBrewPack 2022-11-12 10:02:59 +00:00
rlaphoenix ccf9dbfcbb Get pretty logging with coloredlogs 2022-11-12 09:53:21 +00:00
rlaphoenix 9056022065 Handle if the final NSP filepath already exists 2022-11-12 09:30:06 +00:00
rlaphoenix 95f9d64d54 Fix byte assignment when enabling video capture and screenshots 2022-11-12 09:11:10 +00:00
rlaphoenix 3599f44683 Rename system_title_ids.py to title_ids.py
This is as it now contains both system titles and game titles.
2022-11-12 09:08:24 +00:00
rlaphoenix 5c8623aefe Warn if a Game Title ID is manually specified
It already re-rolls the title ID in this case, if no title ID was manually provided.
2022-11-12 09:06:54 +00:00
rlaphoenix b7cf518301 Get a mapping of Game Title IDs from Tinfoil's API 2022-11-12 09:05:55 +00:00
rlaphoenix 9770b0b7b2 Block usage of reserved system title IDs, re-roll random ID if needed 2022-11-12 08:22:19 +00:00
rlaphoenix a4168ec94f Create a list of reserved system title IDs 2022-11-12 08:10:20 +00:00
rlaphoenix 046ee9251f Add support for Direct RetroArch Game forwarding 2022-11-12 07:02:42 +00:00
rlaphoenix 092aabb5c9 Improve Credit to define contrast between the two forwarder ROMs 2022-11-12 06:39:36 +00:00
rlaphoenix cf19dabb14 Improve the project briefing in the README 2022-11-12 06:35:18 +00:00
rlaphoenix d2acfe1c3e Enable video capture and screenshots if disabled 2022-11-12 06:32:02 +00:00
rlaphoenix cc358dd43b Update the README for a lot of changes 2022-11-11 16:04:22 +00:00
rlaphoenix 2f175c74b0 Delete build.bat 2022-11-11 15:53:17 +00:00
rlaphoenix 2a4ffef4fb Update Changelog for v1.0.1 2022-11-11 15:52:47 +00:00
rlaphoenix 17e0756175 Bump to v1.0.1 2022-11-11 15:49:54 +00:00
rlaphoenix 806c20267c Implement build command 2022-11-11 15:49:54 +00:00
rlaphoenix d5ee64c9ce Move the exefs and logo data to the src assets folder 2022-11-11 15:29:19 +00:00
rlaphoenix 6d64258353 Rework CI/CD GitHub Actions Workflow for Python Project 2022-11-11 15:28:44 +00:00
rlaphoenix 3a56ab7c7d Create initial Python project files 2022-11-11 15:28:44 +00:00
rlaphoenix ea59f5ec19 Create CHANGELOG.md 2022-11-11 15:28:15 +00:00
rlaphoenix 03963726bb Credit full name if public in the README 2022-11-11 11:00:26 +00:00
rlaphoenix 83f5bc5942 Fix the License link in the README 2022-11-11 10:59:24 +00:00
rlaphoenix 06981c8db2 Remove the Issues section from the README
The issues here have been made as GitHub issues.
2022-11-11 10:58:28 +00:00