Giter Club home page Giter Club logo

Comments (5)

diafero avatar diafero commented on July 28, 2024 1

Well, the point is, the file works just fine in Blender and Uru. My dataserver generation scripts load the PRP files via libhsplasma to make some sanity checks (e.g. to make sure there are no horribly broken plLinkResponders in there), and thus dataserver generation fails with libhsplasma master. The way things are right now, I have the choice between asking Dulcamara (and others using umlauts in filenames and object names) to rename some things in order to fix issues they can't see, or alternatively forever sticking to an older version of libhsplasma. I don't think the first first solution would be appropriate; after all, the files are working perfectly fine, so there's no fundamental reason anything needs to be changed. Many age writers are not very tech-savvy, and I don't even know how hard it is to rename things and fix every reference in Blender. Ultimately, the issue only exists on my side, in the toolchain I use, which (somewhat arbitrarily) places more restrictions on the validity of PRP files than Uru does. Even though I agree it would be nice to have everything be valid UTF-8, I feel it is wrong to put the burden of this decision onto age writers. It's not like we have too many of them...
(Considering the age of Uru:TPOTS, I would actually be surprised if it does use UTF-8, but I don't know.)

from libhsplasma.

diafero avatar diafero commented on July 28, 2024

The issue is probably caused by an object (a texture, more specifically) having a name that's not valid UTF-8: Holz alt f�r Balk.004.
(I guess this is the German umlaut ü encoded in ISO-8859-1 or a similar encoding.)

from libhsplasma.

Hoikas avatar Hoikas commented on July 28, 2024

I noticed that a different blend file produced by Dulcamara included textures with latin_1 encoded ü characters. This actually made Blender 2.7x crash! IMO the bug is on the end user's side for creating defective files, but I'll defer to @zrax.

from libhsplasma.

Deledrius avatar Deledrius commented on July 28, 2024

Calling the file 'defective' is a bit harsh. That's an input problem on the part of Blender for not converting the encoding to what it needs/expects.

from libhsplasma.

Deledrius avatar Deledrius commented on July 28, 2024

@diafero, do your automated checks function properly with #98 applied?

from libhsplasma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.