Git Product home page Git Product logo

Comments (3)

bbepis avatar bbepis commented on August 18, 2024

If Sideloader can read the necessary files from csv, why do those files need to be in .unity3d files? Couldn't they be organized in any arbitrary directory structure?
They don't need to be in .unity3d files. You can still use the .png textures directly from the zip, you just need to match the directory structure/path. You can check my .zip example here where I do this, from the wiki: https://my.mixtape.moe/ionkgy.zip

As for supporting other asset types rather than just Texture2D, it depends on the type. There are some types that I cannot both store outside of a unity3d file, and can also deserialize to a type. For instance, there is no way for me to create a TextAsset from scratch and insert my own data with the UnityEngine API. (Although I believe this is possible now to an extent with BepInEx 4.0 assembly patching features)

And couldn't a modder who works in Unity Editor produce their own .unity3d ABs for convenience? This way you could add the assembly.dll to the project's asset library and make use of any classes defined in it.
It is possible, as far as I know you need to create a script in Unity Editor that calls this method, which exports a .unity3d file. I'm not sure how to do it myself as I have never done it, but I have been told by multiple modders that this is how it's done.
https://docs.unity3d.com/560/Documentation/ScriptReference/BuildPipeline.BuildAssetBundles.html

from bepisplugins.

enkephalin07 avatar enkephalin07 commented on August 18, 2024

@bbepis
How about support for partial assets? There's some now, I've experimented with it a bit to find out its extents, but when an asset loads, AB manager looks for referenced files in that AB file and ignores any other files that contain those. Sideloader appears to do the same, but if modders could package only modded (files eg: only materials and textures for models) there would be broader compatibility and file sizes could be reduced by 2000%. That's not an exaggeration; from the examples I've seen it's probably an underestimate.

from bepisplugins.

ManlyMarco avatar ManlyMarco commented on August 18, 2024

Is it done?
Bepis Today at 10:09 AM
ye

from bepisplugins.

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.