Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

HTML-Video-Template NX Switch: Difference between revisions

From GameBrew
(Created page with "{{Infobox Switch Homebrews |title=HTML-Video-Template NX |image=htmlvideotemplatenxswitch.png |description=Simple framework for making video NSPs for Switch. |author=SuperOkazaki |lastupdated=2018/10/16 |type=Media players |version=1 |license=GPL-3.0 |download=https://dlhb.gamebrew.org/switchhomebrews/htmlvideotemplatenxswitch.7z |website=https://gbatemp.net/threads/html-video-template-nx.520956/ |source=https://github.com/SuperOkazaki/HTML-Video-Template-NX |donation=...")
 
No edit summary
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=HTML-Video-Template NX
|title=HTML-Video-Template NX
|image=htmlvideotemplatenxswitch.png
|image=htmlvideotemplatenx.png
|description=Simple framework for making video NSPs for Switch.
|description=Simple framework for making video NSPs for Switch.
|author=SuperOkazaki
|author=SuperOkazaki
|lastupdated=2018/10/16
|lastupdated=2018/10/16
|type=Media players
|type=Media players
|version=1
|version=1.0
|license=GPL-3.0
|license=GPL-3.0
|download=https://dlhb.gamebrew.org/switchhomebrews/htmlvideotemplatenxswitch.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/htmlvideotemplatenx.7z
|website=https://gbatemp.net/threads/html-video-template-nx.520956/
|website=https://gbatemp.net/threads/html-video-template-nx.520956/
|source=https://github.com/SuperOkazaki/HTML-Video-Template-NX
|source=https://github.com/SuperOkazaki/HTML-Video-Template-NX
|donation=
|donation=
}}
}}
{{#seo:
{{obsolete}}
|title=Switch Homebrew Apps (Media players) - GameBrew
This provides a simple framework for making easy to use installable video players for Nintendo Switch. Videos are not provided, but easy to make and instructions can be found under the Encoding header.
|title_mode=append
 
|image=htmlvideotemplatenxswitch.png
For use with HomebrewWebFramework (also not provided).
|image_alt=HTML-Video-Template NX
 
}}
==Features==
{{cleanup|article|Needs cleanup}}
*Made in simple HTML with no copyrighted/SDK tools, so it can be used if a non-SDK html to .nsp maker comes out.
Simple framework for making video NSPs for Switch.
*Responsive and customizable GUI that looks great on the Switch's screen.
*Slots for up to 12 videos on a page.
**Later on, this will support more slots on a page, and a configurable second page.
*Titles for each video on the main GUI.
*Descriptions for each video on the main GUI.
*Icons for each video on the main GUI.
*Centered banner at the top for the title of the collection.
*Template .bmp images for the Horizon app icon.
 
==User guide==
1. Find and download XorTroll's HomebrewWebFramework.
 
2. Download the [https://github.com/SuperOkazaki/HTML-Video-Template-NX/releases latest release].
 
3. Edit the headers and descriptions in <code>index.html</code> to suit your needs:
*Individual Video Headers are located at:
**Line 34
**Line 40
**Line 46
**Line 52
**Line 58
**Line 64
**Line 70
**Line 76
**Line 82
**Line 88
**Line 94
**Line 100
*Episode descriptions are located on the line directly below the header.
 
4. Edit the individual images:
*These are located in the <code>img</code> directory and are named corresponding to the video number.
*They are 140x140 .png files and support transparency.
*If you just replace the files without changing the filename, no HTML editing will be necessary.
 
5. Edit the banner image at the topic:
*This is <code>img/banner.png</code> and is a 1280x140 .png that supports transparency.
*If you replace the file without changing the filename, no HTML editing will be necessary.
 
6. Edit the attribution at the bottom:
*At line 122 in <code>index.html</code> there is a space to put your name in, if you so choose.
*I would appreciate if you left the Template credit there, too
 
7. Edit the videos:
*These are located in the <code>vid</code> directory.
*The filenames correspond to the same numbering for the headers and images. Just replace the video files and you're good.
*See the Encoding section of the readme for the most reliable results.
 
8. Package into a .nsp:
*Load the project directory into HomebrewWebFramework
*For an app icon, use a 24-bit 1024x1024 .bmp file
**If you don't know how to make these, or just want to test the project without making an icon, sample ones are provided in the release.
 
9. Install using a title installer.
 
===Encoding===
Follow these directions to make the most reliable videos.
 
The recommended tool is Handbrake. Enable these settings, and optionally make a preset for easier encoding.
*Set video resolution to 1280 x 720 (larger sometimes crashes the browser).
*Enable the "Web Optimized" setting.
*Output as .mp4.
*If using subtitles, make sure to choose the "burn-in" option.
*Only encode one audio and video track into the file.
 
===FAQ===
'''Q. Why can't you link to HomebrewWebFramework?'''
 
I just can't. Don't ask me to provide it, because I won't.
 
'''Q. The NSP keeps freezing my Switch when it is launched. What do?'''
 
Make sure to enable the "select user on launch" option in the builder.
 
'''Q. Tinfoil says that the NCA is invalid. What do?'''


Try building with another keygen. 4.0.1-4.1 works well in my experience.


==Media==
'''Q. HomebrewWebFramework is crashing. What do?'''
<youtube></youtube>


Make sure your app icon is a 24-bit .bmp.


==Screenshots==
==Screenshots==
https://dlhb.gamebrew.org/switchhomebrews/htmlvideotemplatenxswitch-01.png
'''Example'''<br>
https://dlhb.gamebrew.org/switchhomebrews/htmlvideotemplatenxswitch-02.png
https://dlhb.gamebrew.org/switchhomebrews/htmlvideotemplatenx2.png
https://dlhb.gamebrew.org/switchhomebrews/htmlvideotemplatenxswitch-03.png
https://dlhb.gamebrew.org/switchhomebrews/htmlvideotemplatenxswitch-04.png
https://dlhb.gamebrew.org/switchhomebrews/htmlvideotemplatenxswitch-05.png
https://dlhb.gamebrew.org/switchhomebrews/htmlvideotemplatenxswitch-06.png
https://dlhb.gamebrew.org/switchhomebrews/htmlvideotemplatenxswitch-07.png
https://dlhb.gamebrew.org/switchhomebrews/htmlvideotemplatenxswitch-08.png


==Changelog==
==Changelog==
'''v.1.0'''
'''v1.0 2018/10/16'''
* First Release.
*First advertised release. I've tested this pretty thoroughly and haven't found any issues. Please let me know if you find any.
 
'''v0.1b 2018/10/12'''
*Fixed some directories and added stub .mp4 for the Usage guide.
 
'''v0.1 201810/10'''
*This is the first revision that I feel comfortable releasing. The UI has gotten a drastic overhaul and uses Bootstrap for css and a responsive design. As a result, it looks right at home while testing on a PC, and on the Switch's screen itself.


== External links ==
== External links ==
* Gbatemp - https://gbatemp.net/threads/html-video-template-nx.520956/
* GitHub - https://github.com/SuperOkazaki/HTML-Video-Template-NX
* Github - https://github.com/SuperOkazaki/HTML-Video-Template-NX
* GBAtemp - https://gbatemp.net/threads/html-video-template-nx.520956/
* Reddit -
* Tutorial - https://yyoossk.blogspot.com/2018/10/videosetupnx.html

Revision as of 00:38, 8 Mayıs 2023

HTML-Video-Template NX
Htmlvideotemplatenx.png
General
AuthorSuperOkazaki
TypeMedia players
Version1.0
LicenseGPL-3.0
Last Updated2018/10/16
Links
Download
Website
Source

This provides a simple framework for making easy to use installable video players for Nintendo Switch. Videos are not provided, but easy to make and instructions can be found under the Encoding header.

For use with HomebrewWebFramework (also not provided).

Features

  • Made in simple HTML with no copyrighted/SDK tools, so it can be used if a non-SDK html to .nsp maker comes out.
  • Responsive and customizable GUI that looks great on the Switch's screen.
  • Slots for up to 12 videos on a page.
    • Later on, this will support more slots on a page, and a configurable second page.
  • Titles for each video on the main GUI.
  • Descriptions for each video on the main GUI.
  • Icons for each video on the main GUI.
  • Centered banner at the top for the title of the collection.
  • Template .bmp images for the Horizon app icon.

User guide

1. Find and download XorTroll's HomebrewWebFramework.

2. Download the latest release.

3. Edit the headers and descriptions in index.html to suit your needs:

  • Individual Video Headers are located at:
    • Line 34
    • Line 40
    • Line 46
    • Line 52
    • Line 58
    • Line 64
    • Line 70
    • Line 76
    • Line 82
    • Line 88
    • Line 94
    • Line 100
  • Episode descriptions are located on the line directly below the header.

4. Edit the individual images:

  • These are located in the img directory and are named corresponding to the video number.
  • They are 140x140 .png files and support transparency.
  • If you just replace the files without changing the filename, no HTML editing will be necessary.

5. Edit the banner image at the topic:

  • This is img/banner.png and is a 1280x140 .png that supports transparency.
  • If you replace the file without changing the filename, no HTML editing will be necessary.

6. Edit the attribution at the bottom:

  • At line 122 in index.html there is a space to put your name in, if you so choose.
  • I would appreciate if you left the Template credit there, too

7. Edit the videos:

  • These are located in the vid directory.
  • The filenames correspond to the same numbering for the headers and images. Just replace the video files and you're good.
  • See the Encoding section of the readme for the most reliable results.

8. Package into a .nsp:

  • Load the project directory into HomebrewWebFramework
  • For an app icon, use a 24-bit 1024x1024 .bmp file
    • If you don't know how to make these, or just want to test the project without making an icon, sample ones are provided in the release.

9. Install using a title installer.

Encoding

Follow these directions to make the most reliable videos.

The recommended tool is Handbrake. Enable these settings, and optionally make a preset for easier encoding.

  • Set video resolution to 1280 x 720 (larger sometimes crashes the browser).
  • Enable the "Web Optimized" setting.
  • Output as .mp4.
  • If using subtitles, make sure to choose the "burn-in" option.
  • Only encode one audio and video track into the file.

FAQ

Q. Why can't you link to HomebrewWebFramework?

I just can't. Don't ask me to provide it, because I won't.

Q. The NSP keeps freezing my Switch when it is launched. What do?

Make sure to enable the "select user on launch" option in the builder.

Q. Tinfoil says that the NCA is invalid. What do?

Try building with another keygen. 4.0.1-4.1 works well in my experience.

Q. HomebrewWebFramework is crashing. What do?

Make sure your app icon is a 24-bit .bmp.

Screenshots

Example
htmlvideotemplatenx2.png

Changelog

v1.0 2018/10/16

  • First advertised release. I've tested this pretty thoroughly and haven't found any issues. Please let me know if you find any.

v0.1b 2018/10/12

  • Fixed some directories and added stub .mp4 for the Usage guide.

v0.1 201810/10

  • This is the first revision that I feel comfortable releasing. The UI has gotten a drastic overhaul and uses Bootstrap for css and a responsive design. As a result, it looks right at home while testing on a PC, and on the Switch's screen itself.

External links

Advertising: