Jump to content

Crispy Doom 6.0 (Update: Mar 31, 2023)


fabian

Recommended Posts

vms might have its own volume levels set too high, check the mixer applet

 

it could also be the soundfont you're using: some sf creators don't balance them properly (or they do according to their taste)

 

Edited by Delfino Furioso

Share this post


Link to post

I'm using a Roland SC-55 soundfont, and I can lower the volume to a reasonable level in the mixer - the problem is then it's too low for every other sourceport that balances the sound properly on their end (and every other program that uses MIDI).

 

EDIT: I found a newer SC-55 soundfont that has proper balance. Turns out it was my old-ass soundfont version that was the problem, go figure.

Edited by Trar

Share this post


Link to post
  • 4 weeks later...
On 3/16/2022 at 3:13 AM, NightFright said:

Drop a file named "bloodfix.deh" (or anything else you prefer) with following code into the doom-all subdir of your Crispy Doom autoload if you want non-bleeding Spectres and Lost Souls:


Patch File for DeHackEd v3.0
# Created with WhackEd4 1.2.4 BETA
# Note: Use the pound sign ('#') to start comment lines.

Doom version = 21
Patch format = 6


Thing 14 (Spectre)
Bits = 4980742

Thing 19 (Lost Soul)
Bits = 541190

 

Ah very late response but this works very nicely! although is there a way for the Spectres to have "invisible" blood over the bullet puffs? if thats even possible.

Share this post


Link to post

Not with dehacked, I'm afraid. There is no thing tag for that purpose. Bullet puffs for blood is as good as it's gonna get without the port itself going beyond that.

Share this post


Link to post
6 hours ago, Tycitron said:

Ah very late response but this works very nicely! although is there a way for the Spectres to have "invisible" blood over the bullet puffs? if thats even possible.

 

On 2/12/2022 at 1:19 AM, Rotwang said:

It looks like it was changed back with this commit.

Just reverse the changes made here. That's what I personally do.

Share this post


Link to post
8 hours ago, PKr said:

 

Just reverse the changes made here. That's what I personally do.

I would... if i knew how to.

Share this post


Link to post
1 hour ago, Tycitron said:

I would... if i knew how to.

What OS do you use?

Share this post


Link to post
27 minutes ago, Never_Again said:

 

The how-to was posted two months ago in the same thread.

Ah crap i completely forgot that was posted. my bad.

Share this post


Link to post
1 hour ago, Tycitron said:

I use Windows 10.

1. Go to https://github.com/fabiangreffrath/crispy-doom press on green "Code" button, download ZIP with Crispy-Doom source code.

2. Go to https://visualstudio.microsoft.com/free-developer-offers/ and download Visual Studio Community.

3. Go to https://github.com/Microsoft/vcpkg and get the latest version of vcpkg (direct link to current version: https://github.com/microsoft/vcpkg/archive/refs/tags/2022.04.12.zip)

4. Go to https://cmake.org/ and download the latest version of cmake (direct link to the latest version: https://github.com/Kitware/CMake/releases/download/v3.23.1/cmake-3.23.1-windows-x86_64.msi).

5. Launch VisualStudioSetup.exe (you have downloaded it in step 2), press continue.

6. Select (tick) "Desktop development with C++". In the right list of components, for minimal install select "MSVC v143 - VS 2022 C++ x64/x86 build tools", "Windows 10 SDK (10.0.19041.0)". Untick everything else (unless you need other stuff of course). Press "Install while downloading" or "Download all, then install".

7. Create a folder called "vcpkg" on C: drive (or wherever you want really...), and extract vcpkg you have downloaded in step 3 there.

8. Go to C:\vcpkg\ and double click "bootstrap-vcpkg.bat". This will download "vcpkg.exe" to the same folder.

9. Install cmake you have downloaded in step 4. Add cmake to "path" once prompted.

10. Restart your pc.

 

11. Go to Start (or press Windows key on your keyboard) > type "cmd" > hit enter. This will open a command line.

12. In command line navigate to vcpkg folder: "cd ..\..\vcpkg".

13. In command line type: "vcpkg integrate install".

14. In command line type: "vcpkg install sdl2:x64-windows sdl2-net:x64-windows sdl2-image:x64-windows sdl2-mixer[dynamic-load,libvorbis,libflac,mpg123,libmodplug,opusfile]:x64-windows libsamplerate:x64-windows". Hit enter, wait. It will take some time...

 

15. Extract crispy-doom source code to some folder, for example to "C:\source\crispy-doom-master".

16. Go to C:\source\crispy-doom-master\cmake\ and open FindSDL2.cmake with notepad (right click > open with > notepad).

17. Press ctrl+f and find the line HINTS "${SDL2_DIR}/include" change it to HINTS "${SDL2_DIR}/include/SDL2"

18. Find the line HINTS "${SDL2_DIR}/lib/x64" change it to HINTS "${SDL2_DIR}/lib"

19. Under the first HINTS "${SDL2_DIR}/lib/x64" there is another one for "SDL2main". Change that second HINTS "${SDL2_DIR}/lib/x64" line to HINTS "${SDL2_DIR}/lib/manual-link"

 

20. Open FindSDL2_net.cmake with notepad, change HINTS "${SDL2_NET_DIR}/include" to HINTS "${SDL2_NET_DIR}/include/SDL2" and HINTS "${SDL2_NET_DIR}/lib/x64" to HINTS "${SDL2_NET_DIR}/lib"

 

21. Open FindSDL2_mixer.cmake with notepad, change HINTS "${SDL2_MIXER_DIR}/include" to HINTS "${SDL2_MIXER_DIR}/include/SDL2" and HINTS "${SDL2_MIXER_DIR}/lib/x64" to HINTS "${SDL2_MIXER_DIR}/lib"

 

22. Open Findsamplerate.cmake with notepad, add to the beginning of the file two lines:

set(PC_SAMPLERATE_LIBRARY_DIRS "C:/vcpkg/installed/x64-windows/lib/samplerate.lib")

set(PC_SAMPLERATE_INCLUDE_DIRS "C:/vcpkg/installed/x64-windows/include/samplerate.h")

 

23. Go to C:\source\crispy-doom-master\ and create a new folder called "build".

24. Open cmd and navigate to the build folder: cd C:\source\crispy-doom-master\build

25. In command line type: cmake .. -G "Visual Studio 17 2022" -A x64 -Thost=x64 -DCMAKE_TOOLCHAIN_FILE="C:\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows

 

24. Go to C:\source\crispy-doom-master\build and open Crispy Doom.sln with Visual Studio.

25. Now you can compile crispy-doom: change debug mode to release, press build > build solution.

Untitled.jpg.ca5333810db91f546141f7eaea37ef35.jpg

26. You will find binaries in C:\source\crispy-doom-master\build\src\Release (if you have followed these instructions to the letter)

 

27. Now reverse these changes: https://github.com/fabiangreffrath/crispy-doom/commit/99ca74732d617e98893bb6d9294330889e57efef

For example, you can see that

if (crispy->coloredblood)

newmobj->flags |= MF_NOBLOOD;

 

was removed from src/doom/p_enemy.c

 

Put your cursor where the "3." is on my screenshot, and find "p_enemy.c". Open it, find newmobj->target = actor->target; line and add

if (crispy->coloredblood)

newmobj->flags |= MF_NOBLOOD; above that line.

 

You get the idea. :>

 

P.S. There are other methods, but that's how I do it. On a side note you can right click on "crispy-doom" in solution explorer (seen in the screenshot) > properties > C/C++ > Optimizations and play with these settings. You can get up to 3-5% increase in the performance with these settings.

 

P.P.S. Oh, and also, after compiling crispy-doom, you will need to manually copy a few .dll files to "build" folder. These are located in C:\vcpkg\installed\x64-windows\bin You will need: FLAC.dll libpng16.dll modplug.dll mpg123.dll ogg.dll opus.dll samplerate.dll SDL2.dll SDL2_mixer.dll SDL2_net.dll vorbis.dll vorbisfile.dll zlib1.dll

Edited by PKr

Share this post


Link to post
  • 2 weeks later...

I cannot save setup of crispy doom/heretic/hexen(older version like 5.9.1 have no this problem).It seems that cfg file is not generated.How to fix it?

Edited by TOFM

Share this post


Link to post
1 hour ago, TOFM said:

I cannot save setup of crispy doom/heretic/hexen(older version like 5.9.1 have no this problem).It seems that cfg file is not generated.How to fix it?

I'm assuming you're on Windows. My first guess is that crispy is trying to save the cfg file in location that's write-protected and therefore the file never gets created. Is your crispy-doom folder located in "Program Files (x86)" perhaps?

Share this post


Link to post
1 hour ago, TOFM said:

I cannot save setup of crispy doom/heretic/hexen(older version like 5.9.1 have no this problem).It seems that cfg file is not generated.How to fix it?

Try turning off your antivirus if you're using Windows.

Share this post


Link to post
27 minutes ago, Lol 6 said:

Try turning off your antivirus if you're using Windows.

I have no antivirus.Even windows defender was turn off long ago

Share this post


Link to post
37 minutes ago, mikeday said:

I'm assuming you're on Windows. My first guess is that crispy is trying to save the cfg file in location that's write-protected and therefore the file never gets created. Is your crispy-doom folder located in "Program Files (x86)" perhaps?

No,i put those in D disc

Solved......file path must all english.Thx

Edited by TOFM

Share this post


Link to post
7 minutes ago, TOFM said:

No,i put those in D disc

If you right click on the crispy-doom folder and go to Properties, is "Read-only" checked?

Share this post


Link to post
  • 2 weeks later...

Complevel is always Vanilla. It does differentiate between 1.9, Ultimate and Final by IWAD, and you can additionally set this on the command line. 

Share this post


Link to post

I'am getting creepy vibes with my old thy flesh consumed save, first i start with a rocket launcher, or so i thought, after shooting it turns into a shotgun? and i also see the pistol sprite here, im using an old git build of crispy doom :

 

ahh.PNG.aaa5d1c249ebe96555ce85d0ba4e7b94.PNG

Share this post


Link to post

Is there any way to requantize the background in the Crispness menu for a new color palette? In other words, is it available somewhere as a lump?

Share this post


Link to post
14 minutes ago, maxmanium said:

Is there any way to requantize the background in the Crispness menu for a new color palette? In other words, is it available somewhere as a lump?

The graphic is baked into the binary. It's a flat called CRISPYBG which, based on some testing I just did, can be replaced by PWADs just fine.

I managed to extract the flat and convert it to PNG, it seems to be alright. Here it is:

CRISPYBG.png.d057400f23ecb158ce2a735d1a050447.png

Edited by Alaux

Share this post


Link to post
4 minutes ago, Alaux said:

The graphic is baked into the binary. It's a flat called CRISPYBG which, based on some testing I just did, can be replaced by PWADs just fine.

I managed to extract the flat and convert it to PNG, it seems to be alright. Here it is:

CRISPYBG.png.d057400f23ecb158ce2a735d1a050447.png

 

Thank you!

Share this post


Link to post
  • 2 weeks later...

I know it's a very picky request, but is there any chance to only have the new on-top statusbar stats with two colors (optionally) without including multi-color names on the automap?

Also for some reason I think it'd look better to actually make the K/I/S letters white instead of the numbers. Yeah, I am crazy...

 

But just to be on the safe side: It's a great feature and I am glad it has been added.

Edited by NightFright

Share this post


Link to post
  • 2 weeks later...

I think it might be a better idea to use the CR* Boom lumps for color translation as opposed to the current hardcoded values, as it appears different with custom palettes (e.g. mistaking teal for green, not using the full hue-shifted gold range).

Share this post


Link to post
On 6/22/2022 at 6:47 AM, maxmanium said:

I think it might be a better idea to use the CR* Boom lumps for color translation as opposed to the current hardcoded values, as it appears different with custom palettes (e.g. mistaking teal for green, not using the full hue-shifted gold range).

 

I have code for this ready, but you will lose e.g. colored status bar widgets in BTSX:

 

DOOM0013.png.fea1ea77d91152021142c3a21f85da4c.png

 

as opposed to the current state

 

DOOM0014.png.fe7984b72659cf32e01e8f8e1dc1c47d.png

Edited by fabian

Share this post


Link to post
9 minutes ago, fabian said:

-snip-

 

It's up to you, but I think this change would be fine since the first picture is how it appears everywhere else, precisely because the STTNUM lumps don't use the red range + it's not remapped as such in the CR* lumps.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...