Homebrew Maker Code Init- Programming

Knightsurfer

Member
OP
Newcomer
Joined
Dec 19, 2020
Messages
22
Trophies
0
XP
245
Country
United Kingdom
So I was wondering, is there any programs that devkitpro comes with that automaticly sets the maker code and save type in the rom while compiling,
it's just annoying having to hex edit my rom each time is all.

What I mean by maker code btw is like how Pokemon Emerald has the maker code: BPEE


Also yes, I am aware there is a prefix system on this forum, I only realised too late.
 
Last edited by Knightsurfer,

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
Save type is not a header value or anything. Most emulators/flash carts will search for the known ASCII values that represent it literally search the game for SRAM, EEPROM and FLASH and then have the sub type be nearby) and go from there depending upon what they do (don't think any are solely database driven).

Maker code is also a different concept to what you describe
http://problemkaputt.de/gbatek.htm#gbacartridgeheader
What you describe is the game code but I take your meaning anyway.

Various options here. I have not got modern dkp installed but a lot of GBA stuff went headerless. Might be easier then to simply do a copy /b or cat command either afterwards or in the makefile with a premade header (I don't imagine you will be changing it). https://no-intro.org/tools.htm has GBATA and http://www.gameboy-advance.net/rom_tools/flash_advance_toolkit.htm which is what most use to sort headers in such scenarios (the former fixes minor problems, the latter is more for going from scratch).
That said I am sure there is a program to give your homebrew a header in DKP somewhere.
 
  • Like
Reactions: Knightsurfer

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BakerMan @ BakerMan: the bread's too big for yours (and, before you ask, waaayyy too big for mine lmao)