This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <3ds.h> | |
int main() | |
{ | |
Handle nwmEXT_handle; | |
aptMainLoop(); | |
if(R_FAILED(srvGetServiceHandle(&nwmEXT_handle, "nwm::EXT"))) return 1; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <3ds.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
void __system_allocateHeaps(void) | |
{ | |
extern char* fake_heap_start; | |
extern char* fake_heap_end; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
FN="$(basename "$1" .cia)_tmp" | |
rm -rf "$FN" | |
mkdir "$FN" | |
ctrtool --contents="$FN/contents" "$1" >/dev/null | |
ctrtool --exefsdir="$FN/exefs" --decompresscode "$FN/contents.0000.00000000" >/dev/null | |
ASD="$(ctrtool "$FN/contents.0000.00000000" | grep Code)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <3ds.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
gfxInit(GSP_RGBA8_OES, GSP_RGBA8_OES, false); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# =================================== | |
# GBATemp notifier bash script | |
# | |
# created by MarcusD | |
# Copyright $(date +"%Y") | |
# | |
# :P | |
# =================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/lua | |
-- =================================== | |
-- FST parser Lua script | |
-- | |
-- created by MarcusD | |
-- Copyright $(date +"%Y") | |
-- | |
-- :P | |
-- =================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while :; do | |
ASD="$(env CC=gcc python3 setup.py build 2>/dev/null)" | |
if [ $? -eq 0 ]; then | |
echo "yay, success" | |
break | |
fi | |
CMD="$(echo "$ASD" | tail -n1 | sed 's/^x86_64-linux-gnu-gcc/gcc/')" | |
eval $CMD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# =================================== | |
# kagiya-ctr checker bash script | |
# | |
# created by MarcusD | |
# Copyright $(date +"%Y") | |
# | |
# :P | |
# =================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Terraria Mobile Blowfish savefile crypter | |
Copyright (C) 2016 MarcusD (https://github.com/MarcuzD) | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/* | |
The MIT License (MIT) | |
Copyright (c) 2016 MarcusD | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |