Page 1 of 1

Help compiling Genesis Plux GX to SD2SP2 use

Posted: Mon Mar 09, 2020 1:35 pm
by vsilvalopes
Hi!
I'm trying to compile Genesis Plus GX, to enable it to see SD2SP2.

I went to the Genesis Plus GX Github, and found this issue : https://github.com/ekeeke/Genesis-Plus-GX/issues/296
Basically, to be able to use SD2SP2, I need to compile the same code, using the last version of libogc.

So, I went, and installed Devkitpro on my Windows 10 professional.
Saw during the installation that it gets the latest libogc.

So, I've dowloaded the source code for Genesis Plux GX, and started the compile with

Code: Select all

make -f Makefile.gc
The compilation starts, but then stops with this error :

Code: Select all

C:/Users/vinicius.lopes/Downloads/Genesis-Plus-GX-master/gx/osd.h:20:10: fatal error: zlib.h: No such file or directory
I understand that the compiler, cannot find the zlib.h library that the code is needed to compile.
I also tried to setup DevkitPro on Ubuntu 18.04, but I hit the same error.

I'm not a developer, so I only have basic understanding on how to compile software using "make".

I would ask if someone could point me on how to compile Genesis Plus GX correctly.
Or, if someone already has a DOL supporting SD2SP2 and could send me, I will be glad!

I'm very new to the GameCube scene, but I'm loving it so far!
Moded my GameCube myself, and I'm using Swiss with XenoGC.

Thanks in advance!

Re: Help compiling Genesis Plux GX to SD2SP2 use

Posted: Mon Mar 09, 2020 4:37 pm
by capzlk
had to hack it up a little bit can you try this build?
https://www.mediafire.com/file/0od5t85e ... e.dol/file

Re: Help compiling Genesis Plux GX to SD2SP2 use

Posted: Mon Mar 09, 2020 7:57 pm
by vsilvalopes
Hi capzlk!
Sure thing! I will test it as soon I arrive home!
Thanks for this!

Re: Help compiling Genesis Plux GX to SD2SP2 use

Posted: Tue Mar 10, 2020 2:46 am
by vsilvalopes
Hi capzlk!

Tried it and worked like a charm!
Loaded a Genesis game and a Master System one, without any trouble!

The emulator was able to see the entire SD Card file structure as usual!

Thanks for this!

Re: Help compiling Genesis Plux GX to SD2SP2 use

Posted: Fri Jul 17, 2020 1:26 am
by forresin
capzlk, as resuelto unos quice dias de dolores de cabeza , gracias compañero

Re: Help compiling Genesis Plux GX to SD2SP2 use

Posted: Mon Aug 10, 2020 11:51 pm
by RexDart
capzlk wrote:
Mon Mar 09, 2020 4:37 pm
had to hack it up a little bit can you try this build?
https://www.mediafire.com/file/0od5t85e ... e.dol/file
I just created an account to thank you for contributing this.

Re: Help compiling Genesis Plux GX to SD2SP2 use

Posted: Tue Aug 11, 2020 4:54 am
by Papy.G
Don't see this as merged to the main repository, as this is not mentionned in the history on github… :?

Re: Help compiling Genesis Plux GX to SD2SP2 use

Posted: Wed Sep 16, 2020 7:57 pm
by capzlk
Yeah sorry, it was literally a quick hack on the master branch to get things building. It was on my work notebook and I've since switched jobs. I'm short on time but really, it's not hard for anyone with devkitcpp and c++ knowledge to get it up and running. Or make a PR for the original source for that matter.

Edit: i take it back. Winter mute decided to change the tool chain AGAIN. If anyone can bring me up to speed on how to properly install libs with pacman and then reference them in a make config I'd be happy to make another build and PR to the official repo. At the moment i can't until i figure that out.

These guys don't seem to care about documentation at all, only casually mentioning all prior documentation is now unusable :/

Re: Help compiling Genesis Plux GX to SD2SP2 use

Posted: Wed Sep 16, 2020 10:50 pm
by emu_kidid
Welcome to trying to compile anything GameCube related when the toolchain updates in any way. They also deprecate older versions of it from being available most of the time.

Re: Help compiling Genesis Plux GX to SD2SP2 use

Posted: Thu Sep 17, 2020 7:00 am
by Papy.G
That's when the wayback machine comes in handy! ;)

Re: Help compiling Genesis Plux GX to SD2SP2 use

Posted: Thu Oct 08, 2020 8:05 pm
by Sowden1
Hey there. Not to hijack this thread, but it's related. And I'm gonna look like a comets noob. But I just discovered where the new nightly builds have been posted on the Genesis Plus GX website. I've been using the old version from 2015. The Sega CD emulation has improved a lot. Has the original developed abandoned this, and other people have been working on nightly builds? Cause if I wasn't bored one day and didn't poke around, I would have never found it.