Homebrew Help compiling niuus' Snes9x RX and FCE Ultra RX... :(

SaulFabre

I like Yoshis and the Wii/Wii U scene.
OP
Member
Joined
Feb 6, 2019
Messages
3,218
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,955
Country
Ecuador
Hi to all GBAtemp!!!

I've recently cloned @niuus' FCE Ultra RX and Snes9x RX for make a version of each one of them for add a proper "autoboot ROM / game" feature when provided arguments in the meta.xml file of each emulator, additionally in my fork of FCEURX i've added some color palettes for increase the choice of selecting a custom color palette when playing.

I got devkitPro and all the required files for GC/Wii homebrew compiling.

But I still need help about what is the setup of devkitPro (devkitPPC) for compile properly Snes9x RX and FCE Ultra RX, becuase I always got stuck in those errors in these versions, (except of the official FCE Ultra RX source code from @niuus which i don't have problems), as shown:

Snes9x RX official from @niuus:

upload_2021-8-8_16-36-25-png.272460


Snes9x RX Mod by me, @SaulFabre https://github.com/saulfabregwiivc/Snes9xRX/

upload_2021-8-8_16-44-48-png.272462


FCE Ultra RX Mod by me, @SaulFabre https://github.com/saulfabregwiivc/FCEUltraRX/

upload_2021-8-8_16-45-49-png.272463


I'm using the following setup:
  • devkitPro 3.0.3
  • devkitPPC r39
  • libogc 2.3.1
  • libfat 1.1.5
  • all the other required files for Wii homebrew compiling
Any help please? And what is the correct setup of devkitPro (devkitPPC) for compile properly Snes9x RX and FCE Ultra RX?

Greetings :(

@SaulFabre
 
Last edited by SaulFabre,

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,537
Trophies
2
Age
44
Location
Scotland
XP
5,300
Country
United Kingdom
Hi @SaulFabre, sorry for the bump but I'm wondering if you ever managed to find a solution to this? I'm looking to compile the same snes9x with my own menu background edits and was wondering if you could assist with any information, ie are the above packages still relevant and anything else I should look for?

Thanks man.
 
  • Like
Reactions: SaulFabre

SaulFabre

I like Yoshis and the Wii/Wii U scene.
OP
Member
Joined
Feb 6, 2019
Messages
3,218
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,955
Country
Ecuador
Hi @SaulFabre, sorry for the bump but I'm wondering if you ever managed to find a solution to this? I'm looking to compile the same snes9x with my own menu background edits and was wondering if you could assist with any information, ie are the above packages still relevant and anything else I should look for?

Thanks man.
sorry for not giving news of this, but i solved this

@InfiniteBlue sent me the libOGC 1.8.15-1 and portlibs files required for this.
You must compile the RX emulators using devkitPPC r26.

Anyways, if you got devkitPPC r26, get the portlibs and libOGC for this attached here.

Best regards, @SaulFabre
 

Attachments

  • libogc-portlibs-RX.7z
    3.1 MB · Views: 36

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,537
Trophies
2
Age
44
Location
Scotland
XP
5,300
Country
United Kingdom
sorry for not giving news of this, but i solved this

@InfiniteBlue sent me the libOGC 1.8.15-1 and portlibs files required for this.
You must compile the RX emulators using devkitPPC r26.

Anyways, if you got devkitPPC r26, get the portlibs and libOGC for this attached here.

Best regards, @SaulFabre
Excellent, many thanks for that... Wish me luck!
 
  • Like
Reactions: SaulFabre

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,537
Trophies
2
Age
44
Location
Scotland
XP
5,300
Country
United Kingdom
I am in way over my head here!! How do i tell msys2 to create the dol? I can't find ANY information on where to start with this. If there are any tutorials without a university degree at the end I'd appreciate the link.

Or can I be really galling and ask if someone can compile this for me please? I've only edited the menu png files.
 

Attachments

  • Snes9xRX-5.2.0.rar
    2.8 MB · Views: 28
  • Like
Reactions: SaulFabre

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,470
Trophies
3
XP
29,190
Country
United States
I am in way over my head here!! How do i tell msys2 to create the dol? I can't find ANY information on where to start with this. If there are any tutorials without a university degree at the end I'd appreciate the link.

Or can I be really galling and ask if someone can compile this for me please? I've only edited the menu png files.
it errors at the menu.cpp iirc.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,470
Trophies
3
XP
29,190
Country
United States
alright, it does it to me with the regular version. something above is not the right version as that's the files I used. tried with cmd prompt and msys64.
 
  • Like
Reactions: Lostbhoy

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,470
Trophies
3
XP
29,190
Country
United States
@SaulFabre , could you take a look at @Lostbhoy 's link? I'm continuing to try to compile it, but with devkitppc r26 and libogc and portlibs you've supplied, I get iirc the same error as your third image. it was just updated a month or two ago, so it may be using a newer version of the files.
 
  • Like
Reactions: SaulFabre

SaulFabre

I like Yoshis and the Wii/Wii U scene.
OP
Member
Joined
Feb 6, 2019
Messages
3,218
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,955
Country
Ecuador
@SaulFabre , could you take a look at @Lostbhoy 's link? I'm continuing to try to compile it, but with devkitppc r26 and libogc and portlibs you've supplied, I get iirc the same error as your third image. it was just updated a month or two ago, so it may be using a newer version of the files.
Yesterday i tried compiling @Lostbhoy's modified code of Snes9x RX and it throwed error when compiling menu.cpp.

I will try to compile the original 5.2.0 code for see if this occurs.
 
  • Like
Reactions: Lostbhoy

SaulFabre

I like Yoshis and the Wii/Wii U scene.
OP
Member
Joined
Feb 6, 2019
Messages
3,218
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,955
Country
Ecuador
1660744874930.png


These are the errors i get when compiling both official Snes9xRX 5.2.0 code and @Lostbhoy's code, stops at menu.

But i think i know what's exactly causing the issue:

If you look at commit https://github.com/niuus/Snes9xRX/commit/378aef3c

1660744952449.png


@niuus accidentally removed the "HiResolution", "cpuOverclock" and "SpriteLimit" variables on snes9xgx.h file, which caused the code to not compile.

Adding them back again now it compiles the menu.cpp correctly, and by now it's still compiling everything.

I will bring later a fix to compiling error to niuus on the Snes9xRX GitHub.

EDIT 1: Submitted a fix for the code compilation on: https://github.com/niuus/Snes9xRX/pull/57

For apply this fix yourself, look this: https://github.com/niuus/Snes9xRX/pull/57/files
 
Last edited by SaulFabre,

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,537
Trophies
2
Age
44
Location
Scotland
XP
5,300
Country
United Kingdom
Wow... Thank you so much for your time with this guys, I really do appreciate it.

Will try it out when i get home and the screenshots above have actually helped me also as to how to begin the compile. Some reading and some experimentation will be on the cards as I really want to try this myself but again, thanks @godreborn and @SaulFabre.... Legends :grog:
 
  • Love
Reactions: godreborn

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,537
Trophies
2
Age
44
Location
Scotland
XP
5,300
Country
United Kingdom
Just a little progress report! and don't worry, I'm not looking for anyone to fix it lol

Dol loads and operates perfectly fine however there is no bg music or sfx in the menu and the screens below is where my confusion really begins!

I made a mock up of what I hoped to achieve...
mock up DRC 2.jpg

And by using the original png images from the source files as a template I simply copy and pasted my images over the original images while keeping the same dimensions as the original so I do not know why it ended up like this...

IMG_20220817_193826.jpg

IMG_20220817_181752.jpg

The background in the options I sort of expected as the image was called options bg lol...no clue what the main window bg is or how it is generated and the ratio is way off on the top and bottom borders as well as the game list scroll bar but strangest of all are the vertical lines best seen in the pics on the scroll bar. This encompasses the whole of the game list box and nowhere else. (There are more visible lines from the gamepad screen and my crappy camera!!)

Ah well, will try again at the weekend if I can get the compiling to work myself. If not, it's been a wild ride lol!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Plus all bios are set up and usually includes at least 128gbs or 64
  • K3Nv2 @ K3Nv2:
    Yeah but if your main goal is just to play n64 and GameCube you can save about $50 and have the portability option
    +1
  • BigOnYa @ BigOnYa:
    True, but on 2 monitors at 4k. Its just want you want really, to each they own.
  • K3Nv2 @ K3Nv2:
    For a kids aspect Anbernic would be the better option they'd probably melt over the price on a good 4k display
    +1
  • BigOnYa @ BigOnYa:
    For that texasroo guy, I'd recommend the Spell and speak as his first system.
    +1
  • K3Nv2 @ K3Nv2:
    So they buy a pi5 kit for about $150 and say a 28" 4k display probably looking around $400 total
  • K3Nv2 @ K3Nv2:
    They'll be getting in the territory of portable Pcs anyway
    +1
  • BigOnYa @ BigOnYa:
    Again you get what you pay for, its like buying a S series for $300 but its only 1440p native, if you want true 4k, gotta get the X model for $500. But yea you right, when moms buying it anyways, you gotta stay cheap.
  • K3Nv2 @ K3Nv2:
    They could use HD out on their TV no real need for a monitor these days tbh the purists will disagree
  • K3Nv2 @ K3Nv2:
    I'm kind of phasing out on the need for wanting all these consoles cool to have but they just become dust build ups
  • BigOnYa @ BigOnYa:
    I here ya there, I have too many myself, and have hard time letting them go, since most of mine I've modded at some point. Anymore I just play Switch on the go, seriesx at home.
  • Xdqwerty @ Xdqwerty:
    ack my throat
  • K3Nv2 @ K3Nv2:
    I need to invest in some storage totes tbh
  • BigOnYa @ BigOnYa:
    Tots?
  • K3Nv2 @ K3Nv2:
    Tootles
  • BigOnYa @ BigOnYa:
    Tootles? Wtf
  • K3Nv2 @ K3Nv2:
    Oh tootles
  • BigOnYa @ BigOnYa:
    Oh totes , lol, like Tupperware storage, I gotcha
  • BigOnYa @ BigOnYa:
    I'm designing my own entertainment cabinet for my man cave, to store all my systems, then I'm also designing a power supply/HDMI switcher so I can switch to whichever system I want, and power it also. Already picked up the cabinet board, but tinkering with my drawings before start
  • BigOnYa @ BigOnYa:
    But yea, I have frogger arcade cabinet that I gutted and put a Pi4 then Pi5 into, but it never gets played much anymore, should sell it. Even when the kids come over, they don't want to play on it, just the xbox. TMNT and Simpson's arcade is still so fun on it, esp w 2 players.
  • K3Nv2 @ K3Nv2:
    Gonna check out the new Garfield looks like garbage
  • BigOnYa @ BigOnYa:
    Can't wait to see the new "stick" that can actually play Ps3 or 360 games. I know they are getting close.
  • BigOnYa @ BigOnYa:
    @Xdqwerty didn't you see the new garfield?
  • K3Nv2 @ K3Nv2:
    Ah it's all animated I was hoping for some live action
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, yes i did
    Xdqwerty @ Xdqwerty: @BigOnYa, yes i did