• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Site › Dolphin Patches (Archive) v
« Previous 1 ... 3 4 5 6 7 Next »

[Hack Idea] Change EFB copy method on different texture types
View New Posts | View Today's Posts

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[Hack Idea] Change EFB copy method on different texture types
09-16-2010, 07:13 AM
#1
crmt29
Unregistered
 
Hello.
I don't know how Dolphin works, but I think this is possible.

In this hack, EFB copy method will be different depending on texture type (C14x2, C4, C8, etc)

This can fix mini-map glitches in ZTP, without slowing down everything.
ZTP uses C14x2 textures to interface, mini-map and etc.

My idea is:

Copy EFB to RAM when texture type is C14x2
Otherwise, copy EFB to texture.

Can something like this work?

Change:
Code:
if(!g_ActiveConfig.bCopyEFBToTexture)
to:
Code:
if(!g_ActiveConfig.bCopyEFBToTexture || (tex_format == GX_TF_C14X2))

There is any good documentation about Dolphin graphic plugins? I'd like to contribute to Dolphin.

Thank you.

PS: I don't speak English very well, sorry.
09-16-2010, 12:14 PM (This post was last modified: 09-16-2010, 12:17 PM by Leo.)
#2
Leo Offline
Pesky Questioner
***
Posts: 106
Threads: 38
Joined: Jul 2009
Cool,this can solve my problem with ZTP,ZWW(Pictobox) and Mario Sunshine(Ink on the floor)!But,just a question:It's possible to make a hotkey for change the EFB between Texture and RAM,instantly?Or it already exists?
My Configurations:
CPU: Intel i5 4200U
RAM: 6GB 1600 MHz
GPU: NVIDIA GeForce GT 740M
OS: Windows 8 x64
Find
09-16-2010, 02:20 PM
#3
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,009
Threads: 24
Joined: Oct 2009
Quote:Or it already exists?

I believe this already exists. Check the "enable hotkeys" checkbox in the advanced tab of your graphics plugin settings.
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
09-17-2010, 04:54 AM
#4
Leo Offline
Pesky Questioner
***
Posts: 106
Threads: 38
Joined: Jul 2009
Yeah,I did it,but...Nothing happens.What's the key?
My Configurations:
CPU: Intel i5 4200U
RAM: 6GB 1600 MHz
GPU: NVIDIA GeForce GT 740M
OS: Windows 8 x64
Find
09-17-2010, 08:25 AM
#5
crmt29
Unregistered
 
(09-17-2010, 04:54 AM)Leo Wrote: Yeah,I did it,but...Nothing happens.What's the key?

1~9 keys.
09-18-2010, 11:57 AM
#6
Leo Offline
Pesky Questioner
***
Posts: 106
Threads: 38
Joined: Jul 2009
Oh...

Well...

Common!Let's someone comment about the topic!I really like it,having no slowdowns with almost-perfect graphics,it's very very GOOD!
My Configurations:
CPU: Intel i5 4200U
RAM: 6GB 1600 MHz
GPU: NVIDIA GeForce GT 740M
OS: Windows 8 x64
Find
09-18-2010, 09:38 PM
#7
KHRZ Offline
Above and Beyond
*******
Posts: 1,527
Threads: 61
Joined: Mar 2009
Perhaps post an issue on google code with the suggestion? Or PM hrydgard so he can give you commit rights (if you're planning to do more stuff)
Specs: intel i5 3570k @ 3.4GHz;
16Gb RAM; Raedon HD 7900;
Win8 64-Bit
Website Find
12-13-2010, 01:03 AM
#8
StripTheSoul Offline
YouKittenMe?
*******
Posts: 4,617
Threads: 37
Joined: Oct 2009
well, I know the devs don't like hacks very much...however, if this is something that could be made toggleable (does such a word exist? Tongue ), why not?
Intel i5-4690k (Devil's Canyon) @ 3.5 GHz (+Scythe Mugen) / Gainward GTX 1070 Phoenix (OC'd) / ASUS Z97 PRO GAMER / 16GB G.Skill DDR3-2400 CL10 TridentX / X-Fi XtremeMusic / Win10 Pro 64bit / Dell S2716DG Monitor / 3x original WiiMote+MotionPlus+Nunchuk
Find
12-13-2010, 08:42 AM
#9
skid Offline
skidau / skid_au
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,004
Threads: 8
Joined: Aug 2009
(09-16-2010, 07:13 AM)crmt29 Wrote: Change:
Code:
if(!g_ActiveConfig.bCopyEFBToTexture)
to:
Code:
if(!g_ActiveConfig.bCopyEFBToTexture || (tex_format == GX_TF_C14X2))

There is any good documentation about Dolphin graphic plugins? I'd like to contribute to Dolphin.

There's only the code in terms of documentation.

This code is a bit too much of a hack. If there is a way for Dolphin to automatically detect the type of format to use, that would be much better.
Find
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode