Help compiling Genesis Plux GX to SD2SP2 use

Discuss emulation on the Gamecube here
Post Reply
vsilvalopes
Posts: 6
Joined: Mon Mar 09, 2020 1:21 pm

Help compiling Genesis Plux GX to SD2SP2 use

Post by vsilvalopes » Mon Mar 09, 2020 1:35 pm

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!
User avatar
capzlk
Posts: 76
Joined: Tue Sep 15, 2015 9:18 pm

Re: Help compiling Genesis Plux GX to SD2SP2 use

Post by capzlk » 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
vsilvalopes
Posts: 6
Joined: Mon Mar 09, 2020 1:21 pm

Re: Help compiling Genesis Plux GX to SD2SP2 use

Post by vsilvalopes » Mon Mar 09, 2020 7:57 pm

Hi capzlk!
Sure thing! I will test it as soon I arrive home!
Thanks for this!
vsilvalopes
Posts: 6
Joined: Mon Mar 09, 2020 1:21 pm

Re: Help compiling Genesis Plux GX to SD2SP2 use

Post by vsilvalopes » Tue Mar 10, 2020 2:46 am

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!
forresin
Posts: 1
Joined: Fri Jul 17, 2020 12:57 am

Re: Help compiling Genesis Plux GX to SD2SP2 use

Post by forresin » Fri Jul 17, 2020 1:26 am

capzlk, as resuelto unos quice dias de dolores de cabeza , gracias compañero
RexDart
Posts: 1
Joined: Mon Aug 10, 2020 11:49 pm

Re: Help compiling Genesis Plux GX to SD2SP2 use

Post by RexDart » Mon Aug 10, 2020 11:51 pm

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.
User avatar
Papy.G
Posts: 916
Joined: Mon Mar 04, 2019 6:14 am
Location: France, Occitanie
Contact:

Re: Help compiling Genesis Plux GX to SD2SP2 use

Post by Papy.G » Tue Aug 11, 2020 4:54 am

Don't see this as merged to the main repository, as this is not mentionned in the history on github… :?
DMG/MultiFreq OC/EDGB/EZF Jr, AGB/SC miniSD, NTR/NeoMK3, USG/flashme V8/SC miniSD
DOL001(EUR)/RGB/GCPlug/GBP/SD2SP2, RVL 001(EUR)/RGB/CMP/WiiSD

Zelda WW with Tingle Tuner in split screen was what the GC RF modulator was made for! (Video)
User avatar
capzlk
Posts: 76
Joined: Tue Sep 15, 2015 9:18 pm

Re: Help compiling Genesis Plux GX to SD2SP2 use

Post by capzlk » Wed Sep 16, 2020 7:57 pm

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 :/
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Help compiling Genesis Plux GX to SD2SP2 use

Post by emu_kidid » Wed Sep 16, 2020 10:50 pm

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.
Image
User avatar
Papy.G
Posts: 916
Joined: Mon Mar 04, 2019 6:14 am
Location: France, Occitanie
Contact:

Re: Help compiling Genesis Plux GX to SD2SP2 use

Post by Papy.G » Thu Sep 17, 2020 7:00 am

That's when the wayback machine comes in handy! ;)
DMG/MultiFreq OC/EDGB/EZF Jr, AGB/SC miniSD, NTR/NeoMK3, USG/flashme V8/SC miniSD
DOL001(EUR)/RGB/GCPlug/GBP/SD2SP2, RVL 001(EUR)/RGB/CMP/WiiSD

Zelda WW with Tingle Tuner in split screen was what the GC RF modulator was made for! (Video)
Sowden1
Posts: 29
Joined: Tue Jan 17, 2017 2:38 pm

Re: Help compiling Genesis Plux GX to SD2SP2 use

Post by Sowden1 » Thu Oct 08, 2020 8:05 pm

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.
Post Reply