Skip to content

Instantly share code, notes, and snippets.

View ImanCol's full-sized avatar

Marlon rodriguez ImanCol

View GitHub Profile
@ImanCol
ImanCol / V8_IMP_EXP.py
Created April 6, 2023 01:37
Importar o empaqueta el contenido de una carpeta (!archive.cfg requerido) en .exp de Vigilante 8
import os
import struct
import progressbar
import tkinter as tk
from tkinter import filedialog
def choose_file():
root = tk.Tk()
root.withdraw()
file_path = filedialog.askopenfilename(filetypes=[("CFG files", "!archive.cfg")])
@ImanCol
ImanCol / V8_EXP_EXP.py
Last active April 6, 2023 01:45
Extrae archivos .EXP (Mapa) de los juegos de Vigilante 8
import os
import struct
import progressbar
import tkinter as tk
from tkinter import filedialog
ATTR_QUANTITY = 21
AttrName = ["FORM", "TERRTITL", "TEXT", "XLSC", "HEAD", "XBGM", "SUNA", "COLS", "XBMP", "XTIN", "ZONE", "ZMAP", "AIMP", "RECT", "XWAT", "XRTP", "PLTX", "JUNC", ".", "RSEG", "BSP "]
AttrLength = [4, 8, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4]
AttrQuantity = [0] * ATTR_QUANTITY
import tkinter as tk
from tkinter import filedialog
import hashlib
import os
import sys
import ctypes
import subprocess
# Función para verificar si se tienen permisos de administrador
def is_admin():
@ImanCol
ImanCol / Gist-send.py
Created March 4, 2023 22:09
Only Move your file from thist Script
import sys
import requests
import time
import webbrowser
import os
import re
# Your GitHub Personal Access Token
token = 'INSERT-TOKEN'
@echo off
set /p rpt_ID=Ingresa el archivo dump de IDs
:: set /p rpt_RDRAM=Ingresa el archivo dump de RDRAM
"tools/xxd.exe" -e -g4 "%rpt_ID%" | "tools/xxd.exe" -r > database_IDs.bin
:: "tools/xxd.exe" -e -g4 "%rpt_RDRAM%" | "tools/xxd.exe" -r > database_RDRAM.bin
pause
#include <Adafruit_NeoPixel.h>
#include "BluetoothSerial.h"
//#include "soc/soc.h"
//#include "soc/rtc
#define FASTLED_FORCE_SOFTWARE_SPI
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
#endif
@ImanCol
ImanCol / cloud-game-retro.ipynb
Last active June 27, 2021 22:43
Cloud-Game-Retro
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ImanCol
ImanCol / BUILD NSP.bat
Last active October 29, 2024 03:37
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