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 idautils | |
import ida_bytes | |
import ida_funcs | |
import ida_ida | |
import ida_kernwin | |
import ida_search | |
import ida_idp | |
import idaapi | |
import idc | |
import pprint |
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 | |
""" | |
Converts between QD and FDS disk images | |
""" | |
import struct | |
def create_fds_header(side_count): | |
return b"FDS\x1A" + bytes([side_count & 0xFF]) + bytes(11) |
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
/* SA2UNPAK - Sonic Adventure 2 PC Shader obj.pak Extraction Program | |
* Written by Ethan "flibitijibibo" Lee | |
* http://www.flibitijibibo.com/ | |
* | |
* Released under public domain. | |
* No warranty implied; use at your own risk. | |
* | |
* I wrote this to extract the D3D9 shader binary files for parsing | |
* in MojoShader. This may not work with any other file in the game. | |
* Also, I am not porting SA2 to Linux. Though I really would like to. |