I've never figured out how to do this. Say for example, I have a music in my game that I decide to replace, and delete all references to it. Even then, the music will still be saved "inside" the game; if I choose midi files from the game file, it is there, and it adds to the total file size. And that filesize can be quite a concern when I have like 300kb of completely unused music files.
So how the heck do you permanently remove a midi file from TGF's built in player?
Originally Posted by Ben~ When it is no longer referenced anywhere TGF should delete it when you save, close and reload the project IIRC.
Thats what I'd figure, but it doesn't seem to follow that; There are midis that aren't referenced anywhere in my game that are tagging along. And its much too big and complex to reframe everythings; you can't exactly copy/paste 5000 lines of code like that.
I have a feeling that old midis were left in TGF files because of a design choice with the MIDI Chunk in the .gam format. IIRC, the midi references relied heavily on byte references, in a way that was difficult to update afterwards.
It meant that if you were to erase a midi and alter the offsets in the music chunk, you'd also have to alter a value in every 'music' event. Something like that, I think - it's a long time since I worked with GAM format.
Your best bet is the copy-to-other-file suggestion made by Rick Garces.
EDIT 2: It does work, just tried it. Copy your frames across.
Do you seriously think its possible to copy/paste an entire ENGINE level? Its got over 5000 lines of code. Heck, I can't even display half the events at the same time. And after that, one big problem is that when you copy/paste events in TGF, it loses any "Open/close group" commands, which I use alot of. So I'd have to go in and rewrite so much code
I suppose its worth giving a shot, however. I'll back up gridquest and give it a whir
ooh not to forget; You cannot copy/paste any events with SOUNDS in TGF; I'd have to go back and re-add every single sound effect / music in the entire game