Skip to content

Instantly share code, notes, and snippets.

@DrakiaXYZ
Last active May 26, 2024 22:04
Show Gist options
  • Save DrakiaXYZ/b828010db2252f5ed34c4c5c839e4ccc to your computer and use it in GitHub Desktop.
Save DrakiaXYZ/b828010db2252f5ed34c4c5c839e4ccc to your computer and use it in GitHub Desktop.
General steps to extract a map and load it into Unity:
------------------------
1) Use AssetRipper to extract all level files for the target map (Select all associated files in Explorer, and drag into AssetRipper, all at once)
2) Move the files from the "level###/ExportedProject" folder to wherever you want your project to live, you can delete the "level###" folder (I tend to move the files from ExportedProject into "D:\TarkovMaps\Customs\" for Customs example)
3) Delete "AnimationClip", "AudioClip", "OcclusionCullingData", "Plugins", "Scripts" and "VideoClip" folders from the Assets folder
4) In UnityHub, select the dropdown beside "Open" and choose "Add Project from Disk", select the folder containing your level files
5) Click the folder in your project list, and wait for Unity to import the map assets (This takes a while)
6) Select all of the scenes from the "Scenes" folder in the Project panel, and drag them into the Hierarchy panel (This step will take a while)
Getting terrain and objects to show if they are invisible:
-------------------------
Add the "EFTCleaner.cs" script to the Unity project, and it should add a new "EFTCleaner" menu at the top of the window.
There are three helper functions in the EFTCleaner menu, you should run all of these in this order on first load:
"Setup Layers" - This names all of the layers, and sets them up for use by the other functions
"Show Missing Terrain" - This will unhide terrain, which gets hidden for some reason
"Show Missing Objects" - This will unhide objects, which also get hidden for some reason
Save the project, this step may take a while as it has to save each scene. You may need to re-run the "Show" options the next time you load Unity (Haven't quite figured out how to make it save that I've shown things)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment