Hello! I was wondering if there was a QuakeC Compiler that compiled the QC while also generating a progdefs.q1 file (for the engine).
I need this because I started re-coding QC from scratch since I don't need a lot of Quakes original code and it was taking up a lot of unnecessary space. (500kb slimmed down to 40kb)
I did some google searches and from what I gather the original QCCompiler does this, but I couldn't get it to compile in dosbox. :? Anyone know a newer compiler that could do this for me?
Thanks for the help!
Program that compiles QC and progdefs.q1 ?
-
- Posts: 50
- Joined: Sun Oct 13, 2013 7:53 pm
Re: Program that compiles QC and progdefs.q1 ?
fteqcc -progdefs
will write out a progdefs.h file
I do urge you to consider the ramifications of the change. Your engine will not be able to load vanilla/third party mods, and your mod will not work in other engines. There isn't any going back (or there is, but there's a heck of a lot of work involved and defeats the point in the exercise)...
will write out a progdefs.h file
I do urge you to consider the ramifications of the change. Your engine will not be able to load vanilla/third party mods, and your mod will not work in other engines. There isn't any going back (or there is, but there's a heck of a lot of work involved and defeats the point in the exercise)...
-
- Posts: 50
- Joined: Sun Oct 13, 2013 7:53 pm
Re: Program that compiles QC and progdefs.q1 ?
Honestly it's better this way since this mod is using my own custom engine built from the Quartal engine (or Kurok). Plus it's for PSP and so there really is no engine alternatives for PSP mods. It's also good because my mod isn't really going to be meant for other people to mod it. Thanks for your feedback! And the progs work great in game now. (insane speed difference)Spike wrote:fteqcc -progdefs
will write out a progdefs.h file
I do urge you to consider the ramifications of the change. Your engine will not be able to load vanilla/third party mods, and your mod will not work in other engines. There isn't any going back (or there is, but there's a heck of a lot of work involved and defeats the point in the exercise)...
Re: Program that compiles QC and progdefs.q1 ?
if you're not retaining compat in any way, and rewriting the gamecode from scratch, you might actually be better off ditching qc entirely. Some native oo-esque language like c++ should run faster. This would require updating the entire engine with each gamecode change however, I don't know how annoying that may / may not be with the psp.
-
- Posts: 96
- Joined: Thu Dec 15, 2011 1:00 pm
Re: Program that compiles QC and progdefs.q1 ?
i always used frikqcc for generating progdefsSpike wrote:fteqcc -progdefs
will write out a progdefs.h file
I did not know about -progdefs
ScatterBox,it looks like you want to combine DQuakePlus and Quartal Engine for this
http://www.youtube.com/watch?v=niBHG3whTtU
Sorry for my english