How to load homebrew with GDEMU

Technical help for Dreamcast console, accessories and games only. Ask questions and find answers here. For Online help see the Online Forum
User avatar
KeiDash
undertow
Posts: 30
Contact:

How to load homebrew with GDEMU

Post#1 » Mon Apr 15, 2019 4:09 am

Hi dreamcasters!

Many months has been passed since I was stoped (temporarily) my BeatTendency project for Dreamcast because of my Dreamcast lens can not read CD-ROMS, so I can not make debug on the console.

To solved it, this last week I bought GDEMU and I installed and works perfectly but in the official website, it says that to run homebrew the games should be in .iso files.

After I compile my game, I use the BootDreams software to make a .cdi file that works on emulators, but I do not find any documentation to convert to cdi file to iso.

I tryed with daemon tools, mounting the cdi image file and using ImgBurn, try to make a .iso .. ImgBurn can make the iso file but is not compatible with GDEMU, this says "unrecognized format ".

I triyed with ISO_Make_pack_v2.4 too, with the cdi2iso utility, but this doens't work too.

So, can anyone help me? I would like to continue my development.

Many thanks,
Last edited by KeiDash on Mon Apr 15, 2019 11:28 am, edited 1 time in total.

User avatar
Tarnish
fragger
Posts: 262

Re: Dreamcast homebrew (CDI to ISO)

Post#2 » Mon Apr 15, 2019 5:06 am

Dunno about .iso files, but GDEMU can boot .cdi files no problem. I have a GDEMU as well and had no problem booting the .cdi of Propeller Arena for example.

EDIT: It also says so on the website: https://gdemu.wordpress.com/details/gdemu-details/

Supported image types:

-GDI (for GD-ROMs)
-CDI
-CCD+IMG+SUB
-MDS+MDF
-ISO (as data carriers for homebrew)

User avatar
KeiDash
undertow
Posts: 30
Contact:

Re: Dreamcast homebrew (CDI to ISO)

Post#3 » Mon Apr 15, 2019 5:16 am

Tarnish wrote:Dunno about .iso files, but GDEMU can boot .cdi files no problem. I have a GDEMU as well and had no problem booting the .cdi of Propeller Arena for example.

EDIT: It also says so on the website: https://gdemu.wordpress.com/details/gdemu-details/

Supported image types:

-GDI (for GD-ROMs)
-CDI
-CCD+IMG+SUB
-MDS+MDF
-ISO (as data carriers for homebrew)


Hi @Tarnish,

I tried to use the cdi file directly but the GDEMU notice me that "is a unrecognized format". It's right that DGEMU work's with CDI files but only for original games.

I'm talking about homebrew, this is the problem. As the details says:


ISO (as data carriers for homebrew)

User avatar
Aleron Ives
Uber
Posts: 1056
Contact:

Re: How to load homebrew with GDEMU

Post#4 » Mon Apr 15, 2019 6:53 pm

Not all CDI files will work. If you burn a mode 1/mode 2 data/data CDI to a disc, the DC will boot it, but GDEMU won't boot the CDI. On the other hand, a mode 2/mode 2 data/data CDI will boot in GDEMU.

I don't know how you're supposed to boot ISO, because ISO is not a valid format for DC games. All games and homebrew require 2 sessions to boot in MIL CD format, and ISO does not support the concept of sessions. That's why CDI is so popular: it supports multiple tracks and sessions inside a single image file.
"Fear the HUnewearl."
Image

User avatar
KeiDash
undertow
Posts: 30
Contact:

Re: How to load homebrew with GDEMU

Post#5 » Tue Apr 16, 2019 5:40 am

Aleron Ives wrote:Not all CDI files will work. If you burn a mode 1/mode 2 data/data CDI to a disc, the DC will boot it, but GDEMU won't boot the CDI. On the other hand, a mode 2/mode 2 data/data CDI will boot in GDEMU.

I don't know how you're supposed to boot ISO, because ISO is not a valid format for DC games. All games and homebrew require 2 sessions to boot in MIL CD format, and ISO does not support the concept of sessions. That's why CDI is so popular: it supports multiple tracks and sessions inside a single image file.


Hi @Aleron Ives,

I made the CDI file with BootDreams as Data/Data file. It generates a MODE2/FORM1/2336 with a File system ISO9660; Joilet cdi file.

I don't know if Mode2/Mode2 it's the same like this. I don't supposed anything, I only paste the technical specifications of GDEMU publish on the oficial website.

I don't know how to do a Mode2/Mode2 CDI file, I have the knowledge to develop a game but not for make a compatible cdi files with all environments. At the momment, BootDreams make a CDI file compatible with Emulatos and a CD-ROM for the real console.

Can you guide me if you have knowledge?

Many thanks,

User avatar
Tarnish
fragger
Posts: 262

Re: How to load homebrew with GDEMU

Post#6 » Tue Apr 16, 2019 5:49 am

Maybe someone on this Discord server meant for DC devs can help you out:
https://twitter.com/simulantengine/stat ... 5398052865

User avatar
KeiDash
undertow
Posts: 30
Contact:

Re: How to load homebrew with GDEMU

Post#7 » Tue Apr 16, 2019 4:17 pm

Well, I solved the problem. It was that some data structure (in code) don't work on GDEMU for something that I don't know yet.

I must make a code refactoring to solve it.

Thanks for all and for your time.

Regards,

User avatar
NeoSnk
dirty sailor
Posts: 179
Contact:

Re: How to load homebrew with GDEMU

Post#8 » Tue Apr 16, 2019 5:52 pm

I have the same problem with Counter Strike DC it doesn't boot on GDEMU. I'm using the CDI.
Homebrews + Tutorials + Interviews (Dreamcast/Sega Saturn): https://titangamestudios.com/

I'm Titan_Guy on PSO :)

User avatar
Anthony817
Shark Patrol
Posts: 2767

Re: How to load homebrew with GDEMU

Post#9 » Tue Apr 16, 2019 6:53 pm

Yeah, both Counter Strike and the Condition Zero port both refuse to work. In fact I think we should research into recompiling the discs so they display the correct names and artwork on the GDMENU screen. I am sure we could recompile all of the discs to have custom disc texture images too. But this should be easily fixable with modern tools. They Hunger runs beautifully for me as well as 007 mod. However Gunman Chronicles displays no textures on the 1P player arms. I remember it working at release.
Image

User avatar
KeiDash
undertow
Posts: 30
Contact:

Re: How to load homebrew with GDEMU

Post#10 » Wed Apr 17, 2019 3:32 pm

If you use a CD version or load the game on emulator works? In my case, the problem was that the language that I use to develop the game is BennuGD. On CD version or in emulator works fine, but in SD-Card with GDEMU, a piece of complex code crash for something that I don't know.

I need refactor the code in this point.

  • Similar Topics
    Replies
    Views
    Last post

Return to “Support”

Who is online

Users browsing this forum: No registered users