{"id":19089375,"url":"https://github.com/naelstrof/unitysourcetools","last_synced_at":"2025-11-01T10:07:55.687Z","repository":{"id":143165832,"uuid":"119973464","full_name":"naelstrof/UnitySourceTools","owner":"naelstrof","description":"Some tools that I use to port source maps to Unity.","archived":false,"fork":false,"pushed_at":"2022-05-14T03:49:35.000Z","size":32,"stargazers_count":31,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-17T22:25:30.843Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/naelstrof.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-02T11:25:49.000Z","updated_at":"2024-12-18T20:07:31.000Z","dependencies_parsed_at":"2023-06-02T17:15:26.727Z","dependency_job_id":null,"html_url":"https://github.com/naelstrof/UnitySourceTools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/naelstrof/UnitySourceTools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naelstrof%2FUnitySourceTools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naelstrof%2FUnitySourceTools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naelstrof%2FUnitySourceTools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naelstrof%2FUnitySourceTools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naelstrof","download_url":"https://codeload.github.com/naelstrof/UnitySourceTools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naelstrof%2FUnitySourceTools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272582265,"owners_count":24959416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T03:01:27.561Z","updated_at":"2025-11-01T10:07:55.658Z","avatar_url":"https://github.com/naelstrof.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity Source Tools\n\nTODO polish this with pictures and videos and stuff.\n\nHere's a video I made a while back:\nhttps://www.youtube.com/watch?v=0a26cHPS-7g\n\n## How to use\n\n1. Convert bsp into vmf with bspsrc.\n2. Open vmf with hammer, export fbx/textures with zfbx.\n3. Convert bsp with crafty into obj, in order to get the compiled bsp mesh.\n4. Use vim macros to fix up material names in the .mtl\n5. Open obj with blender in order to load textures properly, then export compiled map as fbx.\n6. Set import scale to 0.01 (to match original import's size)\n6. Convert and import entire hl2 decals folder (zfbx won't do it for you, and we do spawn decals!)\n7. Import vmf as txt\n8. Run SourceTools-\u003eLoadVMF\n9. Place vmf text into vmf text slot\n10. Place compiled bsp fbx from crafty into MapFBX slot\n11. Set shader to \"Standard\" (should already be set)\n12. Set Rope and Decal prefabs to corresponding prefabs from SourceTools/Prefabs folder. (should already be set)\n13. Set Root model folder to where your model folder is located (so if your models folder is `Assets/maps/trainstation01/models/`, then you'd put `Assets/maps/trainstation01/`)\n14. Press generate, done!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaelstrof%2Funitysourcetools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaelstrof%2Funitysourcetools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaelstrof%2Funitysourcetools/lists"}