Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add SOL File Format #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions PC-Mac/SOL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Diablo 1 SOL File Format - Subtile Flags

[1. Description](#1-description)
[2. File structure](#2-file-structure)


## 1. Description

Diablo 1 SOL metadata file use the `.sol` file extension.
The SOL metadata file contains flags (one BYTE) for the subtiles.


## 2. File Structure

```
{SUBTILE FLAG} * {NUMBER OF SUBTILES}
```

The bits of the {SUBTILE FLAG} have the following meaning (starting from lowest bit):
- `1` : blocks the walk-path
- `2` : blocks the light
- `3` : blocks missiles
- `4` : enable transparency
- `5` : left floor {CEL FRAME} has transparent part
- `6` : right floor {CEL FRAME} has transparent part
- `7` : ignore the two bits above (unused)
- `8` : can be used as trap source and works as background for shrines and bookcases
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ Most of the knowledge here comes from the Diablo 1 and Hellfire modding communit
- [Diablo 1 CL2 File Format - Graphics](PC-Mac/CL2.md)
- [Diablo 1 MIN and TIL File Formats - Level Graphics](PC-Mac/MIN-TIL.md)
- [Diablo 1 DUN File Format - Level Maps](PC-Mac/DUN.md)
- [Diablo 1 SOL File Format - Sub-Tile Flags](PC-Mac/SOL.md)


## PlayStation

- [Diablo 1 DIR/BIN File Format - Archives](PSX/DIRBIN.md)

*Work in progress: MPQ, SOL, AMP, PlayStation version formats.*
*Work in progress: MPQ, AMP, PlayStation version formats.*