Skip to content

EnterElectro-Recomp 0.13

Latest

Choose a tag to compare

@CloudStrife29 CloudStrife29 released this 23 Nov 11:30

EnterElectro-Recomp 0.13: port nativo per PC di Spider-Man 2: Enter Electro (PlayStation, 2001), fatto con la ricompilazione statica di psxrecomp. La 0.13 porta il primo risultato della riscrittura del gioco (la decompilazione): la vista larga intera. È pubblicato anche su GitLab (https://gitlab.com/rdecomp-labs1/EnterElectro-Recomp), con la stessa cronologia.

English below.

Per giocare

Serve il tuo disco originale: il progetto non contiene niente del gioco. Il launcher riconosce 7 versioni del disco (USA, Europa e Giappone, elencate nel LEGGIMI.md).

  1. Scarica EnterElectro-Recomp-0.13.zip (circa 385 MB) qui sotto, nella sezione «Assets»: è il pacchetto completo, funziona anche senza internet.
  2. Estrailo in una cartella con un percorso corto, per esempio C:\Giochi\EnterElectro-Recomp, e fai doppio clic su SM2-Launcher.cmd.
  3. Nel launcher: Aggiungi un disco (il dump del tuo disco, .cue e .bin), poi Installa e Gioca.

Si può giocare anche dal repository (git clone o gli archivi «Source code»): contiene anche psxrecomp, con le modifiche descritte in psxrecomp_modifiche.patch, e recomp-ui. Al primo avvio SM2-Launcher.cmd scarica da internet gli strumenti di compilazione (circa 200 MB, versione 1.0.14 controllata con la sua impronta SHA-256), che sono solo nel pacchetto; nel repository non c'è nemmeno il motore già compilato, quindi la prima installazione dura qualche minuto in più.

Dalla 0.12: estrai la 0.13 in una cartella nuova, accanto a quella vecchia, e nella pagina Opzioni premi Prendi da una versione precedente...: il launcher sposta dischi, installazioni e salvataggi, senza cancellare niente. Il motore è quello della 0.12, quindi non si reinstalla: le patch della vista larga entrano da sole al primo avvio. Dalla 0.11: stessa cosa, ma il motore è cambiato e si reinstalla una volta (Reinstalla tiene opzioni e salvataggi); i salvataggi rapidi (F7) fatti con la 0.11 non si caricano più: per continuare una partita usa le memory card.

Le istruzioni complete sono in LEGGIMI.md.

Impronta SHA-256 dello zip: 6a9181bd867c14f74707d1a950aee04a0ed7c763607a5a9f50aad64448814596

Novità della 0.13

  • Vista larga intera: con il widescreen gli oggetti molto vicini alla telecamera (muri, pilastri, casse a un lato) non si tagliano più al bordo dell'immagine 4:3 originale, e la tendina dei cambi di zona e il velo blu del menu di pausa coprono tutta l'immagine larga. Vale a 16:9, 16:10, 21:9 e con «Adatta alla finestra» (fino al 21:9), nella USA Rev 1 e nella USA originale; nelle versioni europee (anche quella francese e quella tedesca) vale per gli oggetti vicini alla telecamera, mentre tendina e velo restano larghi come l'immagine 4:3. Viene dalla decompilazione della USA Rev 1: alcune funzioni del disegno riscritte in C e compilate con il compilatore originale del gioco.
  • Niente del gioco nel pacchetto: il file delle patch (aot/sm2_widescreen_patch.json) contiene solo le differenze e le impronte SHA-256; il launcher prende i byte dal tuo disco e controlla l'impronta prima di usarli.
  • Widescreen spento = gioco originale: con la mod Widescreen spenta il codice del gioco resta quello del disco.
  • Launcher anche con Windows in UTF-8: se in Windows è accesa l'opzione beta che usa Unicode UTF-8 per tutto il sistema, o se apri il launcher da una finestra dei comandi passata a UTF-8 (chcp 65001), il launcher della 0.12 si fermava subito con errori come «"t" non è riconosciuto come comando interno o esterno». Con la 0.13 parte anche così.

Le novità della 0.12 restano elencate in PROSSIMI_OBIETTIVI.md.

Prove

  • Pacchetto: provato da zero come su un PC pulito senza internet (Europa installata da zero, filmati migliorati, PGXP, finestra del launcher in italiano e in inglese), e aggiornando una cartella della 0.12 con la USA Rev 1 già installata: niente reinstallazione, vista larga aggiunta al primo avvio. La stessa prova è stata ripetuta con la console in UTF-8 (code page 65001).
  • Livelli, con la vista larga 16:9 accesa: il gioco automatico gioca tutti i 44 livelli nelle tre versioni principali (USA Rev 1, USA originale, Europa originale) e sei livelli, uno per episodio, nelle altre quattro; i livelli rigiocati sono identici frame per frame. La storia della USA Rev 1 va da un livello all'altro (26 passaggi), anche in una prova lunga di 45 minuti a velocità normale (60 fotogrammi al secondo, memoria stabile).
  • Nel gioco: nella USA Rev 1 le patch della vista larga sono in memoria a 16:9 e a 21:9; con il widescreen spento restano i byte originali.
  • Repository: il repository della 0.13 è stato provato da zero sul PC di prova (clone, USA Rev 1 installata senza e con il PGO pronto, il gioco parte). Gli strumenti di compilazione sono stati presi dal pacchetto invece di scaricarli: quella parte è uguale alla 0.12, quando è stata provata con il download.
  • Prova manuale: quella della 0.12, una partita completa con la USA Rev 1; per la 0.13 nessuna nuova partita completa a mano.
  • Non ancora provato: la vibrazione.

Difetti conosciuti

Sono in PROSSIMI_OBIETTIVI.md («Difetti conosciuti della 0.13»). Per la vista larga: nella versione giapponese in qualche punto un oggetto molto vicino alla telecamera appare ancora tagliato al bordo dell'immagine 4:3; nelle versioni europee tendina e velo restano larghi come l'immagine 4:3; con «Adatta alla finestra», oltre il 21:9 gli oggetti vicini alla telecamera possono ancora tagliarsi.

Note

  • Il launcher ha la licenza MIT. Il pacchetto e il repository contengono anche psxrecomp e recomp-ui di Matthew Stanley, ognuno con la sua licenza: per quella di psxrecomp (PolyForm Noncommercial 1.0.0) si possono usare e distribuire solo gratis e per scopi non commerciali. I dettagli sono in LICENZE.md.
  • Spider-Man 2: Enter Electro appartiene ai suoi titolari: Activision, Marvel e chi ne detiene i diritti. EnterElectro-Recomp non è collegato a loro né approvato da loro.

English

EnterElectro-Recomp 0.13: native PC port of Spider-Man 2: Enter Electro (PlayStation, 2001), made by static recompilation with psxrecomp. 0.13 brings the first result of the game's rewrite (the decompilation): the full wide view. It is also published on GitLab (https://gitlab.com/rdecomp-labs1/EnterElectro-Recomp), with the same history.

To play

You need your own original disc: the project contains nothing from the game. The launcher recognises 7 versions of the disc (USA, Europe and Japan, listed in README.md).

  1. Download EnterElectro-Recomp-0.13.zip (about 385 MB) below, in the "Assets" section: it is the complete package and also works without internet.
  2. Extract it into a folder with a short path, for example C:\Games\EnterElectro-Recomp, and double-click SM2-Launcher.cmd.
  3. In the launcher: Add a disc (the dump of your own disc, .cue and .bin), then Install and Play.

You can also play from the repository (git clone or the "Source code" archives): it also contains psxrecomp, with the changes described in psxrecomp_modifiche.patch, and recomp-ui. On the first start SM2-Launcher.cmd downloads the build tools from the internet (about 200 MB, version 1.0.14 checked against its SHA-256 hash), which are only in the package; the repository does not have the precompiled engine either, so the first installation takes a few minutes longer.

From 0.12: extract 0.13 into a new folder, next to the old one, and on the Options page press Import from an earlier version...: the launcher moves discs, installations and saves, without deleting anything. The engine is the one of 0.12, so no reinstall is needed: the wide-view patches are added by themselves at the first start. From 0.11: the same, but the engine has changed and you reinstall once (Reinstall keeps options and saves); quick saves (F7) made with 0.11 no longer load: to carry on a game, use the memory cards.

The full instructions are in README.md.

SHA-256 of the zip: 6a9181bd867c14f74707d1a950aee04a0ed7c763607a5a9f50aad64448814596

New in 0.13

  • Full wide view: with widescreen, objects very close to the camera (walls, pillars, crates at one side) are no longer cut off at the edge of the original 4:3 picture, and the zone-change wipe and the blue veil of the pause menu cover the whole wide picture. It holds at 16:9, 16:10, 21:9 and with "Fit to window" (up to 21:9), in USA Rev 1 and in the original USA version; in the European versions (French and German included) it holds for the objects close to the camera, while the wipe and the veil stay as wide as the 4:3 picture. It comes from the decompilation of USA Rev 1: some drawing functions rewritten in C and built with the game's original compiler.
  • Nothing from the game in the package: the patch file (aot/sm2_widescreen_patch.json) holds only the differences and SHA-256 hashes; the launcher takes the bytes from your own disc and checks the hash before using them.
  • Widescreen off = the original game: with the Widescreen mod off, the game's code stays as it is on the disc.
  • Launcher also with Windows in UTF-8: if the Windows beta option "Use Unicode UTF-8 for worldwide language support" is on, or if you open the launcher from a command window switched to UTF-8 (chcp 65001), the 0.12 launcher stopped at once with errors like "'t' is not recognized as an internal or external command". With 0.13 it starts in that case too.

The 0.12 features are still listed in ROADMAP.md.

Tests

  • Package: tested from scratch as on a clean PC without internet (European version installed from scratch, enhanced movies, PGXP, launcher window in Italian and English), and by updating a 0.12 folder with USA Rev 1 already installed: no reinstall, wide view added at the first start. The same test was repeated with the console in UTF-8 (code page 65001).
  • Levels, with the 16:9 wide view on: the automatic player plays all 44 levels in the three main versions (USA Rev 1, original USA, original Europe) and six levels, one per episode, in the other four; the replayed levels are identical frame by frame. The USA Rev 1 story goes from one level to the next (26 steps), also in a 45-minute long run at normal speed (60 frames per second, stable memory).
  • In the game: in USA Rev 1 the wide-view patches are in memory at 16:9 and at 21:9; with widescreen off the original bytes stay.
  • Repository: the 0.13 repository was tested from scratch on the test PC (clone, USA Rev 1 installed without and with the ready-made PGO profile, the game starts). The build tools were taken from the package instead of being downloaded: that part is the same as in 0.12, when it was tested with the download.
  • Manual test: the one of 0.12, a complete playthrough with USA Rev 1; no new complete playthrough by hand for 0.13.
  • Not tested yet: rumble.

Known issues

They are in ROADMAP.md ("Known issues in 0.13"). For the wide view: in the Japanese version, in a few places an object very close to the camera still appears cut off at the edge of the 4:3 picture; in the European versions the wipe and the veil stay as wide as the 4:3 picture; with "Fit to window", beyond 21:9 objects close to the camera can still be cut off.

Notes

  • The launcher is under the MIT license. The package and the repository also contain psxrecomp and recomp-ui by Matthew Stanley, each with its own license: because of psxrecomp's license (PolyForm Noncommercial 1.0.0) they may be used and distributed only free of charge and for non-commercial purposes. Details are in LICENSES.md.
  • Spider-Man 2: Enter Electro belongs to its owners: Activision, Marvel and the other rights holders. EnterElectro-Recomp is not affiliated with or endorsed by them.