Capx doesn't remove deleted files when saved

Bugs will be moved here once resolved.

Post » Fri Aug 24, 2012 4:43 am

When you delete files/contents from the project bar, they're not actually deleted in the .capx. The file size stays the same.

Steps

1. Make a new project
2. Import a file (I suggest a music file to see .capx size difference)
3. Save the project file.
4. Delete the file/music from the project bar
5. Save as a new project file
6. Observe how the 2 .capx files are exactly the same size despite the 2nd file not having the large music file.

At the moment this means you should never import something into your game unless it's finished quality (i.e., this will never be the case though as games take a lot of iteration) if you want to keep your .capx file size low.alspal2012-08-24 06:49:25
B
134
S
65
G
16
Posts: 1,765
Reputation: 19,188

Post » Fri Aug 24, 2012 5:24 am

What version are you using? The file size changed back and forth when I was importing and removing music in R95.
B
18
S
5
G
1
Posts: 95
Reputation: 2,666

Post » Fri Aug 24, 2012 5:29 am

r100, I've noticed it in previous versions though.

Ah, I missed this topic somehow:

http://www.scirra.com/forum/cannot-reduce-project-file-size_topic55566.html

However I still think you shouldn't have to save as project, open project nagivate to files, delete, open project, save to capx. When it should just delete directly from the project bar.alspal2012-08-24 05:33:05
B
134
S
65
G
16
Posts: 1,765
Reputation: 19,188

Post » Fri Aug 24, 2012 6:45 am

Yeah, that does seem like a lot of work for something so simple... @Ashley, is there a reason it has to be this way?
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Fri Aug 24, 2012 11:24 am

Thanks for the report, should be fixed in the next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests