Demon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Attempting to make a custom version of Chocolate Doom...
Pages (2): « 1 [2]  
Author
All times are GMT. The time now is 04:38. Post New Thread    Post A Reply
entryway
Forum Staple


Posts: 2587
Registered: 01-04



fraggle said:
Unix shell scripts don't work well with paths that have spaces in them. There's a note about this on the wiki page for building Chocolate Doom, with a workaround.

SDL compiles fine on the same computer. PrBoom-Plus with SDL compiles fine. So I think something is wrong in configure script for SDL_mixer. Or probably I do something wrongly (there are no any problems with compiling SDL_mixer with MSVC)


Maes said:
I would rather find the place where you got C:\Program Files\ bla-bla defined and wrap that in quotes first, rather than chasing spurious errors that are caused a-posteriori

Do you really think it is possible? I think 'configure' script is not supposed to be editable by user, because it is generated by tool from configure.in which is only 21kb of crap.

Last edited by entryway on 06-09-11 at 13:04

Old Post 06-09-11 12:52 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Maes
I like big butts!


Posts: 8664
Registered: 07-06



entryway said:
Do you really think it is possible? I think 'configure' script is not supposed to be editable by user, because it is generated by tool from configure.in which is only 21kb of crap.


Then start from there.

That being said, I share fraggle's feelings about makefiles/automated builds: I've yet to see one (outside of those bundled with recent Linux distros) to work flawlessly as intended from the very first time. The makefile system has to be the most braindead concoction ever. I cringe whenever I have to work with some shit-old C package where the dreaded "makefile" makes an appearance.

Last edited by Maes on 06-09-11 at 13:04

Old Post 06-09-11 12:59 #
Maes is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Super Moderator


Posts: 6000
Registered: 07-00



entryway said:

SDL compiles fine on the same computer. PrBoom-Plus with SDL compiles fine. So I think something is wrong in configure script for SDL_mixer. Or probably I do something wrongly.

Certain scripts may handle spaces correctly, but don't count on it.


I think 'configure' script is not supposed to be editable by user,
That is correct.

Old Post 06-09-11 13:03 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
natt
Junior Member


Posts: 248
Registered: 05-11


hmm

I never bothered compiling sdl_mixer in mingw because it's a shitty library and I want nothing to do with it, but reading this thread now I got it.

After unzipping, this is exactly what I did:

./configure SDL_CONFIG=
make

I pass "SDL_CONFIG=" to all configure scripts because for some reason without it they look for SDL_CONFIG script in a weird place, never figured that one out. Your configure found sdl_config fine, so no need to worry about that one.

I received warnings that flac, mikmod, and smpeg were not installed, as expected, but other than that, everything went fine.

Don't bother trying to edit an automatically generated build script though, that's doomed to fail.

Anyway, my question would be, where did these CFLAGS come from?

code:
EXTRA_CFLAGS='C:\Program Files\Microsoft SDK\Include\.;C:\Program Files\Intel\Compiler\C++\9.1\IA32\Include;C:\Program Files\Intel\Compiler\C++\9.1\EM64T\Include -D_GNU_SOURCE=1'


Never mind the spaces; those aren't even valid options to GCC even if they were properly quote escaped. The only things that you get to pass without a -something in front of them are the names of your input files. Are those supposed to be include locations? That doesn't sound right, but even if it was, each would have a -I before it. Figure out how those options came to be.

Old Post 06-09-11 16:19 #
natt is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Sodaholic
MY POSTS AREN'T THAT BAD!! SERIOUSLY!!!


Posts: 1370
Registered: 04-07


So I got wget, and it appears to be working correctly now. (it's in the middle of building it atm)

EDIT: Oh crap, what's this at the end with "command not found"?
http://i.imgur.com/v9HQj.jpg

Last edited by Sodaholic on 06-09-11 at 22:03

Old Post 06-09-11 21:37 #
Sodaholic is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2587
Registered: 01-04



natt said:
Anyway, my question would be, where did these CFLAGS come from?

From my environment variable

view:<set

...
INCLUDE=C:\Program Files\Microsoft SDK\Include\.;C:\Program Files\Intel\Compiler\C++\9.1\IA32\Include;C:\Program Files\Intel\Compiler\C++\9.1\EM64T\Include
...


set INCLUDE=
set C_INCLUDE_PATH=D:/andre/prg/doom/prboom-plus/branches/prboom-plus-24/!/sdl/include

^^^ fixes configuring. Thanks.

Old Post 06-09-11 21:43 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
natt
Junior Member


Posts: 248
Registered: 05-11



entryway said:

From my environment variable

view:<set


set INCLUDE=
set C_INCLUDE_PATH=D:/andre/prg/doom/prboom-plus/branches/prboom-plus-24/!/sdl/include

^^^ fixes configuring. Thanks.



glad to hear it. if it's an environment variable, i think you can just force off for running config

code:
./configure INCLUDE=


the same way i switch off my faulty SDL_CONFIG variable

Old Post 06-09-11 21:46 #
natt is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Randy87
Mini-Member


Posts: 55
Registered: 05-05


Soda, you need the cygwin make package lol

Edit: Make sure you get all the required cygwin packages listed here http://www.chocolate-doom.org/wiki/...Doom_on_Windows

Last edited by Randy87 on 06-09-11 at 21:54

Old Post 06-09-11 21:49 #
Randy87 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
exp(x)


Posts: 2282
Registered: 04-04



Sodaholic said:
Oh crap, what's this at the end with "command not found"?

It says that you're missing make.

EDIT: beaten to it

Old Post 06-09-11 21:50 #
exp(x) is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Sodaholic
MY POSTS AREN'T THAT BAD!! SERIOUSLY!!!


Posts: 1370
Registered: 04-07


Heh, I was wondering why it wasn't working, I was thinking "but I installed everything!". Well, stupid me, I did, but it was on an old install back when I used XP, so it was on the wrong drive. I've got everything installed in my current install now, and it should work. Sorry about that.

Anyway, now to use this thread for what I intended to use it for: getting help adding custom features.

How can I replace the existing viewheight and hud weapon bobbing with one that very closely (if not exactly) resembles the bobbing from the 0.4 alpha of Doom? There is only one difference from that that I would like to have, and that is to have the viewheight bobbing be halfway lower than it is in the alpha (in the alpha, it only goes higher than the standing viewheight, never lower).

Old Post 06-09-11 22:03 #
Sodaholic is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Randy87
Mini-Member


Posts: 55
Registered: 05-05


There's a few references to bobbing in p_user.c. Line 50 and 78 may help.

Edit: Weapon bob can be made faster.
p_pspr.c - Line 330
angle = (128*leveltime)&FINEMASK; to
angle = (256*leveltime)&FINEMASK;

Last edited by Randy87 on 06-09-11 at 22:17

Old Post 06-09-11 22:07 #
Randy87 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Sodaholic
MY POSTS AREN'T THAT BAD!! SERIOUSLY!!!


Posts: 1370
Registered: 04-07


How would I be able to change how the fog is handled to be more like the 0.5 alpha? In the final version, the fog "contrast" is so high that things appear as fullbright when they are right next to the player, but in the alpha, the fog is "flatter" in that things don't end up fullbright when you were next to them.

I suppose it's basically equivalent to changing the R_visibility CVAR in ZDoom.


Can anyone familiar with the internal workings of the alpha versions confirm if the alpha's lighting was equivalent to R_visibility being 4 (my best guess)? If not, what was it equivalent to?

Old Post 06-11-11 01:14 #
Sodaholic is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
andrewj
Senior Member


Posts: 1380
Registered: 04-02


How is the fog effect implemented in the alpha? If it is done via a lookup table lump like COLORMAP, then changing how it looks will "merely" be a matter of creating a new colormapping lump.

Old Post 06-11-11 04:16 #
andrewj is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
esselfortium
Cumulonimbus Antagonistic Posting


Posts: 5268
Registered: 01-02



Sodaholic said:
How would I be able to change how the fog is handled to be more like the 0.5 alpha? In the final version, the fog "contrast" is so high that things appear as fullbright when they are right next to the player, but in the alpha, the fog is "flatter" in that things don't end up fullbright when you were next to them.

Actually, this exaggeration in close-range lighting contrast is a ZDoom oddity. In vanilla, dark surfaces are generally still dark when you're standing face-to-face with them.

Old Post 06-11-11 04:23 #
esselfortium is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Sodaholic
MY POSTS AREN'T THAT BAD!! SERIOUSLY!!!


Posts: 1370
Registered: 04-07



esselfortium said:

Actually, this exaggeration in close-range lighting contrast is a ZDoom oddity. In vanilla, dark surfaces are generally still dark when you're standing face-to-face with them.


Huh, weird, they should fix that.

So, is the lighting between the 0.5 version and the final vanilla version identical?

Old Post 06-11-11 05:08 #
Sodaholic is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Sodaholic
MY POSTS AREN'T THAT BAD!! SERIOUSLY!!!


Posts: 1370
Registered: 04-07


How would I modify the viewheight bobbing ramp to speed up towards the bottom, then yank back up when it hits the bottom? (see the alpha for what I'm talking about) In the final version, the fast end of the ramp is in the middle (thus giving it a smooth bobbing effect) whereas in the alpha, the fast end it as the bottom (giving it a footstep-like effect).

Old Post 06-11-11 17:12 #
Sodaholic is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 04:38. Post New Thread    Post A Reply
Pages (2): « 1 [2]  
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Attempting to make a custom version of Chocolate Doom...

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory