Skip to content

Releases

v0.1.0-ps2: first PlayStation 2 build

Pre-release

Choose a tag to compare

@dnllnoe dnllnoe released this 30 Sep 03:20

The first PlayStation 2 build of pokeemerald-native. This release is source only. No ELF, ROM or game data comes with it, and none will. To play it, build pokeemerald32.elf yourself as INSTALL_PC.md explains.

What works

  • make ps2 builds the game with ps2dev's toolchain, ps2sdk's SDL2 and gsKit.
  • The picture is drawn by the Graphics Synthesizer from the GBA's VRAM, palettes and OAM: text and affine backgrounds, sprites (turned too), windows, the sprite window, blending, brightness changes and mosaic. The title screen, the intro, the overworld, menus and battles all run at 60 frames a second in PCSX2.
  • Where it was compared with the software renderer, frozen on the same frame, it matches pixel for pixel: the overworld, a battle, the menus and the intro's water scene. The title screen's clouds blend with eva + evb over 16 and can be one color step off, and turned and scaled sprites and backgrounds are finer than the GBA's.
  • Anything the GS can't draw like the GBA yet falls back to the software renderer, so nothing goes missing.
  • Sound, mixed at 24000 Hz for the PS2's sound driver, with no gaps in recordings.
  • Saving and loading, in a pokeemerald folder next to the ELF.

Not tested yet

  • A real PlayStation 2. Everything above was tested in PCSX2, which doesn't emulate the EE's cache or its errors on unaligned memory accesses, so a console may run slower or hit crashes PCSX2 doesn't show.
  • PAL video. The picture is placed for NTSC.
  • R2 as fast-forward.

Bug reports from real hardware are very welcome, with the console model and where it happened.