mumboking Posted January 21, 2013 Share Posted January 21, 2013 I just discovered how to extract the JAM file from the N64 version of LEGO Racers. Here's how I did it: Acquire LEGO Racers N64 rom. (You're on your own here.) Make a backup of the rom just in case you overwrite it by accident. Open the rom in a hex editor. I used HxD. If you don't see "LEGORacers" at the offset 0x20 (dec 32), use Tool64 to change the rom to Big Endian format. Search for the string "LJAM" and find the second result. Delete all data before the second "LJAM". Save the file as something like "N64LEGO.JAM". Extract the JAM file using a JAM extractor. I'm not sure how much of the data on the end is unrelated, but the extractor completed successfully for me. No, the N64 JAM cannot be used in place of the PC one. I have, however, used the circuit files from the N64 JAM on the PC version. Moving objects are glitchy though. This method also works for extracting the JAM from Paperboy on the N64. LeonidaselXD, lol username and Quisoves Potoo 2 1 Link to comment Share on other sites More sharing options...
JrMasterModelBuilder Posted January 21, 2013 Share Posted January 21, 2013 Clever! The extraction will work perfectly because it only processes the header and extracts the files from their offset from the beginning of the file. Since nothing will reference anything beyond that, it will simply ignore the extra data. Link to comment Share on other sites More sharing options...
dead_name Posted January 21, 2013 Share Posted January 21, 2013 Fascinating. I'll do this when I get home and run some difference-checking against the PC version. Link to comment Share on other sites More sharing options...
lu9 Posted January 22, 2013 Share Posted January 22, 2013 Awesome! Now all we need to know is how to compile it again Link to comment Share on other sites More sharing options...
mumboking Posted January 22, 2013 Author Share Posted January 22, 2013 I just tried modding the JAM and re-inserting it. This is the method I used: 1. Modify the JAM files. 2. Rebuild the JAM. 3. Open the rom in a hex editor. 4. Search for the string "LJAM". It should be the second result. 5. Delete all data after and including the second "LJAM". 6. Paste the contents of the recompiled JAM at the end of the rom. Notes: Unsure if this messes up part of the game somewhere, as I don't know the offset for the end of the JAM in the rom. It at least runs and can get into a race on Imperial GP. It seems that the N64 version doesn't like 8 bit bitmaps, corrupted graphics appear instead. 24 bit bmps froze the game. Only tested once. Modified SRF files do work. Link to comment Share on other sites More sharing options...
Jack Bluebeard Posted July 29, 2013 Share Posted July 29, 2013 Hey guys, I've tryed with that method, but when I'm going to extract the JAM file my JAMExtractor gives me an empty folder. So, I've a question for you: the LJAM string is that after a string called "Error reading JAM file" offset 00001390 and 000013A0. Is that LJAM that you were saying? Or maybe is another string? Please answer me Link to comment Share on other sites More sharing options...
Noob Slayer Posted August 3, 2013 Share Posted August 3, 2013 You have to hit "find" 2 times. There's the first result, and then go to find and type in LJAM again for the 2nd result. That'll give you the correct string. Link to comment Share on other sites More sharing options...
Modded Lego Posted August 4, 2013 Share Posted August 4, 2013 WOW! You guys found out how to extract the N64 version, Good Job! Rock Raiders United Is Really Rising to the occasion! Keep up the good work! Link to comment Share on other sites More sharing options...
Noob Slayer Posted December 22, 2014 Share Posted December 22, 2014 I'm really wondering how to do this for the PSX jam. I loaded up a ROM into HxD and deleted all data before the LJAM string (strangely, there was only one LJAM string). When I tried extracting it, the extractor couldn't do it. LeonidaselXD 1 Link to comment Share on other sites More sharing options...
Recommended Posts