{"id":20157257,"url":"https://github.com/robinka/source_2_resource_decompiler","last_synced_at":"2025-04-09T22:52:58.886Z","repository":{"id":19858337,"uuid":"23121474","full_name":"RobinKa/source_2_resource_decompiler","owner":"RobinKa","description":"Decompiles the various _c formats into the content assets, can be used to decompile dota assets.","archived":false,"fork":false,"pushed_at":"2014-08-20T02:38:07.000Z","size":188,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-09T22:52:54.587Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobinKa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-19T18:40:21.000Z","updated_at":"2024-12-05T17:41:06.000Z","dependencies_parsed_at":"2022-08-02T15:45:16.182Z","dependency_job_id":null,"html_url":"https://github.com/RobinKa/source_2_resource_decompiler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinKa%2Fsource_2_resource_decompiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinKa%2Fsource_2_resource_decompiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinKa%2Fsource_2_resource_decompiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinKa%2Fsource_2_resource_decompiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobinKa","download_url":"https://codeload.github.com/RobinKa/source_2_resource_decompiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125638,"owners_count":21051766,"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","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-13T23:44:55.772Z","updated_at":"2025-04-09T22:52:58.864Z","avatar_url":"https://github.com/RobinKa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Created by Toraxxx\n==============\n\n**Currently only supports decompiling .vpcf_c**\n\nRequirements\n--------------\n- Windows\n- Python 3 (https://www.python.org/download)\n- Dota 2 Workshop Tools Alpha\n- GCFScape or some other vpk extractor to extract what you want to decompile\n\nHow to use:\n--------------\n- Edit resourcedecompiler.py and set RESOURCE_INFO_PATH to the path of your resource info\n- Extract the .vpcf_c that you want into the same corresponding path in dota_imported\n  For example if a particle is in /particles/units/heroes/hero_axe/axe_culling_blade_kill.vpcf_c\n  it will go into dota 2 beta/dota_ugc/game/dota_imported/particles/units/heroes/hero_axe/axe_culling_blade_kill.vpcf_c\n- Now use the decompiler to decompile it by either drag-dropping the vpcf_c on resdec.py or using the console command\n\n    python resdec.py inputfilepath optional outputfilepath\n    \n  Example: python resdec.py \"D:\\Program Files (x86)\\Steam\\SteamApps\\common\\dota 2 beta\\dota_ugc\\game\\dota_imported\\particles\\units\\heroes\\hero_abaddon\\abaddon_aphotic_shield_hit.vpcf_c\"\n  \n  if you dont specify an output file path it will put it into your current work directory with the input file name + _decompiled.txt\n- Now you can rename the decompiled file to somename.vpcf and put it into the content folder of your addon \\o/\n\nUseful:\n--------------\n- You can use python resdec.py Path/To/Directory/* to decompile all files that end with _c in that directory\n- If you save the decompiled file with the editor it will indent it correctly\n\n\n**You can contact me for any reasons at toraxxx@warlockbrawl.com**\n\nAll Dota2 particles decompiled (20.08.2014)\n--------------\nhttp://toraxxx.d2modd.in/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinka%2Fsource_2_resource_decompiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinka%2Fsource_2_resource_decompiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinka%2Fsource_2_resource_decompiler/lists"}