Jump to content

-- Unable to convert: undefined to type: String


Incama

Recommended Posts

Solution to the following error:
-- Unable to convert: undefined to type: String

Anyone having problems importing dffs (exported from blender ) into 3ds max should change the following file: **DFFimp.ms**

from this (line 136):

Quote

fn Byte2char thisbyte = (
    char = " ! #$%& ()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ abcdefghijklmnopqrstuvwxyz"
    t = thisbyte - 31
    if t > 91 then t = 4
    return char[t]
)

to this:
 

Quote

fn Byte2char thisbyte = (
    char = " ! #$%& ()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ abcdefghijklmnopqrstuvwxyz"
    t = thisbyte - 31
    if t > 91 then t = 4
    if t < 0 then t = 4
    return char[t]
)


 

Applicable to Goldfish's 3ds max script.

  • Like 1
Link to comment
  • 5 months later...
  • 4 weeks later...
  • Administrators

Thanks for posting this :thumbright:

  

On 26/07/2023 at 23:29, Lahatasy said:

where i can find the file DFFimp.ms

It's usually at C:\Program Files\Autodesk\3ds Max xxxx\scripts\GTA_Tools(GF)

Edited by Tut
Link to comment
On 21/08/2023 at 14:39, Tut said:

Thanks for posting this :thumbright:

  

It's usually at C:\Program Files\Autodesk\3ds Max xxxx\scripts\GTA_Tools(GF)

 

On 24/02/2023 at 01:21, Incama said:

Solution to the following error:
-- Unable to convert: undefined to type: String

Anyone having problems importing dffs (exported from blender ) into 3ds max should change the following file: **DFFimp.ms**

from this (line 136):

to this:
 


 

Applicable to Goldfish's 3ds max script.

how do i open the mse file? (modify)

Just now, certifiedjawir said:

 

how do i open the mse file? (modify)

 

On 24/02/2023 at 01:21, Incama said:

Solution to the following error:
-- Unable to convert: undefined to type: String

Anyone having problems importing dffs (exported from blender ) into 3ds max should change the following file: **DFFimp.ms**

from this (line 136):

to this:
 


 

Applicable to Goldfish's 3ds max script.

i can't find the  "DFFimp.ms".

Link to comment
  • Administrators

@certifiedjawir .mse files are "maxscript encrypted" which cannot be read. .ms files are regular maxscripts which can be opened in any text editor. "DFFimp.ms" exists only in the file path that I mentioned in my previous post (ships with Goldfish's scripts).

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...