Author |
Message |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Fri May 26, 2017 12:30 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

 
|
|
Speaking of where to post what;
I had some questions that I'm not sure where the appropriate place to post is.
I have questions about activating and using certain the environmental features in Wolf4SDL ie Star Sky etc.
As well as compiling SOD 4 SDL.
It seemed that the Wolf4SDL tutorial post was more geared towards set up and compiling of the base Wolfenstein source within Wolf4SDL, and troubleshooting that specifically.
So I didn't think that would the best place for it.
I used search and didn't see posts of that nature, and don't see it in the Please Read sticky post.
Is there a proper place or should I make new posts? |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
ronwolf1705
Moderator

Joined: 31 Jul 2006
Last Visit: 2:18 ago.
Topics: 72
Posts: 3725

|
Posted: Fri May 26, 2017 2:14 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
All your questions regarding 4SDL coding can be posted in the SDL Code Crackers section: http://diehardwolfers.areyep.com/viewforum.php?f=24
It may be easier to just set up a general 'Falcon*93 needs coding help'-thread if you expect to have many questions.
Regarding SoD4SDL, isn't that a matter of commenting/uncommenting the right stuff in VERSION.H? |
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 1:14 ago.
Topics: 38
Posts: 2453
Location: Christchurch, New Zealand

|
Posted: Fri May 26, 2017 4:59 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
Yep, just change the defines in version.h so only SPEAR (and GOODTIMES to remove the copy protection quiz) are defined in the block they're in, and then any extra defines below that for stuff you want to be activated (some of them like the sky will require extra files be added to the project; these are already present in the source directory, so all you have to do is go "Project > Add files" and add them). |
|
|
 |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Sat May 27, 2017 10:02 am
Subject: New Release of WDC!
[ IP : Logged ]
|

  
|
|
hmm.
I changed verions.h to activate Spear and comment out Carmacize(latest ID Wolf).
Complied fine but the program seems to hang at start up("one moment") and then bombs out with error box that says "can't open MapTemps.sod".
My SOD files are full SOD v1.4 (with Mission Packs, I'm using the original SOD files aka M1).
Any Idea what that is about? |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
Chris
DieHard Wolfer


Joined: 11 Mar 2003
Last Visit: 13 Apr 2018
Topics: 55
Posts: 2128
Location: Canada

|
Posted: Sat May 27, 2017 11:39 am
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
That's right Falcon, maps saved with Carmacized are saved as Gamemaps, and ones without Carmacized are saved as Maptemp in TED5, so if the game has Gamemaps then chances are it will only open correctly without removing Carmacized. Some editors save Gamemaps without Carmack compression for speed though (like Mapedit). |
|
|
 |
Tricob
Moderator


Joined: 14 Mar 2005
Last Visit: 7:36 ago.
Topics: 163
Posts: 8116
Location: Neo-traditions, Inc.

|
Posted: Sat May 27, 2017 12:29 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
Carmack compression is also left out for compatibility purposes. This is why many game maps will run in V1.1 of the game as well as v1.2 and 1.4. |
|
|
 |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Sat May 27, 2017 3:40 pm
Subject: New Release of WDC!
[ IP : Logged ]
|

  
|
|
Ahh I misread and misunderstood what Carmacized was for.
I reactivated Carmacized and when I put the new build in my untouched SOD directory(V1.4 bought from GOG) (with GameMaps)I get an error that says "Can't read MapHead.sod" when I put it in the messy directory of my project from years with filetypes galore(can't remember why) it say "can't read madtemp"
Most puzzling.
I reread Version.H but can't figure out what the deal is. |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
Chris
DieHard Wolfer


Joined: 11 Mar 2003
Last Visit: 13 Apr 2018
Topics: 55
Posts: 2128
Location: Canada

|
|
 |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Sat May 27, 2017 9:45 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
That one crashes with error message "can't read maphead.sod".
Also it only got that far after troubleshooting comparability which was not necessary for any of the other Wolf4SDL builds, not sure why or what that means.
Would this mean it is my SOD files? Could GOG have messed with the files?
I wish I could find my old Wolf3d & SOD files that I got Directly from ID via email after I purchased on non-functional CD-ROM distro. They are lost on some old hardware...
Or perhaps there is more to this than switching Version.H?, I'm looking through the wolf4sdl source.
Anyhow, should I make a new post about this in SDL Codecrackers?
I didn't intend to go so far off topic in a post that is already not properly placed.
I hope I'm not coming off as obnoxious, I'm just way behind the learning curve on all this code stuff. |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Sat May 27, 2017 10:10 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
O wait...
I remembered my old project from years back used the SOD files I got from ID(v1.4), well aside from the VGA files(I think I had to replace them).
I put that SOD4SDL distro from Barry in that directory and it works, and it plays the first map.
I would say this narrows it down to being an issue with the game files, but if that where the case than my build should work on in this directory, yet then again it is also possible I made some error that I am unaware of, as well as the fact that Barry's SOD4SDL doesn't work with the Full SOD files I bought from GOG. |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
Chris
DieHard Wolfer


Joined: 11 Mar 2003
Last Visit: 13 Apr 2018
Topics: 55
Posts: 2128
Location: Canada

|
|
 |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Sat May 27, 2017 11:04 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
Sure thing
Also I must have made some mistake when copying the GOG M1 files because there is a maphead file which I don't recall being there before, after copying it to my test directory Barry's SOD4SDL works but my build does not.
I am tired to the point of mental compromise... Best that I stop trying to code and such tonight lol.
Going to pick up on this after work tomorrow or Monday. |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
ronwolf1705
Moderator

Joined: 31 Jul 2006
Last Visit: 2:18 ago.
Topics: 72
Posts: 3725

|
Posted: Sun May 28, 2017 7:28 am
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
Moved to the SDL Code Crackers section. |
|
|
 |
Tricob
Moderator


Joined: 14 Mar 2005
Last Visit: 7:36 ago.
Topics: 163
Posts: 8116
Location: Neo-traditions, Inc.

|
Posted: Sun May 28, 2017 10:51 am
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
Your error message might mean that the filename is case-senstive. If that's the case, if the code is looking for "MAPHEAD.SOD" but can only find "maphead.SOD", it might complain. Computers are a real fussbudget sometimes.  |
|
|
 |
Chris
DieHard Wolfer


Joined: 11 Mar 2003
Last Visit: 13 Apr 2018
Topics: 55
Posts: 2128
Location: Canada

|
Posted: Sun May 28, 2017 12:07 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
Thanks Falcon. My best guess, is that the GOG system has a menu for all 3 Spear episodes (like the Super CD) but it renames the maphead back after you exit, thus sabotaging anything besides it's own menu from opening it correctly. The SOD map files themselves seem to be ok. |
|
|
 |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Sun May 28, 2017 12:08 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
I got SOD4SDL to compile.
I have to get some more school registration stuff done now before I work on more Wolfenstein stuff. |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 1:14 ago.
Topics: 38
Posts: 2453
Location: Christchurch, New Zealand

|
|
 |
Tricob
Moderator


Joined: 14 Mar 2005
Last Visit: 7:36 ago.
Topics: 163
Posts: 8116
Location: Neo-traditions, Inc.

|
|
 |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Wed May 31, 2017 9:26 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
O that issue has been solved. |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Wed May 31, 2017 9:30 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
I found dos code tut's on the Dome for changing the floor and ceiling colors by editing WL_Draw.C
but in SDL WL_Draw.cpp doesn't have the code listed in the tut's
Where is that located in SDL? |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 1:14 ago.
Topics: 38
Posts: 2453
Location: Christchurch, New Zealand

|
Posted: Wed May 31, 2017 10:31 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
That should be in WL_DRAW, but the code may have changed slightly. Search for the VGAClearScreen function in it and it should have the ceiling colours. |
|
|
 |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Wed May 31, 2017 11:06 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
not like they describe in the tut and not that i can discern |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 1:14 ago.
Topics: 38
Posts: 2453
Location: Christchurch, New Zealand

|
Posted: Wed May 31, 2017 11:16 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
Can you link the tutorial you're looking at? |
|
|
 |
Tricob
Moderator


Joined: 14 Mar 2005
Last Visit: 7:36 ago.
Topics: 163
Posts: 8116
Location: Neo-traditions, Inc.

|
Posted: Thu Jun 01, 2017 1:20 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
WL_DRAW.CPP calls up a floor/ceiling routine, but that's about it. The rest is in WL_FLOORCEILING.CPP, IIRC. |
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 1:14 ago.
Topics: 38
Posts: 2453
Location: Christchurch, New Zealand

|
|
 |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Fri Jun 02, 2017 10:13 am
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
http://www.wolfenstein3d.co.uk/coding-ceiling.htm
http://www.wolfenstein3d.co.uk/coding-floor.htm
How does one discern the stuff in VGA Clear Screen?
Right now Im just trying to change the floor color on my demo level, to get it ready for an updated re-release with SDL.
But I'll be setting the colors the levels of Armour of Beowulf at some point, maybe soonish. I have Castle DOSenstein sketched out in portrait and birds eye on graph paper and the levels listed and themes conceptualized.
So far I don't plan to use the floor and ceiling textures, I may use them after I make allot of other changes that are higher priority.
Side question, can I use more than one floor or ceiling texture in one level, and if so do they have to be separated by doors like floor codes? |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 1:14 ago.
Topics: 38
Posts: 2453
Location: Christchurch, New Zealand

|
Posted: Fri Jun 02, 2017 5:19 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
The ceiling table has the colour for each ceiling in order of level, but the floor colour is normally hardcoded. These correspond to the colours in the game's palette, but the numbers themselves are hexadecimal. The '0x19' in VGAClearScreen itself is the normal floor colour, so if you replace that it'll change the colour of the floor. |
|
|
 |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Mon Jun 05, 2017 9:58 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

  
|
|
The tutorial lists a way to make the floor color custom for specific levels, how do I do that in SDL?, as the code in SDL looks nothing like the code in the tutorial, is that because it was changed for sdl? |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
Chris
DieHard Wolfer


Joined: 11 Mar 2003
Last Visit: 13 Apr 2018
Topics: 55
Posts: 2128
Location: Canada

|
|
 |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Tue Jun 06, 2017 6:53 pm
Subject: Re: Falcon*93's Coding Questions
[ IP : Logged ]
|

 
|
|
Ok, Interesting, I will try to crack that.
Thank You  |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
|