Actions

AVI converter

From GameBrew - a wiki dedicated to Video Game Homebrew.

AVI converter
Ndsavi.png
General
Author(s)Delfare
TypePC Utility
Version09 Mar 2006
LicenceMixed
Links
Download
Website
Advertisements


viDeoconverterS is a converter that allows you to apply AVI videos in your NDS homebrew using PALib.

It was in the 6th position at the NEO Spring Coding Competition 2006.

User guide

Tutorial:

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).

You obtain one .h file and 1 or more .vid files.

Put your .vid files and your .h file.

Do build.bat and GBFSinclude.bat. and you will 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);

Homebrew Demo.