Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

UMAPINFO: Introduce the new author field. #436

Merged
merged 6 commits into from
Jun 15, 2023

Conversation

rfomin
Copy link
Contributor

@rfomin rfomin commented Dec 17, 2021

The level author field is supported by Eternity Engine in EMAPINFO (creator), GZDoom in ZMAPINFO (author), and Doom Retro in RMAPINFO (author).

musictitle and musiccomposer are taken from Doom Retro.

In demo compatible ports, the status screen for "entering" in Doom 2 is very fast, barely enough time to read the name of the level.

@fabiangreffrath
Copy link
Collaborator

Sure, why not. I am fine with this addition to the spec.

In demo compatible ports, the status screen for "entering" in Doom 2 is very fast, barely enough time to read the name of the level.

Is this the reason why there is no coresponding change in the code to actually print the new fields?

@rfomin
Copy link
Contributor Author

rfomin commented Dec 17, 2021

Is this the reason why there is no coresponding change in the code to actually print the new fields?

I thought maybe people don't want these changes. Sure, this is trivial, I can add this to PrBoom+/Woof.

@JadingTsunami
Copy link
Collaborator

Is this the reason why there is no coresponding change in the code to actually print the new fields?

I thought maybe people don't want these changes. Sure, this is trivial, I can add this to PrBoom+/Woof.

Hmm, there are multiple musics defined per level (for intertext/etc.).

Are these music fields purely for documentation or are they displayed in some way while music is playing back?

Does it create any concern that not all music can be attributed to an author/composer?

Just posing some upfront questions so we don't thrash on this.

@rfomin
Copy link
Contributor Author

rfomin commented Dec 17, 2021

Hmm, there are multiple musics defined per level (for intertext/etc.).

This is only for level music.

Are these music fields purely for documentation or are they displayed in some way while music is playing back?

They are displayed on the "entering" status screen along with CWILV graphics.

Does it create any concern that not all music can be attributed to an author/composer?

That is the question for PWAD/UMAPINFO maker.

@JadingTsunami
Copy link
Collaborator

That is the question for PWAD/UMAPINFO maker.

Hmm, why do you say this? If we don't supply a field for it I don't understand how the WAD author/maker is expected to handle this.

@rfomin
Copy link
Contributor Author

rfomin commented Dec 17, 2021

Sorry, I guess I don't understand. These are optional fields so that the PWAD/UMAPINFO creators can display MIDI music authors in-game if they want.

@JadingTsunami
Copy link
Collaborator

Sorry, I guess I don't understand. These are optional fields so that the PWAD/UMAPINFO creators can display MIDI music authors in-game if they want.

Put more simply: Why is it important to provide a means to credit the author/composer of level music but not important to provide a means credit the author/composer of other musics?

@rfomin
Copy link
Contributor Author

rfomin commented Dec 17, 2021

Put more simply: Why is it important to provide a means to credit the author/composer of level music but not important to provide a means credit the author/composer of other musics?

Well, I think there is no convenient place in-game to credit the authors of other musics.

@JadingTsunami
Copy link
Collaborator

Put more simply: Why is it important to provide a means to credit the author/composer of level music but not important to provide a means credit the author/composer of other musics?

Well, I think there is no convenient place in-game to credit the authors of other musics.

We could just pick a corner, lower-right for instance. Then it's up to the author to either exclude the field or ensure it is visible against the graphic backdrop.

@rfomin
Copy link
Contributor Author

rfomin commented Dec 17, 2021

Put more simply: Why is it important to provide a means to credit the author/composer of level music but not important to provide a means credit the author/composer of other musics?

Well, I think there is no convenient place in-game to credit the authors of other musics.

We could just pick a corner, lower-right for instance. Then it's up to the author to either exclude the field or ensure it is visible against the graphic backdrop.

I don’t know, it’s distracting. So we need to add fields for all types of intermissions? I have seen several PWADs that indicated level and music authors graphically in CWILV graphics, but I have never seen PWAD that displayed authors of an intermission music in-game.

@kraflab
Copy link
Collaborator

kraflab commented Dec 17, 2021

Hm, mapinfo doesn't feel like the right place to have music info. There can be multiple music tracks in one level, and mapinfo doesn't cover all the places music appears. Thete are plenty of ways to credit music. If it's a big deal to you, I would suggest standardizing a music info lump that expressly assigns credit to songs, not maps.

@kraflab
Copy link
Collaborator

kraflab commented Dec 17, 2021

Also, why is this coming in the form of a PR and not an issue or a forum thread?

@JadingTsunami
Copy link
Collaborator

JadingTsunami commented Dec 17, 2021

Hm, mapinfo doesn't feel like the right place to have music info. There can be multiple music tracks in one level, and mapinfo doesn't cover all the places music appears. Thete are plenty of ways to credit music. If it's a big deal to you, I would suggest standardizing a music info lump that expressly assigns credit to songs, not maps.

I actually like this idea better too. Especially since we can have music changers which will allow multiple tracks per map (as pointed out above).

@rfomin rfomin changed the title UMAPINFO spec: Introduce the new author, musictitle and musiccomposer fields. UMAPINFO: Introduce the new author field. Dec 18, 2021
@rfomin
Copy link
Contributor Author

rfomin commented Dec 18, 2021

Ok, I removed musictitle and musiccomposer.

Also, why is this coming in the form of a PR and not an issue or a forum thread?

This PR is inspired by this thread: [doomworld]

@fraansg
Copy link
Contributor

fraansg commented Feb 11, 2023

Why hasn't this PR been merged yet? It's my understanding that the author field has already been adopted as part of the UMAPINFO specification (kraflab/umapinfo#1), but hasn't been implemented by any source port yet (from what i've seen).

@kraflab
Copy link
Collaborator

kraflab commented Feb 11, 2023

This PR either needs to copy the official spec file exactly or otherwise replace prboom+'s copy with a link to the official spec version. After that I'd agree it can be merged.

y += (5 * V_NamePatchHeight(lname)) / 4;
}

if (wbs->nextmapinfo && wbs->nextmapinfo->author)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The spec stipulates that the author name is only printed when the levelpic doesn't exist and we are printing the level name (the above branch). In a lot of wads, the organizer includes the author in the patch along with the title.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rfomin could you apply the change requested by @kraflab above? This would be the last remaining change I would like to merge into the prboom-plus code base before nailing is coffin.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 1bb0a74

@kraflab
Copy link
Collaborator

kraflab commented Mar 26, 2023

The stats screen also needs to be updated (WI_drawLF).

@fabiangreffrath fabiangreffrath merged commit ae345b0 into coelckers:master Jun 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants