Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rise and Fall Civilizations at War Tools - DB Editor

Python 3.13 uv

A lightweight tool for converting and editing .dat binary database files used in games. Easily transform .dat files to JSON and back, inspect object data, and make modifications in a user-friendly format.


🚀 Getting Started

1. Clone the Repository

git clone https://github.com/kotop21/RAF---DB-Editor.git
cd RAF---DB-Editor

2. Install uv

🖥️ macOS / Linux

curl -LsSf https://astral.sh/uv/install.sh | less

🪟 Windows

powershell -c "irm https://astral.sh/uv/install.ps1 | more"

3. Install Dependencies

uv sync

4. Activate Virtual Environment

source .venv/bin/activate

5. Run the Project

uv run main.py

🧰 Features

  • Convert .dat files to .json for easy editing.
  • Convert .json files back to .dat.
  • Automatically detect and parse object structures.

⚠️ Notes

  • Modifying ID or Name fields in JSON may cause the game to misread objects. Change them only if you know what you’re doing.
  • When exporting to JSON, any existing file will be overwritten.

🧑‍💻 Requirements

  • Python 3.10+
  • uv

Made with ❤️ by kotop21

About

A lightweight tool for converting and editing .dat binary database files used in games. Easily transform .dat files to JSON and back, inspect object data, and make modifications in a user-friendly format.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages