[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-107612":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":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":14,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},107612,"AlienReRecomp","DiegoDeDios\u002FAlienReRecomp","DiegoDeDios","Static recompilation of Alien Resurrection for PlayStation: a native port with modern rendering and gameplay improvements. Requires your own copy of the game.","",null,"C",80,4,3,9,0,6,28,47.9,"MIT License",false,"main",[],"2026-11-20 21:49:01","2026-11-21 16:46:27","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"packaging\u002Ficon\u002Ficon_1024.png\" alt=\"AR Recomp icon\" width=\"160\">\n\n# Alien Resurrection: Recompiled\n\n**The PlayStation's *Alien Resurrection*, running natively on macOS, Windows and Linux**\n\n[![Latest release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FDiegoDeDios\u002FAlienReRecomp?label=latest%20release)](https:\u002F\u002Fgithub.com\u002FDiegoDeDios\u002FAlienReRecomp\u002Freleases\u002Flatest)\n[![Downloads](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002FDiegoDeDios\u002FAlienReRecomp\u002Ftotal)](https:\u002F\u002Fgithub.com\u002FDiegoDeDios\u002FAlienReRecomp\u002Freleases)\n[![Build](https:\u002F\u002Fgithub.com\u002FDiegoDeDios\u002FAlienReRecomp\u002Factions\u002Fworkflows\u002Frelease.yml\u002Fbadge.svg?branch=main)](https:\u002F\u002Fgithub.com\u002FDiegoDeDios\u002FAlienReRecomp\u002Factions\u002Fworkflows\u002Frelease.yml)\n\n\u003C\u002Fdiv>\n\nAlien Resurrection: Recompiled is a native port of *Alien Resurrection*\n(PlayStation, USA release SLUS-00633), made by **statically recompiling**\nthe game's MIPS code. The game runs on a small runtime that stands in for\nthe PlayStation's BIOS and hardware, and a modern GPU renderer draws it in\nhigh resolution and widescreen, at a steady 60 fps. It adds precision\ngeometry without the PS1 wobble, mouse and keyboard controls, quick saves\nand optional gameplay tweaks.\n\n### [Download the latest release](https:\u002F\u002Fgithub.com\u002FDiegoDeDios\u002FAlienReRecomp\u002Freleases\u002Flatest)\n\n> [!IMPORTANT]\n> This repository and its releases contain no part of the game, neither\n> data nor code. You need your own copy of *Alien Resurrection* (USA,\n> SLUS-00633) as a disc image (a `.cue` sheet with its `.bin` tracks) to\n> play.\n\n| PlayStation (240p, 4:3) | This port (16:9, 3x resolution, precision geometry) |\n| --- | --- |\n| ![The original picture](docs\u002Fmedia\u002Fcompare_original.jpg) | ![The same frame in the port](docs\u002Fmedia\u002Fcompare_port.jpg) |\n\n*The same frame of the first attract demo. The alien at the right edge is\nonly fully visible in widescreen.*\n\n## Table of Contents\n\n* [System Requirements](#system-requirements)\n* [Getting Started](#getting-started)\n* [Features](#features)\n  * [Plug and Play](#plug-and-play)\n  * [Widescreen and Wider Field of View](#widescreen-and-wider-field-of-view)\n  * [High Resolution](#high-resolution)\n  * [Precision Geometry](#precision-geometry)\n  * [Steady 60 FPS](#steady-60-fps)\n  * [Mouse and Keyboard](#mouse-and-keyboard)\n  * [Responsive Controls](#responsive-controls)\n  * [Quick Save](#quick-save)\n  * [Settings Without Leaving the Game](#settings-without-leaving-the-game)\n  * [Sprint](#sprint)\n  * [Enemy Damage Sliders](#enemy-damage-sliders)\n  * [Infinite Flashlight](#infinite-flashlight)\n  * [Smaller Changes](#smaller-changes)\n* [Controls](#controls)\n* [Planned Features](#planned-features)\n* [FAQ](#faq)\n* [Known Issues](#known-issues)\n* [Building](#building)\n* [How It Works](#how-it-works)\n* [Credits](#credits)\n* [License](#license)\n\n## System Requirements\n\n| System | Requirements |\n| --- | --- |\n| macOS | macOS 11 or later, Apple Silicon or Intel |\n| Windows | Windows 10 or 11, 64-bit, a GPU with Vulkan or Direct3D 12 |\n| Linux | x86_64 with glibc 2.35 or newer (Ubuntu 22.04, Debian 12, Fedora 36, SteamOS 3 or newer) and a Vulkan driver |\n\nIf the game does not start, make sure your graphics drivers are up to date.\n\n## Getting Started\n\n1. Download the package for your system from the\n   [latest release](https:\u002F\u002Fgithub.com\u002FDiegoDeDios\u002FAlienReRecomp\u002Freleases\u002Flatest)\n   and unpack it.\n2. Run **AlienResurrection** (`.app` on macOS, `.exe` on Windows,\n   `.\u002FAlienResurrection` on Linux).\n   * macOS: the app is not notarized. On first launch macOS blocks it; open\n     *System Settings › Privacy & Security* and choose *Open Anyway*.\n   * Windows: SmartScreen may warn about an unrecognized app; choose\n     *More info › Run anyway*.\n3. Choose **Select disc image** and pick your `Alien Resurrection (USA).cue`.\n4. Adjust **Settings** and **Controls** if you like, then **Start game**.\n\n## Features\n\n### Plug and Play\n\nStart the port, choose your disc image (`.cue`, one of its `.bin` tracks or\nthe folder) and press **Start game**. The launcher checks that it is the USA\nrelease and shows the title art, read from your own disc. Settings and\ncontrols can be changed here or later in game, with the mouse, the keyboard\nor a controller.\n\n![The launcher](docs\u002Fmedia\u002Flauncher.jpg)\n\n### Widescreen and Wider Field of View\n\n* **Widescreen** at 16:9, 16:10, 21:9 or 32:9 widens the view in 3D instead\n  of stretching the picture. The HUD, menus, loading screens and movies keep\n  their original 4:3 shapes.\n* **Field of view** slider: the game's own view is fairly narrow (53°\n  across the screen at 4:3, 67° with 16:9 widescreen); widen it up to 100°.\n  The first-person weapon keeps its original framing.\n\n### High Resolution\n\n* **Internal resolution** from the original 240p up to 8x (1920p); 4x by\n  default.\n* **Smooth or sharp scaling** to the window, fullscreen, and vsync without\n  tearing.\n\n### Precision Geometry\n\nThe PlayStation rounds every vertex to a whole pixel and maps textures\nwithout perspective correction, which makes polygons jitter and textures\nwarp as the camera moves. **Precision geometry** (in the spirit of PGXP)\nkeeps the full precision of every projected vertex and its depth, so\ngeometry stays still and textures stay straight. Walls that reach past the\ncamera, which the original draws smeared and bent at the edge of the\nscreen, are clipped properly. It can be switched off for the original look.\n\n### Steady 60 FPS\n\nOn the original hardware busy scenes drop to 20–30 fps. The port runs the\ngame's code at three times the original CPU speed by default, which keeps\n60 fps; the game measures elapsed time itself, so it plays at the same speed\nas on the console. The game also capped itself at 20 fps while loading the\nnext part of a level (from the terminal or door that starts the load until\nyou walk through); the port stays at 60.\n\n### Mouse and Keyboard\n\nLook and turn with the mouse (adjustable sensitivity), move with WASD, fire\nwith the left button. Every PlayStation button can be bound to two keys or\nmouse buttons and to a controller button on the **Controls** page.\nControllers are detected automatically and start with the PlayStation\nlayout. F1 releases the mouse; clicking the window captures it again. See\n[Controls](#controls) for the default bindings.\n\n![The Controls page](docs\u002Fmedia\u002Fcontrols.jpg)\n\n### Responsive Controls\n\nIn the original the sticks reach the game two frames late and are ignored\nuntil pushed 38% of the way; the camera stick only sets a turning speed.\nThe port reads the controls right when the game needs them:\n\n* **Mouse look turns the camera directly**: every mouse movement turns the\n  view by exactly that much, immediately, with no dead zone and no speed\n  limit.\n* **Responsive sticks** (on by default): both sticks, and the move and look\n  keys, take effect on the next frame, with a 10% dead zone instead of\n  38%. Half a push on the left stick walks at half speed; the camera stick\n  has a choice of response curves (Linear, Smooth, Precise) and an\n  adjustable speed (150% of the original by default). Turn it off for the\n  original handling.\n\n| Sticks, Turn speed 4 | Original | This port (defaults) |\n| --- | --- | --- |\n| Frames until the camera or Ripley moves | 3 | 1 |\n| Stick travel ignored | 38% | 10% |\n| Movement with the left stick half pushed | 18% | 45% |\n| Full-speed turn | 137°\u002Fs | 206°\u002Fs |\n\n### Quick Save\n\nThe original only saves at the save stations, and loading one puts you back\nin front of that station. **Quick save** (on by default) adds one slot\nthat keeps the exact moment: press **F5** anywhere to save and **F9** to\nreturn to it, with enemies, doors, items and sounds exactly as they were.\nIt works in the title menu too, so a session can pick up where it left off\nright after starting the game. The keys can be changed in **Controls**\n(also for a controller), and the pause menu (F2) has **Quick save** and\n**Quick load** entries. Memory card saves are not touched.\n\n### Settings Without Leaving the Game\n\nPress **F2** (or hold **Select + Start** on a controller) to pause and open\nthe settings and controls over the game. Changes apply immediately, except\ninternal resolution, VSync and skipping the intro, which are marked as\napplying on the next start. **Quit to desktop** is there too.\n\n![The in-game pause menu](docs\u002Fmedia\u002Fpause.jpg)\n\n### Sprint\n\nHold **Shift** (or click the left stick on a controller) to move faster.\nAdded by this port: the game's own running speed is scaled, so collisions,\ndoors and slopes behave as usual and the speed ramps up and down smoothly.\n190% by default, adjustable from 110 to 250%.\n\n![Running and sprinting side by side](docs\u002Fmedia\u002Fsprint.webp)\n\n*The same four seconds from the start of level 1: running (left) and\nsprinting at 190% (right).*\n\n### Enemy Damage Sliders\n\nMake the game easier or harder: **Settings › Enemy damage** has an\n\"All enemies\" percentage and one for each kind of enemy (alien warriors,\nfacehuggers, chestbursters, the queen, the Newborn, marines and soldiers,\nthe sentry tank, and acid blood), from 0 to 200%. The game's own difficulty\nsetting still applies on top. Falls, drowning and your own explosions are\nnot affected.\n\n![The same alien attack with original damage and with 50%](docs\u002Fmedia\u002Fenemy_damage.webp)\n\n*The same alien attack. Left: original damage, Ripley goes down after five\nhits. Right: enemy damage at 50%, she is still standing.*\n\n| Alien warrior hit, Normal difficulty | Health lost | Hits to go down |\n| --- | --- | --- |\n| 100% (original) | 24% | 5 |\n| 50% | 12% | 9 |\n| 200% | 48% | 3 |\n\n![The Enemy damage settings](docs\u002Fmedia\u002Fsettings.jpg)\n\n### Infinite Flashlight\n\nThe flashlight (from the second level on) normally lasts about 20 seconds\nand then has to recharge while switched off. With **Infinite flashlight**\n(on by default) the battery never runs down.\n\n| Original, 20 seconds after switching it on | Infinite flashlight |\n| --- | --- |\n| ![The original flashlight has run out](docs\u002Fmedia\u002Fflashlight_original.jpg) | ![The infinite flashlight is still on](docs\u002Fmedia\u002Fflashlight_infinite.jpg) |\n\n### Smaller Changes\n\n* Memory card saves work (save, load, overwrite) and are kept as standard\n  memory card images.\n* **Skip intro movies** starts straight at the title menu.\n* **Fast forward**: hold the backtick key.\n* Invert Y is off by default (the original defaulted to on); the game's own\n  option still changes it.\n* Screenshots with F12.\n\n## Controls\n\nThe game uses the DualShock \"Dual Stick\" scheme (left stick moves and\nstrafes, right stick looks and turns). Default keyboard and mouse bindings,\nall changeable in **Controls**:\n\n| Key | Pad | In game |\n| --- | --- | --- |\n| W A S D | left stick | move \u002F strafe |\n| Shift (hold) | | sprint (added) |\n| mouse (click window to capture, F1 releases) | right stick | look \u002F turn |\n| arrows | d-pad | menu navigation, look \u002F turn |\n| left click \u002F Left Ctrl | R1 | fire |\n| right click \u002F F | R2 | action |\n| E | Circle | use |\n| Space \u002F C | Cross | menu accept, crouch |\n| X \u002F Backspace | Triangle | menu back, next item |\n| Z | Square | previous item |\n| R \u002F Q | L1 \u002F L2 | next \u002F previous weapon |\n| Esc \u002F Enter | Start | pause |\n| Tab | Select | look hold |\n| V \u002F B (middle click) | L3 \u002F R3 | centre view \u002F quick turn |\n| ` (backtick) | | fast forward (added) |\n| F5 \u002F F9 | | quick save \u002F quick load (added) |\n\nFixed keys: F2 opens the settings overlay, F11 or Cmd+Ctrl+F toggles\nfullscreen (F11 only on Windows), F12 takes a screenshot (Shift+F12 dumps\nVRAM), F1 releases the mouse. These can't be bound to game actions. Quit with\nCmd+Q (Alt+F4 on Windows), by closing the window, or with Quit to desktop in\nthe overlay.\n\nControllers are detected automatically; their sticks always drive the\nanalog sticks and the buttons follow the Controls page (default: the\nPlayStation layout, left stick click = sprint, which latches until the stick\nreturns to centre; the game's L3 \"centre view\" is on V). Holding Select and\nStart together opens the overlay; neither button reaches the game then, so\nthe game's own pause menu stays closed.\n\n## Planned Features\n\n* **High-resolution texture replacement.** The game's art can't simply be\n  swapped for bigger images: textures are small 4-bit tiles packed into\n  256×256 VRAM pages, each drawn with its own 16-colour palette (see\n  [Textures and images](docs\u002FFINDINGS.md#textures-and-images)). The plan,\n  as in emulators such as DuckStation, is to dump every texture the game\n  draws to PNG (named by a hash of its pixels and palette), let them be\n  upscaled or repainted, and have the renderer draw the replacements.\n  Full-screen images (loading screens, title art) can be replaced whole.\n* **Linux: an AppImage or Flatpak** for desktop integration, and arm64\n  packages (they build with `ARCH=arm64 tools\u002Fbuild_linux_docker.sh` but\n  are not part of the release yet).\n\n## FAQ\n\n#### What is static recompilation?\n\nTranslating a program's machine code into another language ahead of time\ninstead of emulating it while it runs. `tools\u002Frecomp.py` turns each of the\ngame's roughly 2,000 MIPS functions into a C function, which is compiled\nfor your computer together with a runtime that replaces the PlayStation's\nBIOS and hardware.\n\n#### Why do the downloads interpret the game's code then?\n\nThe recompiled C is derived from the game, so it can't be distributed. The\ndownloads read the game's code from your disc image when you play and run\nit with the port's MIPS interpreter, with exactly the same enhancements.\nBuilding from source with your own disc gives you the recompiled version\n(see [Building](#building)).\n\n#### Is this an emulator? Can it run other games?\n\nNo. The runtime only implements what *Alien Resurrection* uses, and the\nport only accepts the USA release (SLUS-00633). Other games, and other\nreleases of this one, are not supported.\n\n#### Is this based on a decompilation?\n\nNo. The port runs the game's original code unchanged; its enhancements are\nsmall native replacements for individual game functions, found by reverse\nengineering the game. What has been learned so far is in\n[docs\u002FFINDINGS.md](docs\u002FFINDINGS.md).\n\n#### Where are my saves and settings?\n\nMemory cards (standard 128 KiB images), `config.ini` and the quick save\n(`quicksave.state`) live in:\n\n| System | Folder |\n| --- | --- |\n| macOS | `~\u002FLibrary\u002FApplication Support\u002FAlienResurrectionPort\u002FAlienResurrection\u002F` |\n| Windows | `%APPDATA%\\AlienResurrectionPort\\AlienResurrection\\` |\n| Linux | `~\u002F.local\u002Fshare\u002FAlienResurrectionPort\u002FAlienResurrection\u002F` (or under `$XDG_DATA_HOME` when set) |\n\nThe game keeps its own options (Invert Y, crosshair, vibration…) inside\neach memory card save and restores them from the newest save at startup.\nDelete `quicksave.state` to start without a quick save; copy it to keep one\naside.\n\n#### Why won't my quick save load after an update?\n\nA quick save is a snapshot of the whole emulated PlayStation (about 4 MB)\nand belongs to the version of the port that made it. Before updating, save\nat a station; memory card saves carry over.\n\n#### Can I get the original look and feel back?\n\nYes: in **Settings** turn off Widescreen, Precision geometry, Responsive\nsticks, Sprint and Infinite flashlight, and set Internal resolution to 1x,\nField of view to Original and Frame rate boost to Original (100%).\n\n#### Where do I report a bug?\n\nIn the [issue tracker](https:\u002F\u002Fgithub.com\u002FDiegoDeDios\u002FAlienReRecomp\u002Fissues).\nOn Windows, `alien.log` in the save folder (above) has details when the\ngame fails to start.\n\n## Known Issues\n\n* No rumble output: the DualShock rumble protocol is implemented but not\n  passed on to controllers.\n* The PlayStation Mouse, which the game supports, is not emulated.\n* The Windows build has been verified under Wine and in a Parallels VM, and\n  the Linux build in containers; reports from native Windows and Linux\n  machines are welcome.\n* Not every level has been played through on the port yet.\n\n## Building\n\nBuilding is not required to play: the\n[releases](https:\u002F\u002Fgithub.com\u002FDiegoDeDios\u002FAlienReRecomp\u002Freleases) have\nready-made packages, which contain no game data or code. To build the port\nyourself, as a recompiled build from your own disc or as the interpreted\nbuild the releases use, see [docs\u002FBUILDING.md](docs\u002FBUILDING.md). It also\ncovers the release workflow and the command-line options used for testing.\n\n## How It Works\n\n* `tools\u002Frecomp.py` translates every MIPS function of the two game\n  executables (the boot loader and `ALIEN.BIN`) into C, one C function per\n  MIPS function. Sony's PsyQ library functions are identified by\n  signature. Release builds instead interpret the original machine code\n  read from the player's disc, calling the same native hooks.\n* The runtime (`src\u002Fruntime`, `src\u002Fhw`) replaces the PlayStation BIOS and\n  models the hardware the game and its libraries talk to: GPU, GTE, CD-ROM,\n  SPU, MDEC, DMA, timers, controllers and memory cards.\n* The renderer (`src\u002Frender`) draws the game's GPU commands through the\n  SDL3 GPU API (Metal on macOS, Vulkan or Direct3D 12 on Windows, Vulkan\n  on Linux), at a multiple of the original resolution.\n* The enhancements are small native replacements for individual game\n  functions (`src\u002Fruntime\u002Fnative.c`), found by reverse engineering the\n  game.\n\nSee [docs\u002FARCHITECTURE.md](docs\u002FARCHITECTURE.md) for how the port works and\n[docs\u002FFINDINGS.md](docs\u002FFINDINGS.md) for what has been learned about the\ngame so far.\n\n## Credits\n\n* [SDL3](https:\u002F\u002Flibsdl.org) for windows, input, audio and the GPU API.\n* [Dear ImGui](https:\u002F\u002Fgithub.com\u002Focornut\u002Fimgui) for the launcher and the\n  in-game overlay.\n* [psx_psyq_signatures](https:\u002F\u002Fgithub.com\u002Flab313ru\u002Fpsx_psyq_signatures) for\n  identifying Sony's library functions.\n* [Architecture of Consoles](https:\u002F\u002Fgithub.com\u002Fflipacholas\u002FArchitecture-of-consoles)\n  by Rodrigo Copetti, for PlayStation hardware reference.\n* PGXP, originally by iCatButler for PCSX-R, for the idea behind precision\n  geometry.\n\n## License\n\nThe port's own source code and documentation are released under the\n[MIT License](LICENSE). That covers only what was written for this\nproject:\n\n* `third_party\u002Fimgui` is Dear ImGui, under its own MIT license\n  (`third_party\u002Fimgui\u002FLICENSE.txt`); SDL3 is used under the zlib license.\n* *Alien Resurrection* itself (its code, data, artwork, text, music and\n  trademarks) is not covered and not included. The screenshots and\n  animations in `docs\u002Fmedia` show the game and remain the property of its\n  owners; they are here only to illustrate the port.\n* The C code that `tools\u002Fregen.sh` recompiles from your disc (`src\u002Fgen\u002F`)\n  is derived from the game, is not covered by this license and is not part\n  of the repository. Recompiled builds contain it and are for personal use;\n  the release packages are interpreted builds, which contain no game code\n  and read it from the player's own disc image.\n\nThis is an independent fan project, not affiliated with or endorsed by 20th\nCentury Studios, Fox Interactive or Argonaut Games. *Alien Resurrection* and\nall related game content belong to their owners; no game data is included.\n","Alien Resurrection: Recompiled 是一款针对 PlayStation 原版《异形：复活》（SLUS-00633）的静态重编译项目，将其原生移植至 macOS、Windows 和 Linux 平台。项目通过静态反汇编与重编译 MIPS 机器码，并构建轻量级运行时模拟 BIOS 及硬件行为，配合现代 GPU 渲染器实现高分辨率、16:9 宽屏、稳定 60 FPS、精准几何建模及鼠标键盘支持。新增功能包括快速存档、实时设置调节、冲刺、伤害调整和无限手电筒等。适用于希望在现代系统上流畅体验原版 PS1 游戏并获得画质与操作优化的怀旧玩家和主机游戏重制爱好者。",2,"2026-11-24 04:32:24","CREATED_QUERY"]