{"id":17188022,"url":"https://github.com/icculus/loki_patch","last_synced_at":"2026-06-23T04:31:45.480Z","repository":{"id":106920025,"uuid":"384860266","full_name":"icculus/loki_patch","owner":"icculus","description":"Loki Software's loki_patch","archived":false,"fork":false,"pushed_at":"2021-08-20T17:06:47.000Z","size":1319,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-05-29T00:23:39.524Z","etag":null,"topics":["patcher"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icculus.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","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},"funding":{"github":["icculus"],"patreon":"icculus"}},"created_at":"2021-07-11T04:35:35.000Z","updated_at":"2024-10-30T06:37:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd1e49a7-a355-423b-9579-82b43cf5079d","html_url":"https://github.com/icculus/loki_patch","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/icculus/loki_patch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icculus%2Floki_patch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icculus%2Floki_patch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icculus%2Floki_patch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icculus%2Floki_patch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icculus","download_url":"https://codeload.github.com/icculus/loki_patch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icculus%2Floki_patch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34675970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"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":["patcher"],"created_at":"2024-10-15T01:07:53.630Z","updated_at":"2026-06-23T04:31:45.463Z","avatar_url":"https://github.com/icculus.png","language":"C","funding_links":["https://github.com/sponsors/icculus","https://patreon.com/icculus"],"categories":[],"sub_categories":[],"readme":"\nLoki Patch Tools 1.0\n\n\nIntroduction\n============\nThis is a set of tools written by Loki Software, Inc., designed to\ncreate a set of binary patches that can be easily used either by\nthemselves or in conjunction with the Loki Update Tool.\n\n\nLicensing\n=========\nThis update tool is available for use under the GNU General Public License.\n\n\nHow To Create A Patch\n=====================\n\n * Create a directory for your patch source files:\n\n     mkdir upgrade\n     cd upgrade\n\n * Create binary and data directories for the original files. e.g: \n\n     mkdir bin-1.54a-x86 data-1.54a\n\n * Create binary and data directories for the new files, e.g: \n\n     mkdir bin-1.54b-x86 data-1.54b\n\n * Copy the appropriate files into the directories, e.g.: \n\n    cp /usr/local/games/rt2.old/rt2 bin-1.54a-x86/rt2\n    cp /usr/local/games/rt2.new/rt2 bin-1.54b-x86/rt2\n\n    cp /usr/local/games/rt2.old/default2.lng data-1.54a/\n    cp /usr/local/games/rt2.new/default2.lng data-1.54b/\n\n * Copy the patch README into the new data directory, e.g: \n\n    cp /usr/local/games/rt2.new/README-1.54b data-1.54b/README-1.54b\n\n * Copy the patch tools image directory to a new patch directory tree, e.g: \n\n    cp -av ~/loki_patch/image rt2-1.54b-x86\n\n * Generate deltas of the binaries and data files. \n\n     make_patch rt2-1.54b-x86/patch.dat delta-install bin-1.54a-x86 bin-1.54b-x86\n     make_patch rt2-1.54b-x86/patch.dat delta-install data-1.54a-x86 data-1.54b-x86\n\n   The make_patch tool is very flexible, run it without any options to see a list of commands that it recognizes. \n\n * Customize the patch description file, patch.dat, if necessary, e.g.\n\n     vi rt2-1.54b-x86/patch.dat\n\n * Copy the README into the patch directory, e.g: \n\n     cp data-1.54b/README-1.54b rt2-1.54b-x86/README.txt\n\n   This file is shown to the user before they apply the patch. \n\n * Pack the patch archive, e.g: \n\n     makeself.sh rt2-1.54b-x86 rt2-1.54b-x86.run \"Railroad Tycoon II 1.54b update\" ./update.sh\n\n * Test the patch on a fresh install, e.g: \n\n     # remove old versions, install from CD, patch up to current level\n     sh rt2-1.54b-x86.run\n\n * Generate the GPG signature, named patch.sig, e.g: \n\n     gpg --secret-keyring /mnt/cdrom/secring.gpg --detach-sign rt2-1.54b-x86.run\n\n * Generate the MD5 checksum, named patch.md5, e.g: \n\n     md5sum rt2-1.54b-x86.run \u003ert2-1.54b-x86.run.md5\n\n * Generate the README, named patch.txt, e.g: \n\n     cp rt2-1.54b-x86/README.txt rt2-1.54b-x86.run.txt\n\n * Generate the Loki Update Tool entry for the patch, e.g:\n\n     loki_patch --info rt2-1.54b-x86/patch.dat \u003e\u003eupdates.txt\n\n * Copy the patch to your public relase directory and you're done!\n\n\nFeedback\n========\nYou can send feedback to setup@lokigames.com, or join the fun on the\nLoki Setup newsgroup: news://news.lokigames.com/loki.open-source.setup\n\n\nAuthor\n======\nThe Loki Patch Tools were written by Sam Lantinga at Loki Software, Inc.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficculus%2Floki_patch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficculus%2Floki_patch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficculus%2Floki_patch/lists"}