Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Yokai

Loading external DDF with EDGE

Recommended Posts

Hi there.

I'm trying to load an external DDF file for EDGE.

Lets say my DDF is "foo.ddf" into a folder "bar". This DDF has a monster definition that works well if I include it into "things.ddf"

EDGE seems to provide two command line arguments to load external/additional DDFs:

-ddf   <dir>         Load external DDF files from the directory.
-game  <dir>         Game dir, for PARMS, DDF, RTS, WADs, etc.
But none of them seems to work.
It returns me "Missing languages!" error just upon launching EDGE.
I tried copying all languages .ldf files, but I get the same error again.

Is there any way to solve this without replacing the original EDGE things.ddf?




Thanks in advance.

Share this post


Link to post

Your DDF file needs to be named according to what it is replacing. So, if it is Things.DDF, it needs to be named as such (etc). You need to provide all DDFs in the folder at the same time, or convert it into an internal lump. External directories cannot process individual DDFs, only internal wads can.

Attach your EDGE or EDGE2 log if possible.

Share this post


Link to post
Chu said:

Your DDF file needs to be named according to what it is replacing. So, if it is Things.DDF, it needs to be named as such (etc). You need to provide all DDFs in the folder at the same time, or convert it into an internal lump. External directories cannot process individual DDFs, only internal wads can.

Attach your EDGE or EDGE2 log if possible.


Following your instructions, I copied all the DDFs into my custom folder. Then I replaced the things.ddf with my own things ddf, where the only thing defined is a modified zombieman. This is, the only contents in my DDF is the 'ZOMBIEMAN:3004' thing.

But when loading edge, I don't get any more missing DDFs but EDGE doesn't seem to read the original DDFs at all, so it crashes with a

"Unknown thing type: CLIP
Error occurred in entry: [ZOMBIEMAN] (things.ddf)"
like if he doesn't even knows that Clip thing is already defined withing the original edge_ddf/things.ddf.


What I need is to just tell EDGE to use the 'ZOMBIEMAN:3004' that I provide in my custom things.ddf, and replace the original zombieman with my own zombieman.


It seems that the only solution is to use the DDF from within a .WAD? Or is there any other solution?

I know zDoom allows loading external scripts with a simple command line argument without any trouble. I guess if EDGE has/will have this aswell.

Thanks.

Share this post


Link to post

I think it should work if you run EDGE 1.35 (or later) and use -file option with your DDF file, for example:

edge -file somewad.wad foo.ddf -warp map01

Share this post


Link to post
andrewj said:

I think it should work if you run EDGE and use -file option with your DDF file, like this:

edge -file somewad.wad foo.ddf -warp map01



Actually, I found what the problem was.
The '<THINGS>' marker was missing. Now doing only

edge -file foo.ddf
works.

I don't even need to copy all other DDFs.

Thanks for help anyway.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×