This file contains hidden or 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/sh | |
| # Shamelessly stolen from https://github.com/neonichu/Core-Audio-Samples/blob/master/Samples/extract-sf2.sh | |
| # | |
| ## Convert a SoundFont + MIDI file to a CAF audio file. | |
| ## | |
| ## needs: | |
| ## fluidsynth, sox (installable via brew) | |
| ## afconvert (part of OS X) |
For some reason IDA executes FreeLibrary() to the plugin immediately after getting its PLUGIN structure's address, so later invocations of the plugin lead to calls to nowhere (that was supposed to be python3.dll). Simply patching the location of the FreeLibrary() call fixes the issue. The location is easy to find: go by cross-references to a place where the call to FreeLibrary is followed by a reference to the string "%s: incompatible plugin version..." and NOP it away.
This file contains hidden or 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 asm65816 | |
| /* | |
| * Relocates the movement script pointer table, allowing | |
| * for custom scripts to be inserted into the game | |
| * | |
| * By Catador | |
| * Additional ideas by JTolmar and cooprocks123e | |
| * And maybe others (sorry!) | |
| */ |
This file contains hidden or 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
| 1: 日 | |
| 2: 一 | |
| 3: 国 | |
| 4: 会 | |
| 5: 人 | |
| 6: 年 | |
| 7: 大 | |
| 8: 十 | |
| 9: 二 | |
| 10: 本 |
This file contains hidden or 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/python | |
| import urllib2 | |
| import argparse | |
| import json | |
| parser = argparse.ArgumentParser(description="Fetch some JSON") | |
| parser.add_argument("url") | |
| args = parser.parse_args() |