Dolphin, the GameCube and Wii emulator - Forums

Full Version: Implementing zfreeze: The program
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
Hey guys, I'm new to the forums here... but I too have longed for RS games to be playable in Dolphin and with the recent speedups in the core for Rogue Leader and finding the 3.5 branch that NeoBrain did for zfreeze, I took a stab at porting that code to a more recent build of Dolphin.

I had success in implementing the code on the Direct3D side... https://www.youtube.com/watch?v=o8V9ebZvTIo

I am new to the Dolphin codebase... and my experience from my career involves mostly C# coding but I am willing to help contribute to solving this problem, or try to at least.

I am also a lead developer for this project... http://www.indiedb.com/games/star-trek-excalibur - mostly responsible for the rendering engine... so my expertise there may be relevant to this issue and any other graphics related problems... but like I said I'm new to dolphin's code and emulation coding.  C++ is also not my forte because I don't work with it very often.

Now if we could get some speed ups for Rebel Strike too I'd be enjoying Full Speed RS games in HD finally!  Smile
I figured I'd ask this here as well. Source code would be interesting to see for people working on it in the project. Does it work in the other zfreeze games? Mario Tennis?
(12-24-2014, 09:50 PM)JMC47 Wrote: [ -> ]I figured I'd ask this here as well.  Source code would be interesting to see for people working on it in the project.  Does it work in the other zfreeze games?  Mario Tennis?

There are multiple files edited for the zfreeze implementation so posting up code would be messy, so I don't know how things work around here for code contributions... Do I need to create a "patch" (not sure how to do that), do I just commit the code on GitHub? Or should I just post my Dolphin.exe somewhere for people to download for a Xmas bonus so they can enjoy Rogue Squadron? Smile

As for Mario Tennis... it doesn't fix the shadows or the polygon spikes... however it does help stop the massive amount of flickering... the shadows are missing but it at least makes the game mostly playable (Tested Wii version). I did try Mario Golf as well (GC version) but I'm not sure what the problems were and if any of it were fixed. I don't have any other games with zfreeze for testing, so I can't speak for those.

This zfreeze fix is a good start but I think there is a lot more work to do in order to have a complete fix. Even the RS games still have zfreeze glitches occurring in random places, but it does greatly help in making these games playable so kudos to NeoBrain! Smile
(12-25-2014, 05:03 AM)NanoByte Wrote: [ -> ] Or should I just post my Dolphin.exe somewhere for people to download for a Xmas bonus so they can enjoy Rogue Squadron? Smile

That would be a bad idea unless you posted the source as well, it goes against the licence
(12-25-2014, 05:07 AM)ExtremeDude2 Wrote: [ -> ]
(12-25-2014, 05:03 AM)NanoByte Wrote: [ -> ] Or should I just post my Dolphin.exe somewhere for people to download for a Xmas bonus so they can enjoy Rogue Squadron? Smile

That would be a bad idea unless you posted the source as well, it goes against the licence

Well that's why I asked Big Grin

JMC47 just put up phire's hacked zdepth build, so I regress on what to do as this contradicts what you just said.

Someone tell me the best course of action as there are 12 source files changed in my version.
phire's build is bugged.

on default settings;

opengl;

could not compile vertex shader errors

direct3d;

flickering menu (virtual / real xfb to see menu)
depth issue still present ingame
couldn't see letters when creating player
Phire's Build works fine for me; in all likelihood I just linked to the wrong revision of it. Maybe the one I'm using isn't uploaded any more?
could you upload the working one?
Yeah, whatever you do please don't provide .exe files to GPL-licensed software without also providing a full copy of the source-code you built that executable from. Just putting your code on GitHub would be ideal. Also nice to see more attempts at zfreeze (even if it's still not quite following my suggested methodology), albeit I couldn't actually watch the video yet due to lack of proper internet connection.
(12-25-2014, 06:40 AM)neobrain Wrote: [ -> ]Yeah, whatever you do please don't provide .exe files to GPL-licensed software without also providing a full copy of the source-code you built that executable from. Just putting your code on GitHub would be ideal. Also nice to see more attempts at zfreeze (even if it's still not quite following my suggested methodology), albeit I couldn't actually watch the video yet due to lack of proper internet connection.


ok so does that mean I can commit my code to GitHub (I'm all setup to do that I think unless I need a special login and permissions to commit to the Dolphin Project) and people can pull that revision? Or after the code is committed I can post a zip of the build I have?
Pages: 1 2 3 4 5 6 7