Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » I just discoverda major leveledit bug
I just discoverda major leveledit bug [message #81601] Mon, 19 April 2004 06:31 Go to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Aparently, leveledit doesnt read w3d files (and mabie other files, dont know) from always2.dat.

This, combined with another bug that causes leveledit to crash if you insert a preset where the w3d file doesnt exist into the level is why attempting to insert

The solution is to put the w3d files into a file leveledit can see (for example, a good quick-fix is to copy always2.dat to temp.mix which will then be read be leveledit)

It might be possible to fix the core leveledit bug via a binary patch to leveledit.exe that modifies the code to load always2.dat (I think I know what the new code would need to do, its just a matter of finding somewhere to stick it)


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
I just discoverda major leveledit bug [message #81605] Mon, 19 April 2004 07:07 Go to previous messageGo to next message
Slash0x is currently offline  Slash0x
Messages: 455
Registered: January 2004
Location: California
Karma: 0
Commander
Nice, but all I did is just take out the *_w.* and it works fine because in the MIX, it still reads from the always2.dat (being a Renegade preset). Very Happy

L3T'5 4LL THR0W 3GG5 4T D4 N00B! Smile
I just discoverda major leveledit bug [message #81620] Mon, 19 April 2004 09:02 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
This is actually old...

But guess what causes Renegade to load slowly? It is because of always2.dat.
It makes the game load the files twice.
I just discoverda major leveledit bug [message #81621] Mon, 19 April 2004 09:05 Go to previous messageGo to next message
Aircraftkiller is currently offline  Aircraftkiller
Messages: 8213
Registered: February 2003
Karma: 0
General (5 Stars)
No it doesn't. Always2.dat has nothing to do with it. We had one for RA a while back and we still loaded in less than three seconds, like usual.
I just discoverda major leveledit bug [message #81626] Mon, 19 April 2004 09:55 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
Try moving always2.dat way from regular Renegade Data directory and see what happens.
I just discoverda major leveledit bug [message #81628] Mon, 19 April 2004 09:58 Go to previous messageGo to next message
Dante
Messages: 1039
Registered: February 2003
Karma: 0
General (1 Star)
you can hex edit the leveledit.exe,

change

"always.dat"

to

" *.dat"
and it will read it properly, i did this ages ago, but didn't release it due to problems with licensing etc... but now that this isn't really an issue, thats how to fix it. it will also read any .dat file as well, the game.exe could be patched to do the same, but really no point there...


its a simple filter setting, not anything major, if you look you will see that there is a *.pkg, *.mix, C&C_*.mix, etc.. in there that checks for certain naming conditions on the levels. another example is the Skirmish*.mix loading.


I just discoverda major leveledit bug [message #81661] Mon, 19 April 2004 12:50 Go to previous messageGo to next message
Slash0x is currently offline  Slash0x
Messages: 455
Registered: January 2004
Location: California
Karma: 0
Commander
What "exactly" does the always2.dat do anyways? Just to store "new" information? Or a patch type thing?

L3T'5 4LL THR0W 3GG5 4T D4 N00B! Smile
I just discoverda major leveledit bug [message #81732] Mon, 19 April 2004 18:42 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Basicly, always2.dat is a file that westwtood created to store data that they needed to add/upgrade after they had shipped Renegade.
They added it because modifiying always.dat would have taken too long on a slow machine.


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
I just discoverda major leveledit bug [message #81784] Mon, 19 April 2004 20:24 Go to previous messageGo to next message
SomeRhino is currently offline  SomeRhino
Messages: 260
Registered: February 2003
Karma: 0
Recruit
Heh, I guess that's why I could never get LevelEdit to work with SoleSurvivor resources, and had to run several instances of it to export levels. I wish I read this before spending hours exporting all 64 levels today. Maybe now I can make some tools for creating levels though, even if it is a bit late to use them myself.

I just discoverda major leveledit bug [message #81947] Tue, 20 April 2004 16:14 Go to previous message
Dante
Messages: 1039
Registered: February 2003
Karma: 0
General (1 Star)
get that dev version of Level_Edit that is floating around, it has a batch export for .mix files Wink

Previous Topic: Resizing weapon models
Next Topic: leveledit bugs to fix/feature ideas
Goto Forum:
  


Current Time: Sat Sep 14 19:23:28 MST 2024

Total time taken to generate the page: 0.01076 seconds