Coder Social home page Coder Social logo

Comments (6)

Yanis42 avatar Yanis42 commented on September 4, 2024

can you be more specific? I never got a crash with the importer, ideally provide the errors in the console (but it can be annoying if it's crashing), are you importing a vanilla map when the issue occurs?

from fast64.

ariahiro64 avatar ariahiro64 commented on September 4, 2024

its when launching the map in game. fast64 doesnt error. it also is a vanilla map yes

from fast64.

ariahiro64 avatar ariahiro64 commented on September 4, 2024

update it seems to be assuming that everything on the draw config is used on all materials

as an example in spot00 8 and 9 are used exclusively for xlu on the water and A is only used on a specific window to light it at night

any other use case crashes in spot00

from fast64.

ariahiro64 avatar ariahiro64 commented on September 4, 2024

Work around

  1. Import your map and fix cutscene related names
  2. Uncheck EVERY segment in EVERY material
  3. Apply only sensible ones based on the draw config

from fast64.

Dragorn421 avatar Dragorn421 commented on September 4, 2024

here is a python script for

  1. Uncheck EVERY segment in EVERY material
import bpy
for mat in bpy.data.materials:
    for attr in (*(f"segment{n}" for n in "89ABCD"), "customCall0", "customCall1"):
        for propGroup in (mat.ootMaterial.opaque, mat.ootMaterial.transparent):
            setattr(propGroup, attr, False)

from fast64.

ariahiro64 avatar ariahiro64 commented on September 4, 2024

here is a python script for

  1. Uncheck EVERY segment in EVERY material
import bpy
for mat in bpy.data.materials:
    for attr in (*(f"segment{n}" for n in "89ABCD"), "customCall0", "customCall1"):
        for propGroup in (mat.ootMaterial.opaque, mat.ootMaterial.transparent):
            setattr(propGroup, attr, False)

that works

from fast64.

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.