Error packing WC mission

casperXJ

Spaceman
OK...I have written a mission called z1.mis which I want to play off the flight history screen. I have written a series file named within.srs, which included these lines:

...
const
MISSION_Z1 = 0,
...
function MCP;
begin
MCP_RunMission(MISSION_Z1);
...

Also, I have written a CDLAYOUT file with these lines:

CHUNK "VERI"
{
long 1
}
CHUNK "LIST"
{
long 0 //mission number
long 1 //CD number
cstring "z1.mis" //mission file
cstring "silence" //music file
long 1 //number of mission name string
long 15 //unknown
}

I have put "Goddard 100.1: Reception" in string #1 of language\MSNAMES.ENG, and I have changed the SO executable to run off the "within" series.

When I run the executable, it shows the SO splash screen, then gives me this error:

Iff::Iff open file 'mission\' not found and not optional

What am I doing wrong?

Edit: I have also written a z1.iff file with these lines:

{
FORM "MISN"
{
CHUNK "NAME"
{
long 0
}
FORM "MOBJ"
{
CHUNK "NUMO"
{
long 1
}
CHUNK "MOBJ"
{
long 0
long 1
long 30
long 30
long 2
long 0
long 1
long 1
long 0
}
}
}

I get the same error. Can anyone help?
 
Top