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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 2 3 4 5 ... 117 Next »

[UNOFFICIAL] Ishiiruka-Dolphin Custom Version
View New Posts | View Today's Posts

Pages (806): « Previous 1 ... 238 239 240 241 242 ... 806 Next »
Jump to page 
Thread Rating:
  • 33 Vote(s) - 4.55 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[UNOFFICIAL] Ishiiruka-Dolphin Custom Version
06-09-2015, 11:14 AM
#2,391
Tino Offline
Above and Beyond
*******
Posts: 2,276
Threads: 1
Joined: Oct 2013
Super mario galaxy does a dirty trick that avoids using ssao and dof, it renders the 3d scene then it copies the scene to memory and add the 2d elements after that. This destroy the depth buffer content avoiding any effect that uses depth info.
Find
Reply
06-09-2015, 11:21 AM (This post was last modified: 06-09-2015, 11:27 AM by Knots.)
#2,392
Knots Offline
Junior Member
**
Posts: 28
Threads: 0
Joined: Oct 2014
(06-09-2015, 10:08 AM)TheMaster627 Wrote: snip

Yeah. SMG doesn't work with depth based effects like SSAO and DoF presently. This is due to the game's rendering technique. The final depth buffer is totally empty, nothing for the effects to work with. 

There is no work around for this. Never say never but don't get your hopes up

EDIT: Darn! Tino'd!!
Shadows have been my spotlight as I monologue the night and dialogue with days
Soliloquies of wind and breeze, applauded by sun rays
Find
Reply
06-09-2015, 03:17 PM
#2,393
luizfersam Offline
Junior Member
**
Posts: 46
Threads: 4
Joined: Oct 2013
So no SSAO for Mario kart wii too Tino? Sad
Find
Reply
06-09-2015, 06:59 PM
#2,394
nate2000 Offline
Junior Member
**
Posts: 41
Threads: 4
Joined: Apr 2015
(06-08-2015, 05:34 AM)jcdaza Wrote: a while ago, mimimi created a code to make the last story run a LOT faster on dolphin, with the side effects of break another games. Someone created a custom build with that code using the master branch, so i was wondering if someone can make the same using the ishiiruka source code. it will help with the stutter Smile



Code:
Replace the 2nd half of TextureCache::TCacheEntry::FromRenderTarget in TextureCache.cpp(d3d version!) with:

   if (!g_ActiveConfig.bCopyEFBToTexture)

   {
       u8* dst = Memory::GetPointer(dstAddr);

       // Block of code just to get encoded_size, copied from g_encoder->Encode. OGL does this differently
       EFBRectangle correctSrc = srcRect;
       correctSrc.ClampUL(0, 0, EFB_WIDTH, EFB_HEIGHT);
       unsigned int blockH = BLOCK_HEIGHTS[dstFormat];
       unsigned int actualHeight = correctSrc.GetHeight() / (scaleByHalf ? 2 : 1);
       actualHeight = (actualHeight + blockH - 1) & ~(blockH - 1);
       unsigned int numBlocksY = actualHeight / blockH;
       size_t encoded_size = bpmem.copyMipMapStrideChannels * 32 * numBlocksY;

       size_in_bytes = (u32)encoded_size;

       if (!isIntensity && (dstFormat == 0 || dstFormat == 6) && native_height != 1 && (native_width == 64 || native_width == 128 || native_width == 256))
       {
           g_encoder->Encode(dst, dstFormat, srcFormat, srcRect, isIntensity, scaleByHalf);
           TextureCache::MakeRangeDynamic(addr, (u32)encoded_size);
       }

       hash = GetHash64(dst, (int)encoded_size, g_ActiveConfig.iSafeTextureCache_ColorSamples);
   }
since the code was posted some time ago, i think it need some changes to make it work with the efb to texture check box.  


What GPU you got? if you have GTX 970 or above the game runs smooth and no stutters just to let you know.
Find
Reply
06-10-2015, 02:49 AM
#2,395
mimimi Offline
Senior Member
****
Posts: 720
Threads: 1
Joined: May 2014
(06-09-2015, 06:59 PM)nate2000 Wrote: What GPU you got? if you have GTX 970 or above the game runs smooth and no stutters just to let you know.

The hack i wrote makes the game playable with efb to texture, while on master you need efb to ram for the clothes to work. In some situations, efb2tex runs 2x as fast as efb2ram in this game. But i guess Tino knows about this, and if he wanted to integrate this, he would have done so. I wouldn't be surprised if this hack is too much of a hack for Ishiiruka-Dolphin. (it is hardcoded for one single game, and doesn't do any good in any other game. The same applies to the similar hack for new super mario bros)
Find
Reply
06-10-2015, 06:34 AM (This post was last modified: 06-10-2015, 06:34 AM by shellashock.)
#2,396
shellashock Offline
Member
***
Posts: 75
Threads: 4
Joined: Dec 2012
(06-10-2015, 02:49 AM)mimimi Wrote:
(06-09-2015, 06:59 PM)nate2000 Wrote: What GPU you got? if you have GTX 970 or above the game runs smooth and no stutters just to let you know.

The hack i wrote makes the game playable with efb to texture, while on master you need efb to ram for the clothes to work. In some situations, efb2tex runs 2x as fast as efb2ram in this game. But i guess Tino knows about this, and if he wanted to integrate this, he would have done so. I wouldn't be surprised if this hack is too much of a hack for Ishiiruka-Dolphin. (it is hardcoded for one single game, and doesn't do any good in any other game. The same applies to the similar hack for new super mario bros)
Forgive me for my ignorance of programming; but can't you engineer the hack in a way that it only can activate if Dolphin detects that this is the game running and default to the proper code if it is anything else? I am not advocating this at all; just wondering if it is possible to set up a flag or something that will keep the code deactivated unless Dolphin detects the game the hack is designed for is running. When this happens, it deactivates the code for proper emulation and runs the hacky code instead.
Find
Reply
06-10-2015, 06:56 AM (This post was last modified: 06-10-2015, 07:30 AM by kirbypuff.)
#2,397
kirbypuff Offline
The Original White Marshmallow
*****
Posts: 825
Threads: 37
Joined: Aug 2010
v5.0 Stable is coming soon. If you check out the GitHub page, you can see the devs are preparing for the release (cleaning up stuff and merging PRs like crazy) Big Grin
Find
Reply
06-10-2015, 07:01 AM
#2,398
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,958
Threads: 7
Joined: Oct 2014
And how do you know if the list of Milestone=Current issues is going to be empty soon? Tongue
Find
Reply
06-10-2015, 07:36 AM (This post was last modified: 06-10-2015, 08:27 AM by kirbypuff.)
#2,399
kirbypuff Offline
The Original White Marshmallow
*****
Posts: 825
Threads: 37
Joined: Aug 2010
(06-10-2015, 07:01 AM)JosJuice Wrote: And how do you know if the list of Milestone=Current issues is going to be empty soon? Tongue
It makes sense to release v5.0 ASAP, focusing only on the most important issues and (trying to) fix the rest in a future point release. The latest dev builds, even with the current set of issues are a HUGE improvement over the old, slow, inaccurate and buggy v4.0.2-stable.

Another hint:
You can (finally) download updated stable builds.

And another one: PR #2538 -> milestone ?
Find
Reply
06-10-2015, 08:06 AM
#2,400
masterotaku Offline
Picky 3D user
****
Posts: 552
Threads: 7
Joined: Aug 2013
(06-10-2015, 06:56 AM)kirbypuff Wrote: v5.0 Stable is coming soon. If you check out the GitHub page, you can see the devs are preparing for the release (cleaning up stuff and merging PRs like crazy) Big Grin

Great! I wonder if someone will fix the Anisotropic Filtering (D3D backend) issue I reported on March. It's easy to avoid the problem, though.
CPU: Intel Core i5 4670k @ 4.4GHz
GPU: GAINWARD GeForce GTX 1080 Phoenix "GLH"
RAM: G.SKILL Ripjaws X DDR3 16GB 1600MHz CL7
OS: Windows 7 Ultimate x64
Find
Reply
« Next Oldest | Next Newest »
Pages (806): « Previous 1 ... 238 239 240 241 242 ... 806 Next »
Jump to page 


  • 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