Resource centre for ZX Spectrum games
      using Manic Miner and Jet Set Willy game engines

 

Archive of the

Manic Miner & Jet Set Willy Yahoo! Group

messages

 

 

 

Message: 4883

Author: john_elliott_uk

Date: 04/09/2005

Subject: Re: File formats and other matters

 

--- In manicminerandjetsetwilly@yahoogroups.com, jgh@a... wrote:

> > Message-ID:
>
> Talking of file formats, does anybody know what the structure of
> the .JSE room definition file is? It is 512 bytes long, with the
> first 256 bytes being the normal room data. What is in the second
> 256 bytes?

[Disassemble disassemble]
The first 256 bytes are the room except that byte 0EDh is set to the
room number (this byte is often used by 'sprites by room' patches).

The next 128 bytes contain the guardian instances used in the room,
terminated by 0FFh.

The last 128 bytes contain the positions of items in the room; if
there are fewer than 64, the list is terminated by 0FFh. Two bytes per
item, corresponding to the bytes at A400h+n and A500h+n respectively.

(I haven't tested any of this because I haven't managed to persuade
xzx or fuse to save a JSE file; so treat with the appropriate degree
of caution).

 

 

arrowleft
arrowright