Search found 18 matches

by Zalasus
Thu Oct 20, 2022 12:01 pm
Forum: Drakan Level Editing and Game Mods
Topic: OpenDrakan ~ A Drakan engine recreation
Replies: 36
Views: 48149

Re: OpenDrakan ~ A Drakan engine recreation

Hiya! Any new update or finishing the project maybe??? :roll: :?: Yes and no. There are some good news, but also some bad ones, as one might expect. The good news is: my interest in continuing this project somewhat spiked again. I started a new implementation of my asset loading library a few month...
by Zalasus
Wed Sep 04, 2019 4:51 pm
Forum: Drakan Level Editing and Game Mods
Topic: OpenDrakan ~ A Drakan engine recreation
Replies: 36
Views: 48149

Re: OpenDrakan ~ A Drakan engine recreation

Rah! Rah! Rah! go Zalas8s Go! Just encouraging you to keep it up on the OpenDrakan project. Work is ongoing. I'm not gonna flush a year of effort down the drain, don't worry ;) The hardship regarding multiplayer still keeps stalling me, but I'm gonna figure this out sooner or later. Android!? :shoc...
by Zalasus
Sat Oct 27, 2018 10:02 am
Forum: Drakan Level Editing and Game Mods
Topic: OpenDrakan ~ A Drakan engine recreation
Replies: 36
Views: 48149

Re: OpenDrakan ~ A Drakan engine recreation

Hey Everyone :) Since I'm currently dealing with a severe case of coder's block, the least I can do to contribute to the project is to give you some updates on what I've done so far. Sorry for neglecting those who don't frequent the Discord server in regards to updates on OpenDrakan. Lighting works ...
by Zalasus
Mon Sep 03, 2018 1:48 pm
Forum: Drakan Level Editing and Game Mods
Topic: OpenDrakan ~ A Drakan engine recreation
Replies: 36
Views: 48149

Re: OpenDrakan ~ A Drakan engine recreation

I tried making some sense of this, but I don't know anything about how the texturing is handled by the engine, so I was unable to reach any meaningful conclusion here. I already checked out all of these different combinations a while ago when writing the layer code, and back then I also couldn't ge...
by Zalasus
Tue Aug 21, 2018 7:26 pm
Forum: Drakan Level Editing and Game Mods
Topic: Some reverse-engineering of the Level Editor and TXD stuff
Replies: 15
Views: 30003

Re: Some reverse-engineering of the Level Editor and TXD stuff

Wait, what? This doesn't match either description? :? This whole 32-bit texture business seems cursed. The fact that the Surreal guys didn't get it right and that it took me three commits to remove all errors from 8 lines of code should be proof enough. Fixed it now :roll: Thanks for pointing out m...
by Zalasus
Mon Aug 20, 2018 10:32 am
Forum: Drakan Level Editing and Game Mods
Topic: Some reverse-engineering of the Level Editor and TXD stuff
Replies: 15
Views: 30003

Re: Some reverse-engineering of the Level Editor and TXD stuff

What. There are several of those, even in the stock game. (...) However ... they all use the "integrated" alpha maps! Sorry, that's exactly what I meant. All transparent textures I found use integrated alpha channels. I just have adopted the editor's convention of calling the latter "...
by Zalasus
Sun Aug 19, 2018 9:57 pm
Forum: Drakan Level Editing and Game Mods
Topic: Some reverse-engineering of the Level Editor and TXD stuff
Replies: 15
Views: 30003

Re: Some reverse-engineering of the Level Editor and TXD stuff

...is thoroughly moot, unless someone first fixes the underlying bug in the Engine. Just as an interesting side note if you haven't noticed: In my early attempts at reversing the alpha maps I have found that this appended data seemed to always have the same length as the compressed pixels. The data...
by Zalasus
Fri Jun 29, 2018 3:57 pm
Forum: Drakan (PC) Game Discussion & Technical Support
Topic: Rynn = Daenerys Targaryen? Or not?
Replies: 4
Views: 11071

Re: Rynn = Daenerys Targaryen? Or not?

Not really, no. Apart from them being women with a varying number of dragons, I don't see many similarities. Alright, I haven't seen the TV show, and just started reading the third book, so I can't tell if there are going to be more as the series goes on. A Song of Ice and Fire hasn't even left us c...
by Zalasus
Tue Jun 19, 2018 10:20 pm
Forum: Drakan Level Editing and Game Mods
Topic: OpenDrakan ~ A Drakan engine recreation
Replies: 36
Views: 48149

Re: OpenDrakan ~ A Drakan engine recreation

Something that just came to mind, Drakan has some weird bugs tied to frame-rate. Ah yes, that old chestnut. Quite a few games had this issue back in the day. How you could program things to be dependent on FPS on purpose is beyond me, so this must have been due to the inexperienced Surreal programm...
by Zalasus
Sun Jun 10, 2018 10:30 pm
Forum: Drakan Level Editing and Game Mods
Topic: OpenDrakan ~ A Drakan engine recreation
Replies: 36
Views: 48149

Re: OpenDrakan ~ A Drakan engine recreation

Wunderbar! The performance is a non-issue in this engine, even when ignoring visibility data and having a level with too much crap in it. The second most problematic level in that regard (Paradise) runs at 119 FPS with uncapped frame-rate in worst case scenario on my end, while the original engine ...
by Zalasus
Sat Jun 02, 2018 12:59 pm
Forum: Drakan Level Editing and Game Mods
Topic: OpenDrakan ~ A Drakan engine recreation
Replies: 36
Views: 48149

Re: OpenDrakan ~ A Drakan engine recreation

I compiled Windows build of opendrakan and got some really funky results. The engine crashed in Engine.cpp, line 56: mViewer->getCamera()->getGraphicsContext()->getState()->setUseModelViewAndProjectionUniforms(true); I had to disable my secondary monitor to get past that line (OSG bug?). Then the l...
by Zalasus
Fri Apr 13, 2018 5:10 pm
Forum: Drakan Level Editing and Game Mods
Topic: OpenDrakan ~ A Drakan engine recreation
Replies: 36
Views: 48149

Re: OpenDrakan ~ A Drakan engine recreation

Hey everyone! As promised, I'm gonna give you a quick update on the animation stuff I have been working on. https://i.imgur.com/OorDgn7.jpg Basically, all you can see here is Rynn in her idling pose. I'd post a video, but currently seeing it in motion is really not that impressive. The big thing to ...
by Zalasus
Tue Apr 03, 2018 3:47 pm
Forum: Drakan Level Editing and Game Mods
Topic: OpenDrakan ~ A Drakan engine recreation
Replies: 36
Views: 48149

Re: OpenDrakan ~ A Drakan engine recreation

I wonder, do you think you'd be able to come up with better algorithm for calculating layer visibility? I already thought about that. The way the engine handles visibility is rather simplistic. For each layer it gives me a list of layers that are supposed to be visible from that layer. But that of ...
by Zalasus
Wed Feb 14, 2018 11:11 am
Forum: Drakan Level Editing and Game Mods
Topic: OpenDrakan ~ A Drakan engine recreation
Replies: 36
Views: 48149

Re: OpenDrakan ~ A Drakan engine recreation

It is a 3x3 matrix. I've looked at System.mod at offset 208,778, and there's a float 3x3 matrix. It is read as a 48-byte struct, with the box position at the start. I'm not sure if the zero entries will ever be non-zero, though. You might want to assert that. EDIT: Nope, it's not always a scale mat...
by Zalasus
Tue Feb 13, 2018 11:19 am
Forum: Drakan Level Editing and Game Mods
Topic: OpenDrakan ~ A Drakan engine recreation
Replies: 36
Views: 48149

Re: OpenDrakan ~ A Drakan engine recreation

They're normalised uint16_t texture coordinates that apply to both textures. Yep, I figured that out recently and started to experiment with how the UVs map to the cell's vertices. I found that using the order bottom-left, top-right, top-left, bottom-right gives the right results in most cases, but...