Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4fb6090
Showing
137 changed files
with
48,369 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,256 @@ | ||
n | ||
p window | ||
n | ||
p myArray | ||
p NSApp | ||
p *NSApp | ||
q | ||
c | ||
q | ||
b ui_total_progress | ||
r | ||
n | ||
p window | ||
n | ||
q | ||
r | ||
q | ||
b printf | ||
r | ||
up | ||
c | ||
q | ||
b ui_total_progress | ||
r | ||
n | ||
p window | ||
n | ||
p myArray | ||
q | ||
r | ||
up | ||
q | ||
b chdir_by_identifier | ||
r | ||
n | ||
p id | ||
n | ||
p id | ||
n | ||
n | ||
q | ||
b chdir_by_identifier | ||
r | ||
n | ||
n | ||
n | ||
p rc | ||
n | ||
n | ||
n | ||
n | ||
q | ||
b chdir_by_identifier | ||
r | ||
n | ||
q | ||
b chdir_by_identifier | ||
r | ||
n | ||
p len | ||
n | ||
p len | ||
p buf | ||
n | ||
p buf | ||
q | ||
r | ||
q | ||
b main | ||
r | ||
q | ||
b main | ||
r x y | ||
n | ||
n | ||
n | ||
s | ||
n | ||
n | ||
p statbuf | ||
q | ||
b main | ||
r x y | ||
n | ||
n | ||
n | ||
s | ||
n | ||
n | ||
p/x statbuf.st_mode | ||
n | ||
n | ||
p S_IFLNK | ||
n | ||
n | ||
s | ||
n | ||
p/x statbuf.st_mode | ||
q | ||
p 0010000 | ||
p/x 0010000 | ||
p/x 0020000 | ||
p/x 0030000 | ||
p/x 0120000 | ||
p 0x81a4 & 0120000 | ||
p/x 0x81a4 & 0120000 | ||
p 0120000 | ||
q | ||
p/x 120000 | ||
p/x 0120000 | ||
q | ||
b chdir_by_identifier | ||
r /Users/icculus/Desktop/test.mojopatch | ||
n | ||
p buf | ||
n | ||
n | ||
s | ||
n | ||
n | ||
p mem | ||
n | ||
n | ||
n | ||
s | ||
n | ||
s | ||
n | ||
n | ||
p ptr | ||
q | ||
b chdir_by_identifier | ||
r /Users/icculus/Desktop/test.mojopatch | ||
n | ||
p buf | ||
n | ||
s | ||
n | ||
n | ||
n | ||
s | ||
n | ||
s | ||
n | ||
n | ||
p tag | ||
p *tag | ||
n | ||
n | ||
q | ||
b parse_xml | ||
r /Users/icculus/Desktop/test.mojopatch | ||
n | ||
p tag | ||
p *tag | ||
n | ||
q | ||
b parse_xml | ||
r /Users/icculus/Desktop/test.mojopatch | ||
n | ||
p tag | ||
n | ||
n | ||
n | ||
n | ||
q | ||
b parse_xml | ||
r /Users/icculus/Desktop/test.mojopatch | ||
n | ||
p tag | ||
p value | ||
p val | ||
q | ||
b parse_xml | ||
r | ||
q | ||
b parse_xml | ||
r /Users/icculus/Desktop/test.mojopatch | ||
n | ||
p ptr | ||
n | ||
q | ||
b parse_xml | ||
r /Users/icculus/Desktop/test.mojopatch | ||
n | ||
p tag | ||
p val | ||
q | ||
b find_info_plist_version | ||
r /Users/icculus/Desktop/test.mojopatch | ||
n | ||
q | ||
b find_info_plist_version | ||
r /Users/icculus/Desktop/test.mojopatch | ||
n | ||
q | ||
b find_info_plist_version | ||
r /Users/icculus/Desktop/test.mojopatch | ||
n | ||
p tag | ||
p val | ||
n | ||
l | ||
l | ||
b 208 | ||
commands 2 | ||
end | ||
d 2 | ||
l 208 | ||
b 210 | ||
commands 3 | ||
p tag | ||
p val | ||
end | ||
c | ||
n | ||
n | ||
n | ||
c | ||
n | ||
n | ||
c | ||
n | ||
n | ||
p val | ||
n | ||
c | ||
q | ||
b main | ||
r | ||
s | ||
q | ||
b main | ||
r | ||
s | ||
n | ||
p buf | ||
n | ||
s | ||
n | ||
p ptr | ||
n | ||
cv | ||
c | ||
q | ||
b main | ||
r | ||
s | ||
n | ||
p buf | ||
n | ||
n | ||
s | ||
n | ||
p ptr | ||
q |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
|
||
# Quick Makefile by ryan c. gordon. (icculus@clutteredmind.org) | ||
|
||
CC := gcc | ||
LINKER := gcc | ||
BINDIR := bin | ||
SRCDIR := . | ||
|
||
platform := macosx | ||
|
||
ifeq ($(strip $(platform)),macosx) | ||
PLATFORMDEF := -DPLATFORM_UNIX -DPLATFORM_MACOSX | ||
PLATFORMSRCS := platform_unix.c ui_carbon.c | ||
LDFLAGS := -framework Carbon | ||
endif | ||
|
||
ifeq ($(strip $(platform)),win32) | ||
PLATFORMDEF := -DPLATFORM_WIN32 | ||
PLATFORMSRCS := platform_win32.c ui_stdio.c | ||
endif | ||
|
||
ifeq ($(strip $(platform)),unix) | ||
PLATFORMDEF := -DPLATFORM_UNIX | ||
PLATFORMSRCS := platform_unix.c ui_stdio.c | ||
endif | ||
|
||
CFLAGS := $(PLATFORMDEF) -Wall -g -fsigned-char -fno-omit-frame-pointer -Os | ||
|
||
|
||
MOJOPATCHSRCS := mojopatch.c md5.c $(PLATFORMSRCS) | ||
OBJS1 := $(MOJOPATCHSRCS:.c=.o) | ||
OBJS2 := $(OBJS1:.cpp=.o) | ||
OBJS3 := $(OBJS2:.asm=.o) | ||
OBJS4 := $(OBJS3:.m=.o) | ||
MOJOPATCHOBJS := $(foreach f,$(OBJS4),$(BINDIR)/$(f)) | ||
MOJOPATCHSRCS := $(foreach f,$(MOJOPATCHSRCS),$(SRCDIR)/$(f)) | ||
|
||
.PHONY: all mojopatch clean distclean listobjs listsrcs | ||
|
||
all : mojopatch | ||
|
||
mojopatch : $(BINDIR)/mojopatch | ||
|
||
$(BINDIR)/%.o: $(SRCDIR)/%.m | ||
$(CC) -c -o $@ $< $(CFLAGS) | ||
|
||
$(BINDIR)/%.o: $(SRCDIR)/%.cpp | ||
$(CC) -c -o $@ $< $(CFLAGS) | ||
|
||
$(BINDIR)/%.o: $(SRCDIR)/%.c | ||
$(CC) -c -o $@ $< $(CFLAGS) | ||
|
||
$(BINDIR)/mojopatch : $(BINDIR) $(MOJOPATCHOBJS) | ||
$(LINKER) $(LDFLAGS) -o $@ $(MOJOPATCHOBJS) | ||
|
||
$(BINDIR): | ||
mkdir -p $(BINDIR) | ||
|
||
distclean : clean | ||
|
||
clean: | ||
rm -rf $(BINDIR) | ||
|
||
listsrcs: | ||
@echo $(MOJOPATCHSRCS) | ||
|
||
listobjs: | ||
@echo $(MOJOPATCHOBJS) | ||
|
||
|
||
# end of Makefile ... | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleExecutable</key> | ||
<string>mojopatch</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>org.icculus.mojopatch</string> | ||
<key>CFBundleIconFile</key> | ||
<string>mojopatch.icns</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>0.0.1</string> | ||
<key>CSResourcesFileMapped</key> | ||
<true/> | ||
<key>NSMainNibFile</key> | ||
<string>mojopatch</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
<key>CFBundleName</key> | ||
<string>MojoPatch</string> | ||
</dict> | ||
</plist> |
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
APPL???? |
6 changes: 6 additions & 0 deletions
6
MojoPatch.app/Contents/Resources/English.lproj/InfoPlist.strings
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* Localized versions of Info.plist keys */ | ||
|
||
CFBundleName = "MojoPatch"; | ||
CFBundleShortVersionString = "mojopatch"; | ||
CFBundleGetInfoString = "MojoPatch"; | ||
|
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.