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,197
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,892
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,516
Trophies
2
Age
44
Location
Scotland
XP
5,236
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,197
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,892
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: 34

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,516
Trophies
2
Age
44
Location
Scotland
XP
5,236
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,516
Trophies
2
Age
44
Location
Scotland
XP
5,236
Country
United Kingdom
My devkit is newer, like this year!! I can't seem to find devkitPPC r26 as the main link is dead. Does anyone have a share at all?
 
  • Like
Reactions: SaulFabre

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,516
Trophies
2
Age
44
Location
Scotland
XP
5,236
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: 27
  • Like
Reactions: SaulFabre

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
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,471
Trophies
3
XP
29,180
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,471
Trophies
3
XP
29,180
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,197
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,892
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,197
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,892
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,

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
btw, @SaulFabre , there's a function I learned quite a while ago to determine differences between two gits. it's called git diff in command line. iirc, it's git diff folder 1 folder 2, and it will compare them.
 

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,516
Trophies
2
Age
44
Location
Scotland
XP
5,236
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,516
Trophies
2
Age
44
Location
Scotland
XP
5,236
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
  • BakerMan @ BakerMan:
    the legal drinking age here in the US is 21, as some of you may know, but i think either it should be 18 or the age you're an adult should be 21.
    +1
  • BakerMan @ BakerMan:
    and i know what you may be thinking, "why become an adult at 21? doesn't that mean that banging an 18 year old would be illegal?"
    first of all, being in a relationship with someone who's 18 is technically ok, as long as it started when they were 18, but the age gap is still weird depending on how old you are. besides, the age of consent differs between different states
    +1
  • BakerMan @ BakerMan:
    also my reasoning for adult age being 21 is because the reason that's the drinking (and now smoking) age is because it "gives them more time to think rationally and not drive drunk"
    so you should have that extra time to mature and think rationally before going to serve in the military or vote
    +1
  • BakerMan @ BakerMan:
    tl;dr the "adult" age and the legal drinking age (and voting age) here in the US should be the same
    +4
  • Psionic Roshambo @ Psionic Roshambo:
    It's all good no one pays attention to the law anyway lol
  • BigOnYa @ BigOnYa:
    What about making kids wait till 18 or 21 to drive? And yea is messed up, you can join army and die for your country at age 18, but you can't drink alcohol or smoke a cig til 21, is ridiculous
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    If someone is in the military they should be allowed to smoke and drink at 18.... Would help drive recruitment lol
    +3
  • BigOnYa @ BigOnYa:
    We all know they do and will anyways. I think laws prevented them only pushes them to illegally do it. Even tho if was legal, most prob wouldn't even bother. Not a big deal or risque if its legal, no fun.
    +2
  • ZeroT21 @ ZeroT21:
    That's why some kids don't mind having a rap sheet or two just so they never get drafted
    +2
  • BakerMan @ BakerMan:
    also, i think the voting age should match the adult and drinking ages too, because by the logic of giving them time to mature and think rationally so they don't drive drunk, then they should also have that time to mature and think rationally so they can think for themselves
    +2
  • BakerMan @ BakerMan:
    fucking hell i'm becoming a mini leo with the way i yap aren't i?
    +1
  • impeeza @ impeeza:
    I was unable to create the VM for the debloat windows, but found the video where I learned it:

    https://www.youtube.com/watch?v=mZm6mY3I7J4
    +2
  • BigOnYa @ BigOnYa:
    No you def no leo, and I like your insight. You are a smart Baked cookie.
  • K3Nv2 @ K3Nv2:
    Chicken drumsticks and sweet potato for dinner tonight turned out good
    +1
  • BakerMan @ BakerMan:
    "i promise not to get all political and/or philosophical"
    3 drinks later:
    "so yeah think for yourself and i think the government sucks"
    +1
  • K3Nv2 @ K3Nv2:
    Is @BigOnYa drunk again
  • BakerMan @ BakerMan:
    no, i was poking fun at myself
  • BigOnYa @ BigOnYa:
    Again? I have a IV feeding me so I never come down.
    +2
  • BakerMan @ BakerMan:
    because self deprecating humor is important, as long as it doesn't turn into self hate. because you can't really make fun of anyone if you can't even make fun of yourself
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Booze enemas are real lol
  • The Real Jdbye @ The Real Jdbye:
    that explains a lot
  • K3Nv2 @ K3Nv2:
    @BigOnYa, invented the first ever pill that gets you instantly hammered, now filling the streets of Miami
  • BigOnYa @ BigOnYa:
    That was what called a qaaulude, instant drunk, luckily they not around anymore.
    BigOnYa @ BigOnYa: That was what called a qaaulude, instant drunk, luckily they not around anymore.