Skip to content

Commit

Permalink
Added classic splash mod with Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ovasquez committed Dec 12, 2018
1 parent 25e2c8c commit a97d5fc
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Hakchi Classic Splash

I just put together a demo intro by [Viral_DNA](https://www.youtube.com/watch?v=uQEgmImThDk) with the work by
[TheOtherGuys](https://www.reddit.com/r/miniSNESmods/comments/80bgar/hakchi_boot_screen_mod_now_with_audio/) to provide a classic boot splash for the miniSNES that includes the memory fixes by the latter.

Since I already spent the time putting this together with resources available
online, I just wanted to make it available for everyone.

It's a small video that fades in from black into the following image:
![Hakchi Classic Splash](hakchi_classic_splash.hmod/etc/splash/boot-min.png)

## Credits
- [TheOtherGuys](https://www.reddit.com/r/miniSNESmods/wiki/theotherguys): Hakchi Boot Screen Mod creators. Make sure to check their other projects: https://github.com/TheOtherGuys-Hakchi-Projects
- [Viral_DNA](https://www.reddit.com/r/miniSNESmods/comments/7u9pms/worlds_first_animated_boot_mod_for_nintendo/): Custom classic intro creator.
Binary file added hakchi_classic_splash.hmod/bin/fbff
Binary file not shown.
9 changes: 9 additions & 0 deletions hakchi_classic_splash.hmod/etc/preinit.d/p7008_bootvideo
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
overmount "$rootfs/etc/preinit.d/p7010_bootlogo" "$rootfs/etc/preinit.d/p7009_bootvideo"

showImage(){
return 0
}

playSound(){
return 0
}
20 changes: 20 additions & 0 deletions hakchi_classic_splash.hmod/etc/preinit.d/p7009_bootvideo
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
playBootVideo(){

chmod +x $rootfs/bin/fbff

echo 3 > /proc/sys/vm/drop_caches

dd if=/dev/zero of=/dev/fb0 #Kill Framebuffer Device

fbff -s -u -x 0 -y 0 $rootfs/etc/splash/boot.mp4

waitTask fbff

echo 3 > /proc/sys/vm/drop_caches

decodepng $rootfs/etc/splash/boot-min.png > /dev/fb0

return 0
}

playBootVideo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added hakchi_classic_splash.hmod/etc/splash/boot.mp4
Binary file not shown.
35 changes: 35 additions & 0 deletions hakchi_classic_splash.hmod/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
-----------------------
Name: Hakchi Cassic Splash
Creator: Viral_DNA + TheOtherGuys + Bosh19
Category: Graphical Enhancements
-----------------------

# Hakchi Classic Splash

Add animated boot intro's to your SNES and NES Classic.

### What is it?
This is an awesome video splash screen mod which adds video splash screens to your SNES mini and NES mini. It currently supports upto 480p video and now audio!

### What's new?
There used to be a lot of memory leaks with the build of FBFF and FFMPEG we were using, however we are using a build of FBFF which utalises ALSA for sound output and has no memory issues. We also added Cache and inode clearing to the start and end of the video playback so it actually does your console good as it will clear up any crap half way through the boot.

### How much space does it take and how to install?
Just install it like a normal HMOD via Hakchi2. It takes a whopping 10.5mb of NAND space so it's not for the faint of heart however in the future when we release a standalone media player we will be using the same FBFF binary so you will also have a stand alone media player along with a video splash screen.

### What does it look like?
https://youtu.be/I8sacf6myn8 <- This is the initial release made by ThanosRD

### "OMG! HOLY SHIT, HOW DO I ADD MY OWN ONE"
I will make a guide and an easy way on how to add your own video and splash. They come in two parts. The video and the static "loading" image which displays after the video. The idea is that the video plays uninterrupted and when finished it will display a static image to the screen as the rest of the kernel loads. If you want to start working on your own load screen, I recommend a 480p mp4 video around 9 seconds long and a compressed 1280x720 loading png.

If you make something decent send it to us and we will put it up as an official release. (No porn or anything like that. Obviously)

## Credits

- Viral_DNA - Original maker and mastermind of the project
- Swingflip - Coding
- CompCom - Compiling extraordinaire
- ThanosRD - Video artist
- bslenul - Tester
- Bosh19 - Added original Viral_DNA video + image for classic intro with updated mod
8 changes: 8 additions & 0 deletions hakchi_classic_splash.hmod/uninstall
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# hakchi_classic_splash.hmod
# v0.1 - Dec 12th, 2018
# https://www.reddit.com/r/miniSNESmods/

rm -f "$rootfs/bin/fbff"
rm -f "$rootfs/etc/preinit.d/p7008_bootvideo"
rm -f "$rootfs/etc/preinit.d/p7009_bootvideo"
rm -f "$rootfs/boot.mp4/"

0 comments on commit a97d5fc

Please sign in to comment.