This commit is contained in:
tumGER 2018-07-11 19:20:37 +02:00 committed by Nichole Mattera
parent 87925f9c2d
commit 4506dc3e54
27 changed files with 70 additions and 23 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 MiB

After

Width:  |  Height:  |  Size: 3.5 MiB

View file

@ -81,16 +81,17 @@ atmosphere=1
{ }
{ }
{----------------------}
{Running v5.2 of tumGER/SDFilesSwitch}
{By: tomGER(@tumGER)}
{ }
{With SDFilesUpdater}
{By: StevenMattera}
{Running v5.2.1 of tumGER/SDFilesSwitch}
{By: tomGER(@tumGER)}
{StevenMattera, WerWolv}
{ }
{------ Thanks to -----}
{ }
{Reswitched Team, CTCaer}
{Thog, vgmoose, Brawl345}
{WerWolv, thomasnet, TheDgtl}
{GGLinnk, jpe230, Adubbz}
{thomasnet, TheDgtl}
{jakibaki, rajkosto}
{ }
{----------------------}

Binary file not shown.

View file

@ -1,28 +1,40 @@
# All submodules have been outsourced to ~~China~~ [SDFilesCompiler](https://github.com/tumGER/SDFilesCompiler) as I'm working on creating a easy to use compiler for the SDFiles pack!
# This guide will be changed to reflect those changes once I'm done creating the program!
How To Compile SDFiles for Hekate
=================================================================================
The unoffical offical guide by @tumGER
This little guide will help you to compile everything that is included in this pack. Let us start simple:
Subject | Topic
--------|--------
**Preparations** | [Dependencies](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#dependencies)
. | [Updating Dependencies](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-dependencies)
. | [Installing/Updating LibNX](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#libnx)
**Atmosphere** | [Atmosphere with Patches](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-atmospheres-loader-sm-and-layeredfs-with-patches)
. | [Atmopshere without Patches ("Complete Atmosphere")](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-atmosphere-complete)
**Homebrew and Module** | [General](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-homebrew-and-modules)
. | [Homebrew Loader](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#homebrew-loader)
. | [Adding custom Icons (GagOrder)](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#gag-order-icon)
**Extra** | [Bootlogos](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#hekate-bootlogo)
# Dependencies
- Install DevkitPro with Switch support
- Install [DevkitPro](https://github.com/devkitPro/installer) with Switch support
- Install needed packages:
- **Linux:** ```sudo dkp-pacman -S devkitA64 switch-tools switch-curl switch-bzip2 switch-curl switch-freetype switch-libjpeg-turbo switch-sdl2 switch-sdl2_gfx switch-sdl2_image switch-sdl2_ttf switch-zlib switch-libpng```
- **Windows** ```pacman -S devkitA64 switch-tools switch-curl switch-bzip2 switch-curl switch-freetype switch-libjpeg-turbo switch-sdl2 switch-sdl2_gfx switch-sdl2_image switch-sdl2_ttf switch-zlib switch-libpng```
- You may have to run this command through Msys2 if it doesn't work
- A clean clone of the repo
- For that simply ```git clone https://github.com/tumGER/SDFilesSwitch.git``` to your desired location
- A clean clone of the compiler repo - **This repo holds all submodules mentioned in this guide!**
- For that simply ```git clone https://github.com/tumGER/SDFilesCompiler.git``` to your desired location
- There are some weird issues on Windows if you have spaces somewhere in the path to your location so make sure to clone it somewhere where the Path doesn't include spaces
- [LibNX](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#libnx)
- [LibNX](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#libnx)
- The "Compiled" and "Resources" folder from https://github.com/tumGER/SDFilesSwitch
- Simply ```git clone https://github.com/tumGER/SDFilesSwitch.git``` to your desired location
- We have to use the "compiled" folder as some homebrew uses data that is otherwise not found when compiling it yourself
# Updating Dependencies
1. Open / Cd your console to the folder you cloned the repo to
1. Open your console in the root of the repo you just cloned
2. Type ```git submodule update --remote --force``` to update the submodules
3. Success, the submodules should now be updated to the latest commit of their origin
Please repeat
# LibNX
**Make sure to [Update Dependencies](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-dependencies) before updating LibNX**
@ -32,8 +44,9 @@ Please repeat
3. Wait till it finished compiling
4. Type ```make install```
# Atmosphere
# Updating Atmosphere's Loader, SM and LayeredFS with Patches
## Updating Atmosphere's Loader, SM and LayeredFS with Patches
**Atmosphere sometimes even uses features that aren't even in LibNX yet, in that case follow the previous steps but use the [Atmosphere LibNX fork](https://github.com/Atmosphere-NX/libnx/tree/for-atmosphere) by typing ```git clone https://github.com/Atmosphere-NX/libnx.git -b for-atmosphere``` into your desired location**
@ -93,7 +106,7 @@ located ~ at line 67
- If it didn't, you either messed something up or Atmosphere had some change to its code in the time I wrote this till now - In that case I'd guess contacting me over Twitter (@_tomGER [Or @tumGER since I check that more often]) is your best bet if I'm gone - If you're here because you just wanted to compile it yourself than contact me over tomGER
\#7462 on Discord.
# Updating Atmosphere
## Updating Atmosphere ("Complete")
**Make sure to [Update Dependencies](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-dependencies) before compiling Atmosphere**
@ -106,7 +119,7 @@ located ~ at line 67
3. Type make on the root of the Atmosphere submodule
4. Copy "sm.kip" from "Atmosphere\stratosphere\sm", "fs_mitm.kip" from "Atmosphere\stratosphere\fs_mitm", "loader.kip" from "Atmosphere\stratosphere\loader" and "exosphere.bin" from "Atmosphere/exosphere" into "Compiled/modules/atmosphere"
# Updating other submodules
# Updating Homebrew and Modules
**Make sure to [Update Dependencies](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-dependencies) before compiling submodules**
@ -119,10 +132,30 @@ Here comes the easy part :) Updating all other submodules is really really easy
- You need to type "make nx" for **hbmenu**
3. It should now have compiled it - The location is often pretty easy to find:
- You'll get a .nro for EdiZon, AppstoreNX, GagOrder, SDFilesUpdater and hbmenu
- You'll get a .kip from dreport
- You'll get a .kip from dreport, sys-ftpd
4. Replace the old one in the compiled folder
**Gag Order Icon:**
**Some files are called slightly different in the compiled folder - Please rename your newly compiled files in that case!**
Submodule | Folder it has to go to
----------|-----------------------
EdiZon | Replace the .nacp and .nro in compiled/switch/edizon
AppstoreNX | Replace the .nro in compiled/switch/appstore
GagOrder | Replace the .nro in compiled/switch
SDFilesUpdater | Replace the .nro in compiled/switch/SDFilesUpdater
hbmenu | Replace the .nro on root
dreport | Replace the .kip in compiled/modules
sys-ftpd | Replace the .kip in compiled/modules
## **Homebrew Loader**
1. Go into the Homebrew Loader folder (hbl) and type ```make```
2. Copy hbl.nsp to "compiled/atmosphere/titles/010000000000100D/exefs/" and rename it to main (No extension, just main)
3. Copy hbl.npdm to "compiled/atmosphere/titles/010000000000100D/exefs/" and rename it to main.npdm
## **Gag Order Icon:**
1. Start [NRO Asset Editor](https://github.com/vgmoose/nro-asset-editor/releases)
2. Choose your newly compiled Gag Order build
@ -135,8 +168,6 @@ Here comes the easy part :) Updating all other submodules is really really easy
# Hekate Bootlogo
![By @jpe230](/Resources/Bootimages/Splash-jpe230.png)
- Start your photo editor of choice (I use GIMP because I'm poor and actually kinda like GIMP)
A. Open one of the three .xcf files and change the version number to the number of the release you want to make
B. Create your own one
@ -149,7 +180,7 @@ B. Create your own one
4. Use some online converter to convert the .png to a .bmp
- We need to use a online converter because GIMP currently has some issues with it
5. Call it bootlogo.bmp if you want to use it as the standard one
- You can also choose a specific bootlogo for each launch option by writting ```logopath=LinkToBootimage.bmp``` into your hekate-ipl.ini ([Example](https://github.com/tumGER/SDFilesSwitch/blob/8653108d41096f60c43f5dab56b41024fa785c5d/Compiled/hekate_ipl.ini#L60))
- You can also choose a specific bootlogo for each launch option by writting ```logopath=/Link/To/Bootimage.bmp``` into your hekate-ipl.ini ([Example](https://github.com/tumGER/SDFilesSwitch/blob/8653108d41096f60c43f5dab56b41024fa785c5d/Compiled/hekate_ipl.ini#L60))
5. Put it on the root of your SD / root of "SDFilesSwitch/Compiled"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

View file

Before

Width:  |  Height:  |  Size: 3.5 MiB

After

Width:  |  Height:  |  Size: 3.5 MiB

View file

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 256 KiB

View file

@ -0,0 +1,15 @@
Start your photo editor of choice (I use GIMP because I'm poor and actually kinda like GIMP)
A. Open one of the .xcf files and change the version number to the number of the release you want to make
B. Create your own one
1. Create a new 720 x 1280 canvas
- Make sure you picture is roated 90° counterclockwise
2. Use your graphic design passion
- If you want to update the repo, make sure to include Credits, a link to the Repo, version number and all the other stuff you also see on my splash screens
3. Export it as a .png
4. Use some online converter to convert the .png to a .bmp
- We need to use a online converter because GIMP currently has some issues with it
5. Call it bootlogo.bmp if you want to use it as the standard one
- You can also choose a specific bootlogo for each launch option by writting ```logopath=LinkToBootimage.bmp``` into your hekate-ipl.ini ([Example](https://github.com/tumGER/SDFilesSwitch/blob/8653108d41096f60c43f5dab56b41024fa785c5d/Compiled/hekate_ipl.ini#L60))
5. Put it on the root of your SD / root of "SDFilesSwitch/Compiled"

View file

Before

Width:  |  Height:  |  Size: 3.5 MiB

After

Width:  |  Height:  |  Size: 3.5 MiB

View file

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 MiB

After

Width:  |  Height:  |  Size: 3.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View file

Before

Width:  |  Height:  |  Size: 481 KiB

After

Width:  |  Height:  |  Size: 481 KiB

View file

Before

Width:  |  Height:  |  Size: 311 KiB

After

Width:  |  Height:  |  Size: 311 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB