Closed: Dungeon Texture Tables

Need something opened in the core for your mod, or even help with research?
User avatar
Interkarma
Posts: 1957
Joined: Sun Mar 22, 2015 1:51 am

Closed: Dungeon Texture Tables

Postby Interkarma » Thu Aug 20, 2015 2:10 am

This one can be considered "partially known" thanks to Lucius from DaggerXL. He posted in some detail about how dungeon texture tables are generated in the following blog post:

http://xlengine.com/dungeon-blocks/

Unfortunately there is some information missing, such as source and offset of the 500-entry key table and re-implementing the exact random algorithm Daggerfall uses.

I have worked around this for all major dungeons by grabbing the resultant texture table from the DOSBox debugger at offset 0x286186 after entering that dungeon in Daggerfall. All other dungeons are just assigned a random texture table and will not match the game exactly.

This isn't a core issue and the randomly textured dungeons will work just fine without this information. However it would be nice to have this working 100%. With the information we already have, I'm sure this can be solved. It's just a matter of some debugging time and lots of patience.

Before anyone asks, I have already contacted Lucius to request more detail and unfortunately he was unavailable to help.

So, any debugging and ASM gurus out there interested in helping on this one?
User avatar
Interkarma
Posts: 1957
Joined: Sun Mar 22, 2015 1:51 am

Re: Closed: Dungeon Texture Tables

Postby Interkarma » Tue Oct 24, 2017 6:48 am

Great work from Allofich on solving this one. Many thanks! :D
User avatar
Feralwarlord
Posts: 50
Joined: Sat Jul 29, 2017 10:08 am

Re: Closed: Dungeon Texture Tables

Postby Feralwarlord » Tue Oct 24, 2017 8:15 am

Interkarma wrote:Great work from Allofich on solving this one. Many thanks! :D

Does this mean we'll see less oddities like that one room design that always has stretched textures?
User avatar
Interkarma
Posts: 1957
Joined: Sun Mar 22, 2015 1:51 am

Re: Closed: Dungeon Texture Tables

Postby Interkarma » Tue Oct 24, 2017 9:09 am

No, that is related to UV coordinates, a different thing to the texture tables.
CM August
Posts: 65
Joined: Fri Jul 14, 2017 11:11 am

Re: Closed: Dungeon Texture Tables

Postby CM August » Tue Oct 24, 2017 9:51 am

Another long-standing Daggerfall mystery solved. Way to go Allofich!

Return to “Work Requests”

Who is online

Users browsing this forum: No registered users and 2 guests