[r64] Image file "left open" when imported

0 favourites
  • 12 posts
From the Asset Store
Source File, music and art pack for Android Negotiator
  • During the c2 contest I had to import sequences and sometimes modify them. But almost each time I tried to overwrite the files, windows scolded me telling me they was "used or left open".

    I had to either create other files or close c2.

    c2: r64 64bit

    system: windows server 2008 r2

  • I don't think we can get around this, Windows is holding the image files open. You probably shouldn't modify them while C2 is open anyway, it might confuse it... so I'm going to close this as won't fix.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hmm, if I may add something - C2 keeps the files hostage even between sessions - you can close C2 (saving as a single file so your images should be contained in there). Then you open C2 later, try to export your image files and still get "files in use" the message from the other app. One would assume the files were imported and that's it?

    This seems super-ridiculous and is quite annoying when you have to close C2 every time you make a little edit to your animation sequence and want to re-import.

  • To be sure we are talking about the same thing, I didn't use the "save as project" and then change a the png of a sprite.

    I used the "save as single file" during all the production of the game.

    So I guess changing a png I imported, to reimport a modified version afterward shouldn't confuse C2.

    As far as I understand how C2 works, once you load a png C2 isn't supposed to keep any link to the file... is it ?

  • Saving as a single file is no different from saving as a project file in terms of files being used - when you use a .capx, C2 extracts it to an ordinary folder project in your temporary files and reads it from there. So don't expect the files-in-use to be any different just because you saved as a single file.

    I'm not sure I understand though - unfortunately Windows likes to keep image files open when asked to load image files, but it should release them once the program is closed, and any images you exported via the save icon in the picture editor should be free to edit (I just tested it and it seemed to work). So is it a reasonable workaround to save as a folder project then just close C2 if you want to edit the images in something else?

  • Ashley - I can understand a temp folder and the files being in use there... BUT - if I have a set of images in the same folder as C2, load them into an animation, then close C2 and later open it again. And THEN as you try to overwrite the files it says they are in use... Does this mean C2 actually somehow stores the paths and filenames of all the imported frames?

  • Yeah it was just to make things clear about the fact that it wasn't a project image file that I tried to change but the image files from which I created the sprite by loading them.

    <img src="http://dl.dropbox.com/u/23551572/C2/Report/leftOpen.jpg" border="0" />

  • Ok, just so several opinions are represented on this issue here's how I see the situation:

    <img src="http://i244.photobucket.com/albums/gg36/some9000/0b3e9a17.png" border="0">

    <font color="yellow"><font size="1">Yes, the guys from the chat apparently haven't got anything better to do.</font></font>

    Edit: I have been told that some people exist who are unaware of what the awesomely dressed C2 references. Unthinkable! So

    Subscribe to Construct videos now
  • I think you're forgetting an important step as illustrated here.

    <img src="http://dl.dropbox.com/u/666516/nevergiveup.png" border="0" />

  • But why would Windows take a file after a program restart? So I suspect it's still C2 trolling us.

  • OK. This bug report is getting pretty surreal.

    I'll... look in to it?

  • Missun Comprete!

    If that's all it takes then we should make awesome infographics for all issues to raise their perceived importance.

    Also, Tom needs to make a badge for this.

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