FNaF 1 Source CodeThis has been used for multiple games and works correctly.
|
FNaF 2 Source CodeThis has been updated to work correctly!
Now includes death minigames! |
FNaF 3 Source CodeAnaconda no longer crashes but some data is missing right now.
|
How to decompile a Build 284 CTF game, such as FNaF4
There are 2 ways to do this, either use my premade Anaconda zip, or apply these patches:
Step 1: Download anaconda commit 5d630cb0903badbbb886d40e93dba706e26cc85c (You can do this using Git, or there will be a download button above if you want.
Step 2: Make sure you are using 64 bit Python 2.7.9 or 2.7.10 and you have installed Cython by running the command pip install Cython==0.21.2
Patch Step 1: Open up build.py, replace trans key with 99
Patch Step 2: Open up pame2mfa.py and replace grouppointer with -= 2 *Note to self, edit this lol
Step 3: Run build_all.bat and give it a minute. The window will close when it is finished.
Step 4: Open mmfparser, right click and hold shift at the same, and click on "Open Command Window"
Step 5: In CMD, type python bimbam.py then put a space in.
Step 6: Make a new folder in C:\'s root and name it output
Step 7: Find your FNAF exe in SteamApps or somewhere else and drag it into the command prompt
Step 8: Add a space and type C:\output then push enter
Step 9: Go to your output folder, if you are a true MLG you will now see some shit in the folder, if you see "out.mfa", there's your source code!
Step 10: Well shit all of the textures are corrupt. There is a way to fix this, open mmfparser/data/chunkloaders/imagebank.pyx and replace it with the patched version.
Blame /u/kekmasterfnaf for the textures and /u/autorek (Now he is a cheeky cunt) for the build 284 decompiling help. Thx, kekmasterfnaf and (the old helpful) autorek!
Also, I helped a little by discovering some of the problems and how to fix some of them. Also, I know my shit when it comes to the FNAF 1 mfa :D
Step 1: Download anaconda commit 5d630cb0903badbbb886d40e93dba706e26cc85c (You can do this using Git, or there will be a download button above if you want.
Step 2: Make sure you are using 64 bit Python 2.7.9 or 2.7.10 and you have installed Cython by running the command pip install Cython==0.21.2
Patch Step 1: Open up build.py, replace trans key with 99
Patch Step 2: Open up pame2mfa.py and replace grouppointer with -= 2 *Note to self, edit this lol
Step 3: Run build_all.bat and give it a minute. The window will close when it is finished.
Step 4: Open mmfparser, right click and hold shift at the same, and click on "Open Command Window"
Step 5: In CMD, type python bimbam.py then put a space in.
Step 6: Make a new folder in C:\'s root and name it output
Step 7: Find your FNAF exe in SteamApps or somewhere else and drag it into the command prompt
Step 8: Add a space and type C:\output then push enter
Step 9: Go to your output folder, if you are a true MLG you will now see some shit in the folder, if you see "out.mfa", there's your source code!
Step 10: Well shit all of the textures are corrupt. There is a way to fix this, open mmfparser/data/chunkloaders/imagebank.pyx and replace it with the patched version.
Blame /u/kekmasterfnaf for the textures and /u/autorek (Now he is a cheeky cunt) for the build 284 decompiling help. Thx, kekmasterfnaf and (the old helpful) autorek!
Also, I helped a little by discovering some of the problems and how to fix some of them. Also, I know my shit when it comes to the FNAF 1 mfa :D