Page 1 of 1

Lufia - The Ruins of Lore glitch

Posted: Fri Nov 14, 2008 10:22 pm
by infiltrator

Version : VBA-M SVN 781

Render : OpenGL

 

[attachment=125]

It had glitch on link button.

 

[attachment=126]

More glitch.

 

[attachment=127]

Little glitch on skill windows.


Lufia - The Ruins of Lore glitch

Posted: Sat Nov 15, 2008 12:07 am
by Hard Core Rikki

Known since 58* revisions. Its not specific to OpenGL by the way, and shows only for texts, even without filters.

Thanks for reporting.


Lufia - The Ruins of Lore glitch

Posted: Sat Nov 15, 2008 4:58 am
by spacy51

It exists in SVN451 as well.

It was even there before SVN368, whre jbo_85 optimized some stuff in the renderers.

 

I looked closely at the produced results, and for me it looks as if horizontal or vertical mirroring is not applied to tiles when transfered from char base to BG2 (mode0).

Moreover, it seems to occur randomly when switching from one game menu into another or back.

 

It's fine in VBA 1.7.2

It's fine in VBA 1.8.0 beta 2 (December 20 2004)

It's broken in VBA 1.8.0 beta 3 (October 1 2005)

-> broke between 1.8.0 beta 2 to 3


Lufia - The Ruins of Lore glitch

Posted: Sat Nov 15, 2008 10:18 am
by spacy51

I just tryied it out, the issue was caused by one of the commits from June 25, 2005:

https://sourceforge.net/mailarchive/forum.php?forum_name=vba-commit&max_rows=100&style=threaded&viewmonth=200506

 

 

EDIT: Unfortunately, I can't find the error myself.

I'll attach two versions of the VBA CVS source code:

  • VBA_good.7z: the last version without the issues mentioned above
  • VBA_bad.7z: one day later, where the issues first appeared.

 

I also attached a patch file from good to bad.

 

Compare both source trees with WinMerge or a similar tool and please post if you found the issue.


Lufia - The Ruins of Lore glitch

Posted: Sat Nov 15, 2008 11:34 am
by Squall Leonhart

Spacy, try enabling Mirroring in the game overrides menu.


Lufia - The Ruins of Lore glitch

Posted: Sat Nov 15, 2008 11:50 am
by spacy51

Does not help.

 

[Please have a look at my editoed post above: http://vba-m.com/forum/lufia-the-ruins-of-lore-glitch-t-301.html#pid2620 ]


Lufia - The Ruins of Lore glitch

Posted: Sat Nov 15, 2008 12:09 pm
by Squall Leonhart

Check GBA.cpp Line 155 and lower. heavy changers were made to OBJTiles and some stuff probably GBA GFX related.


Lufia - The Ruins of Lore glitch

Posted: Sat Nov 15, 2008 12:19 pm
by Squall Leonhart

The problem does not occur when Bilinear is disabled.

 

OK, it does, but i had it working without the problem a second ago.


Lufia - The Ruins of Lore glitch

Posted: Sat Nov 15, 2008 4:53 pm
by spacy51

As I said, the issues occur random, so I reommend switching between the main menu & the continue menu several times to make sure no issues occur. It would be great if somone could show this thread to people like chrono wo seem to be up to the task.


Lufia - The Ruins of Lore glitch

Posted: Sat Apr 06, 2013 4:56 am
by Normmatt

This issue has been fixed in revision 1191. The cause was cpuDmaHack on unmapped reads.