Dolphin, the GameCube and Wii emulator - Forums

Full Version: Improving the player polygons and LOD
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi mate, so I've been playing with your and some other code whole day and right now it looks to me that our problem might be that this game just hates Gecko codes (AR are fine).

One example for all: Your last AR code works fine (without any glitches) on both master and Ishi, but as soon as I add that Gecko modification from you OR 60fps Gecko code from Retroben the glitches start to occur.
So again, AR runs without any glitches or problems.. just that the LOD is at medium quality and benches are low during gameplay. Offplay and replay are highest.

I need to get some sleep right now but will do more testing tomorrow.
Is it possible to do this highest quality "no lod" code just with AR or Gecko is needed for this?
I'm absolutely amateur, so sorry for all the possibly stupid questions Smile

Interesting stuff for sure Smile
Thank you.
So I started again!
Deleted Dolphin with all settings, fresh install no other codes, using usual settings and...
There are no glitches or any other problems with AR codes. The only issue is that the LOD on players and benches are
not the best during the actual gameplay. Otherwise, as I said, using AR codes looks flawless to me.

Now let's look at the Gecko codes...
I started from the very beginning of this thread and tested again everything you suggested.

$Force LOD
C2D946CC 00000002
3C000003 6000020C
60000000 00000000
C2D946C0 00000001
60000000 00000000
048170C8 50000000
E0000000 80008000
Everything looks great
There is very little performance hit
No warped face glitches
Obvious glitches:
Some missing sticks
Goalies sitting on the ice on intros

$Testable LOD
C2D946CC 00000001
80020000 00000000
C2D946C0 00000001
60000000 00000000
048170C8 50000000
E0000000 80008000
AR Code: LOD Tester
043421C0 0003020C
Tried every combination with AR code.
Everything looks great
There is very little performance hit
No warped face glitches
Obvious glitches:
Some missing sticks
Goalies sitting on the ice on intros

$LOD Location 2
C2D96FE0 00000002
80820000 90830090
60000000 00000000
048170C8 4AA00000
043421C0 8403020C
Game looks really awesome now (this is probably the best possible settings)
Performance hit around 12fps during gameplay
No warped face glitches
Obvious glitches:
Some missing sticks
Goalies sitting on the ice on intros
Frozen goalie glitch (results usually in a goal)


1. Check if just this code causes any visual glitches
048170C8 4AA00000
No obvious visual glitches
LOD and benches during the gameplay are not good.
Very little performance hit


2. See if this small modification does anything different
C2D96FE0 00000002
80820000 90830090
60000000 00000000
048170C8 4AA00000
043421C0 0003020C
Game looks really awesome now (this is probably the best possible settings)
Performance hit around 12fps during gameplay
No warped face glitches
Obvious glitches:
Some missing sticks
Goalies sitting on the ice on intros
Frozen goalie glitch (results usually in a goal)

One more code to check for glitches:
C2D96FE0 00000002
80820000 90830090
60000000 00000000
043421C0 0003020C
The player models look BAD (medium?) now (during gameplay or [color=#111111]offplay[/color])
Benches are somewhere in the middle (medium quality)
Performance hit around 12fps during gameplay
No warped face glitches
Obvious glitches:
Some missing sticks
Goalies sitting on the ice on intros
Frozen goalie glitch (results usually in a goal)
What is interesting with this code is that even with poor quality player models the game still runs slow, around 13fps minus.

So.. might be that Gecko just not working very well with this game?
here is how the glitching progress during the game, if it helps anything..

https://www.youtube.com/watch?v=ivKk-OJ3wkE
So I made another test with the other 60fps code.
And guess what Smile The Gecko version of this code does thi same glitches as our Gecko lod code.
And even more importantly, the AR version of the same 60fps code works flawlessly! So it's exactly the same as with the lod code.

I think it's pretty save that the problem is the Gecko itself. If you can somehow make the "force lod code" as AR code it would be a win! Smile

What is actually different in these solutions? Gecko vs AR.
Thanks!
Hey man, I'm sorry I haven't checked sooner. I got overwhelmed with MORE xenoblade 60fps bugs and really really want to finish that code for good. Still a little work to be done on Xenoblade, but I should be getting close to done. I thought I'd be working on this by now.

You've done really good, thorough testing! The thing with my gecko codes is you can transfer any line that starts with 04 over to AR. The rest of it you can enable for a moment then turn it right back off. It will modify the game's code and not undo anything when you turn it back off.

So, if we take:
C2D96FE0 00000002
80820000 90830090
60000000 00000000
048170C8 4AA00000
043421C0 8403020C

it becomes AR:
048170C8 4AA00000
043421C0 8403020C

Gecko:
C2D96FE0 00000002
80820000 90830090
60000000 00000000

and you just turn on the gecko while the game is running, hit apply, turn off, hit apply.
Ya, I noticed you have some troubles with that other game too Smile
No worries mate, I'm just happy that you won't give up on this hockey project!

Have to play without your lod code during the testing and damn the models looks awful without it haha.

Tested your latest suggestions. And ya, AR part working flawlessly, as soon as I add Gecko, game become very glitchy again. Gecko just not working for this game, at least right now.

Can't wait when you have some more time for this, I'll test anything needed! Smile
Thank you.
So it's glitchy even after you toggle off the gecko code?

Can you post both 60fps codes here?
So I launch the game with both AR and Gecko ON, after few seconds I turn the Gecko OFF (hit apply) and yes, the game has the same glitches. If that is what you mean?

60fps codes made by Retroben:
AR:
0027597F 00000001
Gecko:
4A000000 801C11B4
D2000000 00000001
38000000 901E304C

As I mentioned earlier, AR runs flawlessly, Gecko made the same glitches as lod code. You can even use both AR lod and 6ofps codes and the game runs without any issues.


EDIT: Same game, toggle the Gecko ON and OFF again and the glitches are gone! (the looks great tho)
Ill continue the match and report if the glitches show again Smile
So I was able to finish the game without any glitches!
Probably didn't work 1st time, because I toggle Gecko too soon (in menus), when I did it during the actual match, during the gameplay, they were gone and did not appear again.

Looks like we are getting somewhere Smile
That gecko code is broken. It should be:
4A000000 801C11B4
D2000000 00000002
38000000 901E304C
60000000 00000000

I don't think it should break anything, unless gecko itself is buggy.

Ok, so maybe I can turn my code into a fully AR code, let's see:

AR:
048170C8 4AA00000
04d96fd4 3C800003
04d96fd8 6084020C

or AR
048170C8 4AA00000
04d96fd4 3C808403
04d96fd8 6084020C

The game might not like these codes. You can split the first line into its own AR code, then make the two other lines an AR code that you toggle on then off.