Massive MM tools update
Massive MM tools update
Here are new versions of my tools, now all with source code. Go to https://sites.google.com/site/sergroj/w ... chive-v1.1 for download links.
MMArchive v1.1
Fully-featured M&M and Heroes 3 archives editor. Supports all archive types except ".hwl".
What's new:
[+] Full files Drag&Drop and Copy&Paste support
[+] "Merge With..." menu item
[+] "Extract For DefTool..." menu item
[+] When importing 24 bit bitmaps into icons.lod an adequate palette is generated
[+] Drag&dropping an archive gets it opened. You can still add an archive as a file using "Add" menu item.
[+] *.pac files association
[+] Def frame shown under trackbar when seeking manually
[+] Text format for Favorites list ("Store Favorites As Text" menu item)
[+] Favorites can be sorted manually
[+] Shift+Delete removes the file without creating a backup
[+] Rename
[+] Custom lods support
[+] RLE bitmaps support (including those saved by PhotoShop)
[-] Palette numbers weren't displayed for bitmaps.lod files in MM
[-] Critical bug in adding files to VID archives
[-] Adding files to games.lod wasn't handled properly
[-] File backups were only created for LOD archives
[-] Files added to MM SND archives weren't being compressed
[-] Crash when quickly browsing through SND archives
[-] Big Favorites list was causing a delay on close
[-] Favorites list wasn't saved in some usage scenarios
[-] Drag&drop issues of Favorites list
[-] Sometimes MMArchive wasn't able to select the file chosen in Favorites
[*] Better handling of corrupt files in SND archives
[*] Proper delays for adventure map defs
LodCompare v1.3
Lets you compare two lod/vid/snd archives and see which files have changed. Lets you create a new archive containing only those files. Thus you can minimize size of a mod by distributing only this archive and merging it to user's archive using LodMerge.
What's new:
[+] Now similar files that were compressed differently are be considered the same (but not in MM lods)
[+] Shows number of different files.
[+] Allows adding files to an existing archive.
[-] Fixed progress bar behavior.
[-] Correct handling of .vid archives.
LodMerge v1.1
Lets you merge two lod/vid/snd archives together.
What's new:
[+] /bf modifier makes the program create backups for individual files.
[+] /r modifier makes the program rebuild the archive.
[-] Critical bug in adding files to VID archives
[-] Adding files to games.lod wasn't handled properly
Txt Edit v1.2
Txt tables editor for Heroes 3 and M&M.
What's new:
[+] Find&Replace dialogs
[+] Select Row, Select Column
[+] "Add to context menu for *.txt" option
[+] Immediate language switching
MMArchive v1.1
Fully-featured M&M and Heroes 3 archives editor. Supports all archive types except ".hwl".
What's new:
[+] Full files Drag&Drop and Copy&Paste support
[+] "Merge With..." menu item
[+] "Extract For DefTool..." menu item
[+] When importing 24 bit bitmaps into icons.lod an adequate palette is generated
[+] Drag&dropping an archive gets it opened. You can still add an archive as a file using "Add" menu item.
[+] *.pac files association
[+] Def frame shown under trackbar when seeking manually
[+] Text format for Favorites list ("Store Favorites As Text" menu item)
[+] Favorites can be sorted manually
[+] Shift+Delete removes the file without creating a backup
[+] Rename
[+] Custom lods support
[+] RLE bitmaps support (including those saved by PhotoShop)
[-] Palette numbers weren't displayed for bitmaps.lod files in MM
[-] Critical bug in adding files to VID archives
[-] Adding files to games.lod wasn't handled properly
[-] File backups were only created for LOD archives
[-] Files added to MM SND archives weren't being compressed
[-] Crash when quickly browsing through SND archives
[-] Big Favorites list was causing a delay on close
[-] Favorites list wasn't saved in some usage scenarios
[-] Drag&drop issues of Favorites list
[-] Sometimes MMArchive wasn't able to select the file chosen in Favorites
[*] Better handling of corrupt files in SND archives
[*] Proper delays for adventure map defs
LodCompare v1.3
Lets you compare two lod/vid/snd archives and see which files have changed. Lets you create a new archive containing only those files. Thus you can minimize size of a mod by distributing only this archive and merging it to user's archive using LodMerge.
What's new:
[+] Now similar files that were compressed differently are be considered the same (but not in MM lods)
[+] Shows number of different files.
[+] Allows adding files to an existing archive.
[-] Fixed progress bar behavior.
[-] Correct handling of .vid archives.
LodMerge v1.1
Lets you merge two lod/vid/snd archives together.
What's new:
[+] /bf modifier makes the program create backups for individual files.
[+] /r modifier makes the program rebuild the archive.
[-] Critical bug in adding files to VID archives
[-] Adding files to games.lod wasn't handled properly
Txt Edit v1.2
Txt tables editor for Heroes 3 and M&M.
What's new:
[+] Find&Replace dialogs
[+] Select Row, Select Column
[+] "Add to context menu for *.txt" option
[+] Immediate language switching
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.
- the beavers1
- Assassin
- Posts: 299
- Joined: 20 Feb 2011
- Location: Lil town in Oregon
Is there anything for MMExtension planned/in the works? I recall you spoke of adding hooks before to edit the skill level perks in the .exe (in response to me asking about the possibility of editing them).
My apologies if I'm being a pest, since I rather feel like one at this point.
My apologies if I'm being a pest, since I rather feel like one at this point.
"You don't have to be a vampire to die like one... bitch." -Simon Belmont
- GreatEmerald
- CH Staff
- Posts: 3330
- Joined: 24 Jul 2009
- Location: Netherlands
Yes, MMExt version is coming soon, but it won't have that.BTB wrote:Is there anything for MMExtension planned/in the works? I recall you spoke of adding hooks before to edit the skill level perks in the .exe (in response to me asking about the possibility of editing them).
Surely Delphi supports C calling conversion. A library to extract files would be easy to do. How should it return the bitmap? Like, return HBITMAP or write it to buffer or to disk?GreatEmerald wrote:Hmm, Delphi... One thing that would be really nice is to have an MMArchive library, so that I could have DArcomage use it to read MM7/standalone Arcomage resources directly, for copyright reasons. But it would have to be using the C calling convention for interfacing to work.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.
- GreatEmerald
- CH Staff
- Posts: 3330
- Joined: 24 Jul 2009
- Location: Netherlands
- GreatEmerald
- CH Staff
- Posts: 3330
- Joined: 24 Jul 2009
- Location: Netherlands
Yea, that's what it boils down to. I assume the pixel format is constant between all files.GrayFace wrote:Just a buffer. Pointer + Size.
And what about audio? Looks similar, buffer and length; though specs (sample rate, etc.) are also needed, is it constant between all files as well?
Well, damn.GrayFace wrote:Yes, MMExt version is coming soon, but it won't have that.BTB wrote:Is there anything for MMExtension planned/in the works? I recall you spoke of adding hooks before to edit the skill level perks in the .exe (in response to me asking about the possibility of editing them).
I guess I'll have to wait and see where I'm at when I have finished doing all I can possibly do without your help, then. I'm ultimately going to end up with a mostly-finished mod/overhaul with a small list of changes I can't do without editing the .exe, and I'm going to try and get that list as small as possible before I start bugging you about it again.
"You don't have to be a vampire to die like one... bitch." -Simon Belmont
That's because I want to release the level editor sooner.
8 bit with different palettes, but that shouldn't really matter.GreatEmerald wrote:I assume the pixel format is constant between all files.
Yes, why not.GreatEmerald wrote:And what about audio?
It's "the desired output format", so you choose what your program needs. Just use the example from https://wiki.libsdl.org/SDL_AudioSpecGreatEmerald wrote:And what about audio? Looks similar, buffer and length; though specs (sample rate, etc.) are also needed, is it constant between all files as well?
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.
- GreatEmerald
- CH Staff
- Posts: 3330
- Joined: 24 Jul 2009
- Location: Netherlands
Upon further review of what I'm working with, it's looking like the single most important thing I would need help doing is altering the base recovery times for weapons, as doing so will be crucial to maintaining game balance.
Second most important would be adding skill level perks (I took note of you saying that adding them is easier than removing them) for weapons and misc skills to go along with the above change.
Most everything else is more of a "wish list" change that I would like done, but not until those first two are addressed. I'm actually able to accomplish quite a bit through the level editor and some creative scripting... I just can't do much with shit that's hard-coded into the .exe is all.
Second most important would be adding skill level perks (I took note of you saying that adding them is easier than removing them) for weapons and misc skills to go along with the above change.
Most everything else is more of a "wish list" change that I would like done, but not until those first two are addressed. I'm actually able to accomplish quite a bit through the level editor and some creative scripting... I just can't do much with shit that's hard-coded into the .exe is all.
"You don't have to be a vampire to die like one... bitch." -Simon Belmont
Easily.BTB wrote:Upon further review of what I'm working with, it's looking like the single most important thing I would need help doing is altering the base recovery times for weapons, as doing so will be crucial to maintaining game balance.
Cool. I'd be interested to see what you've done when you're ready to show.BTB wrote:I'm actually able to accomplish quite a bit through the level editor and some creative scripting...
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.
Follow-up update
MMArchive v1.1.1
[-] Crash on some computers
Txt Edit v1.2.1
[+] Drag&drop files onto TxtEdit
[-] Crash on some computers
[-] Find/Replace didn't select text in multiline cells properly
MMArchive v1.1.1
[-] Crash on some computers
Txt Edit v1.2.1
[+] Drag&drop files onto TxtEdit
[-] Crash on some computers
[-] Find/Replace didn't select text in multiline cells properly
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.
Excellent!GrayFace wrote:Easily.
I just updated the initial post of my thread with some more information about what all I've been doing lately: viewtopic.php?t=14782GrayFace wrote:Cool. I'd be interested to see what you've done when you're ready to show.
Ctrl+F "Grayface" for all mentions of things I want to do, but can't on my own.
"You don't have to be a vampire to die like one... bitch." -Simon Belmont
Turns out I uploaded TxtEdit with a wrong name. Please redownload it.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 41 guests