Search found 424 matches

Go to advanced search

by UCyborg
Tue Aug 21, 2018 9:27 pm
Forum: Drakan Level Editing and Game Mods
Topic: Some reverse-engineering of the Level Editor and TXD stuff
Replies: 15
Views: 3234

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

Sorry, I accidentally omitted important part of sentence. What I wanted to say, I tried to make it call the function after the check at 0x426EC6, but changing the existing argument of 0x10 (16) to 0x18 (24). I guess that told it to convert 24-bit BMP I had to 24-bit, which doesn't make any sense. :m...
by UCyborg
Tue Aug 21, 2018 9:19 pm
Forum: Drakan (PC) Game Discussion & Technical Support
Topic: Widescreen hack and some other fixes aka AiO Patch
Replies: 343
Views: 108885

Re: Widescreen hack and some other fixes aka AiO Patch

I mean, if I understand this correctly, there is no in-game advantage to stowing Rynn's weapon in the middle of an attack, since the animation continues regardless? If that's the case, then feel free to do as you like there. Personally I think it should be blocked though, because changing/stowing w...
by UCyborg
Tue Aug 21, 2018 8:48 pm
Forum: Drakan (PC) Game Discussion & Technical Support
Topic: Widescreen hack and some other fixes aka AiO Patch
Replies: 343
Views: 108885

Re: Widescreen hack and some other fixes aka AiO Patch

Good to hear about your progress on the editor! I fixed another odd bug today; should the DirectDraw surface creation fail when the textures are loading during level load, message will be output to the screen if debug messages are enabled. Previously, it just crashed because number of passed argumen...
by UCyborg
Tue Aug 21, 2018 8:46 pm
Forum: Drakan Level Editing and Game Mods
Topic: Some reverse-engineering of the Level Editor and TXD stuff
Replies: 15
Views: 3234

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

Even more strangely - it unlocks the memory eventually, BUT then reads the unlocked memory later on. WTF? So it's not even consistent with itself! This would cause chaos if the program was actually ever made for pre-Windows 95 systems. We were already bitten by similar programming mistakes with thi...
by UCyborg
Mon Aug 20, 2018 9:25 pm
Forum: Drakan Level Editing and Game Mods
Topic: Some reverse-engineering of the Level Editor and TXD stuff
Replies: 15
Views: 3234

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

locks the memory with Kernel32.GlobalLock Another oddity. Locking and unlocking memory has no meaning since 32-bit Windows became a thing. Just a relic from 16-bit Windows days and preserved for compatibility. Mostly, see this . Though the then new DirectDraw indeed implements the concept of (un)lo...
by UCyborg
Mon Aug 20, 2018 9:19 pm
Forum: Drakan (PC) Game Discussion & Technical Support
Topic: Widescreen hack and some other fixes aka AiO Patch
Replies: 343
Views: 108885

Re: Widescreen hack and some other fixes aka AiO Patch

I updated the archive; Drakan.exe now accepts 32-bit textures in addition to 8-bit and 16-bit flavors since they've been confirmed to work.
by UCyborg
Sun Aug 19, 2018 2:08 pm
Forum: Drakan Level Editing and Game Mods
Topic: Some reverse-engineering of the Level Editor and TXD stuff
Replies: 15
Views: 3234

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

Wow, works in the editor and its 3D view! The game complains about unsupported 32-bit texture, so we still have some loose ends. When I messed with this, it only seemed to work in editor's 2D view. So the thing working in editor's 3D is new to me. Edit: works in-game if Drakan.exe is modified to not...
by UCyborg
Sun Aug 19, 2018 1:38 pm
Forum: Drakan (PC) Game Discussion & Technical Support
Topic: Widescreen hack and some other fixes aka AiO Patch
Replies: 343
Views: 108885

Re: Widescreen hack and some other fixes aka AiO Patch

Strange, because I seem to recall them working back then, with AA set to forced 4xEQ. But don't quote me on that :) Now I remember how it was. I only thought at one point anti-aliasing was a factor before the lens flare patch. Because for some reason, on Windows XP, lens flares sometimes worked, th...
by UCyborg
Sat Aug 18, 2018 6:31 pm
Forum: Drakan (PC) Game Discussion & Technical Support
Topic: Widescreen hack and some other fixes aka AiO Patch
Replies: 343
Views: 108885

Re: Widescreen hack and some other fixes aka AiO Patch

Yes, it's 2.144 xD Don't worry, I don't do crazy changes anymore that would give you a headache if you compared them with hex editor that highlights differences. BTW, I edited the previous post with conventions I followed when editing EXEs or DLLs (or RFLs in Riot Engine's terminology) directly. I'm...
by UCyborg
Sat Aug 18, 2018 5:23 pm
Forum: Drakan (PC) Game Discussion & Technical Support
Topic: Widescreen hack and some other fixes aka AiO Patch
Replies: 343
Views: 108885

Re: Widescreen hack and some other fixes aka AiO Patch

OK, when it comes to big textures, from what I remember when I did some experimenting a year ago, the spikes in memory usage were significant only when viewing them in databases. By significant, I mean multiple tens of megabytes which could quickly climb to a few hundred. I guess it depends also on ...
by UCyborg
Sat Aug 18, 2018 12:14 am
Forum: Drakan (PC) Game Discussion & Technical Support
Topic: Widescreen hack and some other fixes aka AiO Patch
Replies: 343
Views: 108885

Re: Widescreen hack and some other fixes aka AiO Patch

I'm actually insanely slow at putting these things together. I tend to obsess over small details. I wasn't thinking straight when I put the 1000 limit for undo levels. I've read one of the Adobe programs has maximum limit at 1000. I didn't realize that memory usage may go up THAT fast as you've obse...
by UCyborg
Fri Aug 17, 2018 7:36 pm
Forum: Drakan (PC) Game Discussion & Technical Support
Topic: Widescreen hack and some other fixes aka AiO Patch
Replies: 343
Views: 108885

Re: Widescreen hack and some other fixes aka AiO Patch

Got around implementing some small tweaks to the editing tools I had at the back of my mind: Editing tools now remember 9 recently opened files (increased from 4 for Level Editor and from 6 for Modeler). Level Editor: Memory warning that always showed when setting number of undo levels above 4 now o...
by UCyborg
Wed Aug 08, 2018 5:16 pm
Forum: Drakan (PC) Game Discussion & Technical Support
Topic: Widescreen hack and some other fixes aka AiO Patch
Replies: 343
Views: 108885

Re: Widescreen hack and some other fixes aka AiO Patch

That's unrelated bug I think. I don't remember experiencing inventory not opening, but from what I did experience, I think the issue is closing it at the wrong moment. Seems to have to do with animation handling or something; not releasing control to the player until animation was marked as finished...
by UCyborg
Wed Aug 08, 2018 5:03 pm
Forum: Drakan (PC) Game Discussion & Technical Support
Topic: The sun in Drakan
Replies: 19
Views: 3123

Re: The sun in Drakan

There's no logical reason to not use at least somewhat descriptive names. The inability to rename textures is also just an artificial limitation of the editor. When you import them, they get the same name as the file, minus the extension.
by UCyborg
Wed Aug 08, 2018 1:49 am
Forum: Drakan (PC) Game Discussion & Technical Support
Topic: The sun in Drakan
Replies: 19
Views: 3123

Re: The sun in Drakan

The cascading menus work correctly at places where you can select multiple sounds.

Go to advanced search

cron