Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🔐 DayZ Mod Obfuscator

A Python tool with a graphical interface to obfuscate scripts (.c / .cpp) from DayZ mods.


📌 What is this?

This program takes your mod and:

  • Moves the real code to files with random names and fake extensions (e.g. .rvmat, .ogg, .p3d)
  • Replaces the original content of .c files with a #include pointing to those files
  • Keeps the mod working normally

👉 Result: your code becomes hard to understand, copy, or reuse


🎯 What is it for?

  • Protect your mod against copying / piracy
  • Make reverse engineering harder
  • Make the code unreadable to third parties
  • Simulate the pattern used in paid mods

🧠 Example

Before:

void SpawnItem()
{
    Print("Hello");
}

After:

#include "a8F3kLm9Pq2.rvmat"

Generated file (a8F3kLm9Pq2.rvmat):

// a8F3kLm9Pq2.rvmat
void SpawnItem()
{
    Print("Hello");
}

🚀 How to use

1. Install Python

Make sure you have Python 3 installed:

python3 --version

2. Run the program

python3 obfuscator.py

3. Use the interface

  1. Click "Select Folder"
  2. Choose your mod folder
  3. Click "Start Obfuscation"

til


📁 Output

A new folder will be created:

your_mod_obfuscated/

Image 1

👉 This folder contains the already obfuscated mod, ready to use.


⚠️ Important notes

  • The config.cpp file is not modified
  • Class names are NOT changed
  • The mod's functionality is preserved
  • Always test your mod after the process

❗ Limitations

Situation Status
Protects assets (.p3d, .paa, .layout) ❌ No
Prevents advanced reverse engineering ❌ No
Makes common copying MUCH harder ✅ Yes

💡 Recommended

For better protection:

  • Use alongside PBO Builder
  • Mix fake files with real assets
  • Always generate different builds

🛠️ Requirements

  • Python 3.x
  • Operating system: Windows / Linux

📄 License

Free to use for personal projects.


🔐 DayZ Mod Obfuscator (pt_BR)

Ferramenta em Python com interface gráfica para ofuscar scripts (.c / .cpp) de mods do DayZ.


📌 O que é isso?

Esse programa pega seu mod e:

  • Move o código real para arquivos com nomes aleatórios e extensões falsas (ex: .rvmat, .ogg, .p3d)
  • Substitui o conteúdo original dos .c por um #include apontando para esses arquivos
  • Mantém o funcionamento do mod normalmente

👉 Resultado: seu código fica difícil de entender, copiar ou reutilizar


🎯 Para que serve?

  • Proteger seu mod contra cópia / pirataria
  • Dificultar engenharia reversa
  • Tornar o código ilegível para terceiros
  • Simular padrão usado em mods pagos

🧠 Exemplo

Antes:

void SpawnItem()
{
    Print("Hello");
}

Depois:

#include "a8F3kLm9Pq2.rvmat"

Arquivo gerado (a8F3kLm9Pq2.rvmat):

// a8F3kLm9Pq2.rvmat
void SpawnItem()
{
    Print("Hello");
}

🚀 Como usar

1. Instalar Python

Certifique-se de ter o Python 3 instalado:

python3 --version

2. Executar o programa

python3 obfuscator.py

3. Usar a interface

  1. Clique em "Selecionar Pasta"
  2. Escolha a pasta do seu mod
  3. Clique em "Iniciar Ofuscação"

📁 Resultado

Será criada uma nova pasta:

seu_mod_obfuscated/

👉 Essa pasta contém o mod já ofuscado e pronto para uso.


⚠️ Observações importantes

  • O arquivo config.cpp não é alterado
  • Nomes de classes NÃO são modificados
  • O funcionamento do mod é preservado
  • Sempre teste o mod após o processo

❗ Limitações

Situação Status
Protege assets (.p3d, .paa, .layout) ❌ Não
Impede engenharia reversa avançada ❌ Não
Dificulta MUITO a cópia comum ✅ Sim

💡 Recomendado

Para melhor proteção:

  • Use junto com PBO Builder
  • Misture arquivos fake com assets reais
  • Gere builds diferentes sempre

🛠️ Requisitos

  • Python 3.x
  • Sistema operacional: Windows / Linux

📄 Licença

Uso livre para projetos pessoais.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages