gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Graphics > gfx2gba wont work

#3767 - mangaman3000 - Sat Mar 08, 2003 2:56 am

im having a lot of trouble making my demos cos as soon as I start gfx2gba it unloads. I don?t even have a chance to read the text. Does anyone know how to fix this.

#3768 - Saikou - Sat Mar 08, 2003 3:24 am

gfx2gba is command-line based, so just double-clicking the icon in windows won't work.

To see what you're doing, and add options to the command line, either run it from a makefile/batch file, or start a command prompt window (also known as DOS shell window) and run it from there.

To see the options, just read the readme.txt file you get with it.

#3915 - Saj - Wed Mar 12, 2003 7:44 pm

Presumably, you are running it in windows.

In windows XP, you just click on the start button (Bottom left of your screen), click run and type CMD.
(in windows 95/98/NT you click start, then click command/dos prompt.)
This brings up a dos window and you can run it from there.

These simple Dos commands might help;


    cd folder_name = change directory (folder)
    (note : the folder your are trying to view must be a subfolder of the one you are in)

    dir = Display directory (folder) contents

    cd.. = up a directory (folder)


You can just type these commands in to get to your gfx2gba folder,
then type 'GFX2GBA' to load the program.

Alternatively, get PCX2GBA and just drag & drop your files(PCX files)(in windows) onto it to get a .h file that you can use in your projects.

Hope this helps :)

#4382 - headspin - Sat Mar 29, 2003 1:44 pm

Download the Open Command Window Here powertoy for windows xp from the microsoft site, then you can right-click a folder to open up a command prompt in the current folder http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp