I couldn't find the place to edit using my method for Tennis, but it doesn't matter much because the way that SuperrSonic's cheat let me find works well anyway.
For those of you playing at home, 4E 80 00 20 means 'branch to link register' -- the last instruction executed at the end of a function. It's the instruction for 'return' or 'go back to whoever called this function'. From this you can tell where all the game's functions start and end.
The 94 21 FF E0 is preceded by a 4E 80 00 20, so 94 21 FF E0 is the first instruction. Replacing it with 4E 80 00 20 means we're inserting a 'return' as the first line and skipping this function entirely, so I'm guessing it's the function which sets the dark filter (unrelated to vfilter). I'm guessing it's something like a GXSetEpilepsyFilter function, for lack of better term.
@MaeseJesus: how did you discover this string? I'm curious to know more about this function and what it does exactly.
Oh c'mon, I skipped that one because for the other three games I looked on were quite later on... I hate myself!
I found this string by looking at Wave Race's Gecko Code made by SuperrSonic on that other thread. Loading the game with the cheat on, I would look on the memory and find the string.
The string I found on Wave Race helped me with Mario Kart and Mario 64, but Tennis and others seem to use a different one.
Edit:
I confirm, that's the string, it works on Dolphin. The Offset is 2C960... That gives me hope for the other games seeing they can be much earlier in the file. The exact same string appears also on Mario Golf, offset D9284, A LOT later than the rest, but editing that one doesn't seem to change anything. Although, to be fair, that game looks far more bright than Tennis does.
Anyway... It's late here, I should catch some sleep. Good night to all of you.
It varies a lot between games, but the prologue (first few instructions) appear to be the same, and that's just enough to identify it. Still need to check other games and adjust the length of that string to something that results in only 1 search hit in all of them.
edit: if we can't get it down to 1 search hit, we can start looking at the function epilogue (last few instructions) and try to find similarities there as well, using wildcards if needed. The hex editor XVI32 allows wildcard in its searches.
The exact same string appears also on Mario Golf, offset D9284, A LOT later than the rest, but editing that one doesn't seem to change anything. Although, to be fair, that game looks far more bright than Tennis does.
I have played an entire game in Mario Tennis with the 00 00 15 20 15 00 00 change (and only that) on my Wii and it looks great, no banding or anything.
Mario Kart with my method also looked great.
I couldn't find the place to edit using my method for Tennis, but it doesn't matter much because the way that SuperrSonic's cheat let me find works well anyway.
I tried with Snap, without editing the BE bytes, it made no difference to me. Neither I could see the difference with the 15 20 15 method on Dolphin even when Progressive turned on.
Edit: Also tried Wave Race with the method I wrote above. What a difference!
Tomorrow I'll check SM64. And maybe Mario Golf, maybe it also works with the 15 20 15, who knows.
Paper Mario is already using full dynamic range too.
If you look at the character in the egg on the left side of the screen in your OSSC captures, there is near-white detail missing in the vfilter boosted one.
If you want more brightness for this game, increase it at your display as that will not cause clipping.
Paper Mario is already using full dynamic range too.
If you look at the character in the egg on the left side of the screen in your OSSC captures, there is near-white detail missing in the vfilter boosted one.
If you want more brightness for this game, increase it at your display as that will not cause clipping.
But I saw a small amount of darkness in the original VC release for Wii console. My friend @Zorg1996 also noticed that, so I fixed it and removed that "hidden" dark filter and made it more brighter.
Here's a comparison:
With the vfilter boosting clipping, bear in mind it's not just brightness that gets clipped but hues and saturations also get skewed on colours when one channel starts clipping first, eg. the clouds in Pokemon Snap became a greenish colour
Hello there! Thank you very much for this great discovery and to be able to enjoy the Wii VC n64 games, now my question is, has someone of you been able to solve the problem of the games that are obscured in the Wii VC NES emulator?
Okay, so the non vfilter solution is the one to use then! Fantastic discovery as always, NoobletCheese! I will check the games with that string once I'm free.
It's quite curious how Mario Golf was left bright and pretty much every other game had this filter.
About NES, I haven't looked at any games. But we should consider that it might not be a filter with them. The NES, as far as I read, didn't really have exact colors, how they looked dependend on several factors. So it might be that they put those darker tones as the actual colors instead of a simple post-image effect...
I hope I'm wrong though.
Edit: ...I just thought something about these darkening filters. The VC games, at least the N64 games we've looked at, all use the "00 00 15 16 15 00 00" ones, so no filtering at all. This of course means that if you use component cables you could get a very nice, clean picture.
But it also means that if they were played on 480i, through AV or RGB cables for example, you could possibly see the flickering as the picture refreshes every frame (and being interlaced, only certain lines get refreshed each time, causing the flickering).
From what I've observed with my PS2 (most games I've tried have no filtering at all, which actually in the case of the PS2 goes against it as very few games support 480p and most games aren't even 480 in resolution but 448, making for weird pixel ratios) and stuff like Mega Man 9 or 10 when played in 480i, the flickering is most notable with white and brighter colors.
...Maybe that's the exact reason of why they added this filter: to avoid this flickering, which was the cause of many epilepsy attacks in the past, when CRTs were common. I haven't tried playing these games at 480i, just going on with the information about video filters on these games.
In any case, just an observation.
I checked the string NoobletCheese mentioned, it seems like it lands very close to the offsets I found myself, so it certainly looks like "The Ticket". Golf has the string early on in the file as Tennis.
Edit 2:
I leave here a bit of info I've been finding.
Code:
Game Offset Comment
Mario Kart 64 46DB8 Clears the filter. 01.app is decompressed.
Mario Tennis 2C960 Clears the filter. 01.app must be decompressed.
Super Mario 64 46210 Clears the filter. 01.app is decompressed.
Wave Race 64 44AD4 Clears the filter. 01.app is decompressed.
1080 Snowboard 45A60 The game is not darkened. Not needed.
Bomberman Hero 27330 The game doesn't seem darkened.
Mario Golf The game is not darkened. Not needed.
Mario Party 2 The game does not look darkened, must look more.
Super Smash Br. The game is not darkened. Not Needed.
Ogre Battle 64 --- String not present, but the game doesn't look dark.
Pokémon Snap Unsure if it uses filter, every attempt has failed.
I completely forgot that Smash 64 was a 60 FPS game.
Here is a magical string that should work for all N64 games.
80 04 00 04 2C 00 00 FF 40 82 00 10 80 04 00 08 2C 00 00 FF
Then walk backwards until you find the
94 21 FF E0
and replace with
4E 80 00 20
After checking every game listed here, the only game which doesn't have this string is Ogre Battle 64. Luckily it doesn't use the epilepsy filter so we don't need to patch it. I did find a function in its 01.app with the same epilogue and prologue as the other games, but no way of enabling the filter on so I can't test it.
If you disabled the epilepsy filter by replacing 9421FFE0 and are still unsatisfied with the brightness levels, it's better to increase peak brightness on your display instead of using the vfilter as it can avoid clipping:
After further testing, I would avoid the vfilter patching method altogether as it seems different games use different amounts of epilepsy darkening, so there is no single vfilter coefficient that would work for all of them -- it would need to be fine-tuned for each game.
eg. Mario Tennis has white pixels at RGB 216, but Wave Race is RGB 190; you'll either get clipping in Mario Tennis or not full brightness in Wave Race.
Yup, changing 94 21 FF E0 is the better way to go. Good to know that only a few were darkened, though. Wonder why they decided to do it for some but not others, they seem chosen randomly.
I tried SM64 before leaving on my Wii and it looked great. I wish they put a few more N64 games on the Wii...
Anybody had luck removing dark filter in the European (PAL) versions of the N64 VC releases for Wii?
Me and @Zorg1996 tried to remove the dark filter of VC Paper Mario (PAL) WAD but it didn't work...
Anyone did that?
Thanks in advance
PD: @Zorg1996, @MaeseJesus NES Wii VC doesn't use any dark filter. The NES console didn't have a video decoder, so it used the color pallete of the TV that was connected to the NES. Nintendo used a more darked color pallete for Wii VC games. I was wondering if that pallete can be replaced with a better color pallete for make the game more brighter and maybe a bit more colorful...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
With the vast success of Super Mario Maker and its Switch sequel Super Mario Maker 2, Nintendo fans have long been calling for "Maker" titles for other iconic genres...
Palmer Luckey is known for his pursuits into the world of virtual reality, having founded Oculus and designed the Rift VR headset. Prior to the $2 billion dollar...
It's been a while since Microsoft released the Xbox One, and despite its age, there haven't been any reliable softmod methods to hack the console. Until now. A post...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
Another day, another Nintendo DMCA takedown against fan-made content.
Just a few minutes ago, Nintendo issued a DMCA takedown notice against a widely known and...
Another day, another great emulator that makes its way into the Apple Store for more users to enjoy. With Apple opening its store up to videogame emulators earlier...
After a little more than three years of exclusivity with the Epic Games Store, Square Enix has decided to bring their beloved Kingdom Hearts franchise to Steam. The...
Sony is once more attempting to reintroduce players to their older library of games by re-releasing classic PlayStation 2 titles onto the PlayStation Store. During...
Skyward Sword is a divisive title in the Zelda series. Hailed with praise at launch with a 93 Metacritic average, the game since received criticism for the...
Palmer Luckey is known for his pursuits into the world of virtual reality, having founded Oculus and designed the Rift VR headset. Prior to the $2 billion dollar...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
Another day, another Nintendo DMCA takedown against fan-made content.
Just a few minutes ago, Nintendo issued a DMCA takedown notice against a widely known and...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
It's been a while since Microsoft released the Xbox One, and despite its age, there haven't been any reliable softmod methods to hack the console. Until now. A post...
After a little more than three years of exclusivity with the Epic Games Store, Square Enix has decided to bring their beloved Kingdom Hearts franchise to Steam. The...
Sony is once more attempting to reintroduce players to their older library of games by re-releasing classic PlayStation 2 titles onto the PlayStation Store. During...
With the vast success of Super Mario Maker and its Switch sequel Super Mario Maker 2, Nintendo fans have long been calling for "Maker" titles for other iconic genres...
The latest State of Play is here. This is PlayStation's Summer showcase, providing updates to new updates on upcoming games and brand new reveals. The 35-minute...
E3 may be gone, but it's not forgotten, as the trend of a massive Summer video game showcase still lives on in the form of the Summer Game Fest. Promising two hour of...