{"id":13782132,"url":"https://github.com/DavidKinder/Magnetic","last_synced_at":"2025-05-11T15:32:13.065Z","repository":{"id":1133999,"uuid":"1011360","full_name":"DavidKinder/Magnetic","owner":"DavidKinder","description":"Interpreter for games released by the UK company Magnetic Scrolls, originally written by Niclas Karlsson.","archived":false,"fork":false,"pushed_at":"2025-02-14T15:34:14.000Z","size":1239,"stargazers_count":16,"open_issues_count":0,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-19T15:21:53.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.davidkinder.co.uk/magnetic.html","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/DavidKinder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null}},"created_at":"2010-10-21T06:08:16.000Z","updated_at":"2025-04-09T10:09:10.000Z","dependencies_parsed_at":"2025-02-14T16:36:54.138Z","dependency_job_id":null,"html_url":"https://github.com/DavidKinder/Magnetic","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidKinder%2FMagnetic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidKinder%2FMagnetic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidKinder%2FMagnetic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidKinder%2FMagnetic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidKinder","download_url":"https://codeload.github.com/DavidKinder/Magnetic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253588650,"owners_count":21932294,"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":[],"created_at":"2024-08-03T18:01:33.258Z","updated_at":"2025-05-11T15:32:13.057Z","avatar_url":"https://github.com/DavidKinder.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# Magnetic\n\nMagnetic is an interpreter for the games written between 1985 and 1991 by Magnetic Scrolls, a text adventure producer based in London, England. Although they only produced seven games they have acquired legendary status for text adventures of as good quality as Infocom accompanied by exceptional graphics.\n\nThe Magnetic interpreter was written by Niclas Karlsson, with additional code by myself, Stefan Meier and Paul David Doherty.\n\nExtracting the game data from the original releases can be a complex process; for more information see the Magnetic page at Stefan's [Magnetic Scrolls Memorial](https://msmemorial.if-legends.org/memorial.php).\n\n![Magnetic playing The Pawn](The%20Pawn.png)\n\n## Building\n\nDownload and install Visual Studio 2019 Community edition from https://visualstudio.microsoft.com/. In the installer, under \"Workloads\", make sure that \"Desktop development with C++\" is selected, and under \"Individual components\" that \"C++ MFC for latest build tools (x86 \u0026 x64)\" is selected.\n\nTo be able to build the CHM help file, download and install Microsoft's [HTML Help Workshop](https://web.archive.org/web/20200810052030/https://www.microsoft.com/en-us/download/confirmation.aspx?id=21138). Note that this is a link to the version on the Internet Archive as the link to this on Microsoft's site does not work at the moment.\n\nInstall git. I use the version of git that is part of MSYS2, a Linux-like environment for Windows, but Git for Windows can be used from a Windows command prompt.\n\nOpen the environment that you are using git from, and switch to the root directory that the build environment will be created under (from here referred to as \"\\\u003croot\u003e\"). Clone this and the other required repositories of mine with git:\n```\ngit clone https://github.com/DavidKinder/Magnetic.git Adv/Magnetic\ngit clone https://github.com/DavidKinder/Libraries.git Libraries\n```\n\n### Third-party libraries\n\n#### libpng\n\nDownload the latest version of zlib from https://zlib.net/. Unpack the archive and copy the contents of the top-level directory to \"\\\u003croot\u003e/Libraries/zlib\".\n\nDownload the latest version of libpng from http://www.libpng.org/pub/png/libpng.html. Unpack the archive and copy the contents of the top-level directory to \"\\\u003croot\u003e/Libraries/libpng\". Copy the file \"\\\u003croot\u003e/Libraries/libpng/scripts/pnglibconf.h.prebuilt\" to \"\\\u003croot\u003e/Libraries/libpng/pnglibconf.h\".\n\nOpen \"\\\u003croot\u003e/Libraries/libpng/pnglibconf.h\" in a text editor, and find and delete all lines that define symbols starting with \"PNG_SAVE_\", \"PNG_SIMPLIFIED_WRITE_\" and \"PNG_WRITE_\".\n\n### Compiling the project\n\nStart Visual Studio, open the solution \"\\\u003croot\u003e/Adv/Magnetic/Win/Magnetic.sln\", then build and run the \"Magnetic\" project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDavidKinder%2FMagnetic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDavidKinder%2FMagnetic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDavidKinder%2FMagnetic/lists"}