Yellowkey Posted August 11, 2015 Share Posted August 11, 2015 Hi everyone, I recently looked into the RRU-Wiki and saw that the BLX-Format is still unkown, so I decided to share my knowledge with you. It contains 16*16 Images for the *.map file with the same name. One Images for each possible tileid. I guess they were used for the editor. I figured out the format by examining it with a hexeditor. All values are encoded in Little Endian. Header: "BLX " (4 Bytes, note the Space) Number of Images (4 Bytes) Width (4 Bytes) Height (4 Bytes) Unkown (4 Bytes, I guess this is some kind of Id for for Format, for example 11 for the surface map) Unkown (4 Bytes, I guess this is the file version) Images (BGR565) If you don't want to encode the files yourself, I attached some samples + testprogram + source code (PureBasic, should work with demo). The Testprogram converts all *.blx files in the same directoy to *.png. Emrg: Dugg: Cror: Surf Tuto: Fall: Erod: High Download Program+Source risingstar64, le717, Sadie Meowsalot and 9 others 12 Link to comment Share on other sites More sharing options...
le717 Posted August 11, 2015 Share Posted August 11, 2015 What a post. This is great information! I'll see about adding it to the wiki. Thank you! File attachments, unfortunately, do not work at this time, so I can't download your code. However, if you can put them in a zip or something and upload them to Oresome Bucket and edit the post with the link, everyone will then be able to access your work. Link to comment Share on other sites More sharing options...
McJobless Posted August 11, 2015 Share Posted August 11, 2015 You're an absolute legend. Many thanks! Link to comment Share on other sites More sharing options...
Yellowkey Posted August 13, 2015 Author Share Posted August 13, 2015 Okay, I uploaded program and source code to Oresome Bucket. download here. le717 1 Link to comment Share on other sites More sharing options...
Recommended Posts