SwitchStrobe: Difference between revisions

From GameBrew
(Created page with "{{Infobox Switch Homebrews |title=switchstrobe |image=Switch-logo.png |description=Just a very basic edit of switchbrew's simplegfx example. |author=WompaStompa |lastupdated=2021/10/04 |type=Hack Utilities |version=0.2.1 |license=Mixed |download=https://dlhb.gamebrew.org/switchhomebrews/switchstrobe.7z |website=https://github.com/WompaStompa/SwitchStrobe |source=https://github.com/WompaStompa/SwitchStrobe |donation= }} {{#seo: |title=Switch Rom Hacks (Hack Utilities) - G...")
 
No edit summary
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=switchstrobe
|title=SwitchStrobe
|image=Switch-logo.png
|image=switchstrobe.png
|description=Just a very basic edit of switchbrew's simplegfx example.
|description=A very basic edit of switchbrew's simplegfx example.
|author=WompaStompa
|author=WompaStompa
|lastupdated=2021/10/04
|lastupdated=2021/10/04
|type=Hack Utilities
|type=Demos
|version=0.2.1
|version=0.2.1
|license=Mixed
|license=Mixed
Line 13: Line 13:
|donation=
|donation=
}}
}}
{{#seo:
A very basic edit of switchbrew's [https://github.com/switchbrew/switch-examples/blob/master/graphics/simplegfx/source/main.c simplegfx example].
|title=Switch Rom Hacks (Hack Utilities) - GameBrew
 
|title_mode=append
It is somewhat like [[WiiStrobe]], but for Switch. It can also toggle a scrolling stripe effect where you can customize the colors.
|image=Switch-logo.png
 
|image_alt=switchstrobe
'''Note:''' Please use caution if you have a medical condition that can be triggered by flashing patterns, such as epilepsy.
}}
 
{{cleanup|article|Needs cleanup}}
==Installation==
Just a very basic edit of switchbrew's simplegfx example.
Place colors.txt and SwitchStrobe.nro to the switch folder on the SD card.
 
Custom colors:
*The file containing the colors has to be named "colors.txt" without the quotes.
*Colors have to be hex values of the form BBGGRR.
*For example, 8807ff would be Blue:136, Green:7, and Red:255. Casing doesn't matter for hex values. One hex value per line.
 
==User guide==
You can toggle stripes by pressing D-Pad Left and D-Pad Right at the same time.
 
The stripes also scroll along the screen. But you can't control/toggle the scrolling.
 
==Controls==
Plus - Go back to HBMenu
 
D-Pad Up - Increase number of frames between color swaps (maxes out at 60)
 
D-Pad Down - Decrease number of frames between color swaps (bottoms out at 1)
 
Minus - Reset number of frames between color swaps to 10
 
A - Cycle color 1 right through color list
 
Y - Cycle color 1 left through color list
 
X - Cycle color 2 right through color list
 
B - Cycle color 2 left through color list
 
D-Pad Left+D-Pad Right - Toggle Stripes
 
'''Generic Colors Only:'''
 
R/ZR - Increase/Decrease color 1 brightness


==Media==
D-Pad Right/Left - Reset color 1 brightness to full
<youtube></youtube>


L/ZL - Increase/Decrease color 2 brightness


==Screenshots==
==Screenshots==
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-01.png
https://dlhb.gamebrew.org/switchhomebrews/switchstrobe2.png
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-02.png
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-03.png
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-04.png
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-05.png
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-06.png
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-07.png
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-08.png


==Changelog==
==Changelog==
'''v.1.0'''
'''0.2.1 2021/09/29'''
* First Release.
*Realized I might have to update this when it suddenly started crashing after I updated my firmware to 12.1.0 from like 9 or 10.something for Skyward Sword. Might do the same for Mandelbrot Set Viewer.
'''0.2.0 2019/12/12'''
*I added stripes. You can toggle them by pressing d-pad left and d-pad right at the same time. The stripes also scroll along the screen. You can't control/toggle the scrolling... yet. Also cleaned up my spaghetti code a teeny tiny little bit.
*Realized I had resetting color brightness to full mapped to clicking joystick left/right instead of d-pad left/right. Whoops. That's fixed now.
'''0.1.1 2019/11/16'''
*Just a very basic edit of switchbrew's simplegfx example.
*I put a limit on how many colors you can use, should top out at 50 colors. I have not tested this.
*I also learned how to edit the makefile to customize the icon and metadata. In a previous version, I used NRO Asset Editor for this purpose.
*Generic color list is back to {Black, Red, Yellow, Green, Cyan, Blue, Magenta, White}.
'''v0.1.0 2019/11/05'''
*I added support for files, so now you can strobe your own custom colors. If you don't have a colors.txt file, you'll just use a generic list of colors.
'''v0.0.4 2019/07/04'''
*Literally just v0.0.3 but made with updated libnx. This should™ work on 9.0.0.


== External links ==
== External links ==
* Gbatemp - https://github.com/WompaStompa/SwitchStrobe
* GitHub - https://github.com/WompaStompa/SwitchStrobe
* Github - https://github.com/WompaStompa/SwitchStrobe
* GBAtemp - https://github.com/WompaStompa/SwitchStrobe
* Reddit -
* ForTheUsers - https://apps.fortheusers.org/switch/switchstrobe

Revision as of 03:32, 22 June 2023

SwitchStrobe
Switchstrobe.png
General
AuthorWompaStompa
TypeDemos
Version0.2.1
LicenseMixed
Last Updated2021/10/04
Links
Download
Website
Source

A very basic edit of switchbrew's simplegfx example.

It is somewhat like WiiStrobe, but for Switch. It can also toggle a scrolling stripe effect where you can customize the colors.

Note: Please use caution if you have a medical condition that can be triggered by flashing patterns, such as epilepsy.

Installation

Place colors.txt and SwitchStrobe.nro to the switch folder on the SD card.

Custom colors:

  • The file containing the colors has to be named "colors.txt" without the quotes.
  • Colors have to be hex values of the form BBGGRR.
  • For example, 8807ff would be Blue:136, Green:7, and Red:255. Casing doesn't matter for hex values. One hex value per line.

User guide

You can toggle stripes by pressing D-Pad Left and D-Pad Right at the same time.

The stripes also scroll along the screen. But you can't control/toggle the scrolling.

Controls

Plus - Go back to HBMenu

D-Pad Up - Increase number of frames between color swaps (maxes out at 60)

D-Pad Down - Decrease number of frames between color swaps (bottoms out at 1)

Minus - Reset number of frames between color swaps to 10

A - Cycle color 1 right through color list

Y - Cycle color 1 left through color list

X - Cycle color 2 right through color list

B - Cycle color 2 left through color list

D-Pad Left+D-Pad Right - Toggle Stripes

Generic Colors Only:

R/ZR - Increase/Decrease color 1 brightness

D-Pad Right/Left - Reset color 1 brightness to full

L/ZL - Increase/Decrease color 2 brightness

Screenshots

switchstrobe2.png

Changelog

0.2.1 2021/09/29

  • Realized I might have to update this when it suddenly started crashing after I updated my firmware to 12.1.0 from like 9 or 10.something for Skyward Sword. Might do the same for Mandelbrot Set Viewer.

0.2.0 2019/12/12

  • I added stripes. You can toggle them by pressing d-pad left and d-pad right at the same time. The stripes also scroll along the screen. You can't control/toggle the scrolling... yet. Also cleaned up my spaghetti code a teeny tiny little bit.
  • Realized I had resetting color brightness to full mapped to clicking joystick left/right instead of d-pad left/right. Whoops. That's fixed now.

0.1.1 2019/11/16

  • Just a very basic edit of switchbrew's simplegfx example.
  • I put a limit on how many colors you can use, should top out at 50 colors. I have not tested this.
  • I also learned how to edit the makefile to customize the icon and metadata. In a previous version, I used NRO Asset Editor for this purpose.
  • Generic color list is back to {Black, Red, Yellow, Green, Cyan, Blue, Magenta, White}.

v0.1.0 2019/11/05

  • I added support for files, so now you can strobe your own custom colors. If you don't have a colors.txt file, you'll just use a generic list of colors.

v0.0.4 2019/07/04

  • Literally just v0.0.3 but made with updated libnx. This should™ work on 9.0.0.

External links

Advertising: