Machine Hunter
Machine Hunter HD is a fan-made mod for Machine Hunter that adds HD textures, widescreen support, and gameplay fixes.
- Type: standalone game
- Game: Machine Hunter
- Runs on Windows
- By IraFunesto
- Latest release v1.0, 2026-11-15
- Source: https://github.com/IraFunesto/machine-hunter-hd
README
Machine Hunter HD
Italiano
Mod non ufficiale per Machine Hunter (PC, 1997, versione 1.10): alta risoluzione, schermi larghi fino a 32:9, texture e sprite HD, menu e HUD ridisegnati, joypad, musica dal CD e varie correzioni.
Il repository contiene solo il codice e gli strumenti del mod. Non contiene file del gioco originale, né musica, né texture. Ognuno si genera le texture HD, i menu HD e la musica dalla propria copia del gioco con
tools\installa.py.
⚠️ Compatibilità: il mod è stato provato con la versione italiana e quella inglese del gioco (
MACHHUNT.EXEv1.10; MD5 italianae651c3d6a3658aa47fc647621876acae, inglesea1f47a8ca1aa627081a53b33b9d861db). Altre versioni o lingue non sono state provate.installa.pyriconosce la versione e si ferma se l'EXE non corrisponde nei punti da modificare.
Cosa fa
Grafica
- Risoluzione interna 4x (960 righe) e rapporto d'aspetto libero: auto, 16:9, 21:9, 32:9, 16:10, 4:3 o un numero. A schermo intero senza bordi o in finestra.
- Render nuovo su scheda video (OpenGL), con:
- colori veri a 32 bit e luce continua;
- prospettiva corretta;
- trasparenze del gioco (additive e al 50%);
- texture e sprite HD ricavati con Real-ESRGAN, ricolorati con i colori del livello.
- Render classico migliorato (a 256 colori) sempre disponibile.
- Texture HD a caricamento rapido: precaricate su più thread, con la schermata "CARICAMENTO TEXTURE HD" all'inizio del livello.
- Correzioni grafiche:
- glitch con la telecamera inclinata o che ruota;
- pezzi di mappa che sparivano ai lati;
- limite di poligoni alzato.
Menu e HUD
- Menu, HUD, caratteri e logo in HD, con la dimensione dell'HUD regolabile.
- Il menu principale e le porte della transizione si allargano allo schermo ricostruendo i lati, senza stirare.
- Mappa (Select) larga e in alta risoluzione.
- Colonna degli oggetti a sinistra riordinata, con le icone luminose trasparenti.
Gioco
- Joypad (XInput/HID) con tasti configurabili e conferma con la croce nei menu.
- Musica dalle tracce del CD (
MUSIC\TrackNN.wavo.mp3). - IA dei nemici:
- non spingono più contro casse e muri sottili;
- le pattuglie evitano i tratti bloccati.
- Area di comparsa dei nemici allargata per lo schermo largo (disattivabile).
- Colore della tuta del giocatore a scelta: viola come su PS1, arancione come su PC, o altri.
- Modalità foto (R3 / F10):
- telecamera libera, rotazione e zoom;
- mondo congelato;
- personaggio visibile o nascosto;
- F12 / croce salva la foto in
FOTO\.
Tutte le opzioni sono in MHFIX.INI, commentate.
Installazione
Serve il gioco Machine Hunter installato dal CD originale: cartella con MACHHUNT.EXE (v1.10) e DATA\DATA.ARC.
Metodo semplice (senza Python)
- Scarica
MachineHunterHD.zipdalla release ed estrai tutto nella cartella del gioco. Dentro ci sono:- il launcher
MachineHunterHD.exe; WINMX.dlleMHFIX.INI;- Real-ESRGAN, già pronto in
tools\realesrgan\.
- il launcher
- Apri
MachineHunterHD.exe. Riconosce la versione del gioco. Se vuoi la musica, scegli il lettore con il CD inserito. - Premi Installa: ci vogliono circa 15-20 minuti e circa 1,5 GB di spazio.
- Facoltativo: estrai anche
anteprime_missioni.zipnella cartella del gioco. - Premi Gioca. Nella finestra "Machine Hunter V 1.10" premi Nuova partita (New Game).
Note:
- Il launcher la prima volta impiega qualche secondo ad aprirsi.
- Windows potrebbe avvisare che il programma non è firmato. È normale per un EXE creato con PyInstaller, e il codice è tutto in questo repository.
- Musica: se non si sente, attivala nelle opzioni del gioco (è un'impostazione del gioco, in
MACHHUNT.INI). Gli EXE già modificati da altri per giocare senza CD vengono corretti da soli, perché alcuni bloccano la musica.
Metodo con Python
-
Python 3.10+ e i pacchetti:
pip install -r tools/requirements.txt -
Real-ESRGAN ncnn-vulkan (scheda video con Vulkan):
- scarica
realesrgan-ncnn-vulkan-...-windows.zipda Real-ESRGAN releases; - estrai il contenuto in
tools\realesrgan\(deve essercitools\realesrgan\realesrgan-ncnn-vulkan.execon la cartellamodels\).
- scarica
-
Copia la cartella
tools\eMHFIX.INIdi questo repository dentro la cartella del gioco. -
Con il CD nel lettore (per la musica), dalla cartella del gioco:
python tools/installa.pyOpzioni:
--cd Eper scegliere il lettore;--senza-musicaper saltare la musica;--solo-exeper rifare solo l'EXE.
Ci vogliono circa 15-20 minuti, soprattutto per Real-ESRGAN, e circa 1,5 GB di spazio.
-
Metti
WINMX.dll(dalla release, oppure compilala, vedi sotto) nella cartella del gioco. -
Facoltativo: scarica
anteprime_missioni.zipdalla release ed estrailo nella cartella del gioco. Sono le immagini delle 17 missioni rifatte in HD con foto in gioco (cartellaUI_HD\); senza, si vedono quelle originali ingrandite. -
Avvia
MACHHUNT_HD.EXE. Nella finestra "Machine Hunter V 1.10" premi Nuova partita (New Game nella versione inglese).
installa.py esegue in ordine:
- EXE senza CD;
- tracce audio del CD;
- texture e sprite (esporta, Real-ESRGAN, correzione delle texture scure, archivio
DATA\HD4S.ARC, indiceDATA\HDPNG.idx); - menu HD (
UI_HD\), caratteri, logo e porte larghe; MACHHUNT_HD.EXE(patch conbuild_exe.py).
Ogni passo si può lanciare anche a mano: vedi la descrizione in cima a ogni script.
Texture proprie: dopo il passo 3 le texture HD sono normali PNG in TEXTURES_4X\ e SPRITES_4X\. Si possono ritoccare o sostituire con le proprie e poi ricostruire l'archivio:
python tools/mh_tex.py build TEXTURES_4X SPRITES_4X
python tools/png_index.py
Compilare WINMX.dll
WINMX.dll sostituisce WINMM.dll per l'EXE patchato. È a 32 bit e si compila con clang o gcc mingw-w64 (i686):
cd tools/winmx
i686-w64-mingw32-clang -O2 -shared -o WINMX.dll winmx.c -lsetupapi -lhid -lgdi32 -luser32 -lopengl32 -lwindowscodecs -lole32 -luuid -Wl,--kill-at
File
| File | Cosa fa |
|---|---|
tools/winmx/ | la DLL: presentazione OpenGL, render nuovo, HUD/menu HD, joypad, musica, correzioni (winmx.c + *.inc) |
tools/build_exe.py | patch dell'EXE: risoluzione, texture 4x, livello HUD separato, aggancio a WINMX.dll |
tools/mh_tex.py | texture e sprite: esportazione, Real-ESRGAN, ricostruzione degli archivi |
tools/png_index.py | indice dei PNG HD per il render nuovo |
tools/rip_cd.py | estrae le tracce audio dal CD (lettura CDDA diretta, nessun programma esterno) |
tools/font_hd.py, make_logo.py, door_wide.py | caratteri HD, logo, porte del menu larghe |
tools/mission_hd.py | immagini delle missioni dalle proprie foto in gioco (facoltativo) |
tools/installa.py | tutto in un comando |
tools/launcher.py, make_launcher.py | il launcher con finestra e il pacchetto senza Python (PyInstaller) |
MHFIX.INI | impostazioni del mod |
Note
- Mod amatoriale, non affiliato con gli autori o i detentori dei diritti di Machine Hunter.
- Le immagini delle missioni si possono rifare con le proprie foto:
- in
MHFIX.INImetti[foto] anteprima=1; - in modalità foto scatta con F12.
- in
- I commenti nel codice e in
MHFIX.INIsono in italiano.
Licenza
Codice del mod sotto licenza MIT (vedi LICENSE). Machine Hunter e i suoi contenuti appartengono ai rispettivi proprietari.
English
Unofficial mod for Machine Hunter (PC, 1997, version 1.10): high resolution, widescreen up to 32:9, HD textures and sprites, redrawn menus and HUD, gamepad, CD music and various fixes.
This repository contains only the mod's code and tools. It contains no original game files, music or textures. Everyone generates the HD textures, HD menus and music from their own copy of the game with
tools\installa.py.
⚠️ Compatibility: the mod has been tested with the Italian and English versions of the game (
MACHHUNT.EXEv1.10; Italian MD5e651c3d6a3658aa47fc647621876acae, Englisha1f47a8ca1aa627081a53b33b9d861db). Other versions and languages are untested.installa.pydetects the version and stops if the EXE doesn't match at the patched locations.
Features
Graphics
- 4x internal resolution (960 lines) and any aspect ratio: auto, 16:9, 21:9, 32:9, 16:10, 4:3 or a number. Borderless fullscreen or windowed.
- New GPU renderer (OpenGL), with:
- 32-bit true colour and smooth lighting;
- perspective-correct texturing;
- the game's transparencies (additive and 50%);
- HD textures and sprites made with Real-ESRGAN, recoloured with each level's colours.
- Improved classic renderer (256 colours) still available.
- Fast HD texture loading: preloaded on several threads, with a loading screen ("CARICAMENTO TEXTURE HD") at the start of each level.
- Graphics fixes:
- glitches with the tilted or rotating camera;
- map pieces disappearing at the sides;
- higher polygon limit.
Menus and HUD
- HD menus, HUD, fonts and logo, with adjustable HUD size.
- The main menu and the door transition widen to the screen by rebuilding the sides, not by stretching.
- Wide, high-resolution map (Select).
- Left item column rearranged, with the glowing icons drawn transparent.
Gameplay
- Gamepad (XInput/HID) with configurable buttons and cross-to-confirm in menus.
- Music from the CD tracks (
MUSIC\TrackNN.wavor.mp3). - Enemy AI:
- enemies no longer push into crates and thin walls;
- patrols avoid blocked path segments.
- Enemy spawn area widened for widescreen (can be turned off).
- Player suit colour: purple (as on PS1), orange (as on PC) or others.
- Photo mode (R3 / F10):
- free camera, rotation and zoom;
- frozen world;
- character shown or hidden;
- F12 / cross saves the picture to
FOTO\.
All options are in MHFIX.INI, with comments (in Italian).
Installation
You need Machine Hunter installed from the original CD: a folder with MACHHUNT.EXE (v1.10) and DATA\DATA.ARC.
Easy way (no Python needed)
- Download
MachineHunterHD.zipfrom the release and extract everything into the game folder. It contains:- the launcher
MachineHunterHD.exe; WINMX.dllandMHFIX.INI;- Real-ESRGAN, ready in
tools\realesrgan\.
- the launcher
- Open
MachineHunterHD.exe. It detects the game version. For music, pick the drive with the CD in it. - Press Install: it takes about 15-20 minutes and about 1.5 GB of space.
- Optional: also extract
anteprime_missioni.zipinto the game folder. - Press Play. In the "Machine Hunter V 1.10" window press New Game.
Notes:
- The first time, the launcher takes a few seconds to open.
- Windows may warn that the program is unsigned. That is normal for an EXE made with PyInstaller, and all the code is in this repository.
- Music: if you can't hear it, turn it on in the game's options (it's a game setting, stored in
MACHHUNT.INI). EXEs already modified by others to run without the CD are fixed automatically, because some of them block the music.
With Python
-
Python 3.10+ and the packages:
pip install -r tools/requirements.txt -
Real-ESRGAN ncnn-vulkan (needs a Vulkan graphics card):
- download
realesrgan-ncnn-vulkan-...-windows.zipfrom Real-ESRGAN releases; - extract it into
tools\realesrgan\(there must betools\realesrgan\realesrgan-ncnn-vulkan.exewith themodels\folder).
- download
-
Copy this repository's
tools\folder andMHFIX.INIinto the game folder. -
With the CD in the drive (for the music), from the game folder:
python tools/installa.pyOptions:
--cd Eto choose the drive;--senza-musicato skip the music;--solo-exeto rebuild only the EXE.
It takes about 15-20 minutes, mostly for Real-ESRGAN, and about 1.5 GB of disk space.
-
Put
WINMX.dll(from the release, or build it, see below) in the game folder. -
Optional: download
anteprime_missioni.zipfrom the release and extract it into the game folder. It contains the 17 mission images remade in HD from in-game photos (UI_HD\folder); without it you get the original images upscaled. -
Start
MACHHUNT_HD.EXE. In the "Machine Hunter V 1.10" window, press New Game.
installa.py runs, in order:
- no-CD EXE;
- CD audio tracks;
- textures and sprites (export, Real-ESRGAN, fix for dark textures,
DATA\HD4S.ARCarchive,DATA\HDPNG.idxindex); - HD menus (
UI_HD\), fonts, logo and wide doors; MACHHUNT_HD.EXE(patched bybuild_exe.py).
Each step can also be run by hand: see the description at the top of each script.
Your own textures: after step 3 the HD textures are plain PNG files in TEXTURES_4X\ and SPRITES_4X\. You can edit them or replace them with your own, then rebuild the archive:
python tools/mh_tex.py build TEXTURES_4X SPRITES_4X
python tools/png_index.py
Building WINMX.dll
WINMX.dll replaces WINMM.dll for the patched EXE. It is 32-bit and builds with clang or gcc mingw-w64 (i686):
cd tools/winmx
i686-w64-mingw32-clang -O2 -shared -o WINMX.dll winmx.c -lsetupapi -lhid -lgdi32 -luser32 -lopengl32 -lwindowscodecs -lole32 -luuid -Wl,--kill-at
Files
| File | What it does |
|---|---|
tools/winmx/ | the DLL: OpenGL presentation, new renderer, HD HUD/menus, gamepad, music, fixes (winmx.c + *.inc) |
tools/build_exe.py | EXE patch: resolution, 4x textures, separate HUD layer, hook to WINMX.dll |
tools/mh_tex.py | textures and sprites: export, Real-ESRGAN, archive rebuild |
tools/png_index.py | index of the HD PNGs for the new renderer |
tools/rip_cd.py | extracts the audio tracks from the CD (direct CDDA reading, no external programs) |
tools/font_hd.py, make_logo.py, door_wide.py | HD fonts, logo, wide menu doors |
tools/mission_hd.py | mission images from your own in-game photos (optional) |
tools/installa.py | everything in one command |
tools/launcher.py, make_launcher.py | the windowed launcher and the no-Python package (PyInstaller) |
MHFIX.INI | mod settings |
Notes
- Fan-made mod, not affiliated with the authors or rights holders of Machine Hunter.
- You can remake the mission images from your own photos:
- in
MHFIX.INIset[foto] anteprima=1; - take the shot with F12 in photo mode.
- in
- Comments in the code and in
MHFIX.INIare in Italian.
License
Mod code under the MIT license (see LICENSE). Machine Hunter and its content belong to their respective owners.