RE: [hlcoders] rmf format

2002-02-15 Thread David Speyrer


Worldcraft uses MFC's CObject serialization system to read and write RMF
files. The RMF file holds runtime class type information so that the objects
can be automatically constructed as the file is read. After each runtime
class block are the raw data members of each object. There's no metadata
describing the data fields, so the format is very sensitive to changes in
file layout, meaning Worldcraft typically crashes if something is wrong with
the data.

There is a header block that identifies the file as an RMF and has a format
version number. The differences in the formats are all described by the
parsing code, but we don't have a separate document that describes them. I'd
recommend using the MAP file format if at all possible to accomplish your
goals.  :)

-- David

-Original Message-
From: Jeff Fearn [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 5:15 PM
To: [EMAIL PROTECTED]
Subject: [hlcoders] rmf format


Does anyone know the file layout for worldcrafts rmf format? Also does
anyone know the differences between the file layouts for wc2 map files and
wc3 map files?

Thanks, DarthBobo.
___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




Re: [hlcoders] rmf format

2002-02-15 Thread Jeff Fearn

 Worldcraft uses MFC's CObject serialization system to read and write RMF
 files. The RMF file holds runtime class type information so that the
objects
 can be automatically constructed as the file is read. After each runtime
 class block are the raw data members of each object. There's no metadata
 describing the data fields, so the format is very sensitive to changes in
 file layout, meaning Worldcraft typically crashes if something is wrong
with
 the data.

 There is a header block that identifies the file as an RMF and has a
format
 version number. The differences in the formats are all described by the
 parsing code, but we don't have a separate document that describes them.
I'd
 recommend using the MAP file format if at all possible to accomplish your
 goals.  :)

 -- David

ohhh lots of juicy info :) I was going to convert it to map format, just for
fun :}

Jeff.

___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




Re: [hlcoders] rmf format

2002-02-15 Thread Marc Cabanatuan

Is there a way to encrypt a compiled map or CRC it so that it can only be
run on a specific server without the use of a server-side (3rd party) DLL?
For example, I have heard that the nao_ maps on GirlPower2 and some of the
newer maps for TheSillyZone (both TFC Servers) have this so that the maps
cannot be run on other servers. If this is possible, how so?
- Original Message -
From: Jeff Fearn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 15, 2002 9:23 PM
Subject: Re: [hlcoders] rmf format


  Worldcraft uses MFC's CObject serialization system to read and write RMF
  files. The RMF file holds runtime class type information so that the
 objects
  can be automatically constructed as the file is read. After each runtime
  class block are the raw data members of each object. There's no metadata
  describing the data fields, so the format is very sensitive to changes
in
  file layout, meaning Worldcraft typically crashes if something is wrong
 with
  the data.
 
  There is a header block that identifies the file as an RMF and has a
 format
  version number. The differences in the formats are all described by the
  parsing code, but we don't have a separate document that describes them.
 I'd
  recommend using the MAP file format if at all possible to accomplish
your
  goals.  :)
 
  -- David

 ohhh lots of juicy info :) I was going to convert it to map format, just
for
 fun :}

 Jeff.

 ___
 To unsubscribe, edit your list preferences, or view the list archives,
please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlcoders


___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders