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
import enum | |
from itertools import chain | |
import math | |
import os | |
import struct | |
import subprocess | |
import sys | |
from typing import Union | |
from typing import Tuple |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Changes in this fork by aboood40091: | |
# - Added support for arrays and functions as parameters. | |
# - Added support for static local variables. | |
# - Properly show the return type of function if applicable. | |
# - Added different modes. (File reading, passing symbol as argument, console) | |
# - Added overriding known function names. | |
# - Fixed several bugs. |
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 "aglResShaderArchive.h" | |
#include <cstring> | |
namespace agl { | |
const char* ResBinaryShaderArchiveData::getExtension() | |
{ | |
return ".sharcfb"; | |
} |
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
root_heaps: | |
- heap_name: RootHeap | |
heap_type: ExpHeap | |
heap_address: 0x1061F068 | |
heap_size: 0x3C000000 | |
heap_direction: Forward | |
heap_children: | |
- heap_name: sead::ThreadMgr | |
heap_type: ExpHeap | |
heap_address: 0x1061F12C |
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
from distutils.core import setup | |
from Cython.Build import cythonize | |
from os import listdir | |
for file in listdir('.'): | |
if file[-4:] == '.pyx': | |
setup(ext_modules = cythonize(file)) |
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
import json | |
import os | |
import struct | |
import shutil | |
from PIL import Image | |
folder = input('Enter folder path:') | |
outFolder = os.path.join(folder, "out") | |
if not os.path.isdir(outFolder): |
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
import struct | |
import os | |
header = None | |
supported_versions = [0xA, 0xB] | |
class Header: | |
def __init__(self, endianness='<'): |
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
from math import asin, atan2, copysign, cos, fabs, pi, sin | |
def _matMultiply(mat1, mat2): | |
matW1 = len(mat1[0]) | |
matH1 = len(mat1) | |
matW2 = len(mat2[0]) | |
matH2 = len(mat2) | |
assert matW1 == matH2 |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# BFRES textures replacer | |
# Copyright © 2018 AboodXD | |
import struct | |
import time | |
from tkinter import Tk, filedialog |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# Object Sorter | |
# Copyright © 2018 AboodXD | |
import json, os, re, sys | |
from PyQt5.QtCore import QSize | |
from PyQt5.QtGui import QIcon, QPalette, QPixmap |
NewerOlder