[186][186.2] Audio filename cannot be found in project

0 favourites
From the Asset Store
Use this game pack to create your own game, modify the existing game or simply take a look and see how it was made.
  • Problem Description

    Screenshot of the Player.xml line 185 :

    Can open my project correctly with release 185, but not with 186 and 186.2

    Operating System and Service Pack

    win7 x64 sp1

    Construct 2 Version ID

    Construct 2 beta release 186 or 186.2

  • Same here.

    Can't open my project since last beta because of this. Go, revert! : )

  • Same here! [r186]

  • Can you provide a .capx as per the guidelines? It is almost impossible to do anything about this without one to investigate.

  • Ashley There should be some kind of error report option when an error occurs like most programs do. That way, people don't have to spend loads of time trying to recreate errors in new projects, which is sometimes impossible. I understand you're just two guys and I relate to that, so I commend you for the amazing amount of work you guys have done already. just something to think about (that you probably already knew)

  • Ok, i think find the bug

    In this tow capx, i have created a directory into Sound and put ogg in it, for the test_sound_r185.capx

    And with not with the test_sound_r186-2.capx.

    All sounds added into sound without directory on it works perfectly.

  • and something else weird

    if you look at the file "New project.uistate.xml"

    for r185 you have :

        <folders-expanded>
            <folder expanded="1" path="object-folder/" />
            <folder expanded="1" path="layout-folder/" />
            <folder expanded="1" path="event-folder/" />
            <folder expanded="1" path="file-folder/" />
            <folder expanded="0" path="file-folder/Icons/" />
        </folders-expanded>
    [/code:31mo6h0p]
    
    and for r186/186.2 you have :
    
    [code:31mo6h0p]
        <folders-expanded>
            <folder expanded="1" path="object-folder/" />
            <folder expanded="1" path="layout-folder/" />
            <folder expanded="1" path="event-folder/" />
            <folder expanded="1" path="file-folder/" />
            <folder expanded="1" path="sound-folder/" />
            <folder expanded="1" path="music-folder/" />
            <folder expanded="0" path="file-folder/Icons/" />
        </folders-expanded>
    [/code:31mo6h0p]
    
    I do not know if this is related
  • If you delete the .uistate.xml file and try to reopen, does it work?

  • same error without .uistate.xml

  • but , i see something else

    With the CAPROJ file :

    r185 :

        <sounds-folder>
            <file-folder name="Player">
                <file name="bom01.ogg" />
                <file name="shot01.ogg" />
                <file name="jump01.ogg" />
            </file-folder>
        </sounds-folder>
    [/code:u4h1z0me]
    
    [b][u][i]r186 / 186.2  :[/i][/u][/b]
    [code:u4h1z0me]
        <sounds-folder>
            <sound-folder name="Player">
                <file name="bom01.ogg" />
                <file name="jump01.ogg" />
                <file name="shot01.ogg" />
            </sound-folder>
        </sounds-folder>
    [/code:u4h1z0me]
    
    you use "file-folder" under r186
    and now "sound-folder" with r186+ and Perhaps it's the same for music-folder
    
    Not the same ^^
    If i put "sound-folder" on my game , now C2 load it correctly
  • So... what is the best solution for this error?

  • If you use projects "CAPROJ", it is easy to modify the project file so that C2 can load properly.

    I only use the "CAPROJ" for large projects.

    Otherwise, wait for a new corrected version of C2

  • If you use projects "CAPROJ", it is easy to modify the project file so that C2 can load properly.

    I only use the "CAPROJ" for large projects.

    Otherwise, wait for a new corrected version of C2

    Ah, ok.. I only use capx :/

    But exist the risk of lose all the work?

  • no risk

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • no risk

    Cool, thanks

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)