{"id":44029261,"url":"https://github.com/ioncodes/noviy_nocd","last_synced_at":"2026-02-07T18:37:10.960Z","repository":{"id":292762739,"uuid":"979515948","full_name":"ioncodes/noviy_nocd","owner":"ioncodes","description":"Universal No-CD patcher for games protected by Noviy Disk's custom DRM solution","archived":false,"fork":false,"pushed_at":"2025-05-20T12:36:03.000Z","size":115,"stargazers_count":4,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-13T09:55:05.510Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://noviy.layle.dev/","language":"Rust","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/ioncodes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-07T16:23:54.000Z","updated_at":"2025-05-20T12:36:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"5006c6f5-548a-4817-90ff-ffddd4bbd06b","html_url":"https://github.com/ioncodes/noviy_nocd","commit_stats":null,"previous_names":["ioncodes/noviy_nocd"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ioncodes/noviy_nocd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioncodes%2Fnoviy_nocd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioncodes%2Fnoviy_nocd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioncodes%2Fnoviy_nocd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioncodes%2Fnoviy_nocd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ioncodes","download_url":"https://codeload.github.com/ioncodes/noviy_nocd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioncodes%2Fnoviy_nocd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29203785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T17:44:10.191Z","status":"ssl_error","status_checked_at":"2026-02-07T17:44:07.936Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-02-07T18:37:10.513Z","updated_at":"2026-02-07T18:37:10.952Z","avatar_url":"https://github.com/ioncodes.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Noviy Disk DRM Patcher\nA tool that automates the process of disabling the CD and anti-piracy checks found in Noviy Disk's custom DRM solution. Windows, Linux and macOS supported - and browser version over [here](https://noviy.layle.dev).  \nTechnical details about the DRM can be found on [my blog post](https://layle.me/posts/lego-rock-raiders-ru/) where I talked about cracking it for Lego Rock Raiders.\n\n## Building\n[![Build](https://github.com/ioncodes/noviy_nocd/actions/workflows/build.yml/badge.svg)](https://github.com/ioncodes/noviy_nocd/actions/workflows/build.yml)  \n\n```bash\ngit clone https://github.com/ioncodes/noviy_nocd\ncd noviy_nocd\ncargo build --release\n\n# to build the wasm portion (optional; only for web)\ncargo install wasm-pack\nwasm-pack build --release -d web/wasm --target web\n```\n\n## Usage\n```\nnoviy_nocd.exe \u003cinput\u003e [output]\n```\n\nThe exact input file that needs to be provided may vary depending on the title. There is a compatibility section down below that states which file needs to be passed to this tool for each *known* title. When in doubt, start by passing the main executable and if that doesn't work try some files with the `.DLL` extension. Technical note: You may also check which file imports `DECO_24.DLL`, that's the one.\n\nNote: The patcher will automatically attempt to write the file at `/input/folder/filename.nocd.exe` or similar. This will fail if you do not have write access to the folder. Either run as administrator or specify a full output path incl. the filename that is writable.\n\n\u003cdetails\u003e\n    \u003csummary\u003eExample output\u003c/summary\u003e\n    \n  ```\n$ .\\noviy_nocd.exe 'C:\\Program Files (x86)\\LEGO Racers 2\\Lego Racers 2.exe'\nPatching: C:\\Program Files (x86)\\LEGO Racers 2\\Lego Racers 2.exe\nOutput: C:\\Program Files (x86)\\LEGO Racers 2\\Lego Racers 2.nocd.exe\nFile size: 1339392 bytes\nImage base: 0x400000\n\n*** Patching checksum checks ***\nFound checksum check at 0x410AB6\n0x410AB6: add eax,[esi]\n0x410AB8: inc esi\n0x410AB9: dec ecx\n0x410ABA: jne short 00410AB6h\n0x410ABC: pop esi\n0x410ABD: mov edx,410AD1h\n0x410AC2: push edx\n0x410AC3: sub eax,0BC13601Fh\n0x410AC8: sub [esp],eax\nPatching checksum fail instruction at 0x410AC8:\n0x410AB6: add eax,[esi]\n0x410AB8: inc esi\n0x410AB9: dec ecx\n0x410ABA: jne short 00410AB6h\n0x410ABC: pop esi\n0x410ABD: mov edx,410AD1h\n0x410AC2: push edx\n0x410AC3: sub eax,0BC13601Fh\n0x410AC8: nop\n\nFound checksum check at 0x410AED\n0x410AED: add eax,[esi]\n0x410AEF: inc esi\n0x410AF0: dec ecx\n0x410AF1: jne short 00410AEDh\n0x410AF3: pop esi\n0x410AF4: mov edx,410B0Bh\n0x410AF9: push edx\n0x410AFA: mov edx,410AD4h\n0x410AFF: sub eax,[edx+4]\n0x410B02: sub [esp],eax\nPatching checksum fail instruction at 0x410B02:\n0x410AED: add eax,[esi]\n0x410AEF: inc esi\n0x410AF0: dec ecx\n0x410AF1: jne short 00410AEDh\n0x410AF3: pop esi\n0x410AF4: mov edx,410B0Bh\n0x410AF9: push edx\n0x410AFA: mov edx,410AD4h\n0x410AFF: sub eax,[edx+4]\n0x410B02: nop\n\n*** Patching early CD checks ***\nFound early CD check function in IAT: GetLogicalDriveStringsA @ 0x523180\nFound call instruction for early CD check at 0x4BFAD3\n0x4BFAD3: call dword ptr ds:[523180h]\n0x4BFAD9: mov ebp,eax\n0x4BFADB: shr ebp,2\n0x4BFADE: je near ptr 004BFBBAh\nFound JCC instruction at 0x4BFADE\n\nPatched JCC instruction at 0x4BFADE:\n0x4BFAD3: call dword ptr ds:[523180h]\n0x4BFAD9: mov ebp,eax\n0x4BFADB: shr ebp,2\n0x4BFADE: jne near ptr 004BFBBAh\n\n*** Patching ProgressiveDecompress_24 CD TOC checks ***\nFound pattern for ProgressiveDecompress_24 at 0x4106F1:\n0x4106F1: mov edx,2\n0x4106F6: push edx\n0x4106F7: xor eax,eax\n0x4106F9: mov al,ds:[54F5A1h]\n0x4106FE: push eax\n0x4106FF: mov edx,41070Ch\n0x410704: push edx\n0x410705: mov edx,50DE40h\n0x41070A: push edx\n0x41070B: ret\n0x41070C: mov [ebp-4],eax\n0x41070F: cmp dword ptr [ebp-4],4E2514h\nPrologue to ProgressiveDecompress_24 found at 0x41070F\nTOC magic value found: 0x4E2514\n\nPatched ProgressiveDecompress_24 call:\n0x410704: add esp,8\n0x410707: mov eax,4E2514h\n0x41070C: mov [ebp-4],eax\n0x41070F: cmp dword ptr [ebp-4],4E2514h\n\nRemoving relocation entry at 0x10704\nNo relocation section found\n\nWriting: C:\\Program Files (x86)\\LEGO Racers 2\\Lego Racers 2.nocd.exe\n  ```\n\n\u003c/details\u003e\n\n## Compatibility\n| **Title**         | **Target**          | **CRC32**  | **Notes**                                                    |\n| ----------------- | ------------------- | ---------- | ------------------------------------------------------------ |\n| Lego Rock Raiders | `LegoRR.exe`        | `5435e147` | -                                                            |\n| Lego Racers 2     | `Lego Racers 2.exe` | `d0288104` | -                                                            |\n| Lego Alpha Team   | `LoadComp.dll`      | `31e3d676` | Requires a `Config.txt` file with `VerifyDiscVol  false` set |\n| Lego Stunt Rally  | `_msr.exe`          | `ca2ce831` | Requires the game to be launched via `_msr.exe`              |\n\nMore titles may be compatible, these are the ones we've tested thus far. You can find out whether your software/game is protected by Noviy's DRM by checking the installation folder. Presence of a file called `DECO_24.DLL` suggests protection.\n\n## Features\n* Patches all occurences of checksum checks via byte pattern matching (NOPs the code patch)\n* Patches the TOC (`ProgressiveDecompress_24` in `DECO_24.DLL`) callers/checks inline by disassembling the game and finding the correct magic value (simple CMP predicate)\n  * Removes the `.reloc` entry if one is found to prevent our patch from being \"overwritten\" (important in case of DLLs)\n* Patches the initial CD checks by abusing the fact that when `GetLogicalDrives` and `GetLogicalDriveStringsA` \"fail\" the initial checks are skipped (inverts the jump condition)\n  * Uses instruction matching (simple JCC predicates)\n\n## Attributions\n* Installer creation and testing by various members of [The Research Realm](https://researchrealm.net/)\n* Favicon drawn by my girlfriend\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioncodes%2Fnoviy_nocd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fioncodes%2Fnoviy_nocd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioncodes%2Fnoviy_nocd/lists"}