MMArchive and Txt Edit update (Feb 8, 2020)

The role-playing games (I-X) that started it all and the various spin-offs (including Dark Messiah).

Moderator: Moderators

User avatar
GrayFace
Columbus
Columbus
Posts: 1492
Joined: 29 Nov 2005

MMArchive and Txt Edit update (Feb 8, 2020)

Postby GrayFace » Feb 1 2020, 11:20

I've updated my tools:

MMArchive v1.3
[+] Support for bitmaps.lwd, an archive format made for full color HD bitmaps loaded by MM7 and MM8 patches exclusively for hardware-accelerated rendering mode.
[+] Better transparent color detection during import.
[+] Palettes preview.
[+] After you create an archive from a selection of files, it's added to recent files list.
[-] Unpacking errors while dragging files onto other apps were leading to MMArchive hanging.
[-] "Ignore Unpacking Errors" option state wasn't preserved on program restart.
[-] Misleading default file type when creating new archive.

Txt Edit v1.4
[+] "Fill Cells" menu command that is similar to Paste, but fill all selected cells with the clipboard data.
[+] Better column width calculation.
[+] "Font Height" and "Font Name" INI options let you change the main font.
[+] Czech language by Templayer.
[-] Sometimes hint was shown even for fully visible cells.
[-] Pressing right mouse button was resetting multi-cell selection.

Go to https://grayface.github.io/ to download them.

Previous update thread: https://www.celestialheavens.com/forum/4/16259
Last edited by GrayFace on Feb 9 2020, 13:43, edited 3 times in total.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

User avatar
DaveHer
Assassin
Assassin
Posts: 273
Joined: 13 Mar 2019

Re: MMArchive and Txt Edit update (Feb 1, 2020)

Postby DaveHer » Feb 1 2020, 16:43

Thanks for the new tools. I am redoing Maestro's MM7 mod. The images look very,very Good. They almost look like 24 bitmaps and I know it has to do with the late patch. Thanks again. :-D
David

User avatar
GrayFace
Columbus
Columbus
Posts: 1492
Joined: 29 Nov 2005

Re: MMArchive and Txt Edit update (Feb 8, 2020)

Postby GrayFace » Feb 9 2020, 13:44

Updated both again:
MMArchive v1.3.1
[+] When importing a texture or a sprite that isn't 8 bit, previous palette is used if the file exists in the archive.
[–] Mipmaps for transparent textures were generated with a blue border.

Txt Edit v1.4.1
[–] Copy command was broken in some circumstances.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

cthscr
Peasant
Peasant
Posts: 80
Joined: 12 Jan 2020

Re: MMArchive and Txt Edit update (Feb 8, 2020)

Postby cthscr » Feb 20 2020, 15:20

Is it possible (I mean, without a lot of efforts) to add filter option in TxtEdit? (I.e. filter by specified column value.) Might be useful for 2DEvents.txt or Items.txt.

(I personally always can into awk though.)

User avatar
tomchen1989
Pixie
Pixie
Posts: 100
Joined: 21 Jun 2008
Location: Europe / China

Re: MMArchive and Txt Edit update (Feb 8, 2020)

Postby tomchen1989 » Feb 20 2020, 19:27

Thank you for the update.

Simplified Chinese and Traditional Chinese translation files are here:
https://github.com/might-and-magic/mm67 ... t/Language

Minor bug

Image
Program's name should actually use Windows SystemLocale (in my case, zh_CN), instead of local language's "GlobalCharset" (in my case in the screenshot, cp1251/RUSSIAN_CHARSET)
(My windows' interface is English but the SystemLocale is zh_CN)

Minor suggestion

Interface language is one thing, character encoding is another, it would be better if it has another option that can change character encoding.

I understand in current status, we are still able to open a file in another encoding, by changing interface language, or, if the interface language does not exist, creating a new language file which can even be almost empty and only declare something like "GlobalCharset ???_CHARSET". But this is not that ideal.

Example encodings include:
ANSI_CHARSET cp1252 (en, fr, de, es, it)
RUSSIAN_CHARSET cp1251 (ru)
EASTEUROPE_CHARSET cp1250 (cz, pl)
GB2312_CHARSET gb2312 (zh_CN)
CHINESEBIG5_CHARSET big5 (zh_TW)
euc-jp (jp)
euc-kr (kr)
And finally, UTF-8. I know, MM games do not support it, but, I sometimes save my tab-separated table as UTF-8 encoded .txt file, when one 'classic' encoding is not enough, example:
https://github.com/might-and-magic/mm67 ... mlist.list
https://github.com/might-and-magic/mm67 ... trans.list

Further suggestion

Actually, if TxtEdit has settings to allow encoding change, as well as EOL selection, comma/tab seperator switch, it'll become a very decent tool that can edit not only MM's .txt, but ANY table/CSV files. But, you know, it's just a long-term, possibly out-of-scope suggestion.

cthscr
Peasant
Peasant
Posts: 80
Joined: 12 Jan 2020

Re: MMArchive and Txt Edit update (Feb 8, 2020)

Postby cthscr » Mar 2 2020, 22:29

Could it be possible to select files without extension in MMArchive?

User avatar
GrayFace
Columbus
Columbus
Posts: 1492
Joined: 29 Nov 2005

Re: MMArchive and Txt Edit update (Feb 8, 2020)

Postby GrayFace » Apr 8 2020, 17:04

cthscr wrote:Could it be possible to select files without extension in MMArchive?

It already is.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

cthscr
Peasant
Peasant
Posts: 80
Joined: 12 Jan 2020

Re: MMArchive and Txt Edit update (Feb 8, 2020)

Postby cthscr » Apr 10 2020, 18:28

GrayFace wrote:
cthscr wrote:Could it be possible to select files without extension in MMArchive?

It already is.

Oh, it really is. Thanks.

cthscr
Peasant
Peasant
Posts: 80
Joined: 12 Jan 2020

Re: MMArchive and Txt Edit update (Feb 8, 2020)

Postby cthscr » Apr 16 2020, 9:02

MMArchive 1.3.1 won't release export directory after export has been finished. (So you can't move directory while MMArchive is opened.)

Not sure if it's bug or undocumented feature.

User avatar
GrayFace
Columbus
Columbus
Posts: 1492
Joined: 29 Nov 2005

Re: MMArchive and Txt Edit update (Feb 8, 2020)

Postby GrayFace » Apr 23 2020, 7:45

cthscr wrote:MMArchive 1.3.1 won't release export directory after export has been finished. (So you can't move directory while MMArchive is opened.)

It's a bug of Windows, specifically its open dialog.
Last edited by GrayFace on Apr 23 2020, 7:47, edited 1 time in total.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.


Return to “Might and Magic”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 7 guests