Hacking How to build a .dol file

G0dLiKe

who needs a title ;)
OP
Member
Joined
Aug 2, 2009
Messages
1,674
Trophies
0
Website
db.tt
XP
206
Country
United States
So, long story short

I want to build a .dol of a emulator for MSX2 games which recognizes different rom mapper types saved in a romdb.xml.

After building the .dol I want to make a 00000001.app of it and include it in a existing VC .wad

Alternative to building a new .dol from a emulator like openMSX for example, I could edit the existing .dol I extracted from a VC.wad file but I dunno how to do this.

BTW, anyone knows a way to edit .bin files? I want to edit the msx2config.bin, maybe I can change the rom mapper type in there also.

Any insight or hints would be a blast.
Thx
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
code is compiled into elf files. then the elf in converted to a dol.

And "bin file" is really ambiguous. This is just a generic bunch of bytes. There is no set format, header, size, etc for a .bin. It is just binary data stored as a single file in whatever way the creator felt like storing the data.
 

G0dLiKe

who needs a title ;)
OP
Member
Joined
Aug 2, 2009
Messages
1,674
Trophies
0
Website
db.tt
XP
206
Country
United States
giantpune said:
code is compiled into elf files. then the elf in converted to a dol.

Meaning I would need the source code of the emulator I want to use, then compile it into .elf with sdk, then convert it to a .dol and then into .app

QUOTE(giantpune @ Oct 14 2010, 10:00 AM) And "bin file" is really ambiguous. This is just a generic bunch of bytes. There is no set format, header, size, etc for a .bin. It is just binary data stored as a single file in whatever way the creator felt like storing the data.

Sucks, so no way to edit anything inside the .bin?
 

Jacobeian

Well-Known Member
Member
Joined
May 15, 2008
Messages
1,893
Trophies
0
XP
387
Country
Cuba
Your best choice is to edit one of the homebrew MSX emulators source or config file then recompile it using Devkitpro, providing the sources and makefile are available.

You can edit bin files with an hex editor but you need to know what to modify in there because it won't magically tell you , those are basically binary data.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: +1