I just discoverda major leveledit bug [message #81601] |
Mon, 19 April 2004 06:31 |
|
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 #81628] |
Mon, 19 April 2004 09:58 |
|
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.
RenEvo
|
|
|
I just discoverda major leveledit bug [message #81661] |
Mon, 19 April 2004 12:50 |
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!
|
|
|
I just discoverda major leveledit bug [message #81732] |
Mon, 19 April 2004 18:42 |
|
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
|
|
|
|
|