[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112011":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":26,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":30,"discoverSource":31},112011,"boxshelf-source","sassiestrhihno\u002Fboxshelf-source","sassiestrhihno","Boxshelf source code (GPL-3.0): a TV-style 3D box-art shelf for emulators, Steam, Epic and PC ports, on Windows, Android and Linux. Downloads are on boxshelf-beta.","",null,"JavaScript",63,22,51,1,0,2,5,10,6,51.59,"GNU General Public License v3.0",false,"main",[],"2026-11-14 16:20:49","2026-11-23 03:00:03","# Boxshelf\n\nA TV-style launcher for your emulators, Steam games and streaming apps: real box art on a 3D shelf,\ncases you can open and inspect, disc-loading animations, manuals, RetroAchievements, and one controller\nfor everything.\n\n> **This is Boxshelf's source code** (Windows: Electron; Android: Capacitor, in `android-app\\`), released under the\n> [GNU GPL v3.0](LICENSE). **Just want to play?** Get the ready-made download from the\n> [Boxshelf beta page](https:\u002F\u002Fgithub.com\u002Fsassiestrhihno\u002Fboxshelf-beta\u002Freleases). Bugs and ideas go to the beta page's\n> [issues](https:\u002F\u002Fgithub.com\u002Fsassiestrhihno\u002Fboxshelf-beta\u002Fissues\u002Fnew\u002Fchoose). This repository is a snapshot of each\n> beta (it starts at 1.82.0-beta.4); the 3D PC model the museum can show isn't included here.\n\n## First run\n\n1. Install **Node.js LTS** from nodejs.org (one time).\n2. Double-click **Start Boxshelf.bat**. The first start installs what it needs (about a minute).\n3. The setup wizard opens. Click **Find automatically**, check each system, then **Open Boxshelf**.\n\nUse **Start Boxshelf (window).bat** to run it in a window instead of fullscreen. `npm run dist` builds a\nportable `Boxshelf.exe` in `dist\\` if you'd rather not keep Node around; keep the exe in this folder.\n\n## Folder layout (portable)\n\n```\nBoxshelf\\\n  Dolphin\\       Dolphin.exe             GameCube + Wii\n  Cemu\\          Cemu.exe                Wii U\n  Eden\\          eden.exe                Switch\n  PPSPP\\         PPSSPPWindows64.exe     PSP\n  PCSX2\\         pcsx2-qt.exe            PS2\n  RPCS3\\         rpcs3.exe               PS3\n  shadPS4\\       shadPS4.exe             PS4\n  Xenia\\         xenia_canary.exe        Xbox 360\n  Azahar\\        azahar.exe              3DS\n  ROMS\\Gamecube  ROMS\\Wii  ROMS\\Wii U  ROMS\\Switch  ROMS\\PSP  ROMS\\PS2  ROMS\\PS3  ROMS\\PS4  ROMS\\Xbox 360  ROMS\\3DS\n  themes\\\u003Csystem>\\   logo.png · boot.mp4 · console.png | console.glb (+ console.json) · cart.glb | disc.glb | umd.glb\n  data\\          config.json, boxshelf.log, caches (art database index, icons, achievements)\n```\n\nGames in subfolders are found too; `DLC`, `Updates` and `Patches` folders are skipped, as are Switch update\nand DLC packages. PS4 games are folders with an `eboot.bin` inside (`CUSA00223\\eboot.bin`); the title comes\nfrom `sce_sys\\param.sfo`. Xbox 360 games are `.iso` discs, extracted folders with a `default.xex`, XBLA `.xex` files or `.zar`\narchives; the title ID inside the game gives the real name (via the Xenia compatibility list, cached in `data\\`), so\n`DVD.iso` in a folder still shows up as the game. Details show Xenia's compatibility rating. Picking `XeniaManager.exe`\nis fine: Boxshelf launches the Canary build from its `Emulators` folder. Wii `.nkit.iso` dumps and Switch `[titleid][v0]` names are cleaned up automatically.\n\n## Art, manuals and game info\n\nSettings → **Find artwork & manuals** searches every selected shelf and shows one list to tick through before\nanything downloads. Fronts come from the libretro thumbnail library and the LaunchBox Games Database; backs,\nspines, disc \u002F cartridge labels and the game descriptions, release dates and ratings in Details come from\nLaunchBox; manuals come from GamesDatabase.org (PDFs, turned into pages in the background) and the Internet\nArchive. Digital-only titles fall back to fan-made box fronts or the Steam poster. Backs prefer English-only\nscans (UK \u002F Australia) over the trilingual North American ones; tick *Replace existing backs* once to swap\nones you already have. GameCube and Wii spines that LaunchBox doesn't have are cut from GameTDB's full cover\nscans (found by the disc ID inside the game file). With *Fetch box art \u002F manuals automatically* on, new games\nthat appear after a rescan get their art and manuals fetched in the background; both are **off** on a fresh\ninstall until you turn them on (setup's last page, or Settings → Library & art). Manuals already in your folders\nare only ever moved aside, never deleted: replaced pages go to `covers\\.manual-originals\\\u003Cgame>\\\u003Cdate>\\`.\n\nCover art by hand: images named like the game file (`Pikmin (USA).png`, `-back`, `-spine`, `-disc`,\n`-manual-01.jpg …`) in a `covers` folder inside the games folder. App and emulator tiles use each program's\nown icon.\n\n## Controls\n\n| Action | Keyboard | Xbox \u002F PlayStation |\n|---|---|---|\n| Browse | ← → | D-pad \u002F left stick |\n| Change shelf | ↑ ↓ | LT \u002F RT (or D-pad up\u002Fdown) |\n| Jump by letter | Z \u002F C | LB \u002F RB |\n| Play \u002F Open | Enter | A \u002F Cross |\n| Back | Esc | B \u002F Circle |\n| Flip box (the right stick turns it freely and settles on a side: front, spine, back) | F | Y \u002F Triangle |\n| Details | I | X \u002F Square |\n| Inspect | V | Click the right stick |\n| Shuffle (spin to a random game) | R | Click the left stick |\n| Settings · Customize | S · T | Start · Back (short press) |\n| Quit a game, or Boxshelf from the shelf | | hold L3 + R3 (changeable in Settings → Controller) |\n\n**Inspect**: left\u002Fright or D-pad step to the next side (front, spine, back, edge); the stick turns freely and\nsettles on a side when released; triggers zoom (zoomed in, the left stick pans gently and the right stick turns); A opens the case, then takes the\ndisc or cartridge out (the case slides away so you're holding just the disc); hold A to play; X reads the\nmanual (bumpers, D-pad, stick or A turn pages); B puts things back. **Details**: Y opens the achievement list\nwhen the game has one.\n\n## Launch options\n\nEach system's command line is editable in Settings → (system) → Launch options. `{rom}` is the game file.\n\n- Dolphin: `-b -C Dolphin.Display.Fullscreen=True -C Dolphin.Interface.ConfirmStop=False -e \"{rom}\"`\n- Eden: `-f -g \"{rom}\"` · Cemu: `-f -g \"{rom}\"` · PPSSPP: `--fullscreen --pause-menu-exit \"{rom}\"` · PCSX2: `-fullscreen -nogui -batch -- \"{rom}\"`\n- RPCS3: `--no-gui --fullscreen \"{rom}\"` · shadPS4: `-f true -g \"{rom}\"` · Xenia: `--fullscreen=true \"{rom}\"` · Azahar: `-f \"{rom}\"`\n\n*Cover time* keeps Boxshelf's black screen on top while the emulator opens (raise it if you see the emulator's\nwindow flash). GameCube can boot through the real startup sequence if you add an IPL to Dolphin (Settings →\nGameCube → Boot sequence).\n\n## Controller while a game runs\n\nOn the shelf, Guide (or Home \u002F P on the keyboard) opens the same panel with Home shelf, Museum, Sort, Settings and **Power**: Sleep, Restart, Shut down and Quit Boxshelf (the last three need A held). A controller icon beside the clock lights while a pad is connected, the mouse pointer hides while you use the pad, and Settings → Display → Interface size makes everything larger for a TV across the room.\n\nPress **Guide** (or hold **View\u002FBack** for about a second) in a game for the Home menu: the game pauses and a panel slides in from the left with Resume, Save state, Load state, Screenshot, Power and Quit to shelf (hold A). Sleep from a game saves a state first where it can and leaves the game paused; Restart and Shut down close the game properly first. It sends each emulator's default hotkeys — Dolphin F10\u002FShift+F1\u002FF1\u002FF9, PCSX2 Space\u002FF1\u002FF3\u002FF8, PPSSPP F2\u002FF4\u002FF12, Eden F4\u002FCtrl+P — and only shows what that emulator can do. If you've remapped them, add `\"hotkeys\": { \"pause\": \"f10\", \"save\": \"shift+f1\", \"load\": \"f1\", \"shot\": \"f9\" }` under that console in `data\\\\config.json`. If Guide opens the Xbox Game Bar, turn off its controller shortcut (Windows Settings → Gaming → Xbox Game Bar) or use the hold.\n\nA small helper reads XInput directly, so it works while Boxshelf is minimized: hold the quit combo for about a\nsecond to close the emulator and come back to the shelf. Eden's \"stop emulation?\" confirmation is switched off in its\nsettings before each launch so the combo closes it cleanly; anything still open a few seconds later is ended. Media apps can get their fullscreen key pressed for\nthem once their window is up, and optionally a pointer driven by the pad (Settings → Media) for apps with no\ncontroller support of their own.\n\n## Museum\n\nM, the **Museum** button, or holding View\u002FBack on the pad opens your whole collection as one shelving wall: a row per\nsystem with every case standing spine-out at its real size, the console at the end of its row (your\n`themes\\\u003Csystem>\\console.glb` if you've added one, otherwise an original stand-in) and a plaque with that shelf's\nnumbers. The cases drop into place when you enter (any button skips; games added since your last visit glow).\nUp\u002Fdown picks a row, left\u002Fright a case (it slides out and turns to face you, with a little card beneath), bumpers skip\nten, A opens it in Inspect, A on the console picks it up to turn with the stick, B comes back. Settings → Display has a\nshadows toggle if the museum stutters on your GPU.\n\n\nLighting: Gallery (warm picture lights), Daylight, After hours (dim room, strong spotlight) or Neon (each row lit in its console's colour). Press Y on the pad or L on the keyboard inside the museum to cycle, or pick one in Settings → Display → Museum. The case you're on gets its own soft spotlight, and the card beside it shows maker, year, publisher, genre, rating and your play history.\n\n## Home, Continue and favorites\n\nOnce you've played something, a **Home** shelf appears first: the games you launched most recently (any system),\nthen your favorites. Hold Y (or press H) on any game to favorite it — a heart appears on its box. Playing from Home\nhops to the game's own shelf and starts it.\n\n## Details\n\nX \u002F I opens Details: cover, year, genre, players, rating and your own history with the game (launches, time\nplayed, last played), a strip of screenshots (bumpers or [ ] flick through them, the chosen one fills the top),\nthe description, and a **Trailer** button (Y or T) that plays the game's trailer in a window over the shelf — Esc\nor the close button ends it. Hold Y for the achievement list when a game has both.\n\n## Attract mode and shuffle\n\nLeave the shelf alone for a few minutes and it starts drifting through the boxes on its own with the HUD faded,\nwandering between shelves; any button or mouse movement brings it back (Settings → Display to turn it off).\nShuffle (R, or click the left stick) flickers across your shelves and lands on a random game with a holographic flash;\nSettings → Library & art can limit it to the shelf you're on. Inspect lifts the selected box straight out of the shelf,\nwhich stays visible behind it.\n\n## Settings\n\nSettings is split into pages: Display (theme — Spectrum, Midnight, Aurora, Sunset, Gallery or Synthwave — fullscreen, the background behind the shelf — soft blur or the game's own artwork, sharp — visual effects, museum shadows, attract mode), Sound, Controller (prompts, quit combo, rumble), Library & art (automatic covers, art folder, shuffle scope, rescan) and Startup & system. Each emulator still has its own page above them.\n\n## Wii U (Cemu)\n\nPoint the Wii U page in Settings at `Cemu.exe` and add your games folder. Games can be `.wua` files (best), `.wud`\u002F`.wux` disc images (need your keys.txt in Cemu) or extracted game folders: the shelf finds `code\\*.rpx` and takes the title from `meta\\meta.xml`. Install updates and DLC inside Cemu. Cemu has no save states, so the Home menu offers Screenshot (F12), Power and Quit.\n\n## 3DS (Azahar) and PS3 (RPCS3)\n\nPoint the 3DS page at `azahar.exe` and add your games folder. Unencrypted `.cia` files can be installed into\nAzahar from Boxshelf; encrypted ones have to be decrypted first. PS3 games are launched through RPCS3 with\n`--no-gui --fullscreen`; install games and firmware inside RPCS3 first.\n\n## Phone companion\n\nSettings → Phone companion turns your phone into a remote: on the same Wi-Fi, scan the QR code, enter the PIN, and\nthe phone can browse the library, start a game on the TV, read a manual, and work as a d-pad and keyboard. See the\nprivacy section for how it's locked down.\n\n## Sort, filter and volume\n\nG (or hold Menu\u002FStart on the pad, or the Sort button) opens *Arrange your shelves*: sort by A–Z, release year, last\nplayed, most played, rating or genre, and show all games, favorites, played or not-played-yet. It applies to every\nshelf and the museum, and is remembered. L1\u002FR1 (Z\u002FC) then jump between sections — letters, years, genres or play-time\nbands — and the museum puts a brass divider tab on the shelf edge where each section starts.\n\nThe speaker beside the clock mutes; hover it for a volume slider. On the keyboard, - and = nudge the volume.\n\n## PC (Steam) art\n\nSteam only keeps a box cover for games you've looked at in its library grid. For the rest, Boxshelf fetches the cover,\nhero image, release date, developer, genres, Metacritic score and screenshots from Steam's public store (no account or\nkey) and keeps them in `data\\steam-art` and `steam-info.json`. Turning off automatic covers in Settings stops it.\n\n## Sounds\n\nSettings → Sound: six voices (Aero is the default), a master volume, and an optional (off by default) ambient bed that follows the\nshelf with its own level slider.\n\n## RetroAchievements\n\nSettings → Achievements: your RA username and web API key (retroachievements.org → Settings → Keys). The shelf\nthen shows your points, per-game progress tags, a progress ring and the full achievement list in Details, and a\nrecap of what you unlocked when you come back from a game. Earning happens in the emulator: enable\nRetroAchievements and log in inside Dolphin (Config → Achievements; GameCube only, Wii has no sets), PPSSPP\n(Settings → Tools → RetroAchievements) and PCSX2 (Settings → Achievements).\n\n## Your own 3D models\n\n`themes\\\u003Csystem>\\console.glb` replaces the built-in console in the insert animation and the museum (Wii, PS2, PS4 and\nXbox 360 models take the disc upright through a front slot; GameCube opens a lid; `\"slot\": \"top\"|\"front\"` in\nconsole.json overrides that, and `\"museumYaw\"` \u002F `\"museumScale\"` turn or resize the model on the museum shelf only) (Customize →\nConsole → Add 3D model, or **Find a model**, which opens a search of free downloadable models in your browser and\ninstalls the first .glb \u002F .zip you save to Downloads — check each model's licence; Boxshelf doesn't bundle console\nmodels): it rises in, its lid opens, the disc lands on it, the lid closes. Loose accessories in the file are\nhidden; a lid is found by name (`lid`, `cover`, `door`…) or by shape. Tweak with `console.json`:\n\n```json\n{ \"yaw\": 0, \"pitch\": 0, \"roll\": 0, \"scale\": 1, \"lift\": 0,\n  \"lid\": \"Lid_mesh_name\", \"lidHinge\": \"back\", \"lidAxis\": \"x\", \"lidAngle\": -70,\n  \"discX\": 0, \"discZ\": 0, \"discHeight\": 0, \"discScale\": 1, \"hide\": \"controller|cable\", \"exposure\": 1 }\n```\n\n`themes\\sw\\cart.glb`, `themes\\psp\\umd.glb`, `themes\\gc\\disc.glb` \u002F `themes\\wii\\disc.glb` \u002F `themes\\ps4\\disc.glb`\nreplace the media in Inspect. Files with several copies of the object are fine: the first one with a picture\nis used and the game's own cover goes where that picture was. `cart.json` (`{ \"yaw\": 0, \"pitch\": 0, \"roll\": 0,\n\"scale\": 1 }`) adjusts the automatic orientation. Customize → Test replays the insert animation without launching.\n\n## Privacy and what Boxshelf changes on your PC\n\nBoxshelf has no accounts, ads or telemetry, and everything it saves stays in its own folder (`data\\`) and in the\n`covers` folders next to your games. It goes online only for:\n\n| Service | When | What it's sent |\n|---|---|---|\n| libretro thumbnails, LaunchBox Games Database, GameTDB | Art look-ups (automatic only if you turned it on) | game titles \u002F GameCube & Wii disc IDs |\n| Internet Archive, GamesDatabase.org | Manual look-ups (automatic only if you turned it on) | game titles |\n| Steam store | PC shelf art for games Steam has no cover for | Steam app IDs |\n| raw.githubusercontent.com | Xbox 360 shelf: Xenia's compatibility list, weekly | nothing |\n| RetroAchievements | Only if you enter your account | your username and web API key (https) |\n| YouTube (youtube-nocookie.com) | Only when you play a trailer | the video ID |\n| SteamGridDB | Only if you enter your own API key (Settings) | game titles \u002F Steam app IDs and your key |\n| ScreenScraper | Only if you enter your own account | file name, size and checksums (CRC\u002FMD5\u002FSHA-1) of the game file, and your login. Never the file itself |\n| fanart.tv | Only if you enter your own API key | movie\u002Fshow IDs (Stremio \u002F Nuvio shelves) |\n| Stremio (cinemeta, metahub) | Stremio \u002F Nuvio shelves | movie\u002Fshow IDs |\n| Internet Archive | Retro TV commercials, magazines and guides you search for | search text |\n| Sketchfab, Poly Pizza | Only when you press **Find a model** (opens your browser) | the console name |\n| Wikimedia Commons | Only when you press **Find a logo** (Customize) | the console name |\n\nThe **phone companion** is off until you switch it on. It runs a small web server on your home network only:\nit answers private-range addresses only, phones pair with a 6-digit PIN (5 wrong tries lock pairing for 10\nminutes), and every request needs the long random token the phone gets when it pairs. Tokens are stored only as\nhashes, and pictures go out under random IDs, never file paths.\n\nAll API keys and passwords you enter are stored encrypted for your Windows account, like the RetroAchievements key.\n\nFonts are bundled; nothing is loaded from Google. Your RetroAchievements key and other API keys are stored encrypted for your Windows\naccount (it has to be entered again after moving the folder to another PC). `data\\boxshelf.log` writes your home\nfolder as `~` and is kept under about 4 MB.\n\nChanges outside Boxshelf's folder:\n- **Emulator settings.** So Home → Quit closes games cleanly, Boxshelf turns off the \"are you sure?\" questions in\n  Eden \u002F yuzu, PCSX2 and RPCS3 before a launch (each file is backed up once as `\u003Cfile>.boxshelf-bak`; Settings →\n  Library & art → *Restore emulator settings* puts them back). Dolphin gets borderless fullscreen and no stop\n  question on its command line for that run only — its own settings files aren't touched.\n- **Start with Windows** (only if you switch it on): a shortcut in your Startup folder or an entry under\n  `HKCU\\…\\Run`; switch it off in Settings before deleting the folder.\n- While a game runs, a small controller helper (PowerShell, in `data\\padwatch`) watches the pad for Guide \u002F the\n  quit combo, presses the emulator's own hotkeys for the Home menu, and moves the mouse pointer out of the way. It\n  only acts while the game is in front and exits on its own if Boxshelf closes.\n\n## Building the exe\n\n`Build Boxshelf.exe.bat` makes a portable `Boxshelf.exe` in `dist\\`. The exe is locked down against tampering\n(Electron fuses): it only runs its own packed, integrity-checked app files, and it can't be started as a plain\nNode.js runtime or with a debugger attached. The exe isn't code-signed, so Windows may show a SmartScreen\nwarning the first time; choose **More info → Run anyway**.\n\n## Credits\n\nBox art and metadata: [libretro thumbnails](https:\u002F\u002Fthumbnails.libretro.com), [LaunchBox Games Database](https:\u002F\u002Fgamesdb.launchbox-app.com),\n[GameTDB](https:\u002F\u002Fwww.gametdb.com). Manuals: [Internet Archive](https:\u002F\u002Farchive.org) collections and\n[GamesDatabase.org](https:\u002F\u002Fwww.gamesdatabase.org). Box art and manuals are © their publishers. Fonts are under the\nSIL Open Font License (see `renderer\\fonts\\LICENSES`). Bundled libraries and their licences: see\n[THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md).\n\n## Licence\n\nBoxshelf is free software: you can redistribute it and\u002For modify it under the terms of the GNU General Public License\nas published by the Free Software Foundation, version 3 ([LICENSE](LICENSE)). It comes with no warranty.\n\n**The name and logo:** the GPL covers the code, not the Boxshelf name or its logo. If you release a fork or a\nmodified version, please give it a different name and logo, so people can tell it apart from the official Boxshelf\n(saying it's \"based on Boxshelf\" is welcome).\n\n## When something's off\n\n`data\\boxshelf.log` records launches, downloads, matches that failed and renderer errors. Settings → Startup & system → *Open app folder* gets you there. Try Settings → Display →\n*Visual effects → Smooth* if the shelf stutters on a large or high-refresh screen.\n","Boxshelf 是一款面向游戏收藏管理的 TV 风格 3D 盒装艺术架式启动器，支持在 Windows、Android 和 Linux 上统一管理模拟器（如 Dolphin、RPCS3）、Steam、Epic 及 PC 游戏。其核心功能包括：基于 WebGL 的可交互 3D 书架渲染、游戏盒体展开与光盘加载动画、自动匹配封面\u002F手册\u002F成就（RetroAchievements）、多平台 ROM\u002F游戏路径自动发现与元数据解析（如 PS4 param.sfo、Xbox 360 title ID）。采用 Electron（PC）与 Capacitor（Android）跨端架构，强调沉浸式客厅体验与单控制器操作。适用于家庭媒体中心、复古游戏收藏展示及多平台游戏库统一入口场景。","2026-11-24 04:42:04","CREATED_QUERY"]