Results 1 to 8 of 8

Thread: Loading files with Chinese characters!

  1. #1
    May the sauce be with you starbase1's Avatar
    Join Date
    Feb 2003
    Location
    London, UK
    Posts
    5,663

    Loading files with Chinese characters!

    Hi All,
    I bought a model, and the file names have Chinese characters in them. When I try to load the FBX file (LW 2019), I'm prompted for the file "?????.jpg", and have no idea which one it wants!

    The file names display OK in Windows, so it must be a Lightwave thing...

    Any ideas on how I might work out which files it's asking for?

    Cheers,
    Nick
    Specialist subjects: Unflown space projects, and the space program of the Soviet Union.

    My main Web site

  2. #2
    Curmudgeon in Training Ma3rk's Avatar
    Join Date
    Mar 2003
    Location
    Near Beaverton, OR
    Posts
    2,084
    Isn't there a .images folder that gets extracted from the FBX when you start the Open process in Layout? Will pointing to that sort it on it's own?

    Ran into something similar last month with a file using cyrillic but could never get it to extract properly.
    Earth can't be flat otherwise cats would have pushed everything off the edge!

    The Big Apexx System:
    AMD RYZEN THREADRIPPER 2990WX Processor (3.00GHz)
    64GB
    2x NVIDIA Quadro RTX 4000 8GB 32 Core

  3. #3
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    8,469
    There are ASCII strings (8 bits per character) and modern Unicode strings (16 bits per character in the computer memory). Unicode is often stored in UTF-8 when written on disk. It's compressed Unicode.

    If LW is using ASCII (which is I believe so the case as the all LWSDK functions are taking char * and const char * for strings) the all letters outside of English alphabet might end up being '?'.. Windows is unable to read such file.

    If FBX is text file, open it in text editor. Names should be in UTF-8.

  4. #4
    May the sauce be with you starbase1's Avatar
    Join Date
    Feb 2003
    Location
    London, UK
    Posts
    5,663
    It found the folder ok, but not the file...
    Specialist subjects: Unflown space projects, and the space program of the Soviet Union.

    My main Web site

  5. #5
    May the sauce be with you starbase1's Avatar
    Join Date
    Feb 2003
    Location
    London, UK
    Posts
    5,663
    A very interesting idea!

    I tried poking around in the FBX file, and found things like:
    RelativeFilenameS 753902_202507052439_2.jpg
    Specialist subjects: Unflown space projects, and the space program of the Soviet Union.

    My main Web site

  6. #6
    Super Member
    Join Date
    Aug 2016
    Location
    a place
    Posts
    2,484
    try loading the fbx into another 3d app

  7. #7
    ex-LightWave documentation BeeVee's Avatar
    Join Date
    Feb 2003
    Location
    Pessac
    Posts
    5,276
    How many images are there? Might it not be quicker tpo just pick an image and change it later if it's not the right one?

    B
    Ben Vost
    LightWave 3D Docs wiki
    AMD Threadripper 1950X, Windows 10 Pro 64-bit, 32GB RAM, nVidia GeForce GTX 1050Ti (4GB and 768 CUDA cores) and GTX 1080 (8GB and 2560 CUDA cores) driver version 456.71, 2x4K 23.5" monitors
    Dell Server, Windows 10 Pro, Intel Xeon E3-1220 @3.10 GHz, 8 GB RAM, Quadro K620
    Laptop with Intel i7, nVidia Quadro 2000Mw/ 2GB (377.83 and 192 CUDA cores), Windows 10 Professional 64-bit, 8GB RAM
    Mac Mini 2.26 GHz Core 2 Duo, 4 GB RAM, 10.10.3

  8. #8
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    8,469
    Quote Originally Posted by starbase1 View Post
    A very interesting idea!

    I tried poking around in the FBX file, and found things like:
    RelativeFilenameS 753902_202507052439_2.jpg
    Duplicate file.
    Open file in hex editor, search by extension, and try changing it to something made with English alphabet..

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •