{"id":13781388,"url":"https://github.com/DavidKinder/Windows-Frotz","last_synced_at":"2025-05-11T14:35:02.888Z","repository":{"id":1133986,"uuid":"1011345","full_name":"DavidKinder/Windows-Frotz","owner":"DavidKinder","description":"Z-code interpreter for Windows, based on Stefan Jokisch's Frotz interpreter core.","archived":false,"fork":false,"pushed_at":"2025-01-21T09:57:49.000Z","size":3066,"stargazers_count":64,"open_issues_count":5,"forks_count":12,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-09T11:12:25.514Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.davidkinder.co.uk/frotz.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}},"created_at":"2010-10-21T06:02:15.000Z","updated_at":"2025-01-20T16:05:46.000Z","dependencies_parsed_at":"2024-01-12T14:16:36.260Z","dependency_job_id":"7de9dca5-980b-46dc-8b28-5a582b7c1f4c","html_url":"https://github.com/DavidKinder/Windows-Frotz","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidKinder%2FWindows-Frotz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidKinder%2FWindows-Frotz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidKinder%2FWindows-Frotz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidKinder%2FWindows-Frotz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidKinder","download_url":"https://codeload.github.com/DavidKinder/Windows-Frotz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253580383,"owners_count":21930933,"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:25.536Z","updated_at":"2025-05-11T14:35:01.552Z","avatar_url":"https://github.com/DavidKinder.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# Windows Frotz\n\nWindows Frotz is an interpreter that can play all the old Infocom text adventures. Infocom used a novel approach to write their games: they had a system that produced a data file for the adventure that was the same on every computer, and an interpreter for every computer that could run all the games (It was actually a bit more complicated than that, but that's the basic idea).\n\nDuring the late 1980s and early 1990s many people worked to decode Infocom's format, producing several interpreters for the format (which is called Z-code, or the Z-Machine, with the Z coming from Zork, Infocom's first game). Windows Frotz is the latest in this line of interpreters. During the early 1990s, Graham Nelson took the next step by writing a compiler for the format, called [Inform](https://www.inform-fiction.org/). The result is that the modern text adventure community have written several hundred games in this format that can be played with this interpreter.\n\nFor ratings and descriptions of games you can play, [search for Z-code games](https://ifdb.org/search?sortby=rcu\u0026searchfor=format%3AZ-Machine*) at [IFDB](https://ifdb.org/).\n\n![Zork Zero](Zork0.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/Windows-Frotz.git Adv/Frotz\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#### libjpeg\n\nDownload libjpeg 6b from http://libjpeg.sourceforge.net/. (Later versions are available, but maintenance of libjpeg seems to have been taken up by someone other than the original authors, who has some distinctly odd ideas.)\n\nUnpack the archive and copy the contents of the \"jpeg-6b\" directory to \"\\\u003croot\u003e/Libraries/jpeg\". In \"\\\u003croot\u003e/Libraries/jpeg\", rename \"jconfig.vc\" to \"jconfig.h\".\n\nOpen \"\\\u003croot\u003e/Libraries/jpeg/jmorecfg.h\" in a text editor, and find\n```\n#ifndef XMD_H\t\t\t/* X11/xmd.h correctly defines INT32 */\ntypedef long INT32;\n#endif\n```\nChange it to\n```\n#if !defined(XMD_H) \u0026\u0026 !defined(_BASETSD_H_)\ntypedef long INT32;\n#endif\n```\nIn the same file, find\n```\n#ifdef NEED_FAR_POINTERS\n#define FAR  far\n#else\n#define FAR\n#endif\n```\nChange it to\n```\n#ifndef FAR\n#ifdef NEED_FAR_POINTERS\n#define FAR  far\n#else\n#define FAR\n#endif\n#endif\n```\n\n#### libvorbis\n\nDownload the latest stable versions of libogg and libvorbis from https://xiph.org/downloads/. Unpack the libogg archive and copy the contents of the top-level directory to \"\\\u003croot\u003e/Libraries/libogg\". Unpack the libvorbis archive and copy the contents of the top-level directory to \"\\\u003croot\u003e/Libraries/libvorbis\".\n\n### Compiling the project\n\nStart Visual Studio, open the solution \"\\\u003croot\u003e/Adv/Frotz/Win/Frotz.sln\", then build and run the \"Frotz\" project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDavidKinder%2FWindows-Frotz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDavidKinder%2FWindows-Frotz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDavidKinder%2FWindows-Frotz/lists"}