Sluicer Posted March 6, 2017 Share Posted March 6, 2017 I think it is time to create a topic for my ExtractNxgMESH tool. There were a few request for an update the last days and here it is. I was not able to assign it to one of the older posts directly. http://www.rockraidersunited.com/files/dl-r112/ Just extract the archive and drag the file you want to extract on the exe file. You can also use a console. You will get a lot of obj and mtl files. Hope it works. I know there is an issue with the normals in some files. le717, lol username and ProfessorBrickkeeper 3 Link to comment Share on other sites More sharing options...
ProfessorBrickkeeper Posted March 6, 2017 Share Posted March 6, 2017 Nice to see you continuing to update your ever-useful tools. One quick question- I know some .GSC files also house the .NUT (DDS) textures the models use, so does your tool support the extraction of those and UV-maps? Link to comment Share on other sites More sharing options...
Sluicer Posted March 6, 2017 Author Share Posted March 6, 2017 11 minutes ago, ProfessorBrickkeeper said: Nice to see you continuing to update your ever-useful tools. One quick question- I know some .GSC files also house the .NUT (DDS) textures the models use, so does your tool support the extraction of those and UV-maps? There are a lot of different versions of these files. Some might work, some might not. I never tried to extrall 'all' files. In the newest files there are no textures included and I currently focus on the newer files. But uv-maps should be contained in the obj files. Some of the files have two uv-sets (normal map), but since obj is not capable of that I can not extract both. If you have a file that is not working just name it and I could give it a closer look when I have it. ProfessorBrickkeeper 1 Link to comment Share on other sites More sharing options...
ProfessorBrickkeeper Posted March 7, 2017 Share Posted March 7, 2017 10 hours ago, Sluicer said: There are a lot of different versions of these files. Some might work, some might not. I never tried to extrall 'all' files. In the newest files there are no textures included and I currently focus on the newer files. But uv-maps should be contained in the obj files. Some of the files have two uv-sets (normal map), but since obj is not capable of that I can not extract both. If you have a file that is not working just name it and I could give it a closer look when I have it. Nice to hear UV mapping is now working, I always felt it was something missing from earlier versions of the tool. The files I mention with the embedded textures actually are rather relevant, as I believe they'll be making a comeback next month in the LEGO City: Undercover rerelease. The files contain an ordered directory of *.nut names, with the actual data for them beginning from each instance of the "DDS" header. If you want an example file, I'd check out the one in here, which is one of the games more "interesting" files. https://www.dropbox.com/s/r30dg1lalzpm4g9/LEGO_CITY_BOXART.zip?dl=0 Link to comment Share on other sites More sharing options...
Sluicer Posted March 7, 2017 Author Share Posted March 7, 2017 Here is a version that can handle your example: http://oresome.rockraidersunited.com/download/474 If you want to extract also the textures you will have to use the console and add '-DDS' as argument: ExtractNxgMESH.exe LEGO_CITY_BOXART_NXG.GSC -DDS You will get all images. But they will be in the same location as the source file (filenamewithoutextention + runningnumber + '.dds') - no ordered directory. And there is no connection to the obj files currently. ProfessorBrickkeeper 1 Link to comment Share on other sites More sharing options...
ProfessorBrickkeeper Posted March 8, 2017 Share Posted March 8, 2017 Thanks for the updated version, works like a charm! EDIT: Tt has once again thrown us a loop and updated the format in the latest LEGO Worlds update so that it is no longer compatible with your tool. Here's a demo file if you're ever in the mood to touch them again. https://www.dropbox.com/s/53dntytalgo0ttp/ROCKETSHIP_CUTSCENE_DX11.GHG.zip?dl=0 Link to comment Share on other sites More sharing options...
Sluicer Posted March 9, 2017 Author Share Posted March 9, 2017 I do not think that there is a new format or an unknown MESH chunk in your example. You have to look at the file name a little bit closer: ROCKETSHIP_CUTSCENE_DX11.GHG There is another tool to handle the _dx11.ghg files. I think the latest version can be found here: http://oresome.rockraidersunited.com/download/261 I was able (after changing GHG to ghg) to extract the meshes: ProfessorBrickkeeper 1 Link to comment Share on other sites More sharing options...
MilkPls Posted January 31, 2018 Share Posted January 31, 2018 Hi just wondering if this tool would be able to help with model from the force awakens game? Link to comment Share on other sites More sharing options...
Sluicer Posted March 2, 2018 Author Share Posted March 2, 2018 On 31.1.2018 at 2:12 PM, MilkPls said: Hi just wondering if this tool would be able to help with model from the force awakens game? I tested it with a few files and all of them were working: Link to comment Share on other sites More sharing options...
Hayatory Posted June 10, 2018 Share Posted June 10, 2018 Would this tools work for the lego jurassic world game? EDIT: I just ended up going to ninjaripper with it Link to comment Share on other sites More sharing options...
Rorybabory Posted June 20, 2018 Share Posted June 20, 2018 This comes up with an errror saying no argument handed over error. Im using windows 10 Link to comment Share on other sites More sharing options...
vipmedy2 Posted July 3, 2018 Share Posted July 3, 2018 hello there are 2 files from“lego the incredibles”,the dx11 tool cannot extract them please help. https://files.fm/u/egj8jjee Link to comment Share on other sites More sharing options...
oliacym Posted July 5, 2018 Share Posted July 5, 2018 Hi Sluicer, just using your extractdx11mesh tool on LEGO Marvel Super Heroes 2. Thank you so much for this, works perfectly, except I get an error with one model in particular: "Destination array is not long enough to copy all the items in the collection. Check array index and length." Here is the model in question: https://www.dropbox.com/s/zualgikk8wghd7v/OUTOFTIME_HULK_2099_DX11.ghg?dl=0 Am using Version 700246 of the tool if that helps. Thank you! Link to comment Share on other sites More sharing options...
Sluicer Posted July 12, 2018 Author Share Posted July 12, 2018 On 7/3/2018 at 11:27 AM, vipmedy2 said: hello there are 2 files from“lego the incredibles”,the dx11 tool cannot extract them please help. https://files.fm/u/egj8jjee I was not able to download the files. Sorry On 7/5/2018 at 11:54 AM, oliacym said: Hi Sluicer, just using your extractdx11mesh tool on LEGO Marvel Super Heroes 2. Thank you so much for this, works perfectly, except I get an error with one model in particular: "Destination array is not long enough to copy all the items in the collection. Check array index and length." Here is the model in question: https://www.dropbox.com/s/zualgikk8wghd7v/OUTOFTIME_HULK_2099_DX11.ghg?dl=0 Am using Version 700246 of the tool if that helps. Thank you! I was able to extraxt the mesh with this version of the tool. I was not able to test if also other files are still working. In the file there were (I call them) relative vertex lists. For the MESH chung in version 0xAF I analyzed them the first time. They use them to create animations (movements of the vertices) of the model. With this version you can not extract the different frames. Link to comment Share on other sites More sharing options...
vipmedy2 Posted July 13, 2018 Share Posted July 13, 2018 I upload the file to another site https://ufile.io/8ce5s it is a ghg file of “lego the incredibles” Link to comment Share on other sites More sharing options...
oliacym Posted July 13, 2018 Share Posted July 13, 2018 12 hours ago, Sluicer said: I was able to extraxt the mesh with this version of the tool. I was not able to test if also other files are still working. Ahh it worked yes! You genius, thank you Link to comment Share on other sites More sharing options...
Sluicer Posted July 13, 2018 Author Share Posted July 13, 2018 10 hours ago, vipmedy2 said: I upload the file to another site https://ufile.io/8ce5s it is a ghg file of “lego the incredibles” I was able to download the file. It contains a new MESH chunk verison: 0xC8. With this version of the tool I was able to extract the meshes. Please respect that this was the only file I had to test. vipmedy2 1 Link to comment Share on other sites More sharing options...
vipmedy2 Posted July 13, 2018 Share Posted July 13, 2018 32 minutes ago, Sluicer said: I was able to download the file. It contains a new MESH chunk verison: 0xC8. With this version of the tool I was able to extract the meshes. Please respect that this was the only file I had to test. I tested multiple files and it was valid Thank you ! Link to comment Share on other sites More sharing options...
Sluicer Posted July 17, 2018 Author Share Posted July 17, 2018 On 7/13/2018 at 5:56 AM, vipmedy2 said: I upload the file to another site https://ufile.io/8ce5s it is a ghg file of “lego the incredibles” Your file let my play again: Link to comment Share on other sites More sharing options...
Floh Posted August 17, 2018 Share Posted August 17, 2018 Hello, I need your help I'll try to extract modells from Harry Potter year 1-4. I've got obj and mesh-files but there are no textures included is there a version of the extraction tool, that could help me? Link to comment Share on other sites More sharing options...
Sluicer Posted August 19, 2018 Author Share Posted August 19, 2018 Did you try the following: On 3/8/2017 at 12:49 AM, Sluicer said: Here is a version that can handle your example: http://oresome.rockraidersunited.com/download/474 If you want to extract also the textures you will have to use the console and add '-DDS' as argument: ExtractNxgMESH.exe LEGO_CITY_BOXART_NXG.GSC -DDS You will get all images. But they will be in the same location as the source file (filenamewithoutextention + runningnumber + '.dds') - no ordered directory. And there is no connection to the obj files currently. Link to comment Share on other sites More sharing options...
Floh Posted August 21, 2018 Share Posted August 21, 2018 Thank you for your response but the solution doesn't work. I use the console command: ExtractNxgMESH.exe HAGRID_NXG.GHG -DDS but there are no dds-files only mesh- and obj-files. Please, can anybody help me? Link to comment Share on other sites More sharing options...
Sluicer Posted September 18, 2018 Author Share Posted September 18, 2018 Can you give it a try with this version. For me it worked. Link to comment Share on other sites More sharing options...
Floh Posted October 11, 2018 Share Posted October 11, 2018 it works - now I get the textures Thank you very much for your help Link to comment Share on other sites More sharing options...
Stanislav94 Posted October 22, 2018 Share Posted October 22, 2018 Hi! unfortunately i can't unpack this one what is the problem with this file? https://ufile.io/g6g0e Link to comment Share on other sites More sharing options...
Recommended Posts