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

What is a namespace and can I convert it?

Recommended Posts

I am not well versed in programming and stuff so I don't know what things are, heh.  That said, I just want to record my TAS demos in peace, and PR/GLBoom+ has been letting me do that just fine with vanilla and Boom maps, however, if I ever want to do a TA demo of a UDMF map my only option I can see is to use Eternity (which is a great port and I enjoy it a lot) but most UDMF maps have a Zdoom namespace and can't be run at all in Eternity.  What exactly is a namespace and what does it do besides tell a source port whether a map can run in it?  Is it possible to convert a Zdoom map's namespace to Eternity?  And if so, what kind of problems might arise?  Am I doing a dumb, here?  Don't be afraid to tell me I'm an idiot for asking this :p

Share this post


Link to post

Namespaces are organized sections of WADs divided up by markers. For example, flats go in F_START/F_END. That's a namespace. So if there was a flat called FLAT01 then for some reason you had a sound effect called FLAT01, you'd be fine because they belong to different namespaces. The engines won't get confused because it knows how to read the lumps.

 

More info here:

https://zdoom.org/wiki/Namespace

 

I think it means there are some lumps present that Eternity can't use. My only guess as to what's going on is certain lumps for the map or elsewhere in the WAD (maybe an entire namespace like TX_) are incompatible with Eternity. I think Eternity's UDMF support is barebones, which means it does not accept anything that's a G/ZDoom thing. I'm not an expert on Eternity though so I could very well be wrong.

 

To make it work in Eternity, depending on what it is, may be a chore to do if it heavily relies on GZDoom.

 

I don't know if any of this helps, just what I know.

Share this post


Link to post
7 minutes ago, Nevander said:

To make it work in Eternity, depending on what it is, may be a chore to do if it heavily relies on GZDoom.

This is pretty much my expectation, that it is possible but would be a major hassle to do without causing issues.  I just want to make TA demos that I can record into to videos.  When it comes to UDMF things, if I want videos of the same quality as what I am making on PR/GLBoom+ right now, I have to record them live in sections and cut out the sections with deaths and aimless wandering.  I still don't have ANY of those recordings because it's way more tedious than doing it the TAS way using -recordfromto.  If only GZDoom had more demorecording parameters...

Share this post


Link to post

UDMF namespaces are a different issue from lump namespaces.

 

It's quite likely a UDMF map made for ZDoom will depend on ZDoom-specific features and therefore will not work in Eternity. Conversion isn't possible due to that.

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
×