Skip to content

Commit

Permalink
v1.0 complete, res, icon, readme upd
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchen committed Mar 12, 2020
1 parent 02d4999 commit ecc2286
Show file tree
Hide file tree
Showing 9 changed files with 6,695 additions and 234 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
/my-notes/
/*.txt
/*.str
/myfolder/
/events/
*.lod
*.lnk

Expand Down
32 changes: 7 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ List all file names in the archive file.

`[separator]` is a string that separates the file names, use double quote (`""`) to enclose the separator. By default (when `[separator]` is not specified), windows newline (CRLF) will be used as the separator, which means it will output one file name per line.

**Example:**
**Examples:**

```
mmarch list events.lod
Expand Down Expand Up @@ -121,7 +121,7 @@ mmarch rename events.lod items.txt items_new.txt
mmarch create <archive_file> <archive_file_type> <folder> [file_to_add_1] [file_to_add_2] [...]
```

Create new archive file. It will be empty if no file to add is specified.
Create a new archive file from scratch. It will be empty if no `[file_to_add_?]` is specified.

`<folder>` is the path of the folder where the new archive file will be placed.

Expand All @@ -140,6 +140,10 @@ Create new archive file. It will be empty if no file to add is specified.
* `mm78save`: MM 7-8 saved game archive (*.lod; *.mm7; *.dod)
* `mm6save`: MM 6 saved game archive (*.lod; *.mm6)

Use correct extension for your `<archive_file>`, wrong extension will cause wrong file format even if `<archive_file_type>` is correct.

Use `mmarch create` with caution. If possible, use `mmarch add` to modify an existing archive file instead of creating a new one.

**Example:**

```
Expand Down Expand Up @@ -192,7 +196,7 @@ For the first argument, the initial letter of <code><strong>e</strong>xtract</co

File names and paths are case-insensitive.

The tool changes or replaces original archive or unpacked resource files permanently, you should consider copying them to other directory or with other names to make backups (e.g. `copy a.lod a.backup.lod`).
The tool changes or overrides original archive or unpacked resource files permanently, you should consider copying them to other directory or with other names to make backups (e.g. `copy a.lod a.backup.lod`).

## Work with batch, NSIS and other script

Expand Down Expand Up @@ -244,25 +248,3 @@ How to compile the source of `mmarch`:
## License

[MIT](https://github.com/might-and-magic/mmarch/blob/master/LICENSE.md)




## To do
* extract : done. to be retested
* list : done. to be retested
* add : done. to be retested
* delete : done. to be retested
* rename : done. to be retested
* create :
* merge : done. to be retested
* optimize : done. to be retested
* help : done. to be retested






// to do: check if method = `fvsrb`, methodNumber = ?
再试一下merge的顺序
6,562 changes: 6,562 additions & 0 deletions icon/icon.ai

Large diffs are not rendered by default.

Binary file added icon/icon.ico
Binary file not shown.
Binary file added icon/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icon/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions mmarch.bdsproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<Compiler Name="L">1</Compiler>
<Compiler Name="M">0</Compiler>
<Compiler Name="N">1</Compiler>
<Compiler Name="O">0</Compiler>
<Compiler Name="O">1</Compiler>
<Compiler Name="P">1</Compiler>
<Compiler Name="Q">0</Compiler>
<Compiler Name="R">0</Compiler>
Expand Down Expand Up @@ -124,7 +124,7 @@
<Directories Name="PackageDLLOutputDir"></Directories>
<Directories Name="PackageDCPOutputDir"></Directories>
<Directories Name="SearchPath">RSPak;RSPak/Extra;RSPak/Extra/DragDrop/Source;RSPak/Extra/GifImage;RSPak/Extra/JVCL Dependance;RSPak/Extra/ZLib</Directories>
<Directories Name="Packages"></Directories>
<Directories Name="Packages">vcl;rtl;vclx;dbrtl;vcldb;vclactnband;d7help</Directories>
<Directories Name="Conditionals"></Directories>
<Directories Name="DebugSourceDirs"></Directories>
<Directories Name="UsePackages">False</Directories>
Expand All @@ -140,7 +140,7 @@
<Parameters Name="LoadUnspecifiedSymbols">False</Parameters>
</Parameters>
<VersionInfo>
<VersionInfo Name="IncludeVerInfo">False</VersionInfo>
<VersionInfo Name="IncludeVerInfo">True</VersionInfo>
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
<VersionInfo Name="MajorVer">1</VersionInfo>
<VersionInfo Name="MinorVer">0</VersionInfo>
Expand All @@ -151,18 +151,18 @@
<VersionInfo Name="Special">False</VersionInfo>
<VersionInfo Name="Private">False</VersionInfo>
<VersionInfo Name="DLL">False</VersionInfo>
<VersionInfo Name="Locale">2057</VersionInfo>
<VersionInfo Name="Locale">1033</VersionInfo>
<VersionInfo Name="CodePage">1252</VersionInfo>
</VersionInfo>
<VersionInfoKeys>
<VersionInfoKeys Name="CompanyName"></VersionInfoKeys>
<VersionInfoKeys Name="FileDescription"></VersionInfoKeys>
<VersionInfoKeys Name="CompanyName">Tom CHEN</VersionInfoKeys>
<VersionInfoKeys Name="FileDescription">Command line tool to handle Heroes 3 &amp; Might and Magic 678 archive</VersionInfoKeys>
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
<VersionInfoKeys Name="InternalName"></VersionInfoKeys>
<VersionInfoKeys Name="LegalCopyright"></VersionInfoKeys>
<VersionInfoKeys Name="LegalCopyright">MIT License (c) 2020 Tom CHEN</VersionInfoKeys>
<VersionInfoKeys Name="LegalTrademarks"></VersionInfoKeys>
<VersionInfoKeys Name="OriginalFilename"></VersionInfoKeys>
<VersionInfoKeys Name="ProductName"></VersionInfoKeys>
<VersionInfoKeys Name="ProductName">mmarch</VersionInfoKeys>
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
<VersionInfoKeys Name="Comments"></VersionInfoKeys>
</VersionInfoKeys>
Expand Down
Loading

0 comments on commit ecc2286

Please sign in to comment.