Hacking Understanding and changing Snes VC RPX settings

the_randomizer

The Temp's official fox whisperer
OP
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
Since Super Mario RPG never had a pal Release I don't think they made this version 50Mhz. Pretty sure it's a straight port of the American version, it even has the purple buttons and everything.

Edit: whoops late on the answer haha

Ah no worries, I didn't know either, EU never got the game officially, that and EU uses both video standards, though I never understood why RPX injection didn't work but RAM injection did.
 

AlanLC

Well-Known Member
Member
Joined
Aug 18, 2014
Messages
413
Trophies
0
Age
45
XP
2,600
Country
Brazil
Edited 14/10/2016
Perfect Pixel


Run rpl2elf on the dumped .rpx.
Open the elf in a hex editor Search for 043838E0078090(hex) and replace the 0780 with 095F (NES) TV
Open the elf in a hex editor Search for 392003563860(hex) and replace the 0356 with 0429 (NES) Wii U Game Pad

Open the elf in a hex editor Search for 043838E0078090(hex) and replace the 0780 with 08C0 (SNES) TV


Convert back to rpx by running in the sdk tools folder:
set CAFE_ROOT=../../../
makerpl64 -f -z8 -old -s name.elf

Copy back to sd card and run with loadiine.
Done!

TV
TV.png

Wii U Gamepad
Gamepad.png
 
Last edited by AlanLC,

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,212
Trophies
2
XP
34,046
Country
Mexico
Run rpl2elf on the dumped .rpx.
Open the elf in a hex editor Search for 043838E0078090(hex) and replace the 0780 with 090C
Convert back to rpx by running in the sdk tools folder:
set CAFE_ROOT=../../../
makerpl64 -f -z8 -old -s name.elf

Copy back to sd card and run with loadiine.
Done!


wiiu_screenshot_tv_004a1_by_alanlcarlos-dakpo77.jpg

wiiu_screenshot_gamepad_004a1_by_alanlcarlos-dakpo85.jpg
But that's for what console specifically?
 

the_randomizer

The Temp's official fox whisperer
OP
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
Oh the post has been edited!

Well done @AlanLC

Luckily we no longer have to use the SDK to convert to RPX to ELF, RPLStudio should make that easier.

But that's for what console specifically?
I believe Snes and NES use the same RPX, at least, as far as code goes, they're identical.


Edit: Wait, I thought RPLstudio converted to Elf, guess it doesn't?
 
Last edited by the_randomizer,
  • Like
Reactions: VinsCool

AlanLC

Well-Known Member
Member
Joined
Aug 18, 2014
Messages
413
Trophies
0
Age
45
XP
2,600
Country
Brazil
Excuse me! Difficulty typing on a Tablet

--------------------- MERGED ---------------------------

Luckily we no longer have to use the SDK to convert to RPX to ELF, RPLStudio should make that easier. I believe Snes and NES use the same RPX, at least, as far as code goes, they're identical.

thank you! I read all the pages and did not see about it

--------------------- MERGED ---------------------------

But that's for what console specifically?

Virtual Console NES
 

the_randomizer

The Temp's official fox whisperer
OP
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
Excuse me! Difficulty typing on a Tablet

--------------------- MERGED ---------------------------



thank you! I read all the pages and did not see about it

--------------------- MERGED ---------------------------



Virtual Console NES

It's in ShadowOne333's signature. Any luck with gamma/filters?
 

the_randomizer

The Temp's official fox whisperer
OP
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
The Nes Remix is not dark and blurred and also works with roms, could be analyzed to try gamma and to remove the filters in the virtual console?

NERD was probably involved with NES Remix, might be why the NES colors are actually normal, if the gamma/filter can be changed, it would help with Snes too.
 

dubyadud

Member
Newcomer
Joined
May 7, 2016
Messages
21
Trophies
0
XP
92
Country
United States
Edited 11/10/2016
Perfect Pixel

Run rpl2elf on the dumped .rpx.
Open the elf in a hex editor Search for 043838E0078090(hex) and replace the 0780 with 0956
Convert back to rpx by running in the sdk tools folder:
set CAFE_ROOT=../../../
makerpl64 -f -z8 -old -s name.elf

Copy back to sd card and run with loadiine.
Done!


wiiu_screenshot_tv_004a1_by_alanlcarlos_dakpo77_by_alanlcarlos-dakshhr.jpg

wiiu_screenshot_gamepad_004a1_by_alanlcarlos-dakpo85.jpg

Great find!
 

AlanLC

Well-Known Member
Member
Joined
Aug 18, 2014
Messages
413
Trophies
0
Age
45
XP
2,600
Country
Brazil
Great find!

Perfect Pixel NES SNES


Run rpl2elf on the dumped .rpx.
Open the elf in a hex editor Search for 043838E0078090(hex) and replace the 0780 with 095F (NES)

Open the elf in a hex editor Search for 043838E0078090(hex) and replace the 0780 with 08C0 (SNES)

Convert back to rpx by running in the sdk tools folder:
set CAFE_ROOT=../../../
makerpl64 -f -z8 -old -s name.elf

Copy back to sd card and run with loadiine.
Done!
 
  • Like
Reactions: the_randomizer

the_randomizer

The Temp's official fox whisperer
OP
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
Perfect Pixel NES SNES

Run rpl2elf on the dumped .rpx.
Open the elf in a hex editor Search for 043838E0078090(hex) and replace the 0780 with 095F (NES)

Open the elf in a hex editor Search for 043838E0078090(hex) and replace the 0780 with 08C0 (SNES)

Convert back to rpx by running in the sdk tools folder:
set CAFE_ROOT=../../../
makerpl64 -f -z8 -old -s name.elf

Copy back to sd card and run with loadiine.
Done!

Have you been able to reproduce this or find similar results with N64 games? To me, the black borders on a modern screen are unsightly, and excellent find :P Gonna update the OP.
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,212
Trophies
2
XP
34,046
Country
Mexico
Perfect Pixel NES SNES

Run rpl2elf on the dumped .rpx.
Open the elf in a hex editor Search for 043838E0078090(hex) and replace the 0780 with 095F (NES)

Open the elf in a hex editor Search for 043838E0078090(hex) and replace the 0780 with 08C0 (SNES)

Convert back to rpx by running in the sdk tools folder:
set CAFE_ROOT=../../../
makerpl64 -f -z8 -old -s name.elf

Copy back to sd card and run with loadiine.
Done!
What exactly do you mean with perfect pixel?
YOu mean no Bilinear kind of image?

I'm loving the work you are doing :P
 
  • Like
Reactions: the_randomizer

AlanLC

Well-Known Member
Member
Joined
Aug 18, 2014
Messages
413
Trophies
0
Age
45
XP
2,600
Country
Brazil
Have you been able to reproduce this or find similar results with N64 games? To me, the black borders on a modern screen are unsightly, and excellent find :P Gonna update the OP.

Remove black bars to stay widescreen? No

I could only correct scale Banjo Kazooie (USA) and change the game scale 4: 3 with black bars on top and bottom to 4: 3 without black edges

--------------------- MERGED ---------------------------

What exactly do you mean with perfect pixel?
YOu mean no Bilinear kind of image?

I'm loving the work you are doing :P

What exactly do you mean with perfect pixel? 8:7 Aspect Ratio as Nes classic edition
 
  • Like
Reactions: ShadowOne333

the_randomizer

The Temp's official fox whisperer
OP
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
Remove black bars to stay widescreen? No

I could only correct scale Banjo Kazooie (USA) and change the game scale 4: 3 with black bars on top and bottom to 4: 3 without black edges

--------------------- MERGED ---------------------------



What exactly do you mean with perfect pixel? 8:7 Aspect Ratio as Nes classic edition

@AlanLC But can you give the offsets you changed in the N64 ROM/ELF? I would at least like to know what I need to change to fix games like Paper Mario (which has way too much black border, er borderness). Surely, there's a way to at least remove some of the black borders or fill up the screen more. Even if we can't remove them all the way, could you give the offsets?

We've been trying to find out where and how to change this forever.
 
Last edited by the_randomizer,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    It must be the 1st already
  • BakerMan @ BakerMan:
    1st of what?
  • BakerMan @ BakerMan:
    may?
  • K3Nv2 @ K3Nv2:
    Oh yeah it's in September
  • Xdqwerty @ Xdqwerty:
    @BakerMan, yea i think its different
  • BakerMan @ BakerMan:
    ok, because here it's in september, right before the fuckin school year starts
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
    TwoSpikedHands @ TwoSpikedHands: I appreciate the insight!