Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » what is the correct loadorder for renegade data files?
what is the correct loadorder for renegade data files? [message #180460] Sat, 26 November 2005 05:45 Go to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

The game seems to load the files in this order: (i.e. it calls a function that, from what I can tell, loads the mix file and adds its contents ready for renegade to find it)
always2.dat
always.dbs
always.dat
*.mix

But leveledit loads them like this
always.dat
always.dbs
*.mix

What is the actual correct loadorder?
Is game.exe loading them in the correct order (one would assume that whatever order game.exe is using IS the "correct" order).
Assuming the game.exe order is correct, what order should leveledit be using?


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: what is the correct loadorder for renegade data files? [message #180475 is a reply to message #180460] Sat, 26 November 2005 08:11 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
im not sure it actually matters so long as all the files from the always.dat etc are preloaded into memory before it opens the mix...

http://steamsignature.com/card/1/76561197975867233.png
Re: what is the correct loadorder for renegade data files? [message #180531 is a reply to message #180460] Sat, 26 November 2005 22:25 Go to previous message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma: 0
Recruit
I would think the game.exe is correct, because it allows files in the always2.dat to take priority over files in the always.dat. In my understanding, that's the whole purpose of the always2.dat. It lets you update game assets without having to touch the bloated, troublesome always.dat. I'm not sure if it matters where the always.dbs falls in the order, since it probably shouldn't include files that would conflict with the other stuff.

In my opinion the proper load order for Level Edit would be:

-Individual files in the Data folder
-always2.dat
-always.dat
-always.dbs
-*.mix

And it would be great if it warned you on export if the files were coming from the Data folder or another .mix. It would make checking for missing textures a lot easier.


NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond

[Updated on: Sat, 26 November 2005 22:27]

Report message to a moderator

Previous Topic: mod tools bug fixes & enhancements
Next Topic: Whole Community Woking Together
Goto Forum:
  


Current Time: Tue May 21 02:46:14 MST 2024

Total time taken to generate the page: 0.00608 seconds