{"id":13341166,"url":"https://github.com/yiyuezhuo/MapEditorTool","last_synced_at":"2025-03-11T20:32:33.793Z","repository":{"id":96665643,"uuid":"489994578","full_name":"yiyuezhuo/MapEditorTool","owner":"yiyuezhuo","description":"An editor used to edit area membership and names from a Paradox-style province pixel map","archived":false,"fork":false,"pushed_at":"2022-05-18T02:59:18.000Z","size":449,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-24T08:29:11.226Z","etag":null,"topics":["godot","wargame"],"latest_commit_sha":null,"homepage":"https://yiyuezhuo.itch.io/map-area-editor","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/yiyuezhuo.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-05-08T16:20:16.000Z","updated_at":"2024-08-20T03:13:46.000Z","dependencies_parsed_at":"2023-03-19T18:03:54.373Z","dependency_job_id":null,"html_url":"https://github.com/yiyuezhuo/MapEditorTool","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiyuezhuo%2FMapEditorTool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiyuezhuo%2FMapEditorTool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiyuezhuo%2FMapEditorTool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiyuezhuo%2FMapEditorTool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiyuezhuo","download_url":"https://codeload.github.com/yiyuezhuo/MapEditorTool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243108662,"owners_count":20237727,"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":["godot","wargame"],"created_at":"2024-07-29T19:25:13.547Z","updated_at":"2025-03-11T20:32:33.777Z","avatar_url":"https://github.com/yiyuezhuo.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Map Editor Tool\n\n\u003cimg src=\"https://img.itch.zone/aW1hZ2UvMTUzMDI2Mi84OTU3Mjc1LmdpZg==/347x500/8e8eah.gif\"\u003e\n\n## Usage\n\nThe tool is an editor used to edit area membership and names from a Paradox-style province pixel map:\n\nhttps://eu4.paradoxwikis.com/Map_modding\n\nFor example:\n\n\u003cimg src=\"https://img.itch.zone/aW1nLzg5NDAxOTgucG5n/original/Gp9fIV.png\"\u003e\n\nThe result is a JSON that an area movement mechanism game (like Paradox grand strategy, Axis \u0026 Allies, etc) shall consume. The tool comes with 3 premade maps: France Généralité, Japan, and Tokyo and you can use your own image as well. There's a JSON file combined with the France map to replicate the [France Généralité](https://fr.wikipedia.org/wiki/G%C3%A9n%C3%A9ralit%C3%A9_(France)#:~:text=Une%20g%C3%A9n%C3%A9ralit%C3%A9%20est%20une%20circonscription,avec%20l'%C3%A9dit%20de%20Cognac.) map.\n\nDrag using the right mouse button and scroll your wheel to control the camera. Left-click area to set region attributes (membership, id, and name). Press \"Edit Side\" to modify, add and remove sides.\n\nExport JSON to save your work and import JSON in the future to restore your work (the importing takes advantage of a fuzzy matching method, so tiny map revision will not affect the result ideally). \n\nExported JSON and remap texture shall be consumed by a game engine.\n\n## Notes:\n\nHTML5 version processing is 20x slower than desktop in the map initial processing (compute a remap texture, center and neighbor relationship). However, processing of premade map should be done in a few seconds.\n\nThe Jam version was submitted to The Tool Jam 2 which lacks a part of export and import functionalities.\n\n## Benchmark (second)\n\n```\nGodot backend:\n\nFrance: 0.14, 0.15, 0.14\nJapan: 0.85, 0.86, 0.87\nTokyo: 0.33, 0.33, 0.33\n\nGodot (HTML5) backend:\n\nFrance: 2.77, 2.58, 2.74\nJapan: 16.78, 16.72, 16.86\nTokyo: 6.22, 6.23, 6.24\n\nImageSharp bakcend:\n\nFrance: 0.36, 0.36, 0.36\nJapan: 4.68, 4.57, 4.56\nTokyo: 0.88, 0.87, 0.87\n\nImageSharp (HTML5) backend:\n\nFrance: 6.37, (In HTML5, ImageSharp will break game after the first run unknown reason)\nJapan: 1:32.13\nTokyo: 21.13\n```\n\nMaybe `ImageSharp` require some tunnings, but I would rather just remove the `ImageSharp` backend support.\n\nHTML5 is 20x slower in general thougn...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiyuezhuo%2FMapEditorTool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiyuezhuo%2FMapEditorTool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiyuezhuo%2FMapEditorTool/lists"}