The Daily Click ::. Forums ::. Klik Coding Help ::. Removing unused sounds from TGF Games
 

Post Reply  Post Oekaki 
 

Posted By Message

Titch



Registered
  14/06/2004
Points
  5
14th June, 2004 at 10:01:32 -

I'm using TGF v1.06, and I'm having a major compression problem; it appears to be refusing to remove the unused sound effects/music from the .gam file; which is leading to a rediculously large (6meg) file.

Any ideas about how I can get rid of the unused sounds/music?

 
"Confidence is ignorance, if your feeling cocky then its becuase theres something you should know"

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48487

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
14th June, 2004 at 12:01:48 -

Make sure you've definately gotten rid of all the sound files from each and every frame (including global events)

 
n/a

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
14th June, 2004 at 12:14:51 -

i could never figure that out either. they always stayed in, even if i didn't have them playing

you could always start a new game then copy + paste all of the levels into it

Image Edited by the Author.

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

Titch



Registered
  14/06/2004
Points
  5
14th June, 2004 at 12:56:21 -

Kris: I tried that initaily, unfortunatly something about my 300 and something lines makes TGF hang up.

Anyway, I think I may have missed the cause; so I think I'll explian the problem from the start. Basicaly when I went from one demo to another I added a new level and deleted the two older ones, as I was creating it as I made the game and it was biased towards the earlier characters. The last version with the old levels in was 3.3MB. Then I built the new level, tweaked up alot of the code, added some newer sound effects, and the project came to about 7MB or so. THEN I deleted all the other levels asside from the new one; except there was only a negligable (about 400-500k) change in file size.

I think I'm gonna go bang my head against a brick wall for a while.

Image Edited by the Author.

Image Edited by the Author.

 
"Confidence is ignorance, if your feeling cocky then its becuase theres something you should know"

Kramy



Registered
  08/06/2002
Points
  1888
14th June, 2004 at 18:53:24 -

Have you tried picking a new filename for your game?

 
Kramy

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
15th June, 2004 at 01:51:29 -

I recently ran a test in MMF. When you select a sound to use but you don't use it in your code it isn't compresssed into your builds. I think this is what Circy is saying. MMF really needs a file including manager.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
15th June, 2004 at 08:17:32 -

i use tgf 1.06 as well and i now use dmc2 object for sounds that way you only have to delete the sound object manualy to get rid of it.

for your problem though im not sure, sorry.

 
.
   

Post Reply



 



Advertisement

Worth A Click