Repository navigation
ps2xp v0.1 - XP-style desktop for PS2
A Windows XP-looking desktop for the PlayStation 2, written in C with ps2sdk and gsKit.
File manager, games, MP3 player with spectrum analyzer and an MPEG-1 video player, all running from a USB stick.
Features
- Desktop: draggable windows, taskbar, Start menu, movable icons, JPEG wallpaper
- My Computer: file manager for the USB stick (scrollbar, new folder, delete, restore)
- Recycle Bin: DEL moves items to
RECYCLE/on the stick; delete forever from inside the bin - Minesweeper (9x9, 10 mines) and Solitaire (Klondike)
- Media Player: MP3 with a 24-band spectrum analyzer, playlist from the current folder, any file size (streamed from USB)
- Video Player: MPEG-1
.mpgwith MP2 audio, seek bar, fullscreen - Settings: volume, stick dead zone (drift fix), cursor speed
- Start menu: Restart (back to the console browser), Sleep (black screen), Power Off
Requirements
- A PS2 that can run homebrew (uLaunchELF, FreeMcBoot, etc.)
- A USB stick formatted FAT32 (exFAT / NTFS will not work)
- A controller in port 1
Install
- Copy
ps2xp.elfto your USB stick (or memory card). - Start it from uLaunchELF (or your launcher of choice).
- Put your own files on the stick:
.mp3,.mpg,.jpg.
The program creates ps2xp.ini (settings, icon positions) and ps2xp.cfg (wallpaper path) on the stick.
Controls
| Action | Controller |
|---|---|
| Move cursor | Left stick or D-pad |
| Click | X |
| Right click | Circle (flag in Minesweeper, send to foundation in Solitaire) |
| Start menu | START |
| Scroll lists | L1 / R1, or the scrollbar |
Double-click opens icons, folders and files. A USB mouse is supported in Settings, but it is experimental and not working on my console.
How to use media
Wallpaper: in My Computer, double-click a .jpg (max ~4 megapixels, 6 MB). NOWP resets it.
Music: double-click an .mp3. Every MP3 in the same folder becomes the playlist. Any sample rate and mono/stereo works (everything is resampled to 48 kHz).
Video: double-click a .mpg. It must be MPEG-1 video + MP2 audio (MP4, AVI, MPEG-2 and VOB are not supported). The video is decoded in software on the PS2 CPU, so resolution matters a lot:
ffmpeg -i input.mp4 -vf scale=320:240 -r 25 -c:v mpeg1video -b:v 1000k -c:a mp2 -b:a 128k -ar 44100 -ac 2 -f mpeg movie.mpg
If it lags, use a lighter file:
ffmpeg -i input.mp4 -vf scale=28