Talk:Modifying an existing level: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 70: Line 70:


The "on load" event of the LevelRecycler should automatically update an overview of existing levels:
The "on load" event of the LevelRecycler should automatically update an overview of existing levels:
* Level0_Final.dat stores all ONLD with more meaningful level names.
* Level0_Final.dat stores all ONLD with more meaningful level names. Map them with help of DAT file names. With those extracted files, a list for modders can be built to easily identify the level they want to recycle.
* Each non-zero level DAT-archive stores an ONLV file.
* With those extracted files, a list for modders can be built to easily identify the level they want to recycle.


  // shortened paths
  // shortened paths
  OniSplit -export:ONLD* ONLD level0_Final.dat
  OniSplit -export:ONLD* ONLD level0_Final.dat
  OniSplit -extract:xml ONLD ONLD/*.oni
  OniSplit -extract:xml ONLD ONLD/*.oni
  for each non-zero DAT
  for each valid ONLD DAT pair
      OniSplit -export:ONLV* ONLV ....dat
    OniSplit -export:ONLV* ONLV ....dat
  OniSplit -extract:xml ONLV ONLV/*.oni
  OniSplit -extract:xml ONLV ONLV/*.oni


  dat file name, BSL script folder, level name
  dat file name, BSL script folder, ''natural'' level name
  ----------------------------------------------
  ----------------------------------------------
  level1_Final.dat, ONLV<Name>, ONLD<DisplayName>
  level1_Final.dat, ONLV<Name>, ONLD<DisplayName>
8,914

edits