New version v1.30:
https://mega.co.nz/#!SVlVWD4A!49almnriOetNxk0Y7vZXiMHGwLwUxH3jPgJPJg5BPaYIf you have v1.29 installed then it will hopefully offer to update automatically.
Fix: Catalog refresh didn't update UI straight away
New: Compression support for IRO archives
New: Patch support for IRO archives
Explanation:
1) Compression. When you create a IRO archive you can choose whether to compress the files in it. This makes the IRO smaller (faster download or install, smaller disk space) but COULD mean it slows things down when running the game - because it will have to wait for a file to be decompressed, when it tries to access the file...
The options when creating a IRO are:
Never: Do not compress files at all.
Always: Always compress files. Probably not a good idea.
By Extension: Do not compress PNG, JPG, MP3, OGG files. Compress all other files. Probably a good idea, there is no point trying to compress a file which is already quite well compressed.
By Content: TRY to compress every file, but if it saves < 10% size, then do not bother. Will take longer to create the archive but should only compress files, which will actually benefit.
I have tested this and it works for me, but, like always, perhaps there are bugs so please try it and tell me
2) Patch support.
Imagine you have a big IRO file - music, movies, lots of PNGs, could be anything - and it is 1GB to download. Well, OK, it has to be that big if the files are high quality/long. Then you find a bug and want to release a new version - maybe a few of the PNGs need to be updated with a transparent fix. It is not very good for everybody to download the new 1GB mod again, when you have only changed 5MB of PNG files...
So, what you can do now is:
-When you upload the first version of the mod, you upload the large 1GB IRO file
-Then you make a new version. You still probably upload a new 1GB IRO file with the latest version - for people who are downloading the mod for the first time - but 7H will also let you create a patch file. This is a smaller file that contains only the changes between the first IRO and the newer IRO, so if you have only updated 5MB of files, it will only be ~5MB in size.
-If you include a link to this patch file in your catalog, 7H will automatically work out if the user has a version which can be patched, and if yes, it will download and apply the patch instead of downloading the whole thing again.
To make a patch file, there is a new tab on the IRO screen in 7H. You tell it where the original IRO is, where the new version IRO is, and where to save the patch. You also choose whether to compress files, same as creating a new IRO.
The catalog should look like this:
<?xml version="1.0"?>
<Catalog>
<UpdatedOn>2013-08-08 13:34</UpdatedOn>
<Mods>
<Mod>
<ID>BFAE987C-C1E6-C451-8139-FF039842D72E</ID>
<Author>Iros</Author>
<Link>http://forums.qhimm.com/</Link>
<Name>Test music/patching</Name>
<MetaVersion>1</MetaVersion>
<Description>Testing music in a IRO archive</Description>
<Tags>
<string>Music</string>
</Tags>
<LatestVersion>
<Link>iros://Url/http$www.myserver.com/7H/Music2.iro</Link>
<Version>2.0</Version>
<ReleaseDate>2014-08-08</ReleaseDate>
<CompatibleGameVersions>Original</CompatibleGameVersions>
<PreviewImage></PreviewImage>
<ReleaseNotes></ReleaseNotes>
</LatestVersion>
<Patch VerFrom="1.0" VerTo="2.0">iros://Url/http$www.myserver.com/7H/Music_1_to_2.irop</Patch>
</Mod>
</Mods>
</Catalog>
The "Patch" line says which version(s) the patch can update and what version it updates you to, and has the link for downloading the patch file 7H has created.
Questions?