Skip to content

Instantly share code, notes, and snippets.

View ImanCol's full-sized avatar

Marlon rodriguez ImanCol

View GitHub Profile
@ImanCol
ImanCol / BUILD NSP.bat
Last active March 18, 2026 00:38
Sign and compile Unity-compiled projects on the Nintendo Switch platform using hacpack
@echo off
set /p ID=Ingresa el ID (SAME control.xml!!)(Example: 0100444444440000) :
Tools\hacpack.exe -k "%userprofile%\.switch\prod.keys" -o "%temp%\NCA" --titleid %ID% --type nca --ncatype program --exefsdir "E:\Switch\NSO\SNESNSO\USA-EUR\exefs" --romfsdir "E:\Switch\NSO\SNESNSO\USA-EUR\romfs" --logodir "Files\logo"
Tools\hacpack.exe -k "%userprofile%\.switch\prod.keys" -o "%temp%\NCA" --titleid %ID% --type nca --ncatype control --romfsdir "Files\control"
forfiles /P "%temp%\NCA" /M * /C "cmd /c if @fsize GEQ 20000000 echo @path > "%temp%\largefiles.txt"
set /p largefiles=<"%temp%\largefiles.txt"
forfiles /P "%temp%\NCA" /M * /C "cmd /c if @fsize LEQ 500000 echo @path > "%temp%\smalledfiles.txt"
@ImanCol
ImanCol / Arduino_3DCube_Control.ino
Last active August 9, 2020 19:09
Zirrfa DIY Cubo LED 8x8x8 ARDUINO
/*//Arduino_3DCube_Control
//Command must be at 38400 baud
0xAD //Abrir menu para puerto de Serie para Arduino
0xf2 //Abrir Comando para introducir animacion
0xED //Salir completamente del modo Arduino
//serial data show ARDUINO,display command data 65,Each time data 64 COUNT+0xF2
*/
#include <stdio.h>
#define LAYER_COUNT 8