TheDoctor Posted March 20, 2011 Share Posted March 20, 2011 Well I'm an idiot and no one wants to tell me how the LRR map format format works, so I'm going to ask here. I want to make something to generate LRR map files, but first I have to figure this out (and figure out byte stuff in java). I know there's some header stuff, but thats about it. Link to comment Share on other sites More sharing options...
Sonic322 Posted March 20, 2011 Share Posted March 20, 2011 Don't you have the game? And isn't there a page about it on the wiki? Link to comment Share on other sites More sharing options...
TheDoctor Posted March 20, 2011 Author Share Posted March 20, 2011 Don't you have the game? And isn't there a page about it on the wiki? Sonic, let me explain something to you. You're not helping. What I need is the format for the map files. I indeed do have the game, hence the game owner award. The thing is, the game doesn't come with documentation on how the map files work. People here know how they work. Ergo, I want those people to post and not people asking useless questions and being as nonconstructive as possible. I did check the wiki. What's there is some data values for different tiles. Either you were not able to understand my question, or that you didn't check the wiki. I suspect both of those might be the case. If you don't mind, actually helpful information here would be appreciated. Link to comment Share on other sites More sharing options...
Cyrem Posted March 20, 2011 Share Posted March 20, 2011 http://xyz.net/rockraidersmapformat.php Link to comment Share on other sites More sharing options...
TheDoctor Posted March 20, 2011 Author Share Posted March 20, 2011 On 3/21/2011 at 9:01 AM, Cyrem said: Thank you. Unfortunately, i'll have to look at this a bit later, as I need to go now. Link to comment Share on other sites More sharing options...
Tauka Usanake Posted March 21, 2011 Share Posted March 21, 2011 Can I ask what files are being opened? I looked at the files in a level folder and can't read anything. Or am I supposed to be reading them in a hex editor or something? Link to comment Share on other sites More sharing options...
TheDoctor Posted March 21, 2011 Author Share Posted March 21, 2011 Yes. The map files are in hex so need to be read in a hex editor. I needed the format for a project I'm going to be working on. Link to comment Share on other sites More sharing options...
Amauros Posted March 21, 2011 Share Posted March 21, 2011 After looking at cyrem's link, I take it that the limit of a map size is indicated by the maximum area: FFFF. By my calculations, the largest square map possible would be 181x181; that's a huge map... I'm kinda glad there's a cap at 80 so people don't make terribly large maps. Link to comment Share on other sites More sharing options...
Addictgamer Posted March 21, 2011 Share Posted March 21, 2011 After looking at cyrem's link, I take it that the limit of a map size is indicated by the maximum area: FFFF. By my calculations, the largest square map possible would be 181x181; that's a huge map... I'm kinda glad there's a cap at 80 so people don't make terribly large maps. O.T. I hate it. Um...Ya...That's all I have to say... Link to comment Share on other sites More sharing options...
TheDoctor Posted March 21, 2011 Author Share Posted March 21, 2011 Well since I don't plan on letting people make maps that huge, I'll just see what a good upper limit is. 128x128 is probably the absolute max I'll let it go. Remember the RAM, children. ANYWAYS, I've got it to write the header and map size stuff right (I think), and I have a way for making the tile data work. I'll stick a GUI on it and see what I can do. Link to comment Share on other sites More sharing options...
Recommended Posts