Coder Social home page Coder Social logo

Comments (7)

MattKellyGameAudio avatar MattKellyGameAudio commented on July 1, 2024 1

I tested the version of the integration app you shared. It looks like the integration is no longer deleting the input mappings and other settings, so success on that. I figured this would not be an easy fix. So thank you for getting back to this so promptly. If you would like to close this issue and open another one that is perfectly fine by me. Initially, I used source control to remove the changes to input mappings and the other settings. But I'm glad to see that you we're able to find a solution. Thanks for all the effort you're putting into the integration, your doing a great job, keep it up!

from wwise-godot-integration.

alessandrofama avatar alessandrofama commented on July 1, 2024

Fixed by ab62317. Wwise addons and the debug library will be added directly to the project.godot file when installing the integration with the integration app.

from wwise-godot-integration.

MattKellyGameAudio avatar MattKellyGameAudio commented on July 1, 2024

Hi Alessandro,
I see that deleting the override.cfg resolves the issue of the integration disabling other user-enabled addons. However, when adding the integration to a non-fresh project, the project.godot file is now changed and all the input mappings and importer settings are reset in the Godot project settings. I've noticed this on a couple of projects so far and seems consistent. Is this intended behavior / a known issue?
Thanks in advance,
Matt

from wwise-godot-integration.

alessandrofama avatar alessandrofama commented on July 1, 2024

Hit Matt, thank you for reporting this issue. I can reproduce new input actions disappearing. By importer setting do you mean any setting under the general tab of the project settings? This was not a known issue and I will look into it.

from wwise-godot-integration.

MattKellyGameAudio avatar MattKellyGameAudio commented on July 1, 2024

Yes, I believe that's correct. Here is what the integration attempted to remove from the godot.project file:
[importer_defaults]

texture={
"compress/bptc_ldr": 0,
"compress/hdr_mode": 0,
"compress/lossy_quality": 0.7,
"compress/mode": 0,
"compress/normal_map": 0,
"detect_3d": false,
"flags/anisotropic": false,
"flags/filter": false,
"flags/mipmaps": false,
"flags/repeat": 0,
"flags/srgb": 2,
"process/HDR_as_SRGB": false,
"process/fix_alpha_border": true,
"process/invert_color": false,
"process/premult_alpha": false,
"size_limit": 0,
"stream": false,
"svg/scale": 1.0

and tried to replace with:
texture={

I've only noticed this in 1 of 2 integrations. Seems as though the integration is attempting to overwrite the working project.godot file with the values that are in the Wwise integration project.godot file instead of just adding new changes. Hope this helps. "[Importer_defaults]" is located directly above "[inputs]" in the project.godot file, in this case.

from wwise-godot-integration.

alessandrofama avatar alessandrofama commented on July 1, 2024

Unfortunately the issue is hard to fix quickly. The main problem is that the project.godot file contains both ini-style configurations mixed with Godot-specific types as Dictionaries or Arrays, including special cases for platforms overrides that makes it hard to parse properly with the (poorly) methods I've used in the integration app. I did miss some cases that were present in your configuration.

Could you please try this version of the integration app I've attached below on a backup project, it should at least prevent input mappings and other settings from being deleted. The project.godot file will contain duplicate data after install, but that should be fixed by Godot after starting the project without any data loss. Warning: this won't work if you have any platforms overrides in the project settings.

If it works for you I will close this issue and open another one to deal with the problem (since this was about the override.cfg).

I've already explored other solutions about this issue in the past, for example importing a .zip file containing everything from our Integration to the Asset Lib in Godot. But that method doesn't activate our addons or adds the appropriate classes to the AutoLoad tab of the project settings for example. From a user perspective I really want to make the installation process as seamless as possible, I don't know if parsing the project.godot file properly and injecting our stuff there is the right solution yet. This is something we will think about and fix in the long term. I've already a solution in mind that would only require an extra step from the user to activate everything. Hopefully I can work on that soon.

Cheers

Mac OS: https://github.com/alessandrofama/wwise-godot-integration/suites/2206962691/artifacts/45617834
Windows: https://github.com/alessandrofama/wwise-godot-integration/suites/2206962685/artifacts/45618156

from wwise-godot-integration.

alessandrofama avatar alessandrofama commented on July 1, 2024

Thank you Matt, I really appreciate it! Thank you also for coming here and reporting this issue. That is really very helpful! I will close this one here and prepare another one.

from wwise-godot-integration.

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.