Skip to content

Instantly share code, notes, and snippets.

View Epicpkmn11's full-sized avatar

Pk11 Epicpkmn11

View GitHub Profile
@Epicpkmn11
Epicpkmn11 / gif-input-flag.py
Last active April 21, 2022 21:28
gif-input-flag.py - Sets the user input flag on specified frames of a GIF
#!/usr/bin/env python3
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
@Epicpkmn11
Epicpkmn11 / bannerpng.c
Last active April 21, 2022 21:28
bannerpng.c - Extracts the icon from a DS(i) ROM to a PNG, see bannergif.py for a better extractor capable of extracting animated icons but in Python
/* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdictions that recognize copyright laws, the author or authors
* of this software dedicate any and all copyright interest in the
* software to the public domain. We make this dedication for the benefit
@Epicpkmn11
Epicpkmn11 / pkg2png.py
Last active April 6, 2022 09:00
Cut the Rope DSiWare image conversion scripts
#!/usr/bin/env python3
# Requirements:
# pip3 install pillow
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
@Epicpkmn11
Epicpkmn11 / README.md
Last active March 4, 2022 09:05
DS FIFA image conversion scripts

DS FIFA image conversion scripts

All files in this gist are under the MIT license, feel free to do as you wish with them. To run install a recent version of Python 3 and Pillow from pip.

The file names are to/from png for simplicity, but they can be used with any image format Pillow supports.

.dst (WIP!)

@Epicpkmn11
Epicpkmn11 / title-copier.py
Last active January 19, 2022 06:20
Copies a title into any blank titles in a DS ROM
#!/usr/bin/env python3
# Requirements:
# pip3 install libscrc
"""
title copier © 2022 Pk11
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
@Epicpkmn11
Epicpkmn11 / gettmd.py
Last active July 16, 2023 04:15
gettmd.py - Downloads a TMD for a DSiWare from NUS
#!/usr/bin/env python3
# Requirements:
# pip3 install requests
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
@Epicpkmn11
Epicpkmn11 / json2csv.py
Last active April 21, 2022 21:28
json2csv.py - Converts a JSON to a CSV
#!/usr/bin/env python3
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
@Epicpkmn11
Epicpkmn11 / nextrip.php
Last active April 21, 2022 21:28
nextrip.php - PHP webpage for getting NexTrip stop info https://nextrip.xn--rck9c.xn--tckwe/
<?php /*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
@Epicpkmn11
Epicpkmn11 / bannergif.py
Last active February 21, 2024 00:52
bannergif.py - Extracts a DS(i) ROM's icon to an image
#!/usr/bin/env python3
# Requirements:
# pip3 install libscrc pillow
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
@Epicpkmn11
Epicpkmn11 / theme.json
Last active May 2, 2021 09:35
Element theme
{
"name": "ピンク",
"is_dark": false,
"colors": {
"accent-color": "#b2d9ea",
"warning-color": "#bf616a",
"sidebar-color": "#ffe2e2",
"roomlist-background-color": "#ffeeee",
"roomlist-text-color": "#241919",