Modding errors: Difference between revisions

From OniGalore
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 19: Line 19:
Animations with more than 107 keys per bone crash the game. You can import animations with more than 107 frames if the keys cover multiple frames.
Animations with more than 107 keys per bone crash the game. You can import animations with more than 107 frames if the keys cover multiple frames.
: For example 12 frames ''<EKey><font style="color:#00AA00">'''12'''</font> -156.628983 -14.6175327 -78.3831558</EKey>''
: For example 12 frames ''<EKey><font style="color:#00AA00">'''12'''</font> -156.628983 -14.6175327 -78.3831558</EKey>''
Such ''range'' is produced when your Mod Tool is accordantly set up.
Such ''range'' and EKeys are produced by an older onisplit version. See [[#TRAM-related|HERE]].
===missing texture (TXMP)===
===missing texture (TXMP)===
The texture is either missing, or the texture name and the link in [[OBD:TRMA|TRMA]] are unequal.
The texture is either missing, or the texture name and the link in [[OBD:TRMA|TRMA]] are unequal.
Line 35: Line 35:
==onisplit error messages==
==onisplit error messages==
===TRAM-related===
===TRAM-related===
* ''COLLADA error: dublicate id light'' - Maybe your dae file has more than one root scene. In this case you can right-click the model (that selects all 19 bones), then you go to the crosswalk seettings, check "Selection Only" and save the file.
* ''.dae files cannot be imported as TRAM'' - Newer onisplit versions doesn't seem to support "-create:tram" any longer. If you use that command download an older version. [http://dl.dropbox.com/u/139715/OniGalore/OniSplit_0.9.41.0.zip v0.9.41.0]
* ''.dae files cannot be imported as TRAM'' - Newer onisplit versions doesn't seem to support "-create:tram" any longer. If you use that command download an older version. [http://dl.dropbox.com/u/139715/OniGalore/OniSplit_0.9.41.0.zip v0.9.41.0]

Revision as of 18:07, 3 March 2011

You might use the browser's search function to quickly find an error text.


Unfinished building-60px.jpg

This page is unfinished. Can you fill in any missing information?
If it is not clear which part of the page is unfinished, ask on the talk page.

frequently asked questions

  • Why does Oni crash on game start?
What did you worked on? TRAM?
You are using a mod with bgra32 textures and an old engine that doesn't support bgra32.
  • Why can't I convert TRAMs?
See HERE if you use "-create:tram".

binary errors

crash on game start

... due to overloaded animation

Animations with more than 107 keys per bone crash the game. You can import animations with more than 107 frames if the keys cover multiple frames.

For example 12 frames <EKey>12 -156.628983 -14.6175327 -78.3831558</EKey>

Such range and EKeys are produced by an older onisplit version. See HERE.

missing texture (TXMP)

The texture is either missing, or the texture name and the link in TRMA are unequal.

missing animation collection (TRAC)

missing 3D model (TRBS)

dev mode error messages

  • throwtarget was NULL - The throw target animation was not found.

BSL errors

  • Func "main", File "(called from engine)", Line 0: semantic error, function "main" does not exist - Function "main" wasn't found in any bsl file. (This can also happen with any other function.)
  • Func "(null)", File "test.bsl", Line 3: semantic error, Identifier "main" already declared - In this case the function "main" is double, it can be found in the file "test.bsl" at line 3. (It's not the first but the last line of the double function.)
  • Func "(null)", File "main.bsl", Line 1: Illegal token, got "func" expected ";" - The variable declaration didn't ended with a semicolon.

onisplit error messages

TRAM-related

  • COLLADA error: dublicate id light - Maybe your dae file has more than one root scene. In this case you can right-click the model (that selects all 19 bones), then you go to the crosswalk seettings, check "Selection Only" and save the file.
  • .dae files cannot be imported as TRAM - Newer onisplit versions doesn't seem to support "-create:tram" any longer. If you use that command download an older version. v0.9.41.0