Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
How do I delete sounds and methods?
Old
Jabberwocky
Guest
 
Status:
Posts: n/a
Default How do I delete sounds and methods? - 04-21-2006, 11:15 PM

I imported a number of sounds into a world I was building and now the file size of the world is huge. I'd like to delete the sounds to reduce the filesize of the world. I was hoping I could avoid starting from scratch.

I navigate to the World's Detail Pane and locate the sound files as Sounds under the Details Tree. I see all of the sounds I've imported. If right-click on a sound file I see that I can rename it but that's all. How can I delete them? Is it possible perhaps to remove them directly from the world file (.a2w) without corrupting the file or is there a simpler solution?

I also can't delete object methods once I've created them, again in the object's details window, I only see the Rename option when I right click on the method. I guess I could just create a new instance of the object and copy all of the custom variables, methods and functions to the new instance minus the methods I want removed. Am I missing something? Is there an easier way?

Thanks!
   
Reply With Quote
How do I delete sounds and methods
Old
lanceA
Guest
 
Status:
Posts: n/a
Default How do I delete sounds and methods - 04-21-2006, 11:33 PM

I don't know about deleting sounds but for deleting methods you have written try first deleting ALL references to them and then instead of right-clicking on the method to delete it try dragging the method you wrote from the Details View window into the Trash Can.

It works for me. Good luck and since I have not tried it with sounds, you may wish to try that also. Good luck
   
Reply With Quote
can't see the forest for the trees...
Old
Jabberwocky
Guest
 
Status:
Posts: n/a
Default can't see the forest for the trees... - 04-21-2006, 11:43 PM

Hehe, yeah the trashcan worked, duh! I guess I just got use to interacting with the interface a certain way, right-clicking was less mouse movement.... I'm just making excuses now...

Yikes!

Thanks a bunch...
   
Reply With Quote
Size matters
Old
Jabberwocky
Guest
 
Status:
Posts: n/a
Default Size matters - 04-22-2006, 11:09 PM

Just thought I'd add a note to anyone hunting for info on bloated file sizes and sound....

I had three worlds that I'd put sounds into. I was just goofing around with the feature, and had added some large .mp3s without editing them down to reasonable sound bites. I'd notice how large the file became, and overlooked the trashcan feature.

Anyway, once I'd dragged all of the sound files to the trashcan everything looked fine on the surface. Physically looking at the files though showed that while 1 file was drastically smaller, two of them didn't seem to have gotten smaller at all; comparing them to their previous back-ups it looked like they may actually have gotten about half-a-meg bigger.

I looked in the .a2w compressed files and verified that the .mp3s were gone. I thought maybe with all the objects I've been adding perhaps the size was legitimate, but it continued to bug me.

I unpacked the .a2w file and recompressed it with winzip. I thought that doing this might corrupt files so I made a copy. It worked great. The file was 20 megs, now it's just 3.

Thanks again.
   
Reply With Quote
Size Matters
Old
lanceA
Guest
 
Status:
Posts: n/a
Default Size Matters - 04-22-2006, 11:32 PM

GREAT info to know!! Thank you. Now if we could just get a Tech Guy from the development team to join and offer us some technical support on a regular basis.

It sounds like an old DOS problem where you 'delete' but it simply 'marks' something as being deleted but does not actually remove it. Thanks very much for the information.

Last edited by lanceA; 04-22-2006 at 11:39 PM.
   
Reply With Quote
Compressed down files with deleted things in them
Old
pausch
Director of the Alice Project
 
Status: Offline
Posts: 38
Join Date: Jul 2005
Default Compressed down files with deleted things in them - 04-23-2006, 08:36 AM

First, I'm glad the community found the "rezip" work-around.

Another solution would be to "save as" under a new filename - the "clean save" will avoid the gaps (which, as you have surmised, we leave in because it makes subsequent saves much faster; many modern applications do this).

As for having a technical guy chime in, I hope this suffices ;-)


Randy Pausch
Director of the Alice Project
   
Reply With Quote
Old
lanceA
Guest
 
Status:
Posts: n/a
Default 04-23-2006, 12:19 PM

Can't go much higher than that

Thanks for the response.
   
Reply With Quote
Old
oluapenn
Guest
 
Status:
Posts: n/a
Default 06-05-2011, 10:19 PM

http://imageshack.us/photo/my-images...mttuloeyn.jpg/

Just drag to trash

Last edited by oluapenn; 06-05-2011 at 10:21 PM.
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 06-06-2011, 11:01 AM

This thread is very old, and please don't spam...


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.