Hacking GPU scaling issue with Main OBJ layer

deiniel

New Member
OP
Newbie
Joined
Oct 27, 2021
Messages
1
Trophies
0
Age
32
XP
49
Country
Peru
Hi, Im using Desmume 0.9.12 version from 22/10/21 with Pokemon HeartGold.
GPU scaling factor x4 works almost perfect but there is a glitch with the Main OBJ layer when entering a battle.

My 3d settings:
3dsettings.png


I didn't touch emulation settings and in display settings Im using OpenGL + Filter. I've tried playing with Softrenderizer and another options without luck.
Screenshots for the issue:

First:
Your trainer appears pixelated (like without the scaling factor applied) but the opponent pokemon looks ok.
first.png


Second:
In the transition when your trainer goes back in order to launch your pokemon, the oponent pokemon is pixelated without the scaling for few seconds.
second.png



Third:
When your pokemon is in place, both, your and opponent pokemons are rendered correctly.
third.png



I've tested this disabling the rendering of Main OBJ layer (which contains the draw for your trainer) and this issue is not present. The oponent pokemon appears with the scaling/filters all the time without switching.
But disabling Main OBJ layer of course generates that your trainer and hp bars are not visible in the animation.

Is there any way to force Main OBJ layer to work the same than another layers?
or don't know ... hack the rom to force render the trainer sprite in another layer? Im just guessing since I dont have much idea about hacking... but this texture/upscaling switch bothers me :(

Thanks in advance
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: Good night