ZenHAX
http://zenhax.com/

QuickBMS Notepad++ User-defined Language
http://zenhax.com/viewtopic.php?f=17&t=1003
Page 1 of 1

Author:  puggsoy [ Sun May 31, 2015 11:56 am ]
Post subject:  QuickBMS Notepad++ User-defined Language

I use Notepad++ to create and edit QuickBMS scripts (makes indentation easier). However today I looked into making custom syntax colouring and such for it, and it wasn't too hard. Basically I just made it colour various commands and data types, as well as comments and strings. It makes script a bit more readable and less bland to look at. It also allows you to collapse if statements and loops.

I've attached an XML file with the language definition. To use it, in Notepad++ go to Language -> Define your language, then click Import and select the XML file. It should automatically detect .bms files to be displayed using that definition.

Hopefully this is helpful for some people, I definitely think it makes scripts easier to read :)

Attachments:
quickbms_udl.zip [1.25 KiB]
Downloaded 195 times

Author:  aluigi [ Sun May 31, 2015 2:00 pm ]
Post subject:  Re: QuickBMS Notepad++ User-defined Language

There is also one on my website:
http://aluigi.org/papers/bms/userDefineLang.xml

I have only to add few recent algorithms and a couple of commands but it should be quite complete.
Maybe take a look at it too.

Author:  aluigi [ Sun May 31, 2015 2:16 pm ]
Post subject:  Re: QuickBMS Notepad++ User-defined Language

I have just updated it by adding NameCRC and Codepage plus all the remaining compression and encryption algorithm that have been introduced in the recent versions.

Author:  puggsoy [ Sun May 31, 2015 2:24 pm ]
Post subject:  Re: QuickBMS Notepad++ User-defined Language

Ah, didn't know that existed. That one's much better than mine :P

Guess I'll be using that now, thanks!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/