How to create hexen startup

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
kaos_2211
Posts: 70
Joined: Wed Mar 13, 2013 9:00 am
Location: anywhere the computer

How to create hexen startup

Post by kaos_2211 »

hi guys how are you? I would create new HEXEN STARTUP , but I don't know HOW TO CREATE
This image would converted
Image

PLEASE I NEED YOUR HELP :( :cry: :cry:

SORRY MY BAD ENGLISH
Last edited by wildweasel on Thu Mar 27, 2014 6:22 pm, edited 1 time in total.
Reason: Please do not shout. We can hear you just fine.
User avatar
Enjay
 
 
Posts: 26540
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: HOW TO CREATE HEXEN STARTUP

Post by Enjay »

The Wiki wrote: Hexen

Hexen uses a lump called STARTUP to show a 4-bit, 16-color, 640×480 picture on the startup screen. It is stored in a custom, non-standard format: the first 48 bytes are for the 16 color palette (three bytes per color entry), followed by raw 4-bit planar graphics. The total size is therefore 153648 bytes exactly. The music lump "ORB" is played during loading.

The pixels from [64,441] to [576,464] are used to display the status bar, with hardcoded "notch" graphics. Each time one is drawn, the sound "StartupTick" is played.

The notches can be replaced by raw 4-bit bitmaps. The loading notch is 16×23 (184 bytes) and called NOTCH and the netgame waiting notch is 4×16 (32) and called NETNOTCH. They use the palette defined in STARTUP.

SLADE3 is the only image editing tool currently available that can convert pictures to these formats and create replacement graphics for them.
[wiki]Startup_lumps[/wiki]
Gez
 
 
Posts: 17924
Joined: Fri Jul 06, 2007 3:22 pm

Re: HOW TO CREATE HEXEN STARTUP

Post by Gez »

Cannot convert to planar format, too many colors (33)

You need to reduce color depth a bit more. Also, in SLADE 3, start by going to Edit -> Preferences -> Graphics and make sure that "Offer additional conversion options" is checked, or the planar format will be hidden.
User avatar
kaos_2211
Posts: 70
Joined: Wed Mar 13, 2013 9:00 am
Location: anywhere the computer

Re: HOW TO CREATE HEXEN STARTUP

Post by kaos_2211 »

This error happens to me
Image
User avatar
Enjay
 
 
Posts: 26540
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: How to create hexen startup

Post by Enjay »

Sorry for the bumpage, but I'm failing to get this to work.

I have extracted the original Hexen startup Image, Slade did that just fine for me. I copied the original, unaltered Hexen lump to a WAD so that I had a base to work from. Slade recognises this just fine:
Spoiler:
Then I import a PNG (I've tried with a few, in a few different formats, including the original Hexen PNG that Slade exported). Then I select the image and pick the convert to option. Additional options are enabled:
Spoiler:
That's where my first query arises. I got the impression from the Wiki article that the image contains its own palette:"the first 48 bytes are for the 16 color palette". However, whenever I pick this option, it seems to try to convert the palette to whichever game palette is loaded. Even leaving it on "Existing/Global" changes the colours in my image (and I have tried with an image already reduced to the 16 colours that I wanted - and Slade kept changing them).
Spoiler:
Aaaanyway, I convert the image and my second query arises. The lump list in Slade still lists the graphic as a PNG. Surely it should now be saying "Planar"?

Regardless, I save and quit and try the WAD and... Hexen now doesn't show a startup picture at all.

No clues in the startup log
Spoiler:

I go back into Slade with the WAD loaded and when I click on the lump I get:
Spoiler:

So, any clues?

[edit] Just by way of an additional test, I uses Slade to flip the original lump and save it. The startup screen did not show when I ran Hexen with the WAD loaded and when I went back in to Slade, the lump was in the lumps list categorsised as "Unknown". It's worth pointing out that this is slightly different to my own failed PNG imports which, while they get the error message posted above, the lump list shows them as "Graphic(PNG)" although Slade cannot actually show the image. [/edit]

[edit2]I don't suppose that there is likely to be any support added to ZDoom for replacing these (and the Strife) startup graphics with PNGs is there? That would get around having to try and mess with these special, arcane image formats.[/edit2]
User avatar
Enjay
 
 
Posts: 26540
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: How to create hexen startup

Post by Enjay »

Well, here's an update/improvement of sorts. If I basically go through the above procedure (import/convert) it seems as if the problem still exists. If, however, I then click the revert button, Slade doesn't revert to my original PNG, but finally lists the graphic as "Planar". What's more, it actually loads into the game and works too. The only remaining problem is that I cannot get the graphics to keep its own palette and have to go through the list of palettes until I find one quite close to my original image (the Fate palette is quite close to the one in my test image).
Spoiler:
So, here's the procedure that "works" for me:

Import a PNG
Go to the conversion dialogue
Pick Planar
Choose a palette that is close to the one that I want in the image (because I fail at getting Slade to use the palette in the image)
Click convert (graphic still listed as PNG)
Click Revert (graphic now listed as Planar)
Load up in game and enjoy. :P

So, yeah, some success (and I haven't tried those pesky spine graphics yet) but the conversion process not working quite as it should I think.

[edit] I should have said that I tested this with the 3.1.0 beta from the slade site and the DRD build. [/edit]
mallo
Posts: 1112
Joined: Sat May 22, 2010 12:49 pm

Re: HOW TO CREATE HEXEN STARTUP

Post by mallo »

Gez wrote:Cannot convert to planar format, too many colors (33)
That may be related to fact that it's a JPG.
User avatar
Enjay
 
 
Posts: 26540
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: How to create hexen startup

Post by Enjay »

Frankly, I have no idea how to get the NOTCH graphics to work. I can make an image of the correct dimensions but I don't know of any way (and I can't see anything in Slade) to convert it to the correct format. Even the Planar option doesn't appear for those graphics (but it is still there for the STARTUP image).

[edit] Tried Paint Shop Pro, Gimp and XNView. None of the RAW images that I saved worked. [/edit]
User avatar
everamzah
Posts: 149
Joined: Tue Aug 20, 2013 10:17 am
Location: Augusta, ME.

Re: How to create hexen startup

Post by everamzah »

You have to trick SLADE into converting to planar. Do this by allowing it to fail trying, and then clicking undo and save. It's weird.

Edit: Yeah, I should have read that better. Good luck on the notches, haven't tried those yet...
User avatar
Tormentor667
Posts: 13548
Joined: Wed Jul 16, 2003 3:52 am

Re: How to create hexen startup

Post by Tormentor667 »

Enjay wrote:Choose a palette that is close to the one that I want in the image (because I fail at getting Slade to use the palette in the image)
Did someone get this working yet?

Return to “Editing (Archive)”