thread: .lvl files
View Single Post
  #324  
01-05-2008, 10:22 AM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 20
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

Because you also need its resource ID, the easiest way of switching them would be to just rename the files and recreate the lvl file since the offsets and file sizes would also be wrong if you just hex'ed the name to somthing else.
Also if you switch them like that it prob still won't work cause there is tons of stuff thats hardcoded into the game, which is a very poor way of doing things and also why the game exe is so huge
One way of doing it might be to edit the path file, im not sure if that would be possible either (yet) cause each "section" has an id, and the id is an index into a function pointer table, each function has a set of files it will load, so there are some tight restrictions..
Although at least the files seem to be grouped logically, e.g if slog.bnd is loaded so is slogblow.bnd metalexplosion.bnd or whatever etc..
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote