Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: ERM extension - UDL plugin for Notepad++ (started by gamemaster in September 2019)
ERM extension - UDL plugin for Notepad++
gamemaster
gamemaster


Adventuring Hero
posted September 02, 2019 10:53 PM
Edited by gamemaster at 22:54, 02 Sep 2019.

ERM extension - UDL plugin for Notepad++

Here is plugin for Notepad++. Actually it is UDL profile for erm file. It is not 100% perfect but it is enough for fast viewing of scripts.



https://dropmefiles.com/FmwWM
https://nitroflare.com/view/E892DBE03CDFB87/erm.xml

Now to install in Notepad++:
1. Language > Define your language... > Import
2. SaveAs some name
3. From Language menu select name you used in step 2.

It is not hard to change color as you wish.

 View Profile
Hawaiing
Hawaiing


Adventuring Hero
posted September 03, 2019 02:56 AM


good plugin,like it much,thanks a lot

 View Profile
AlfWithCake
AlfWithCake


Known Hero
posted September 03, 2019 07:54 AM

 ERM language in notepad++, didn't think anyone would do that and that's hella good news. Now everything looks pretty and readable

 View Profile
avatar
avatar


Promising
Supreme Hero
posted September 03, 2019 08:03 AM

AlfWithCake said:
Now everything looks pretty and readable

So, it looks like in ERM Scripter
____________

 View Profile
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted September 03, 2019 08:44 AM

yeah, what for? Erm scripter opens in half a second. Is about the additional colors?
____________
Era II mods and utilities

 View Profile
Bersy
Bersy


Honorable
Supreme Hero
posted September 03, 2019 10:02 AM

Great work indeed! What's about valid line endings #10 and document end mark #13?
Val, Notepad++ is customizable enhanced editor, supporting plugins, folding, custom hot keys, etc.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 View Profile
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted September 03, 2019 10:43 AM

Ok thanks for explanation

 View Profile
AlfWithCake
AlfWithCake


Known Hero
posted September 03, 2019 05:47 PM
Edited by AlfWithCake at 18:33, 03 Sep 2019.

 Notepad++ honestly just feels nicer, it could be me just feeling used to it, but when I think about it, ERM editor doesn't have many of quality of life options notepad++ has. As an example, "Find" window alone is a huge accelerator, allowing to use regular expressions and counting number of matches.

 View Profile
Warmonger
Warmonger


Promising
Legendary Hero
fallen artist
posted September 03, 2019 07:53 PM

Shocking fact: Salamandre is not a professional developer and did all his works with some amateurish, primitive tools
____________
The future of Heroes 3 is here!

 View Profile
avatar
avatar


Promising
Supreme Hero
posted September 03, 2019 07:58 PM

ERM Scripter is primitive?
____________

 View Profile
gamemaster
gamemaster


Adventuring Hero
posted September 03, 2019 08:19 PM
Edited by gamemaster at 20:24, 03 Sep 2019.

Thanks.

Just to clarify.
UDL is plugin for Notepad++ and source can be found on internet. It come pre-installed with Notepad++. With UDL you can make custom coloring scheme based on keywords, delimiters, groups ...

As such, it is not 100% what true erm editor need. It is not possible to make coloring for !!xx/xx:xx/xx/xx; format. But it can emulate something really close to that. All i did is to make coloring for erm to make it easier to read. It took me ~1h.

Like AlfWithCake stated, There are advantages of Notepad++ use. You can make compare files, count string instance, search strings, coloring tokens (my favorite ) ... It is especially handy if notepad is default text view/editor on system.

All begun with needed to find some overlapping between master of summoning (MOS) erm and Phoenix erm. So i share because it may be handy for others...
Problem is:
During selection of unit in MOS dialog it is not possible to change castle types if Phoenix mod is presented. Without Phoenix MOS work all right.

Bersy said:
Great work indeed! What's about valid line endings #10 and document end mark #13?

Don't let hope overwhelm you . I'm not sure is that possible. Assume this as handy , dirty quick assembly tool. So no big updates in future.

Anyway, This is fast and dirty handy tool.

 View Profile
Bersy
Bersy


Honorable
Supreme Hero
posted September 03, 2019 09:23 PM

I usually resave script in ERM editor after editing in Sublime Text. Resaving fixes line endings and inserts #13.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 View Profile
gamemaster
gamemaster


Adventuring Hero
posted September 03, 2019 09:40 PM

There is option in Notepad++ too, for those who use it
Edit > Blank Operations > Trim Trailing Space
Than save file.

 View Profile
Hugursign
Hugursign

Tavern Dweller
posted July 10, 2024 11:11 PM
Edited by Hugursign at 23:11, 10 Jul 2024.

It looks great for quickly checking out scripts. Installing it is straightforward: just import the XML file under Language > Define your language..., save it with a name, and then select it from the Language menu.
For keeping track of tweaks or color changes you make, https://notesonline.com/ could be handy to jot down your customization steps. Exploring other UDL setups for similar scripts might also give you ideas for further customization—happy coding

 View Profile
Jump To: « Prev Thread . . . Next Thread »
Post New Poll   Post New Topic   Post New Reply

Page compiled in 0.0411 seconds