Day 10 - 3D Functions ← Previous

Day 11 - Video Functions

This video stuff is really outdated. The best working and efficient way I have come accross is EMC: http://forum.palib.info/index.php?topic=3971

Here’s a quick tutorial on how to make videos work in PAlib !

1)download viDeoconverterS v3 : viDeoconverterS3

2)modify the file convert.bat : modify Data/chevalier by the name of your .avi file. the parameter : -f is the fps(16 is good), -x and -y are the sizes of the video(256*192 is the size of your screen), -c is the compressage : GOOD, AVERAGE or BAD

3)you obtain one .h file and 1 or more .vid files

4)download the template : vidtemplate

5)Put your .vid files and your .h file *put them where?*

6)do build.bat and GBFSinclude.bat

7)you obtain your file.

how to use the videos in a homebrew?

use PA_InitGBFS(); and use PA_LoadMultiVidGBFS(s8 idfile); with the id of the .h file

you must to be in 16 bit mode to use the video : PA_Init16bitBg(1, 3); or PA_Init16bitBg(0, 3);

 
day11.txt · Last modified: 20/08/2009 13:59 by 84.28.158.92
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki