{"id":26569170,"url":"https://github.com/danielah05/mwl2bin","last_synced_at":"2025-10-19T22:22:06.486Z","repository":{"id":197348665,"uuid":"461647574","full_name":"danielah05/mwl2bin","owner":"danielah05","description":"a python script that converts lunar magic mwl level files to bin files","archived":false,"fork":false,"pushed_at":"2022-03-04T00:06:44.000Z","size":47,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-09-30T05:33:15.996Z","etag":null,"topics":["bin","disassembly","lunar-magic","mwl","smw","super-mario-world"],"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/danielah05.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}},"created_at":"2022-02-20T23:47:15.000Z","updated_at":"2023-09-30T05:33:55.137Z","dependencies_parsed_at":null,"dependency_job_id":"c36270ba-25a8-4991-9e46-58e39d49fc31","html_url":"https://github.com/danielah05/mwl2bin","commit_stats":null,"previous_names":["danielah05/mwl2bin"],"tags_count":4,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielah05%2Fmwl2bin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielah05%2Fmwl2bin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielah05%2Fmwl2bin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielah05%2Fmwl2bin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielah05","download_url":"https://codeload.github.com/danielah05/mwl2bin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245015164,"owners_count":20547365,"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":["bin","disassembly","lunar-magic","mwl","smw","super-mario-world"],"created_at":"2025-03-22T20:20:31.039Z","updated_at":"2025-10-19T22:22:06.403Z","avatar_url":"https://github.com/danielah05.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"mwl2bin-logo.png\" alt=\"mwl2bin\" width=\"500\"/\u003e\u003c/p\u003e\n\u003ch2 align=\"center\"\u003ea converter for turning lunar magic mwl files into bin files\u003c/h2\u003e\n\n### what is the point of this?\nwhile lunar magic is good for level editing, the tool comes with some flaws.  \nlunar magic cannot edit every level in the game (examples: all of the sub sections in chocolate island 2).  \nthe tool also auto patches your rom with custom assembly code, making technically every rom hack made with the level editor not vanilla.  \nwith this, you can make any level you want and convert it to be used with SMWDisX: https://github.com/IsoFrieze/SMWDisX\n### how to use\n1. save your level inside lunar magic as a file by going to \"file -\u003e save level to file\"\n2. make sure to name the file the same as the bin file you are going to replace in the disassembly. (for example: 105 would be \"105_YI1main.mwl\")\n3. after that, just drag the mwl file onto the python script and a new folder should appear called \"lvl\", this folder should have the two bin files.\n4. just copy the \"lvl\" folder into the main directoy of the dissasembly and compile the rom.\n### what is currently not supported?\n1. changing the background tiles\n2. main/midway/secondary entrances\n3. layer 2 level modes\n4. possibly other stuff i do not know about\n\neverything else like swapping gfx, music, palettes etc is supported.\n### what game versions are supported?\n1. Japanese\n2. North American\n3. Super System\n4. PAL 1.0\n5. PAL 1.1\n\nnote for super system, pal 1.0/1.1:  \nlunar magic is unable to open the roms for any of these version, you will have to make the levels either inside the north american version or the japanese version and then import them into the game instead.\n### my game is crashing after importing the level, what does that mean?\nhere are a few things to check for:  \n1. make sure the level is not using any \"direct access map16\" tiles.\n2. make sure the level is not using any sprites that are not using the right GFX files.\n\nnone of the things listed above actually work in smw and get automatically patched into the game by lunar magic.  \nbecause of that, the game will either crash or not compile at all, please fix those problems and try again!\n### example footages of the python script in action\nhttps://www.youtube.com/watch?v=qbKnbBTWI5U - converting lunar magic mwl to smw level bin example (feb 21, 2022)  \nhttps://www.youtube.com/watch?v=M_rCSGLC-m4 - mwl2bin successfully importing custom level into smw pal 1.1 rom (feb 28, 2022)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielah05%2Fmwl2bin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielah05%2Fmwl2bin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielah05%2Fmwl2bin/lists"}