Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
wesleyjohnson

Doom Legacy 1.47.2 Release

Recommended Posts

Posted (edited)

I see, sorry for making assumptions back there. However, upon further testing, there's definitely something weird going on with the enemies movement, they come at you walking sideways/backwards a lot of times.

Share this post


Link to post
Posted (edited)

The sideways walking annoys me too.  This walking weirdness started when the MBF movement code was added.

From my tests, it seems to be dependent upon the MBF monster avoid hazard option.  Turn that off.

Have not yet tracked down the exact code segment that allows backward movement.

Need to put on my list to add another option that fixes MBF movement weirdness.

 

This is where someone could say:

Yes, the monsters walk weird in MBF.

Or, NO, the monsters don't walk weird in MBF, you must have got the code wrong.

Might be useful, this is a back burner issue right now.

Edited by wesleyjohnson

Share this post


Link to post
Posted (edited)

Been working on:

 

Config files:

New code (testing) has a separate additional config file for each drawmode.

When the drawmode is changed, the config file for that drawmode is loaded  as a drawmode config file.

The drawmode config file is optional, and only has selected settings, like gamma.

Any setting from the drawmode config file overrides the main config file settings, (Push down storage).

The system tracks which config file a setting came from, and will write it back to that config file.

The menus allow adding and removing a setting to/from the drawmode config file.

 

Adding Corona draws to software rendering:

  Native draw looks nice.  Even got something horrible looking that renders in 8bit palette mode (poor alpha drawing support).

  Found out what happens when the terminating 0xFF of a patch column gets overwritten.  Rendering continues into all the following column data, until it finds an 0xFF.

  Playing Phobiata using native drawmode is much faster than using OpenGL.  With the software rendered coronas, you can now see the fireflies and other fragglescript created lights.

 

Changing game from the menu:

  Stalled due to difficulty backing out of some of the data modifications made for particular games.

 

 

 

Edited by wesleyjohnson

Share this post


Link to post

Added some new corona types.  The corona around torches now flickers.

Added some new DrawAlpha draw modes, to better draw coronas in software draw.

They will likely get used for fog draw too.

 

This even works in 8 bit palette mode, due to having support for doing RGB color math,

and converting back to a palette color using a 12 bit RGB to palette lookup.  It is tolerable now.

But the best play mode is now NATIVE.  Although OPENGL has dynamic lights, it is slow on my machine.

 

Thinking about the next release, 1.47.4.

That means I will need to update the docs for these new corona types and modes.

 

Share this post


Link to post

Been wanting to try Doom Legacy but both times I've downloaded it, it absolutely refuses to launch whether its with the launcher it comes with or doing it through ZDL like I do with Doom Retro, PrBoom, Crispy, etc. Was looking through some of the posts about the launcher and I don't believe I'm getting the error message, or maybe I am but not seeing it. It will look like its going to launch, then nothing:(

Share this post


Link to post
Posted (edited)

From the "Launcher" comment, I am going to assume it is some version of Windows.

I also assume it is 1.47.2, as that is the latest version.

 

Make sure to read the docs.  All the setup instructions for various platforms are all in there.

Also you need two download files.  The executable download, and the support files download.  Put them both in the same directory.

Give doomlegacy its own directory.  Do not put them in your home directory, access to home has been restricted for security reasons.

You also need a wad file, like doom2.wad.

 

The way to do it when you have problems is to get a console, and type in the executable name, along with parameters.

First, cd to the executable directory, because that eliminates alot of possible problems.

On Windows, output and error messages are shoved into the files  stderr and stdout in the executable directory.  Windows will not output them to the console like Linux does.

 

I suggest first to test that it runs at all.

>> doomlegacy --help

 

To get to the built-in launcher, give it no parameters

>> doomlegacy

 

Then test what graphics you may ask for

>>  doomlegacy -game doom2

or

>> doomlegacy -native

and only later

>> doomlegacy -opengl

 

 

 

Edited by wesleyjohnson

Share this post


Link to post

I just wanted to say that when I run Legacy through ZDL, I have to add the -opengl parameter to "always add these parameters". Why not add this to in-game option where you can switch renderer from software to opengl (and vice versa), then restart, and the render parameter will save to settings. This is done in modern source ports.

Share this post


Link to post
Posted (edited)
6 hours ago, wesleyjohnson said:

From the "Launcher" comment, I am going to assume it is some version of Windows.

I also assume it is 1.47.2, as that is the latest version.

 

Make sure to read the docs.  All the setup instructions for various platforms are all in there.

Also you need two download files.  The executable download, and the support files download.  Put them both in the same directory.

Give doomlegacy its own directory.  Do not put them in your home directory, access to home has been restricted for security reasons.

You also need a wad file, like doom2.wad.

 

You would be correct on the 1st 2 assumpltions, thank you for help. I see the problem now, I had only downloaded the EXE, not the support files lol. Looking forward to giving this another shot, appreciate your help wesleyjohnson:)

Edit: I found the problem, the readme said not to put Legacy in your HOME directory so all I did was move the folder to Documents and its working perfectly now. eally love how well this plays and its so much like I remember when I was a kid playing Doom 2 and Final Doom all the time in '96 lol. Thanks again!

Edited by Beezle : Issue With Directory

Share this post


Link to post

DoomLegacy 1.47.3 can change the drawmode in the menu, and does save it in the config file.

Read back from the top of this topic.

 

DoomLegacy should go in its own directory.

During multi-player sessions, if your DoomLegacy is the server, it allows other DoomLegacy to download your wad files.  There are some security measures taken so this feature cannot be used to search your computer.  One of those is to block file searches to the HOME directory.  If it cannot load legacy.wad (to get support graphics) it will give you error message and quit, which on Windows just looks like quit because all the error messages written to stderr just end up in the stderr file.

 

Share this post


Link to post
Posted (edited)

I can confirm that setting the MBF (monster avoid hazard) to Off, does indeed fix the issue where the monsters would otherwise walk sideways on sight, if turned On.

Has this been fixed in the new yet to be released 1.47.3?

The flickering coronas sounds pretty neat. I'm hoping they will flicker at random times and not based on sprite animation frame time.

 

I can't wait to try out the new version!

When do you think it might be ready for release? 

 

Thanks

Share this post


Link to post

What I would like to know is if anyone who has used MBF seen this sideways walking.  I want to know if it is an MBF bug, or a bug in my implementing of MBF code.

I currently cannot test MBF directly.

 

If the patches that I am working on currently would work, I would like to make the release of 1.47.4 before Aug 2019.   As that is not going to happen, then as soon as I

give up on them, and just release what I got.

 

I am working extending the short skies up to 240 height, so that we never have to stretch a sky.  So far the mechanics are finally working.  Some very old hacks in the texture code were unmaintainable, and I am revising that coding first.   The extended skies are starting to look tolerable, if you don't stare directly at them.  I keep breaking the starry night skies.

The starry night skies extend the best of all, sometimes.  Will put in a select switch, so users can select which sky treatment works best for a wad.  This involves way too much testing, which makes this coding take an enormous amount of time.

 

Share this post


Link to post

Hi Wesley,

I've recently had a look at the SVN log and I must say wow you've been busy!

But I haven't heard much lately so I thought I'd ask how things are going over there?

 

Cheers, looking forward to the next release! 

Share this post


Link to post
Posted (edited)

Got a little fix that reduces the sideways walking.  It was the one difference from MBF that I could find, and still does not look it should do anything.

 

The hang-up lately is that I am working on Sky extension, so as to not need to stretch any skies.  The problem is that the my code is so fragile that every change causes an extensive debugging session.   I am now on my third attempt, after having disabled two previous attempts.   All the support for this is done, it is just the generation of the sky details that does not behave reasonably.  Just started another reorganization of that code, to deal with three possible sources of conflict in what is drawn for the sky.  Of course, now it is refusing to draw anything but the background and a few scraggles.

 

Have a selection item for skies, one of which extends with a starry sky.  It generates a star field above the wad sky, with some extension of areas the sky.

That looks rather like a starry night above the distant hills.  I only have to break up that straight line some.

Might let the starry sky dip down into the wad sky background.

 

I have about three works in progress that I wanted to get into the next release too, but I want to get past the skies problem first.

 

So, it looks like late Sept. at best.

 

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×