Back to the Vavoom Forum Archives


Forum

Zero here wants to edit original Hexen source code

Sun, 23 Jul 2006 15:50:37

The 4th Class

Hey guys, it's great to be able to talk to you all here. I hope you recognize me. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Anyway, I was just wondering if any of you have made mods or fooled around with the ORIGINAL Hexen source code, not just the Vavoom or JHexen port. Because I downloaded the source code about a week ago, and I can't figure out a single function in this thing. I figure that in the long run, it would be easier for me to understand the original source code before I move on to working in Vavoom. So can anyone give me a hand? Maybe decipher each of the files for me (tell me what each one's for? I'd rather just work with the DOS format for now, if that's possible. Thank you all in advance. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> P.S.: I call myself a zero because I'm a zero at source code modifying, not at coding. <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->
Sun, 23 Jul 2006 17:35:22

Crimson Wizard

[quote="The 4th Class":19svy5ks]I figure that in the long run, it would be easier for me to understand the original source code before I move on to working in Vavoom. I think you are REALLY wrong. IMHO it is MUCH easier to understand Vavoom progs than original Hexen's. As for original Hexen code, you'd better ask Ichor, he made a great mod with Doomsday. As for me, I even forgot where to download it <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> and I do not have it now.
Sun, 23 Jul 2006 18:05:15

Janis Legzdinsh

If you are really interested, check out DoomWorld's port section. Some of the simplest Windows/Linux ports should be very close to original. The original source code is also available there, but it can't be compiled direcly because it doesn't include the sound library they were using. But I really think that with Vavoom it's much easier to understand it, as it makes some things much easier to do.
Sun, 23 Jul 2006 19:41:14

The 4th Class

Thanks, I'll try them out. I've got some catching up to do if I wanna be at an equal level field on this forum. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Sun, 23 Jul 2006 19:55:02

Crimson Wizard

Oh, I see, so you want to edit ORIGINAL HEXEN CODE and nothing can stop you <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> Can't wait you complete your "catching up" and join us here. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Mon, 24 Jul 2006 00:33:47

The 4th Class

I don't know why I'm so nostaligic for the 320x200 pixelated feel - I really don't. Maybe it's because that's the way I've played it for 12 years now. (Wow, 12 great years. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> ) As for the catching up, seeing as how Janis does this as a career, and you CW major in com sci, right? It's gonna take me years upon years. Maybe even another 12 years! <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> [quote="Janis Legzdinsh":110g908x]The original source code is also available there, but it can't be compiled direcly because it doesn't include the sound library they were using. Wait a minute, does that mean the original source code is no good on its own? Where do I get the sound library then? I thought good old WinTex would extract the lumps from the iwad just fine. <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? -->
Mon, 24 Jul 2006 05:37:42

Crimson Wizard

[quote="The 4th Class":2hkbwpks]CW major in com sci Oh, heh, not that major, still I lack real experience and make stupid mistakes too often. <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> [quote="The 4th Class":2hkbwpks]Wait a minute, does that mean the original source code is no good on its own? Where do I get the sound library then? I thought good old WinTex would extract the lumps from the iwad just fine. If I undertood JL's saying about sound library right, those libraries are usually integrated into EXE file. You'll be unable to extract it.
Mon, 24 Jul 2006 13:59:55

The 4th Class

How about using WinTex? That program can imp/export all behaviour lumps in the game at will, and it's been my second-most important tool in mod-making so far. Granted it doesn't add new lumps, it can only replace existing ones, but it's still a very powerful and useful tool as is.
Mon, 24 Jul 2006 14:06:02

Crimson Wizard

Again, if JL meant what I think he meant, then this sound library - is a *.lib file (or number of *.c files) that are used in creation of Hexen.exe. It is NOT included in iwad. Thus you cannot extract it, unless you get some... err... C decompiler, if such exists. And AFAIK WinTex can create new lumps <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->
Mon, 24 Jul 2006 14:22:47

The 4th Class

Alright then, how to I get this magical sound library? Do I even need it? <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Mon, 24 Jul 2006 14:35:54

Crimson Wizard

That's the right question. If you are going to compile ORIGINAL HEXEN SOURCE (tm) <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> , then - yes, you do need it. And I dunno where to get it, sorry. Raven programmers know (or Id Sofware's maybe). <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->
Mon, 24 Jul 2006 14:40:03

The 4th Class

Funny, I always thought the sound library was all the lumps in the iwad. Because of all the different sound files in the resource, it's like a "library." <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> So what's the difference between them then?
Mon, 24 Jul 2006 14:47:43

Firebrand

Maybe Janis know the name of the library, if you get the name of it, Google it and you'll surely find the source or the compiled library, if you find the source, you can compile it and then use it with the original source <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->. As for the level boost you need, I don't think it's THAT much from what we have been talking, it's just that you need to practice what you know and investigate a bit on what you lack <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->, what you are doing so far, asking questions, it's a great way to learn <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->, I myself was a question machine on my programming classes, since I'm very interesting on it there's also a lot of good books out there that cover starter topics and some more complex stuff too <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->.
Mon, 24 Jul 2006 15:28:09

Crimson Wizard

[quote="The 4th Class":11nlyvm0]Funny, I always thought the sound library was all the lumps in the iwad. Because of all the different sound files in the resource, it's like a "library." <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> So what's the difference between them then? "Library", in relation to programming - is a module containing a set of functions, that is connected to your program either during compilation (so called 'static libraries') or during running executable ('dynamic libraries').
Mon, 24 Jul 2006 17:43:49

Janis Legzdinsh

They were using a proprietary library, you won't find it on web and it's definately not for sale anymore (there are plemty open source libraries so who needs it anyway).

Back to the Vavoom Forum Archives