Duke4.net Forums: How to specify additional CON files? - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to specify additional CON files?

#1

Is there another way of loading custom CON files ? Until now, I've simply hacked GAME.CON to add an include at the very end of the file but it seems a shame to have to do it this way.

The wiki mentions a command line option to specify additional CON file(s) but most of the time I'll be launching Eduke32 from within Mapster32 so can't specify a command line.

DEF files can include CON files but I think it is only a subset of the CON language (in the same way that you can include names.h but I doubt Eduke has a built in full blown C compiler :) )

TTFN,
Jon
0

User is offline   Kyanos 

#2

You can edit mapster.cfg to run a bat file for starting the game.
0

User is offline   LeoD 

  • Duke4.net topic/3513

#3

View PostThe Mechanic, on 16 November 2015 - 05:49 AM, said:

Is there another way of loading custom CON files ? Until now, I've simply hacked GAME.CON to add an include at the very end of the file but it seems a shame to have to do it this way.
Yes. If present, EDUKE.CON takes precedence over GAME.CON. So make an EDUKE.CON like:
include GAME.CON
include MY.CON

1

#4

View PostLeoD, on 16 November 2015 - 06:05 AM, said:

Yes. If present, EDUKE.CON takes precedence over GAME.CON. So make an EDUKE.CON like:
include GAME.CON
include MY.CON



Cheers LeoD.

This enables me to keep all CON related stuff in a subdirectory too :)

TTFN,
Jon
0

User is offline   Danukem 

  • Duke Plus Developer

#5

Also check these command line options, which can be used on a shortcut or on a .bat file: http://wiki.eduke32....nd_line_options

In particular, you want -x[name_of_your_main_con_file]

The advantage of that is that it will still work, even if someone already has an EDUKE.CON in their folder. The disadvantage is that people can't start your mod by clicking on the executable.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options