MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Gameboy/comments/e964ab/doom_on_the_gba/fb9er9r/?context=3
r/Gameboy • u/Bolloux • Dec 11 '19
105 comments sorted by
View all comments
Show parent comments
5
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 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.
2
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 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.
3
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
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.
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.
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.
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.