I got bored...
Posted: Tue Feb 01, 2005 9:57 am
...so I wrote a QB program to display ZZT boards. HERE YOU GO: http://www.spectere.net/files/brdview.zip
DOS application, should run on anything ZZT runs on. It gives you some board information before displaying it. Nothing fancy, I just needed something to do so yeah.
It doesn't peer into .ZZT files at all, which kind of limits its usefulness. You need to export boards to the .BRD format before this'll do anything. It displays lines, objects, and text properly. It should look almost identical to how it would look in ZZT. This actually has a lot more potential than is actually programmed in, since it saves most aspects of the board into memory (like all of the stats objects, sans ZZT-OOP code, which is discarded) but, eh, I'm lazy and tired.
You can either pass it a board file on the command line or just when you run the program (it lists all board files in the current directory because I'm so damn nice). It will even automatically attach the .BRD extension if you neglect to put it. WOW!
I included the source code (QuickBasic) inside of the ZIP, as well as a compiled EXE (compiled in QBX 7.1). THE SOURCE CODE BLOWS GUYS, I'M WARNING YOU. I write fairly managable and organized VB 6/.NET code but when it comes to QuickBasic code I just get all like OH FUCK THIS. Probably the most valuable part of the code are the screen drawing routines (which I snagged from some random web site). They are pretty obvious to use and if you can't figure it out the retardedly simple sub syntax then, quite frankly, you probably shouldn't be screwing around with them.
The largest board I gave it was, like 12K (which it rendered nicely...I think it was one of Nadir's toolkits). It should handle larger boards without a problem (since it completely discards ZZT-OOP code) but hey, you never know.
That is all. FEEL FREE TO POST ABOUT HOW MUCH IT SUCKS.
DOS application, should run on anything ZZT runs on. It gives you some board information before displaying it. Nothing fancy, I just needed something to do so yeah.
It doesn't peer into .ZZT files at all, which kind of limits its usefulness. You need to export boards to the .BRD format before this'll do anything. It displays lines, objects, and text properly. It should look almost identical to how it would look in ZZT. This actually has a lot more potential than is actually programmed in, since it saves most aspects of the board into memory (like all of the stats objects, sans ZZT-OOP code, which is discarded) but, eh, I'm lazy and tired.
You can either pass it a board file on the command line or just when you run the program (it lists all board files in the current directory because I'm so damn nice). It will even automatically attach the .BRD extension if you neglect to put it. WOW!
I included the source code (QuickBasic) inside of the ZIP, as well as a compiled EXE (compiled in QBX 7.1). THE SOURCE CODE BLOWS GUYS, I'M WARNING YOU. I write fairly managable and organized VB 6/.NET code but when it comes to QuickBasic code I just get all like OH FUCK THIS. Probably the most valuable part of the code are the screen drawing routines (which I snagged from some random web site). They are pretty obvious to use and if you can't figure it out the retardedly simple sub syntax then, quite frankly, you probably shouldn't be screwing around with them.
The largest board I gave it was, like 12K (which it rendered nicely...I think it was one of Nadir's toolkits). It should handle larger boards without a problem (since it completely discards ZZT-OOP code) but hey, you never know.
That is all. FEEL FREE TO POST ABOUT HOW MUCH IT SUCKS.