SL JPEG VIEWER 0.13 beta
by Sanlink

XD

Designed to view JPEG files directly from an SD card inserted in slot A or Slot B. It opens jpeg files from sd:/JPEG/ and scales them down if necessary, to fit the gamecube video buffer (640x480).

Instructions:
- Create a folder named "JPEG" in the root of your sd card, notice the uppercase
- Place whichever JPEG files you want to view in that folder, you can also place any other file (it won't be read)
- Load the slviewer0.13.dol using your prefered loading method, on a gamecube or on a wii on gc mode
- Press A or B to choose which slot your card is in
- It will show how many files were found and the first jpeg will be loaded
- Press A to see the next file or B to see the last file

Beta features:
- It shows debugging texts to help me find out glitches
- It has some delays to be able to read those texts, although the jpeg decompression and scaling is quite fast (good gc!)

Known Issues:
- Images bigger than 1024x768 crash the JPEG_Decompress function, I don't know how to fix it
- Never tested on PAL
- SD cards bigger than 1GB can't be read because the libsdcard has bugs

Future improvements:
- Add a folder browsing menu to open any directory (DSC00011 for example)
- MP3 background playing, just viewing is boring
- Language selection (as soon as I understand SRAM reading codes)
- Maybe I could improve the image downscaling using interpolation, maybe XD


Developed using devkitPPC r14 and libOGC 02-28-2008
Libraries used: libjpeg by softdev, libfreetype, libsdcard, libogc

Download and give feedback via comments