[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108740":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":12,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":21,"topics":22,"createdAt":9,"pushedAt":23,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":15,"starSnapshotCount":15,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},108740,"openfpga-PlayStation","GuardianSoul\u002Fopenfpga-PlayStation","GuardianSoul","A PlayStation core for the Analogue Pocket, based on the MiSTer PSX core",null,"Python",77,1,3,6,0,8,42.2,"GNU General Public License v2.0",false,"main",true,[],"2026-11-21 16:16:07","2026-11-23 12:09:46","# PlayStation core for Analogue Pocket\n\nAn FPGA core that runs original PlayStation games on the Analogue Pocket,\nbuilt on the MiSTer PSX core.\n\n> Most games tried so far play with sound, FMVs and CD music. Some may still glitch or not boot. See the\n> [game list](https:\u002F\u002Fguardiansoul.github.io\u002Fopenfpga-PlayStation\u002Fcompatibility.html)\n> and vote how your games run.\n\n## Setup\n\nYou need an Analogue Pocket with the latest firmware, a PlayStation BIOS\ndumped from your own console, and your own game discs as `.cue`\u002F`.bin`\nimages. The BIOS and games are not included and cannot be shared.\n\n### Disc formats\n\nUse `.cue` and `.bin` files. A program such as ImgBurn makes them from\nyour own discs. `.chd` files work too: the plugin (step 4) turns them into\n`.cue` and `.bin` for you. The core can't play `.chd` files directly\nbecause they are compressed. Unpacking them while the game runs needs\neither a separate processor, which the Pocket doesn't have, or room on the\nPocket's chip, which the PlayStation core already fills. Other formats,\nsuch as `.pbp` or `.ecm`, and zipped games don't work; turn them into\n`.cue` and `.bin` first.\n\n### First time\n\n1. **Core:** download the latest `GuardianSoul.PlayStation_\u003Cversion>_\u003Cdate>.zip`\n   from [Releases](..\u002F..\u002Freleases), unzip it and copy its contents to the\n   root of the SD card, merging with the folders already there. To update,\n   do the same with the new zip; saves and settings stay.\n2. **BIOS:** copy it to `Assets\u002Fplaystation\u002Fcommon\u002F`, for example as\n   `scph5501.bin` (USA), `scph5500.bin` (Japan) or `scph5502.bin` (Europe).\n   Other common BIOS names work too (see [GAMES.md](GAMES.md#bios)). Any\n   BIOS plays discs from every region; with several on the card, the core\n   uses the one that matches the game's region.\n3. **Games:** give each disc its own folder in `Assets\u002Fplaystation\u002Fcommon\u002F`,\n   for example `Assets\u002Fplaystation\u002Fcommon\u002FTekken 3 (USA)\u002F`, holding its\n   `.cue` and all its `.bin` files with their names unchanged. Do this for\n   every disc of a multi-disc game too. A disc with only a `.bin` and no\n   `.cue` is fine: the plugin makes the `.cue`.\n\n   **LibCrypt discs:** some European discs (for example Ape Escape, Spyro:\n   Year of the Dragon and Crash Team Racing) are copy protected and also\n   need the `.sbi` file for your disc, from\n   [PSXDataCenter](https:\u002F\u002Fpsxdatacenter.com\u002Fsbifiles.html). Rename it like\n   the `.cue` (for example `Ape Escape (Europe).sbi`) and put it in the same\n   folder **before** step 4. Without it the game can freeze.\n4. **Game files (the way to play):** with the SD card in your computer,\n   generate one game file (`.json`) per game with the\n   [PlayStation game files plugin](https:\u002F\u002Fgithub.com\u002FGuardianSoul\u002Fopenfpga-PlayStation-plugin).\n   It gives every game CD music, disc swapping and one shared memory card\n   for multi-disc games.\n   - [pupdate](https:\u002F\u002Fgithub.com\u002Fmattpannella\u002Fpupdate): the first time,\n     *Pocket Extras → Plugins → Install from GitHub…* and enter\n     `GuardianSoul\u002Fopenfpga-PlayStation-plugin`. Then open *PlayStation game\n     files* from *Pocket Extras → Plugins* and choose *Generate game files*.\n   - [Pocket Sync](https:\u002F\u002Fgithub.com\u002Fneil-morrison44\u002Fpocket-sync): the\n     first time, *Plugins → Add Plugin*, paste\n     `https:\u002F\u002Fgithub.com\u002FGuardianSoul\u002Fopenfpga-PlayStation-plugin` and press\n     *Verify & install plugin*. Then press the play button next to it on the\n     *Plugins* page and choose *Generate game files*.\n\n   The plugin tells you what is wrong and what to do when:\n   - the card has another developer's PlayStation core instead of this\n     one (the plugin only makes game files for GuardianSoul.PlayStation);\n   - the games are in another folder, such as `Assets\u002Fpsx\u002Fcommon\u002F`;\n   - a disc can't be used: a file the `.cue` names is missing or renamed,\n     the image isn't a raw CD image (such as an `.iso`), the `.cue` is\n     damaged, or a multi-disc game is missing a disc;\n   - the BIOS is missing, has the wrong name, size or content, or sits in\n     the wrong folder. Every run ends with this BIOS check, and *Check the\n     BIOS* runs it on its own.\n5. **Play:** put the card back in the Pocket, open **openFPGA →\n   PlayStation** and pick the game.\n\nNo pupdate or Pocket Sync? The [SD card helper](https:\u002F\u002Fguardiansoul.github.io\u002Fopenfpga-PlayStation\u002F)\nweb page generates the same game files from Chrome or Edge on a computer.\n\n### Adding games later\n\n1. Copy the new disc folders into `Assets\u002Fplaystation\u002Fcommon\u002F`, as in step 3,\n   with the `.sbi` for any LibCrypt disc.\n2. Generate game files again with the plugin (or the SD card helper). It adds the\n   new games and leaves your saves alone. If you add an `.sbi` to a game\n   that already has a game file, generate again too, so the game file picks\n   it up.\n3. Pick the new game in **openFPGA → PlayStation**.\n\nAlways make game files with the plugin. Pocket Sync's own *Games →\nInstance JSON* button and pupdate's core updates also write game files, but\nonly one per disc, so multi-disc games lose Swap Discs and get a memory\ncard per disc. After updating cores with pupdate, generate game files with\nthe plugin again.\n\n### Without game files (fallback)\n\nAlways generate game files when you can. Starting a disc directly is only a\nfallback for a disc that has no game file yet, for example because you\ncopied it to the card without generating game files: in the game list press\nBack to reach `Assets\u002Fplaystation\u002Fcommon\u002F`, open the disc's folder and pick\nits `.cue`. Two things to know:\n\n- The list shows `.cue` files, not `.bin` files: without the `.cue` the\n  core doesn't know the disc's tracks, so the game would play without CD\n  music and some games would stop where the music starts. A disc that came\n  without a `.cue` gets one from the plugin.\n- Multi-disc games have no Swap Discs this way, and each disc gets its own\n  memory card, so a save made on disc 1 is not there on disc 2.\n\nIf a disc doesn't start this way, generate its game file as above.\n\nMore details are in [GAMES.md](GAMES.md).\n\n## Controls\n\n| Pocket | PlayStation |\n| --- | --- |\n| D-Pad | D-Pad |\n| A | Circle |\n| B | Cross |\n| X | Triangle |\n| Y | Square |\n| L \u002F R | L1 \u002F R1 |\n| Select \u002F Start | Select \u002F Start |\n\nBy default, hold Select and press L or R for L2 or R2, the D-Pad for the\nleft analog stick, or A, B, X or Y for the right analog stick (X up, B\ndown, Y left, A right). Tap Select on its own for Select, or hold it alone\nfor a quarter of a second to hold Select (for maps shown while it is held). All of this can be changed in [Settings](#settings).\n\nThe pad is a DualShock. **Controller Mode** switches it between Digital\nand Analog at any time, like the controller's Analog button, and L3 + R3 +\nUp does too. In Digital the pad stays digital, even when a game asks for\nanalog; for games that need the sticks, set it to Analog.\nControllers connected to the Dock keep their own L2, R2, L3 and R3.\n\n### Second controller (Dock)\n\nWith the Pocket in the Dock, connect a second controller to play with two\nplayers. Use one with all the PlayStation buttons and two sticks, because the\nSELECT shortcuts and button settings only work for player 1. Controller Mode\nsets both players to Digital or Analog.\n\n## Settings\n\nUnder **Core Settings** in the Pocket menu. Defaults are in bold; the Pocket\nremembers your choices.\n\n| Setting | Choices | What it does |\n| --- | --- | --- |\n| Restart Game | (press it) | Restarts the console with the disc that is in the drive, like the PlayStation's reset button |\n| Swap Discs | **Disc 1**, Disc 2, Disc 3, Disc 4 | The disc in the drive, for multi-disc games (see [Changing discs](GAMES.md#changing-discs)) |\n| Skip BIOS Logo | On, **Off** | Starts the game without the PlayStation intro |\n| Fast BIOS Boot | **On**, Off | Runs the BIOS's own start-up faster, so games reach the Sony screen about 2 seconds sooner; the Sony screen and every game keep the console's timing |\n| Turbo Mode | **Off**, On | On removes the console's memory, CPU and DMA wait states, so games run faster than on a PlayStation; Off keeps the console's timing |\n| Aspect Ratio | **Original**, Fill Screen | Original shows the console's 4:3 picture; Fill Screen fills the Pocket's whole screen |\n| Deinterlacing | **Bob**, Weave | How high-resolution (480i) screens show: Bob line-doubles each field like a CRT TV; Weave joins the two fields into one picture, sharper when still but with combing when things move |\n| Hide Overscan | **On**, Off | In Original, blacks out the lines at the top and bottom that a TV hides; Fill Screen always crops them |\n| Controller Mode | **Digital**, Analog | The DualShock's mode, switched at once (see [Controls](#controls)) |\n| L Button | **L1**, L2, L3 | What the Pocket's L sends |\n| R Button | **R1**, R2, R3 | What the Pocket's R sends |\n| D-Pad | **D-Pad**, Face Buttons, Left Analog Stick, Right Analog Stick | What the Pocket's D-Pad sends |\n| A\u002FB\u002FX\u002FY | **Face Buttons**, D-Pad, Left Analog Stick, Right Analog Stick | What the Pocket's A, B, X and Y send |\n| SELECT + L\u002FR | None, L1\u002FR1, **L2\u002FR2**, L3\u002FR3 | What Select held with L or R sends |\n| SELECT + D-Pad | None, D-Pad, Face Buttons, **Left Analog Stick**, Right Analog Stick | What Select held with the D-Pad sends |\n| SELECT + A\u002FB\u002FX\u002FY | None, Face Buttons, D-Pad, L1\u002FR1, L2\u002FR2, L3\u002FR3, Left Analog Stick, **Right Analog Stick** | What Select held with A, B, X or Y sends (the L and R pairs go on Y and A) |\n\n### Deinterlacing\n\nMost games draw 240 lines, but some screens use the PlayStation's\nhigh-resolution (interlaced, 480i) mode, such as Tekken 3's menus and the\nSony screen. A TV shows such a picture as two half pictures, called fields,\none with the odd lines and one with the even lines, one after the other.\nThe Pocket's screen isn't interlaced, so the core has to turn the fields\ninto whole frames. Deinterlacing picks how:\n\n- **Bob** (default) shows each field on its own as a whole frame, with\n  every line doubled, like a CRT TV does. Moving pictures stay clean, and\n  the doubled lines are smoothed so still text and menus stay as steady as\n  they can. Fine detail can still flicker slightly.\n- **Weave** joins the last two fields into one full-resolution frame, as\n  the core did before 0.5.7. Still pictures are sharpest, but anything that\n  moves between the two fields shows comb-like lines, and some screens\n  (such as the Sony screen's fade) can show a thin diagonal line.\n\nDeinterlacing only changes how 480i screens are shown; 240-line games look\nthe same either way, and the game itself runs the same. It can be changed\nat any time.\n\n### Turbo Mode\n\nWith Turbo Mode off, the core keeps the console's timing as closely as it\ncan. Turbo Mode skips the waits a real PlayStation has when the CPU reads\nand writes main memory, when it loads and decodes instructions, and when\nDMA moves data. The clocks stay the same, and the GPU, sound, CD drive and\ngeometry chip keep the console's speed; only less time is spent waiting.\nMost games are locked to the TV's frame rate, so they don't run faster\noverall: busy scenes just slow down less, for example in Bloody Roar II or\nCrash Bandicoot.\n\nThat speed comes at the cost of accuracy: with Turbo Mode on, games no\nlonger run with the console's timing. A game that depends on the exact\ntiming can run too fast in places, glitch, get its sound or video out of\nstep, or freeze. If a game misbehaves, turn Turbo Mode off; Off is the\naccurate setting. It works at once, even during a game, but it's safest to\nchange it before starting one.\n\n### Other aspect ratios\n\nAspect Ratio offers Original (4:3) and Fill Screen. For another shape, such\nas 8:7, edit the core's `video.json`:\n\n1. Open `Cores\u002FGuardianSoul.PlayStation\u002Fvideo.json` on the SD card.\n2. In every entry with `\"aspect_w\": 4` and `\"aspect_h\": 3`, change the two\n   numbers to the shape you want, for example `8` and `7`. Leave the other\n   entries alone: they are Fill Screen.\n3. In the core, set Aspect Ratio to Original. It now shows your shape.\n\nA core update replaces `video.json`, so make the edit again after updating.\n\n## Memory cards\n\nMemory card 1 is saved to the SD card, one card per game (multi-disc games\nshare one), in `Saves\u002Fplaystation\u002F`. A game's first card starts blank and\nformatted.\n\n**Quit through the Pocket menu before you turn the Pocket off.** The card\nis written to the SD card when you quit, so turning off mid-game loses the\nsaves made since the game started. To use a card from another emulator,\ncopy its raw 128 KB image (`.mcr` or `.sav`) over the game's `.sav` file.\n\n## Known issues\n\n- Some games may run slower than on a real console. Turbo Mode helps.\n- Bloody Roar II: after a long time on the pause screen, the music can stutter for a couple of seconds and then play normally again.\n\n## Building from source\n\nSee [BUILDING.md](BUILDING.md).\n\n## How this was made\n\nThis core was written with heavy use of AI coding assistants. OpenAI Codex\nand Anthropic Claude wrote most of the new HDL, build scripts, tests and\ndocumentation. A human maintainer directed the work, made the design\ndecisions and tested every build on real hardware. The upstream code it\nbuilds on (MiSTer PSX, the PS-FPGA GTE and the other projects below) was\nwritten by its human authors.\n\nAI-written changes are checked by simulation against the upstream cores and\nby hardware tests. Even so, review it with that origin in mind.\n\n## Credits\n\n- [MiSTer PSX core](https:\u002F\u002Fgithub.com\u002FMiSTer-devel\u002FPSX_MiSTer) by Robert\n  Peip (FPGAzumSpass) and contributors: the PlayStation itself.\n- [PS-FPGA](https:\u002F\u002Fgithub.com\u002FPS-FPGA\u002Fps-fpga) GTE by Romain Piquois\n  (Laxer3a).\n- [pocket_sotn](https:\u002F\u002Fgithub.com\u002Fakoaysigod\u002Fpocket_sotn) by akoaysigod: the\n  memory layout, SDRAM wiring, memory card slot setup and shared CPU multiplier.\n- [Mednafen](https:\u002F\u002Fmednafen.github.io\u002F) by the Mednafen team, through\n  [Beetle PSX](https:\u002F\u002Fgithub.com\u002Flibretro\u002Fbeetle-psx-libretro): the video\n  decoder's arithmetic, so FMVs match it exactly.\n- [SERV](https:\u002F\u002Fgithub.com\u002Folofk\u002Fserv) by Olof Kindgren: the small RISC-V CPU\n  that reads cue files in the core.\n- Adam Gastineau (agg23) and [MIRLO64](https:\u002F\u002Fgithub.com\u002Ftortugaveloz\u002FMIRLO64)\n  by tortuga: Pocket platform glue and audio output.\n\n## Contributors\n\n- [bhendo](https:\u002F\u002Fgithub.com\u002Fbhendo): found that an odd number of lines per\n  frame causes the red line at the top of the screen, and fixed it by keeping\n  every frame's line count even\n  ([issue #5](https:\u002F\u002Fgithub.com\u002FGuardianSoul\u002Fopenfpga-PlayStation\u002Fissues\u002F5)).\n- [OperationNT414C](https:\u002F\u002Fgithub.com\u002FOperationNT414C): asked for Restart Game\n  and for multi-disc games with any file names through `.m3u` playlists\n  ([issue #25](https:\u002F\u002Fgithub.com\u002FGuardianSoul\u002Fopenfpga-PlayStation\u002Fissues\u002F25)).\n\n## License\n\nThe core is licensed under the [GNU GPL version 2](LICENSE). Files written\nfor this project are also available under the [MIT license](licenses\u002FMIT.txt)\nunless their header says otherwise. Third-party parts keep their own terms;\nsee [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).\n\nNot affiliated with Sony Interactive Entertainment or Analogue.\n\"PlayStation\" is a trademark of Sony Interactive Entertainment.\n","这是一个为 Analogue Pocket 掌机定制的 PlayStation（PSX）FPGA 软核，基于 MiSTer 平台的 PSX 核心移植开发，支持在硬件级运行原始 PlayStation 游戏光盘镜像。核心功能包括完整音频输出（含 CD 音轨）、FMV 播放、多碟游戏自动切换及共享记忆卡；技术上依赖 FPGA 实时逻辑实现原生时序模拟，需用户自行提供 BIOS 和合法光盘镜像（.cue\u002F.bin 或经插件转换的 .chd）。适用于怀旧玩家在便携设备上体验经典 PS1 游戏，对兼容性、音画同步和低延迟有较高要求的场景。",2,"2026-11-24 04:35:07","CREATED_QUERY"]