-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
55 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
# Формат файлов | ||
|
||
Вскоре здесь появится информация. | ||
| Назначение | Расширение | | ||
|--------------------------------|------------| | ||
| [Информация о импорте](imp.md) | `imp` | | ||
|
||
## Полезные ссылки | ||
|
||
- [Формат карт Warcraft 3](https://xgm.guru/p/wc3/w3-file-format) | ||
- [MDX Specifications](https://www.hiveworkshop.com/threads/mdx-specifications.240487) | ||
- [BLP Specifications](https://www.hiveworkshop.com/threads/blp-specifications-wc3.279306) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# imp | ||
|
||
Информация о импорте. | ||
|
||
> Файл `war3map.imp` необходим только для редактора. | ||
```C++ | ||
Imports { | ||
uint32LE format // 0 - ROC | ||
// 1 - TFT | ||
uint32LE count | ||
Item[count] | ||
} | ||
|
||
Item { | ||
#if (format == 1) { | ||
byte flags | ||
} | ||
string path | ||
} | ||
|
||
``` | ||
## Флаги {id="flag"} | ||
<table style="none"> | ||
<tr><td rowspan="2"><code>0x01</code></td><td><code>0</code></td><td>Нужно будет из пути извлечь только имя файла и дописать <code>war3mapImported\</code></td></tr> | ||
<tr><td><code>1</code></td><td>Будет отображаться полный путь импортированного файла (т.е нестандартный)</td></tr> | ||
<tr><td rowspan="2"><code>0x02</code></td><td><code>0</code></td><td>Ничего не значит</td></tr> | ||
<tr><td><code>1</code></td><td>Пункт <code>byte</code> и <code>string</code> обнуляются при чтении</td></tr> | ||
<tr><td><code>0x04</code></td><td colspan="2">Неизвестно (можно игнорировать)</td></tr> | ||
<tr><td><code>0x08</code></td><td colspan="2">Неизвестно (можно игнорировать)</td></tr> | ||
<tr><td><code>0x10</code></td><td colspan="2">Неизвестно (можно игнорировать)</td></tr> | ||
</table> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters