Jump to content

Talk:Modifying an existing level: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Idea==
To convert an extracted ONLV into a new project file you need even more in-depth knowledge about the file structure than for simply building a level project file from scratch.
To convert an extracted ONLV into a new project file you need even more in-depth knowledge about the file structure than for simply building a level project file from scratch.


Line 10: Line 11:
# BSL analysis to create FILM and cut scene sections?
# BSL analysis to create FILM and cut scene sections?


==AE package==
mods.oni2.net
  |
  +-- LevelRecycler.zip
      |
      +-- #####packageName
            |
            +-- Mod_Info.cfg
            +-- plain
                |
                +--win_only
                    |
                    +--Tools
                        |
                        +-- LevelRecycler
                              |
                              +-- icon.png (32 x 32 px)
                              +-- LevelRecycler.exe


'''Mod_Info.cfg'''
AEInstallVersion -> 2.0
NameOfMod -> Level Recycler
Creator ->
ModVersion ->
Readme ->
ExeName -> Tools/LevelRecycler/LevelRecycler.exe
WorkingDir -> Exe
IconName -> Tools/LevelRecycler/icon.png
==Startup==
  Oni
  Oni
   |
   |
Line 17: Line 47:
       +-- Tools
       +-- Tools
       |    |
       |    |
       |    +-- Onisplit
       |    +-- OniSplit.exe
       |    +-- LevelRecycler
       |    +-- LevelRecycler
      |        |
      |        +-- icon.png
      |        +-- LevelRecycler.exe
       |
       |
       +-- GameDataFolder
       +-- GameDataFolder
Line 31: Line 64:
                 +-- ''BSL script folders''
                 +-- ''BSL script folders''


Level0_Final.dat stores all ONLD with more meaningful level names. 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.
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.
* 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
Line 45: Line 81:


As soon as the modder has selected the preferred level, it should be a one-click operation to carry out the recycling.
As soon as the modder has selected the preferred level, it should be a one-click operation to carry out the recycling.
==Less write operations==
With each onload event the ONLV and ONLD would get extracted. To reduce somewhat the amount of write operations an xml cache file could be used to feed the program's overview table. If the DAT files are older then no new extractions are done.
8,480

edits