{"id":20391286,"url":"https://github.com/elcosmoxd/ddlcplusinjector","last_synced_at":"2025-03-05T00:15:57.006Z","repository":{"id":171460517,"uuid":"525044643","full_name":"ElCosmoXD/DDLCPlusInjector","owner":"ElCosmoXD","description":"Mod/DLL support for Doki Doki Literature Club Plus.","archived":false,"fork":false,"pushed_at":"2023-04-22T19:38:21.000Z","size":92,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T10:22:17.329Z","etag":null,"topics":["ddlc","ddlc-mods","ddlcplus","mod-injector","mod-loader"],"latest_commit_sha":null,"homepage":"","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/ElCosmoXD.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":"2022-08-15T15:42:54.000Z","updated_at":"2024-12-20T21:25:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"f044d54a-a6ac-497f-b920-de61186cc27f","html_url":"https://github.com/ElCosmoXD/DDLCPlusInjector","commit_stats":null,"previous_names":["elcosmoxd/ddlcplusinjector"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElCosmoXD%2FDDLCPlusInjector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElCosmoXD%2FDDLCPlusInjector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElCosmoXD%2FDDLCPlusInjector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElCosmoXD%2FDDLCPlusInjector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElCosmoXD","download_url":"https://codeload.github.com/ElCosmoXD/DDLCPlusInjector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241940574,"owners_count":20045883,"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":["ddlc","ddlc-mods","ddlcplus","mod-injector","mod-loader"],"created_at":"2024-11-15T03:30:29.992Z","updated_at":"2025-03-05T00:15:56.985Z","avatar_url":"https://github.com/ElCosmoXD.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DDLC Plus Injector\nMod/DLL support for Doki Doki Literature Club Plus.\n\n#### I'm working again on this project, obviously I have other things to do, so if you want to add something [any PR is welcome](https://github.com/ElCosmoXD/DDLCPlusInjector/pulls).\n#### NOTE: This might be pretty obvious but for developing/using mods you need to have a copy of the game, You can buy it on https://ddlc.plus.\n\n# Work in progress\nThis is just a work-in-progress, so don't expecto something too stable or a massive amount of mods.\n\n# Installing\n1. Download a patched ```DDLC.dll``` from the [Releases](https://github.com/ElCosmoXD/DDLCPlusInjector/releases) page\n2. Put the patched ```DDLC.dll``` in the folder ```Doki Doki Literature Club Plus_Data/Managed/``` of the game\n3. Download the ```DDLC+ Injector.dll``` file from [Releases](https://github.com/ElCosmoXD/DDLCPlusInjector/releases) or compile it by yourself [cloning this repository](https://github.com/ElCosmoXD/DDLCPlusInjector/archive/refs/heads/main.zip) and compiling the Injector solution\n4. Put the downloaded file in the root of the folder of the game\n5. In the root of the game folder create the ```mods/``` folder\n6. Install mods and put them into the ```mods/``` folder\n\n#### Please, before doing anything do a backup of the original ```DDLC.dll``` file, Because if something goes wrong you will have to reinstall the game.\n\nNow the DDLC Plus folder should look like this :)\n\n![Installed](Assets/Installed.png)\n\n# For Developers\nThis is just a little guide of how to develop mods for DDLC Plus in a easy way.\n\n1. Create a C# solution (Specifically a DLL .NET Standard solution) using Visual Studio (You can use any IDE but I haven't tested with others)\n2. In the project dependencies add the *.DLL's that are in the DDLC Plus folder (```Doki Doki Literature Club Plus_Data/Managed```)\n3. Add your code\n4. Compile the project\n5. After compiling, Put the DLL file in a folder called ```mods/``` in the DDLC Plus base folder\n6. Test (Obviously for testing you have to install the Injector first)\n\nIn order to interact with the game, you should write the mod like a Unity game, with the MonoBehavieour GameObjects.\n\n#### A little example of how write a simple mod:\n``` C#\nusing UnityEngine;\n\nnamespace DDLCPlus\n{\n    public class Mod\n    {\n        public static void Start()\n        {\n            Debug.Log(\"Hello, World!\");\n            Debug.Log(\"This message comes from an loaded mod!\");\n        }\n    }\n}\n```\nNow, if you run the game and you see the Unity's 'Player.log' file, You will see this:\n\n![HelloWorld](https://user-images.githubusercontent.com/37759352/184688088-724ac446-4436-49ff-b6bf-a2e215f76a59.png)\n\n# Patching the game\nThis step is necessary when you want to patch the ```Assembly-CSharp.dll``` file by yourself. But you have to know that you will have to make many modifications to the file for making the mods work.\n\n1. Install [dnSpy](https://github.com/dnSpy/dnSpy/releases)\n2. With [dnSpy](https://github.com/dnSpy/dnSpy/releases) open the ```Assembly-CSharp.dll``` file (That is in ```Doki Doki Literature Club Plus_Data/Managed/Assembly-CSharp.dll```)\n3. Patch the 'Awake' method in the 'LauncherMain' class using the code in the ```Patch``` folder\n4. Compile the patched file\n\n# Credits\n\n[Team Salvato](https://teamsalvato.com/): The creators and the owners of \"[Doki Doki Literature Club Plus](https://ddlc.plus/)\" and \"[Doki Doki Literature Club](http://ddlc.moe)\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felcosmoxd%2Fddlcplusinjector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felcosmoxd%2Fddlcplusinjector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felcosmoxd%2Fddlcplusinjector/lists"}