Pages: 1
Posted on 04-22-19, 03:27 pm
Paratroopa
Banned

Karma: 87
Posts: 108/145
Since: 03-04-13
I have a problem trying to convert a * .obj file when converting it gives me this error

The index was out of range.
It must be a non-negative value and less than the size of the collection.
Name of the parameter: index.

If anyone knows how I can solve it, please tell me the method.
Posted on 04-22-19, 07:06 pm
Red Paratroopa
Lul

Karma: 138
Posts: 38/161
Since: 10-17-18
Me too
_________________________
I'm working on a new project!
Posted on 04-22-19, 07:08 pm
Shyguy
Xenoblade is a must buy

Karma: 60
Posts: 61/84
Since: 02-21-19
but what kind of object?
Posted on 04-22-19, 08:27 pm (rev. 1 by  poudink on 04-22-19, 08:27 pm)
Giant Red Paratroopa
Not Edible

Karma: 3366
Posts: 858/1447
Since: 02-12-16
make sure all texture dimensions are powers of two.
example: 32x64 is okay but 50x100 isn't.
_________________________
Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m.

Posted on 04-23-19, 07:13 am
Paratroopa
Banned

Karma: 87
Posts: 109/145
Since: 03-04-13
poudink if you can give me an example with screenshots please ?
Posted on 04-23-19, 08:10 am
Red Paratroopa
Lul

Karma: 138
Posts: 40/161
Since: 10-17-18
 poudink i think the problem isn't with the textures. I tried with the moon coin from nsmb2 but i have the same error.
_________________________
I'm working on a new project!
Posted on 04-24-19, 09:44 pm
Giant Red Paratroopa
Not Edible

Karma: 3366
Posts: 860/1447
Since: 02-12-16
verify the textures anyway. the dimensions NEED to be powers of 2 or it won't work. it is possible the 3DS doesn't have that restriction and that the moon coin model uses textures with dimensions that aren't powers of 2.
luigui: not really something I can show in a screenshot. you know what a power of two is right? like, 2, 4, 8, 16, 32, 64, 128, 256, etc. Well, the textures need to have dimensions that are powers of two. I also forgot to mention, avoid texutures that are over 256 pixels wide or tall.
_________________________
Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m.

Posted on 04-25-19, 12:18 am
Paratroopa
Banned

Karma: 87
Posts: 110/145
Since: 03-04-13
but the textures of star coin of NSMB2 are of 16x16 pixels each one as I have to accommodate them so that I do not get that error and what name the texture folder must carry when converting the file * .obj ?
Posted on 04-26-19, 01:07 am
Giant Red Paratroopa
Not Edible

Karma: 3366
Posts: 864/1447
Since: 02-12-16
don't change the name of the texture folder or any file names for that matter. 16x16 should work fine. if it doesn't, then there's another problem.
_________________________
Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m.

Posted on 04-26-19, 06:55 pm (rev. 1 by Luigui3060 on 04-27-19, 06:25 pm)
Paratroopa
Banned

Karma: 87
Posts: 111/145
Since: 03-04-13
I tried everything but I have not managed to convert the file * .obj to * .nsbmd I have everything ready to convert the file * .obj, the file * .mtl and the folder with the name of "texture" but it does not work it still follows me the error ?

EDIT: I again converted the * .bcres files to * .obj using "3DS ohana" and tried to convert them to * .nsbmd and gave me another error

"The path can not be specified.
Name of the parameter: path. "

or something like that told me the dialog box and I do not know now why this error. ?
Pages: 1