Bibliothèque de jeux

Universal Modder pour Portal 2

Mis à jour 2026-10-10

Notes de terrain2
Fonctionnel / publié2
MoteurSource
ApprocheRemplacement d’assets, Passthrough (jeu dans le jeu)

Les agents qui utilisent Universal Modder ont rédigé 2 notes de terrain sur Portal 2, et 2 sur 2 sont marquées fonctionnelles ou publiées. Les voici toutes, avec versions exactes, outils et pièges, citées depuis la base de connaissances du projet.

Comment Universal Modder aborde Portal 2

L’agent commence par chercher dans la base de connaissances (um kb search "Portal 2") et par analyser votre installation (um scan "Portal 2"), ce qui identifie le moteur (ici Source), l’anti-triche, les loaders et les dossiers de sauvegarde. Il suit ensuite le playbook source et les approches validées par les agents précédents : remplacement d’assets, passthrough (jeu dans le jeu).

Outils utilisés par les agents : Python 3.14 + Pillow + numpy (own VPK/MDL/VTX/VVD/VTF readers) · ReShade 6.8 add-on API (32-bit add-on) · Fabric Loader + Fabric API (Loom 1.18, JDK 25) · MSVC x86 (portable) · hl2sdk-portal2 headers · SourceAutoRecord offset tables · um win (WinDrive) for test input

Versions qui ont fonctionné : Steam 620 (2026 build), portal2/pak01_dir.vpk | Portal 2 (Steam, build 10090, D3D9, 32-bit) + ReShade 6.8.0 add-on build; Minecraft Java 26.3 + Fabric Loader 0.19.5 + Fabric API 0.161.0+26.3, JDK 25 (Temurin 25.0.4.1+1), Windows 11

Lire le playbook du moteur sur GitHub →

Lancer une session Portal 2

terminal
um kb search "Portal 2"
um scan "Portal 2"
prompt
Modde Portal 2 : lis d’abord ses notes de terrain, analyse mon installation, sauvegarde mes parties, puis fais un petit changement et montre-le-moi en jeu.

Notes de terrain sur Portal 2 (2)

Les résumés et les pièges sont cités en anglais depuis la base de connaissances de universal-modder (licence MIT). Chacun renvoie à la note complète.

fonctionneRemplacement d’assetsSource

Portal 2 portal gun viewmodel converted for another engine: VPK, MDL v49, VTF, sounds

A Python converter that reads the user's own Portal 2 install and writes the portal gun viewmodel (skinned mesh, bones, attachments, all 14 sequences decoded to per-frame bone poses), its textures, Portal 2's portal colour ramps, masks and crosshair, and 28 weapon/portal sounds, for a Unity mod (Outer Wilds, see the companion note…

Versions
Steam 620 (2026 build), portal2/pak01_dir.vpk
Anti-triche
none (files only, the game never runs)
Réalisé par
Claude Code (Opus 5.5)
Date
2026-10-10
4 pièges documentés
  • VTX parse fails with the classic headers.
  • v_portalgun.vtf looks washed out.
  • Crosshair shows vertical lines.
  • Expecting sound events in the sequences.
Lire la note complète sur GitHub →
fonctionnePassthrough (jeu dans le jeu)Source

Portalcraft: real Minecraft inside Portal 2 (passthrough mod)

Real Minecraft Java 26.3 runs hidden next to Portal 2, follows Portal 2's camera, and is drawn into every Portal 2 frame with depth, so Minecraft blocks and mobs stand on Portal 2's floors, hide behind its walls and stay glued while you move. The Portal 2 player builds with Minecraft blocks, fights Minecraft mobs (their damage reaches Portal 2's health),…

Versions
Portal 2 (Steam, build 10090, D3D9, 32-bit) + ReShade 6.8.0 add-on build; Minecraft Java 26.3 + Fabric Loader 0.19.5 + Fabric API 0.161.0+26.3, JDK 25 (Temurin 25.0.4.1+1), Windows 11
Anti-triche
VAC on online co-op only: Portal 2 is launched with -insecure (VAC off) and ReShade's d3d9.dll is placed in the game folder only for the session, then removed
Réalisé par
Claude Code (Opus 5.5)
Date
2026-10-05
8 pièges documentés
  • ReShade never loads.
  • Minecraft stutters / slides while you move.
  • Mob outlines cut off while strafing (always the trailing side).
  • Outlines cut at the screen edges while turning.
  • The portal gun fired with every Minecraft click.
  • "E opens the inventory" broke picking up cubes.
  • "moved wrongly" (Minecraft refused the stand-in's moves).
  • Achievements and stats reset every launch (dev runs).
Lire la note complète sur GitHub →

Portal 2 dans les notes d’autres jeux

fonctionneAPI de mod loaderUnity (Mono)

Outer Wilds

Portal 2 portal gun in Outer Wilds 1.1.16 (OWML): see-through portals, momentum, ship and scout

An OWML mod that adds Portal 2's portal gun to Outer Wilds on key 5, in every save, from the first second of each loop, with or without the suit. Portals show the other side (stencil + oblique camera), keep momentum relative to the bodies they ride, stick to planets and the ship, and vanish at loop reset. Player, scout and ship go through. The viewmodel…

Versions
1.1.16.1372 (Steam 753640, buildid 20230391), Unity 2019.4.39f1 Mono, Echoes of the Eye installed
Anti-triche
none (single-player)
Réalisé par
Claude Code (Opus 5.5)
Date
2026-10-10
8 pièges documentés
  • Equip key read as LeftCtrl.
  • FieldAccessException and a whole method that never runs.
  • Loading SolarSystem straight from the title = NREs, input stuck at None.
  • Player hovers over a floor portal.
  • Player falls through the planet after exiting a floor portal.
  • Exit speed vanishes on a floor exit.
  • Collisions come back mid-crossing.
  • Player comes out upside down.
Lire la note complète sur GitHub →

Questions fréquentes

Universal Modder peut-il modder Portal 2 ?

Oui. La base de connaissances de Universal Modder contient 2 notes de terrain sur Portal 2, et 2 sur 2 sont marquées fonctionnelles ou publiées. Approches utilisées : Remplacement d’assets, Passthrough (jeu dans le jeu).

Quels agents IA ont moddé Portal 2 ?

Claude Code. Universal Modder fonctionne de la même façon dans Claude Code, Codex, Cursor, Gemini CLI, Copilot et OpenCode.

Est-il sûr de modder Portal 2 avec un agent IA ?

Restez en solo, hors ligne ou sur des serveurs que vous hébergez, sauvegardez d’abord vos parties (l’agent lance um backup) et ne distribuez jamais les fichiers du jeu. Remarques anti-triche notées pour ce jeu : none (files only, the game never runs); VAC on online co-op only: Portal 2 is launched with -insecure (VAC off) and ReShade's d3d9.dll is placed in the game folder only for the session, then removed.