8,979
edits
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) mNo edit summary |
||
| Line 157: | Line 157: | ||
The level import demo files can be downloaded [http://mods.oni2.net/node/299 HERE]. | The level import demo files can be downloaded [http://mods.oni2.net/node/299 HERE]. | ||
When you unpacked the folders shared and lab into the GameDataFolder your setup should look like this. With the shared folder in the GDF you can easily create more level projects. Be sure to update the build.cmd for these projects. | When you unpacked the folders shared and lab into the GameDataFolder your setup should look like this. With the shared folder in the GDF you can easily create more level projects. Be sure to update the build.cmd for these projects. | ||
{{Tree list}} | {{Tree list}} | ||
| Line 206: | Line 176: | ||
{{Tree list|end}} | {{Tree list|end}} | ||
build.cmd | Content of build.cmd | ||
OniSplit -create:level out lab.xml | ..\..\..\AE\Tools\OniSplit -create:level out lab.xml | ||
OniSplit -create:txmp out env | ..\..\..\AE\Tools\OniSplit -create:txmp out env\markers\*.tga | ||
REM use quote signs for | REM use quote signs for folders names the contain spaces | ||
OniSplit -create post-create-patches post-create-patches | ..\..\..\AE\Tools\OniSplit -create post-create-patches post-create-patches\*.xml | ||
copy /Y post-create-patches\*.oni out | copy /Y post-create-patches\*.oni out | ||
OniSplit -import:pc out .. | ..\..\..\AE\Tools\OniSplit -import:pc out ..\level3_Final.dat | ||
REM read error messages, close console with any key press | REM read error messages, close console with any key press | ||
pause | pause | ||
| Line 218: | Line 188: | ||
Oni.exe -noswitch | Oni.exe -noswitch | ||
Known issues of lab demo | Known issues of lab demo | ||
* Motocycle anim (OBAN) is to low | * Motocycle anim (OBAN) is to low | ||
* second scene block shows no motorcycle | * second scene block shows no motorcycle | ||
* uses an automated fix for updating TXMPgoo | * uses an automated fix for updating TXMPgoo | ||
Notes on packaging | |||
* Hit "build.cmd" to create .oni files. They will be stored in the "out" folder and can be used to make a new [[Making a mod package|AE package]]. | |||
* Normally, "TXMP_marker_door" and "TXMP_marker_ghost" will be missing in the "out" folder so we added a line to handle that as well. | |||
* The script continues to build level3_Final files and starts Oni so you can instantly test the level. That is much faster then using the AEInstaller. | |||
* To generate test archives for Macs, use the "-import:sep" argument instead of "-import:pc". | |||
==Troubleshooting== | |||
If the game crashes while loading at ~90% progress, be sure that the texture's x and y dimensions are powers of two: 64, 128, 256, 512…. | |||
If the game crashes while loading at ~50-60% progress, be sure that the BINACJBOCharacters or AISA file has a player character defined. | |||
If the game crashes while loading ~5-10% progress, check if all your textures were inside the "out" folder. | |||
:You can extract the AKEV file to XML, then search for the [[XML:AKEV#TXMA|TXMP Array]]. | |||
:[http://mods.oni2.net/system/files/AKEV_texture_checker.txt THIS] script checks which textures are missing by comparing the AKEV*.xml with its *.oni files folder. Change the two paths so that it works for you: Alt+4, insert code, then F5. | |||
==Terminology== | ==Terminology== | ||
edits