Skip to content

Sparen/DanmakufuObfuscator

Repository files navigation

DanmakufuObfuscator

A C++ Obfuscator for Touhou Danmakufu ph3, made by Sparen

This project aims to work with the existing Danmakufu syntax to obfuscate individual script files in such a manner as to impede legibility.

There are currently two levels of Obfuscation:
1: Remove all comments - very good for purging documentation and various comments from your code
2: Remove all comments, new lines, tabs, and extra whitespace - code becomes difficult for humans to read. Can still revert back to human-readable form.

To compile:
make

To run:
./dnhobf filename.ext

Aims

---Full removal of all comments [Status: DONE]
---Replacement of all instances of new lines with single spaces [Status: DONE]
---Full removal of all instances of tabs and extra whitespace [Status: DONE]
---Newlines maintained in all cases where they are required [Status: PROGRESS]
---Replacement of all local variables with hexadecimal [Status: TODO]

Notes

TESTERS: Please do all testing in the tmp folder. I don't want the test files (the originals) to magically disappear.

About

A C++ Obfuscator for Touhou Danmakufu ph3.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published