Installer threes-threesjs-offline

files:
- css:
    filename: style.css
    url: http://threesjs.com/d1bb018cbd6bc0904fa26f2161fa69c8cbdc9d5d.css
- js:
    filename: game.js
    url: http://threesjs.com/ab7898473094b6803b3d61c1335b50b08351f053.js
- music: http://threesjs.com/threes_bees_knees.mp3
- font:
    filename: nunito.ttf
    url: https://github.com/google/fonts/raw/refs/heads/main/ofl/nunito/Nunito%5Bwght%5D.ttf
game:
  main_file: $GAMEDIR/index.html
  working_dir: $GAMEDIR
installer:
- write_file:
    content: '<!doctype html>

      <html>

      <head>

      <meta http-equiv="content-security-policy" content="default-src ''self'' ''unsafe-inline''">

      <style>@font-face { font-family: "Nunito"; src:url("nunito.ttf") format("truetype-variations");}</style>

      <link rel="stylesheet" href="style.css">

      <script type="text/javascript">__meteor_runtime_config__ = {"meteorRelease":"0.7.0.1"};</script>

      <script type="text/javascript" src="game.js"></script>

      <title>ThreesJS</title>

      </head>

      <body></body>

      </html>

      '
    file: $GAMEDIR/index.html
- move:
    dst: $GAMEDIR
    src: css
- move:
    dst: $GAMEDIR
    src: js
- move:
    dst: $GAMEDIR
    src: music
- move:
    dst: $GAMEDIR
    src: font
description: ThreesJS offline
game_slug: threes
gogslug: ''
humblestoreid: ''
installer_slug: threes-threesjs-offline
name: Threes!
notes: "This is a Threes! clone that runs in a browser. This installer modifies the\
  \ ThreesJS to work offline, and blocks all outbound connections and tracking. I\
  \ recommend setting the window size to 720x900 so that the full game is visible\
  \ (Configure->Runner options->Window size).\r\n\r\nThis installer would no longer\
  \ work if the game is ever updated (last update was in 2018). If this did happen,\
  \ the CSS and JS files could likely be retrieved from the Internet Archive (web.archive.org)."
runner: web
script:
  files:
  - css:
      filename: style.css
      url: http://threesjs.com/d1bb018cbd6bc0904fa26f2161fa69c8cbdc9d5d.css
  - js:
      filename: game.js
      url: http://threesjs.com/ab7898473094b6803b3d61c1335b50b08351f053.js
  - music: http://threesjs.com/threes_bees_knees.mp3
  - font:
      filename: nunito.ttf
      url: https://github.com/google/fonts/raw/refs/heads/main/ofl/nunito/Nunito%5Bwght%5D.ttf
  game:
    main_file: $GAMEDIR/index.html
    working_dir: $GAMEDIR
  installer:
  - write_file:
      content: '<!doctype html>

        <html>

        <head>

        <meta http-equiv="content-security-policy" content="default-src ''self'' ''unsafe-inline''">

        <style>@font-face { font-family: "Nunito"; src:url("nunito.ttf") format("truetype-variations");}</style>

        <link rel="stylesheet" href="style.css">

        <script type="text/javascript">__meteor_runtime_config__ = {"meteorRelease":"0.7.0.1"};</script>

        <script type="text/javascript" src="game.js"></script>

        <title>ThreesJS</title>

        </head>

        <body></body>

        </html>

        '
      file: $GAMEDIR/index.html
  - move:
      dst: $GAMEDIR
      src: css
  - move:
      dst: $GAMEDIR
      src: js
  - move:
      dst: $GAMEDIR
      src: music
  - move:
      dst: $GAMEDIR
      src: font
slug: threes-threesjs-offline
steamid: 1818570
version: ThreesJS offline
year: 2014
{
  "game_slug": "threes",
  "version": "ThreesJS offline",
  "description": "ThreesJS offline",
  "notes": "This is a Threes! clone that runs in a browser. This installer modifies the ThreesJS to work offline, and blocks all outbound connections and tracking. I recommend setting the window size to 720x900 so that the full game is visible (Configure->Runner options->Window size).\r\n\r\nThis installer would no longer work if the game is ever updated (last update was in 2018). If this did happen, the CSS and JS files could likely be retrieved from the Internet Archive (web.archive.org).",
  "name": "Threes!",
  "year": 2014,
  "steamid": 1818570,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "web",
  "slug": "threes-threesjs-offline",
  "installer_slug": "threes-threesjs-offline",
  "script": {
    "files": [
      {
        "css": {
          "filename": "style.css",
          "url": "http://threesjs.com/d1bb018cbd6bc0904fa26f2161fa69c8cbdc9d5d.css"
        }
      },
      {
        "js": {
          "filename": "game.js",
          "url": "http://threesjs.com/ab7898473094b6803b3d61c1335b50b08351f053.js"
        }
      },
      {
        "music": "http://threesjs.com/threes_bees_knees.mp3"
      },
      {
        "font": {
          "filename": "nunito.ttf",
          "url": "https://github.com/google/fonts/raw/refs/heads/main/ofl/nunito/Nunito%5Bwght%5D.ttf"
        }
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/index.html",
      "working_dir": "$GAMEDIR"
    },
    "installer": [
      {
        "write_file": {
          "content": "<!doctype html>\n<html>\n<head>\n<meta http-equiv=\"content-security-policy\" content=\"default-src 'self' 'unsafe-inline'\">\n<style>@font-face { font-family: \"Nunito\"; src:url(\"nunito.ttf\") format(\"truetype-variations\");}</style>\n<link rel=\"stylesheet\" href=\"style.css\">\n<script type=\"text/javascript\">__meteor_runtime_config__ = {\"meteorRelease\":\"0.7.0.1\"};</script>\n<script type=\"text/javascript\" src=\"game.js\"></script>\n<title>ThreesJS</title>\n</head>\n<body></body>\n</html>\n",
          "file": "$GAMEDIR/index.html"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "css"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "js"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "music"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "font"
        }
      }
    ]
  }
}
Back to game