Voros Posted March 11, 2017 Branch What this branch does is modifies the titlepic generation. The titlepic uses the helvetic (?) font, which is boring, so I thought "why not use Freedoom's font?" Most notable difference should be that you'll see the "Phase 1" and "Phase 2" text on the titlepic replaced with Freedoom's font, along with the footer text. Hopefully. If anyone has the time, please see if the changes work by building Freedoom on your computer. 0 Share this post Link to post
Catoptromancy Posted March 11, 2017 http://www.geocities.ws/catodemos/freedoom/voros/wads.7z 0 Share this post Link to post
Diabolución Posted March 11, 2017 It would be interesting to post that TITLEPIC converted to GIF or PNG. I mean, the one extracted by deutex from these wads, not the raw one from the branch. For any reason, my archive utility cannot extract this 7z archive. 0 Share this post Link to post
Voros Posted March 11, 2017 I'm gonna check it out later, see if everything went as planned. I'm not entirely sure how to define image offsets when -gravity applied (ImageMagick stuff), so there might be hiccups. From what I can tell, you (Litrivin) use Linux as your OS, so why not build Freedoom yourself and extract the titlepic from the generated wads? 0 Share this post Link to post
grommile Posted March 11, 2017 I agree with Litrivin: That archive is buggered.mormegil@cocytus:~/games/doomwads$ 7z x ~/Downloads/wads.7z 7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 p7zip Version 9.20 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,4 CPUs) Processing archive: /home/mormegil/Downloads/wads.7z Extracting wads/freedm.wad Data Error Extracting wads/freedoom1.wad Data Error Extracting wads/freedoom2.wad Data Error Extracting wads Sub items Errors: 3 mormegil@cocytus:~/games/doomwads$ 0 Share this post Link to post
Diabolución Posted March 11, 2017 Linux? Not at all. I run OS X (a very old version), actually. 0 Share this post Link to post
Voros Posted March 11, 2017 Which itself is a Unix based OS, so it shouldn't be too different. @Cato you wouldn't have the build log by any chance, now do you? I'd like to see it. Edit: Downloaded it, unable to extract files. I'm able to look inside the archive though. Spoiler http://www.7-zip.org/recover.html">http://www.7-zip.org/recover.html said:Here we describe the case, when you can open archive and you see the list of files, but when you press Extract or Test command, there are some errors: Data Error or CRC Error. It's pretty difficult to recover data for that case. If archive was compressed in "Solid" mode, and you have exact copies of some files from archive, you can create similar archive with good copies of files with same settings and in same order, and replace "bad" parts of bad.7z with "good" parts from another good.7z. You must look listings of files in bad and good archives, logs of "test" command, and think about ways to replace bad parts. 0 Share this post Link to post
luckypunk Posted March 11, 2017 Litrivin said:It would be interesting to post that TITLEPIC converted to GIF or PNG. http://imgur.com/a/AyCKa The Phase 1/2 images are created, but somehow they're not inserted into the titlepic. 0 Share this post Link to post
Voros Posted March 11, 2017 Again, how about the build log? I'd like to see what's going on during the process. Might help in understanding the reasoning as to why it's not being applied. 0 Share this post Link to post
luckypunk Posted March 11, 2017 The lines relevant to titlepic: cp wivctms.gif ../ make[1]: Leaving directory `/media/usb0/git/voros/freedoom/graphics/text' make VERSION=v0.11-54-g5efe26a -C graphics/titlepic make[1]: Entering directory `/media/usb0/git/voros/freedoom/graphics/titlepic' convert -transparent '#00ffff' ../m_doom.gif m_doom.gif convert -transparent '#00ffff' ../t_phase1.gif t_phase1.gif ./create_caption titlepic.gif m_doom.gif t_phase1.gif fd1title.gif cp fd1title.gif ../ convert -transparent '#00ffff' ../t_phase2.gif t_phase2.gif ./create_caption titlepic.gif m_doom.gif t_phase2.gif fd2title.gif cp fd2title.gif ../ ./create_caption ../captainw/fdmtitle.gif fdmtitle.gif cp fdmtitle.gif ../ make[1]: Leaving directory `/media/usb0/git/voros/freedoom/graphics/titlepic' make -C lumps/playpal make[1]: Entering directory `/media/usb0/git/voros/freedoom/lumps/playpal' Is that sufficient, or do you need the complete log? Edit: titlepic not tilepic 0 Share this post Link to post
Voros Posted March 11, 2017 Looks like everything's correct. Updated the branch with some experimental fixes. Check if it works this time. In the meantime, I'll keep reading more documentation on ImageMagick's commands. 0 Share this post Link to post
Voros Posted March 11, 2017 Hallelujah! Should I make a PR for this? Edit: damn it the footer text should be slanting, like italics. I can live without it. 0 Share this post Link to post
luckypunk Posted March 11, 2017 Voros said:Should I make a PR for this? Sure. Why wouldn't you? 0 Share this post Link to post
Voros Posted March 11, 2017 https://github.com/freedoom/freedoom/pull/413 Thanks to all of you! And you, fraggle. 0 Share this post Link to post
MrFlibble Posted March 11, 2017 The blue font seems not to stand out of the background too much. Perhaps the metal grey, similar to the logo, would work better? 0 Share this post Link to post
Voros Posted March 11, 2017 Not sure what the closest RGB value for metal gray would be, nor adding that metallic effect (maybe with gradient?), but blue is sufficient. It could simply be changed to white though. Edit: decided to go with white. The font alone looks kinda metal gray when white, so that's that. No more changes. 0 Share this post Link to post