Program that compiles QC and progdefs.q1 ?
Moderator: InsideQC Admins
5 posts
• Page 1 of 1
Program that compiles QC and progdefs.q1 ?
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!
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.
Thanks for the help!
-

ScatterBox - 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)...
- Spike
- Posts: 2892
- Joined: Fri Nov 05, 2004 3:12 am
- Location: UK
Re: Program that compiles QC and progdefs.q1 ?
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)...
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.
-

ScatterBox - Posts: 50
- Joined: Sun Oct 13, 2013 7:53 pm
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.
- Spike
- Posts: 2892
- Joined: Fri Nov 05, 2004 3:12 am
- Location: UK
Re: Program that compiles QC and progdefs.q1 ?
Spike wrote:fteqcc -progdefs
will write out a progdefs.h file
i always used frikqcc for generating progdefs
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 
- Max_Salivan
- Posts: 93
- Joined: Thu Dec 15, 2011 1:00 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest