Metadata-Version: 2.4
Name: rm95
Version: 0.1.0
Summary: A library for manipulating RPG Maker 95 (RPG ツクール 95) files
Home-page: https://gitlab.com/szatkus/mv95
Author: szatkus
License: MIT
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Pillow
Dynamic: license-file

A library for manipulating RPG Maker 95 (RPG ツクール 95) files.


## Usage

```python
from rm95 import parse_rpg, save_game

rpg = parse_rpg('/path/to/game.RPG')

# Modify initial gold
rpg.party.gold = 9999

save_game('/path/to/output.RPG', rpg)
```

## File Format

This library handles the binary file format used by RPG Maker 95, including:

- Main project file (`.RPG`)
- Event files (`eve*.dat`)
- Enemy data (`ENEMY.DAT`)
- Troop data (`TROOP.DAT`)
- Item data (`ITEM.DAT`)
- Magic data (`MAGIC.DAT`)
- String data (`STRINGS.DAT`)
- Switch names (`SWNAME.DAT`)
- Monster pictures (`MONSTPIC.DAT`)
- Tileset images (`.BMP`) and attributes (`.ATR`)

## Requirements

- Python 3.x
- PIL/Pillow (for image handling)

