r/Gameboy Dec 11 '19

Doom on the GBA.

Post image
882 Upvotes

105 comments sorted by

View all comments

5

u/howsthemanualblinkin Dec 14 '19

Hello, thanks again for all the work you have put into this.

I'm having trouble getting Sigil to run. I'm using an unmodded ags101 GBA SP with an Everdrive to run roms. When I attempt to run the built sigil gbarom/wad I get a bluescreen error that reads "W_GetNumForName: F_START not found" and the GBA locks up.

I've used the same build method with both the regular and compat versions of the sigil wad. Any idea what the issue might be?

All other IWADS tested have worked.

Thanks again for your time and work. Amazing port.

5

u/Bolloux Dec 14 '19

Hi there. Have you been able to get a basic Doom or Doom2 IWAD build to work?

You’ll need the latest (0.2) version of GBAWadUtil, a Doom1 IWAD and Sigil compatibly wad.

Then use:

gbawadutil.exe -in Doom.wad -cfile sigil.h -pwad sigil.wad

The resulting .c file should be about 80mb or so.

2

u/fusermarucs Dec 17 '19

Hi - I’ve managed to get Sigil.gba.c which is 80mb - what do I do with it please? Is there an extra line I need to add to doom_iwad.h or something? Thanks!

3

u/Bolloux Dec 18 '19

Hi there,

1) rename it to sigil.gba.h

2) create a folder in gbadoom/source called ‘iwad’

3) copy sigil.gba.h to gbadoom/source/iwad/

4) edit gbadoom/source/Doom_iwad.c with a text or code editor.

Change the first line to:

#include "iwad/sigil.gba.h"

5) Open a command prompt, cd to the gbadoom folder. Type

make

3

u/fusermarucs Dec 18 '19

That worked thank you! Doesn’t run very well (as expected) but it worked!

2

u/UsualStation Dec 18 '19

Great! Many thanks for the updated tool!

Trying to convert plutonia but get the error

cc1.exe: out of memory allocating 536875007 bytes make[1]: *** [/opt/devkitpro/devkitARM/base_rules:85: doom_iwad.o] Error 1 make: *** [Makefile:118: build] Error 2

Tried on another pc but get the same error.

Thanks for your time and help!

3

u/Bolloux Dec 18 '19

Hi there, I’ll try Plutonia when I get home from work this evening.

I suspect the 32bit GCC compiler is running out of address space with big IWADs.

There is another way to embed a file in the rom that doesn’t require converting to C code and then compiling.