doomhack / GBADoom

A port of prBoom to the Nintendo GBA.
182 stars 25 forks source link

How would I build this on Linux? #36

Closed Espio419 closed 1 year ago

RetroGamer02 commented 1 year ago

You need devkitpro I would start here. If not using archlinux you first need the pacman package manager. https://devkitpro.org/wiki/devkitPro_pacman#Installing_devkitPro_Pacman https://devkitpro.org/wiki/Getting_Started#Unix-like_platforms

Espio419 commented 1 year ago

I got all that set up and made the doom.wad.c dile and put it in the source/iwad folder. I just don't know how to use the msys2.bat to build the game, since that seems to be a Windows thing.

RetroGamer02 commented 1 year ago

Just type make =)

Espio419 commented 1 year ago

That worked after rebooting. Thanks, my dude.

Espio419 commented 1 year ago

Looks like I hit a roadblock. Loading the rom on my GBA and mGBA emulator just gives me an error "w_GetNumForName: TEXTURE1 not found". Happens with Doom 1 and 2.

RetroGamer02 commented 1 year ago

Sounds like it can't identify what rom its trying to load. Oh did you change "doom_iwad.c"? You need to do that to select the version you want to use.

Espio419 commented 1 year ago

I did change the line in the file to the name of the file I made with gbawadutil

doomhack commented 1 year ago

Can you build the shareware version by using the included iwad.c file?

Espio419 commented 1 year ago

Shareware version works fine.

Espio419 commented 1 year ago

I don't know why, but it works now. I got Ultimate Doom and Doom II runnning.