Jump to content
  • entries
  • comments
  • views

Sector Editor



  • applied Reposition Kernel optimizations from Omegamatrix which freed up 105 bytes
  • created a sector editor for user submitted Delta levels.
  • revised the pause screen to show the blinking starfield instead of a black screen with text

At the moment there's 408 bytes free of ROM.

I'd originally planned to try to write the Sector Editor as a web app and put it up on my site. Harvey put me a bit behind schedule, and since I've not written a web app like this before I decided a command line program would be more expedient. The program's called dracsec. To run it, download the draconian.bin file and put it in the same directory as dracsec. Also in the directory is a file called sectors.txt which can contain up to 4 sector layouts. dracsec will patch the bin file, to run it you'll open a command prompt/terminal window and executive the following:

Linux & Mac:

./dracsec draconian.bin sectors.txt

dracsec draconian.bin sectors.txt

Note: you'll use draconian_20170913.bin for this build. I had to modify the level data so dracsec could locate it, so dracsec will only work with this and future builds of Draconian (and won't work anymore once the final 16 Delta levels are in place).

The text file's in a fairly simple format. You'll have a line specifying the initial X and Y location of the player's ship, followed by 1-8 lines for station locations. The station starts out with the Orientation followed by its X and Y location. You can repeat this sequence up to 3 more times for a total of four sectors.

Allowable X and Y values are 0 to 255 to position the station within the sector.

Additionally you can use -1 to -8 for the X value and -1 to -16 for the Y value. These values refer to the radar pixel locations and will be converted to the appropriate 0-255 value to light up a specific radar pixel. In radar pixels -1 -1 denotes the top-left corner while -8 -16 is the bottom right.

For the stations the Orientation is H for Horizontal and V for Vertical. The orientation denotes which direction the E-Type missiles will be launched from the station.

Blank lines and anything following an * will be ignored.

* sector 1-4 -8 * player positionv -1 -1v -2 -2v -3 -3v -4 -4v -5 -5v -6 -6v -7 -7v -8 -8 * sector 2-4 -8 * player positionv -3 -8v -5 -8v -4 -7v -4 -9 * sector 3-4 -8 * player positionh -3 -8h -5 -8h -4 -7h -4 -9 * sector 4110 118 * player positionh 9 0v 40 17h 233 240v 200 225h 9 240v 40 225h 233 0v 200 17

So please give dracsec a spin and let me know if you run into any problems - don't forget to change the QUADRANT to Δ (delta) to playtest your levels. I plan to post a topic this weekend for the sector design contest.

dracsec builds:

For Harmony or Stella (requires Stella 5.0.2 or newer)

  • Like 2


Recommended Comments

You should change the CUSTOMNAME in the Makefile from testarm to draco or similar :)


(though don't use draconian or it will collide with the 2600 bin file) ...



  • Like 1

Share this comment

Link to comment

I've allocated space for 16 Δ Sectors. Each person will be allowed to submit one build with 4 sectors. It's possible all 4 of their sector layouts could be selected.

Looking at the calendar, the submissions will need to be in by the end of September 30th. Voting on the levels will take place first week of October, concluding on the 7th as I plan to post the Release Candidate on the 8th. Haven't worked out the details yet but some of the sectors will be selected by public, while some of them might be chosen by me, Nathan, iesposta, etc. as "Programmer's Choice", "Designer's Choice", etc.

Share this comment

Link to comment
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...