Hi,
While I was working on my MBSE install I realise that what might be useful when
making a large
amount of changes to my BBS's menus would be having them in an ASCII format whi
ch I can then pass
through any number of tools, scripts, editors etc that I've built up over the ears.
So I wrote a quick Python script that "disassembles" MBSE .MNU files into a ser
ies of textual
descriptions of them that look like this:
//STARTENTRY
MenuKey|*
attributes|0
MenuType|1
OptionalData|main.mnu
Display|
level|0
flags|0
notflags|0
Age|0
xMaxSecurity|0
DoorName|
TypeDesc|Goto another menu
HiForeGnd|0
HiBackGnd|0
ForeGnd|0
BackGnd|0
//ENDENTRY
And of course I wrote quick assembler to turn a file with a series of these ent
ries into .MNU
files.
I'm pretty sure that everyone here has a long established board and no need to make a lot of
changes their menu definitions but just in case anyone else finds it useful, yo
u can grab it at
http://sampsa.com/mbseasm.tgz.
Sampsa
--- sampsa
--- MBSE BBS v1.0.4 (GNU/Linux-z/System)
* Origin: BIGIRON BBS - feel the power of Debian/390 (2:250/390)