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,405
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
  • K3Nv2 @ K3Nv2:
    It's like they think we'll be in their bed pissing on it the next day
  • BigOnYa @ BigOnYa:
    I feel like gbatemp should make t-shirts or memorabilia to remember the lost ones. I bet the Polly shirts would sell out quick.
  • K3Nv2 @ K3Nv2:
    Nah that could actually bring lawsuits
  • K3Nv2 @ K3Nv2:
    Tempsuits
  • BigOnYa @ BigOnYa:
    PollySuits
  • BigOnYa @ BigOnYa:
    Your correct, Somebody would be guilty and there would be riots, then they storm the gbatemp capitol,
  • K3Nv2 @ K3Nv2:
    Online or not there are still certain rights that judges would have no issue handing out a warrant over
  • K3Nv2 @ K3Nv2:
    Just look at Kim dotcom
  • BigOnYa @ BigOnYa:
    Honestly I'm scared to, from you, but ok, lemme turn on vpn, virtual machine, private browser first
  • K3Nv2 @ K3Nv2:
    Remember that Alexa robot I gifted you
  • K3Nv2 @ K3Nv2:
    And that laptop Webcam you never tapped up
  • BigOnYa @ BigOnYa:
    That robot is here somewhere, I hear it moving around at night, but I haven't seen it for months.
  • BigOnYa @ BigOnYa:
    Oh that laptop I give to ancientboi, so you been watching him for months, and he's been watching you
  • K3Nv2 @ K3Nv2:
    Oh good more than enough material for the fbi
    +2
  • BigOnYa @ BigOnYa:
    Damn its 5 in morn, I gotta Go wake your mum and send her to work. Check ya later.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    He could make so much money!!! His arm would never get tired lol
    +2
  • S @ salazarcosplay:
    How are yall doing
    +2
  • VXNlcm5hbWU @ VXNlcm5hbWU:
    Just had a pure banger of a sandwich there, was very nice
    +1
  • BakerMan @ BakerMan:
    what do you call a dog with no legs?
  • Psionic Roshambo @ Psionic Roshambo:
    A hot dog?
  • BakerMan @ BakerMan:
    doesn't matter what you call it, it won't come
    BakerMan @ BakerMan: doesn't matter what you call it, it won't come