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
Not bad, we simply don't know how to use them properly yet :P

I mean, games that run, run well, but others, have weird sound glitches and the colors are dark; Paper Mario looks really squished unless you use that config file provided earlier in this thread :P Just wish games like Jet Force Gemini would boot up, Banjo Tooie, etc, you know?
 

Pachee

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
480
Trophies
0
XP
562
Country
United States
I guess it is finally done. The Harvest Moon 64 ini is on the rar and attached is the rom byteswapping tool needed for the US N64 rom, which you will need to get somewhere else. :ph34r:
Ini includes the CRC of byteswapped working rom, latest vessel (2428 TIME: 2016/11/18) you get from F-Zero X.
StickLimit = 64 worked best for me, but it still doesn't compare to the real 64 since VC stick range is pretty crap.:shit:
 

Attachments

  • Harvest Moon 64 [N64000].rar
    1.5 MB · Views: 235
  • Byteswapper.zip
    5 KB · Views: 185

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,218
Country
Canada
I guess it is finally done. The Harvest Moon 64 ini is on the rar and attached is the rom byteswapping tool needed for the US N64 rom, which you will need to get somewhere else. :ph34r:
Ini includes the CRC of byteswapped working rom, latest vessel (2428 TIME: 2016/11/18) you get from F-Zero X.
StickLimit = 64 worked best for me, but it still doesn't compare to the real 64 since VC stick range is pretty crap.:shit:
Why would you even need a byteswapper? Unless you get v64 roms, there is no need to do that. :huh:
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,222
Trophies
2
XP
34,443
Country
Mexico
I got in contact with a friend of mine, @Lorenzooone, regarding the N64 resolution, asked him if he could help me out to locate the code that "might" be in charge of setting the resolution, and he found this:

.text:02003F6C li r0, 0x280
.text:02003F70 li r10, 0x1E0

That's the equivalent of 640x480.
Just look for these bytes in the VESSEL.ELF file

[38 00 02 80 39 40 01 E0]

and change it for this:
[38 00 05 00 39 40 02 D0]

That should hopefully change it to 1280x720, although I am not sure if it does or not since I am at work and won't be able to test it until maybe tomorrow with luck. Could someone give it a try?

Just remember that you need to convert the VESSEL.RPX file into ELF first, open a HEX editor, look for those bytes and change them, and then encrypt the ELF file back to RPX. :P

@VinsCool, @the_randomizer, @Pachee, @AlanLC
 
Last edited by ShadowOne333,
  • Like
Reactions: Pachee and VinsCool

Pachee

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
480
Trophies
0
XP
562
Country
United States
Oh damn, really? :/
Damn this crap.
Can someone else confirm this?
Also, could someone tell me what is the exact resolution the N64 VC uses?
Maybe I was going for the wrong res, I tought it was 640x480
1080p is default i guess, 720p with bForce720p = true.
Remeber it is 4:3, so max must be 1440x1080.

Edit:
GX2_TV_RENDER_1080, 1440 x 1080
bForce720P..GX2_TV_RENDER_720, 960 x 720
 
Last edited by Pachee,

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,222
Trophies
2
XP
34,443
Country
Mexico
1080p is default i guess, 720p with bForce720p = true.
Oh, sorry, I meant aspect ratio.
I know the desired one in this case is 1280x720 for fullscreen, but I'm unsure what the actual VC is using for N64 games.
Is it 640x480?
I ask because this might be key to finding the correct value on the ELF file.
 

Pachee

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
480
Trophies
0
XP
562
Country
United States
Not of much use, but i found something. The predefined video modes on the vessel are all already filling the whole screen area, and then something else renders the game screen on top for that, keeping the proper aspect ratio.
You can notice this by pressing the vc menu key, it will fade in while zooming out the game, on exit it fades out while zooming back the game.
 
Last edited by Pachee,
  • Like
Reactions: ShadowOne333

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,222
Trophies
2
XP
34,443
Country
Mexico
Not of much use, but i found something. The predefined video modes on the vessel are all already filling the whole screen area, and then something else renders the game screen on top for that, keeping the proper aspect ratio.
You can notice this by pressing the vc menu key, it will fade in while zooming out the game, on exit it fades out while zooming back the game.
Yeah I did notice that too.
Maybe that can be changed in one config file of some sort instead of the vessel itself.
 

Pachee

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
480
Trophies
0
XP
562
Country
United States
Urgh, it was a pain to finally get a working rpx of this vessel. wiiurpxtool is setting some wrong byte somewhere and generating a broken file.
Edited the alpha of something from 255 to 2, dunno what.
 
Last edited by Pachee,

craftsk8

Well-Known Member
Newcomer
Joined
May 18, 2016
Messages
56
Trophies
0
Age
39
XP
104
Country
Serbia, Republic of
Edited 14/10/2016
Perfect Pixel


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

What about the parameter for (SNES) Wii U Game Pad?
Or this string(043838E0078090(hex) and replace the 0780 with 08C0) will affect on game pad screen too?
I see for NES it is two different parameters.
 
Last edited by craftsk8,
  • Like
Reactions: cucholix

andot

Well-Known Member
Newcomer
Joined
Apr 11, 2017
Messages
57
Trophies
0
Age
43
XP
533
Country
Switzerland
What about the parameter for (SNES) Wii U Game Pad?
Or this string(043838E0078090(hex) and replace the 0780 with 08C0) will affect on game pad screen too?
I see for NES it is two different parameters.

Open the elf in a hex editor Search for 392003563860(hex) and replace the 0356 with 03E4 (SNES) Wii U Game Pad
 
D

Deleted User

Guest
I'm really not finding the hex value you posted, either of them. They don't show up on my hex editor. I'm using hxd and i am searching hex not anything else.
EDIT: Nvm the hex is a little different for certain games its trickier to find but i got it
 
Last edited by ,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Lol