Decompiling a executable blender file – BGE
What I mean with this is regarding the Blender Game Engine. So, have you ever needed to decompile or extract the blend file from a exe file? maybe you need to decompile an old executable blender game you did some time ago, to extract some models, textures or any other thing you need.
Some years ago I found in the blender artist forums a python script to decompile blender executables, the only thing you need to use the script is obviously the python installation, and the instructions are very simple as shown below:
- First put the executable file in a separate folder, and copy the file “blenderExtract.py” in the same folder
- Open a terminal (or the console in linux) and type: C:your_pathblenderExtract.py yourExecutableFile.exe and press enter
- You got it!
Very simple and quite handy! in past versions of blender, maybe 2.3x you didn’t need a script to decompile a blender game, the only thing you needed to do is to open the exe file in blender like any other .blend file, and then save it as a blend file. But any way, this is no loger possible, so if needed, use the blender extract script to recover your old blend files.
Script author: marioamb