An unofficial fan project to decompile Vampire Night (PS2, PAL) and run it natively on Mac, Windows and Android. Not affiliated with Sega or Namco. No game files are included.
The original program is translated to native code ahead of time and run on a small PS2 runtime. It starts, draws the Namco and WOW logos and reaches the “NOW LOADING” screen.
mainThe code is rewritten by hand so that it compiles back to the same machine code as the original. A native viewer already shows stage 1 with sky, props and a posed enemy.
-O4,p.Match means the function recompiles with the original compiler to the same bytes, checked one by one. The CRI/Sony library range (about 388 KB) was built with another compiler and is not counted. This does not yet prove the whole linked program is identical.
| Module | Matched bytes | % | Functions |
|---|---|---|---|
| bs3mod | 7,472 / 47,760 | 15.6% | 65 / 191 |
| main | 56,072 / 476,372 | 11.8% | 442 / 1929 |
| acmod | 4,968 / 45,384 | 10.9% | 48 / 173 |
| bs2mod | 6,184 / 64,744 | 9.6% | 62 / 221 |
| bs6mod | 5,256 / 57,564 | 9.1% | 55 / 201 |
| bs5mod | 3,532 / 40,000 | 8.8% | 40 / 141 |
| bs4mod | 4,756 / 56,780 | 8.4% | 46 / 184 |
| gamemod | 29,076 / 352,072 | 8.3% | 253 / 989 |
| hntmod | 1,980 / 26,740 | 7.4% | 9 / 55 |
| trnmod | 5,636 / 77,716 | 7.3% | 43 / 159 |
| orgmod | 560 / 10,688 | 5.2% | 4 / 27 |
| optmod | 3,648 / 72,648 | 5.0% | 37 / 159 |
| shpmod | 2,364 / 47,824 | 4.9% | 17 / 123 |
| aomod | 3,700 / 158,660 | 2.3% | 32 / 226 |