NadeoImporter [update 2019/10/09]

Discuss everything related to custom data creation.

Moderator: NADEO

ScavangeR
Posts: 69
Joined: 09 Nov 2010, 03:29

Re: NadeoImporter (Updated !)

Post by ScavangeR »

Hi guys,

I'm still freakin stuck with the include materials library... I'm literally going mad at this... Each time I try to import i got this error:

Code: Select all

Material not found in library : Floor
And this with ALL materials...

I really dont get it cause I did the material list, and in this we have:

Code: Select all

Floor
Uv Layers : Lightmap
Used Textures : Floor_D.dds, Floor_X2.dds, Floor_S.dds, Floor_HX2.dds, Floor_N.dds
I'm almost ready to explode :evil: ... :/

I'm still working on Blender and here are my materials settings:

http://imageup.fr/uploads/1370009325.jpeg

I hope someone will spot my error (I'm sure it's my fault hu... I'm a bit stupid)
If you need more informations to spot my error, ask me...

I rly hope someone will be able to save me ...
User avatar
clem_the_geek
Posts: 52
Joined: 26 Dec 2012, 12:21
Location: France

Re: NadeoImporter (Updated !)

Post by clem_the_geek »

In facts, I made my models in SketchUp, then imported them in Blender as .DAE files, and used the scale I said before
User avatar
TitiShu
Posts: 372
Joined: 27 Feb 2012, 23:31
Location: Belgique

Re: NadeoImporter (Updated !)

Post by TitiShu »

ScavangeR wrote:Hi guys,

I'm still freakin stuck with the include materials library... I'm literally going mad at this... Each time I try to import i got this error:

Code: Select all

Material not found in library : Floor
And this with ALL materials...

I really dont get it cause I did the material list, and in this we have:

Code: Select all

Floor
Uv Layers : Lightmap
Used Textures : Floor_D.dds, Floor_X2.dds, Floor_S.dds, Floor_HX2.dds, Floor_N.dds
I'm almost ready to explode :evil: ... :/

I'm still working on Blender and here are my materials settings:

http://imageup.fr/uploads/1370009325.jpeg

I hope someone will spot my error (I'm sure it's my fault hu... I'm a bit stupid)
If you need more informations to spot my error, ask me...

I rly hope someone will be able to save me ...
With Command Line you need to use the same Collection (at the end of your line) than your .fbx folder (Storm, SMCommon)
With Convert Assistant, after drag and drop clic on the collection tab and select the correct collection
OS:Windows 8.1 x64
CPU: i5 2500k
RAM: 2x4Go G.Skill Ares
GPU: MSI GTX570
Board: Asus P8Z68-V LX
HDD: WD Green + WD Black
SSD: Crucial M4 64Go
Sound: Realtek (onboard)
Peripherals: Mouse G700 - Keyboard G19 - Headset Roccat Kave
User avatar
clem_the_geek
Posts: 52
Joined: 26 Dec 2012, 12:21
Location: France

Re: NadeoImporter (Updated !)

Post by clem_the_geek »

You didn't rename the texture :
http://www.hapshack.com/images/PpeBt.png
Name them as the first line in the library (fr example : "Floor" for the first)
ScavangeR
Posts: 69
Joined: 09 Nov 2010, 03:29

Re: NadeoImporter (Updated !)

Post by ScavangeR »

Got it working with the titishu methode (with the new convert assistant wich i didnt noticed the update ^^')

Still have to figure how to scale @export in blender and my pack will drastically lose weight \o/
Zaiks
Posts: 47
Joined: 10 Sep 2011, 15:06

Re: NadeoImporter (Updated !)

Post by Zaiks »

I've been searching through this thread for quite some time now and still haven't found an answer to this question:
In the newest version of NadeoImporter, what's the syntax to import just normal 3d objects into the Blocks folder?
NadeoImporter Object Canyon\cube\cube.fbx triggers the syntax help, which doesn't list Object as a valid syntax.

I've tried replacing Object with StaticObject and MeshStatic like this:
NadeoImporter StaticObject Canyon\cube\cube.fbx
NadeoImporter MeshStatic Canyon\cube\cube.fbx

Both trigger the "must be in \Items" error message, but if I put them there they end up as items.
I'm still using the old importer as a workaround, but it would be nice to know how to use the new one.
ScavangeR
Posts: 69
Joined: 09 Nov 2010, 03:29

Re: NadeoImporter (Updated !)

Post by ScavangeR »

damien wrote: 0. Preambule
We can now import various type of assets (car skins, character skins, static objetcs, dynamic objects) using the folder convention. because of that, all the source assets must be located now in {maniaplanet_user_dir}\Work. there is no longer a "Workblocks" objects.
[...]
In maniaplanet terminology, static objects, dynamic objects (and even characters or cars (not skins)) are all "items" of different types.
I guess the old "Object" folder is now outdated anyway. Keep it for your old blocks but you now have to use the Items folders ;)

Btw, I have some new troubles... I finnally managed to get my object with embded material library working for me, but if i put them in a pack and try to use them, my game keep crashing.

I can selects them in the folder/subfolder, the object is displayed in the editor, but when i click to place it, the game close. Any ideas ?



EDIT:

Solved. In facts I had to add manually the .shape.gbx in the xml files to get it working because the nadeo IG tool didnt displayed it ... Hope it can help, and pray for a better tool in futur ...
Fix
Nadeo
Nadeo
Posts: 1256
Joined: 14 Jun 2010, 17:28

Re: NadeoImporter (Updated !)

Post by Fix »

Damien is in vacations, I have had some folders issues as well, we'll sort it out when he returns.
Here are some troubles I encountered that may help you :

in my xml, I had to change
<Item Type="DynamicObject"> into
<Item Type="DynaObject">

<Mesh File="blabla.gbx"/> into
<Mesh MeshName="blabla.gbx"/>

But as I was not using the nadeo importer with the maniaplanet.exe, I'm not sure it's the same for you (whatever the answer is, it's good to know).
Zaiks
Posts: 47
Joined: 10 Sep 2011, 15:06

Re: NadeoImporter

Post by Zaiks »

I still can't get this to work with the new importer. It imports the files just fine, doesn't give any errors, yet the items don't appear ingame. I've probably got some part of the import process or file/folder structure wrong, help is much appreciated.

This is my source folder:
Image

This is the target folder:
Image
This folder, the texture folder(with textures) and the .gbx files were generated by NadeoImporter. I created the .xml file and Icon folder(with a 64x64 png icon).

And this is my .xml file:

Code: Select all

<Item Type="StaticObject" Collection="Canyon">
   <Phy>
      <MoveShape Type="mesh" File="cube2.Shape.gbx"/>
   </Phy>
   <Vis>
      <Mesh File="cube2.Mesh.gbx"/>
   <GridSnap HStep="8" VStep="4" />
</Item>
I used ConvertAssistant to import the object, I've posted the log below:

Code: Select all

0-cube2.fbx : Converted successfully - 
C:\Program Files (x86)\ManiaPlanet> NadeoImporter.exe MeshStatic Items/cube2/cube2.fbx /Collection="Canyon"
NadeoImporter 2013-05-13_10_09
Created :user:\Items\cube2\cube2.Mesh.gbx
Created :user:\Items\cube2\cube2.Shape.gbx
I've also tried the same syntax with cmd.exe; same result.

Again, it works if I use the old NadeoImporter that puts the files in the Blocks folder. The old importer also generates a .ObjectInfo.gbx file, which I haven't seen with the new structure.

EDIT: I've got it partly working now. Apparently the target "Items" folder was missing the .item.gbx file. Is this generated based on the .xml file in the source folder?

Zaiks wrote:1) The object doesn't scale ingame.

I've set the Blender units to metric. The first cube I imported measured 2x2x2 meters in Blender; when imported with the old NadeoImporter it was about the size of the Canyon car. The second cube (cube2) measured 250x250x250 meters in Blender, its ingame size is identical to the first cube. I've had a few instances of miniature cubes too. I'll keep trying.
This works now; apparently 2.5km in Blender = 25 meters ingame. Set the Units to Metric and the Scale to 0.01, and it works approximately 1:1 with the ingame scale.

I've still got one issue:

2) The objects icons don't appear ingame; white-gray-black gradients show up instead.
User avatar
faserg1
Posts: 446
Joined: 06 Jul 2011, 19:54
Location: Russia
Contact:

Re: NadeoImporter

Post by faserg1 »

File structure in import folder must be like here:
+Work (folder)
=+Items (folder)
==+[Item name] (folder)
===[Item name].Item.xml
===+Icon (folder)
====[Item name].tga
===+Meshes
====[Name writen in xml file].fbx
====+Texture (folder)
===== (textures)

Icon must be an tga-24bit format or png (8 bit mode I think).

Item.gbx generating from Item.xml and containts Icon.
Есть вопросы? Только скайп - faserg1.
Image
Жизнь - это динамика ритма. Life is dynamic of rhythm.
Post Reply

Return to “Title Pack & Custom Data Creation”

Who is online

Users browsing this forum: No registered users and 1 guest