2019-08-13 11:08:33

Hi all,

Recently i became interested into the pack files object in bgt. I want to use this to pack the sound piles into a single .dat file, so my games will run even more smoothly then they already do. Also, to create an extra hurde to prevent evwentual sound theft. Cause in an upcoming project, as well as in your_adventure, we want to include hand crafted pieces of music or sounds. But, the chapters i was able to find in the bgt manual, refer to .txt files, it is possible i haven't looked well enough, i will continue my search in the manual after writing this message. But how on earth can sounds be extracted and being played from a .dat file?

I am curious to the replies.

Greetz mike

we are back in active business, visit our homepage at:
http://www.nonvisiongames.com
http://www.facebook.com/mikeygamezone
or follow @mikeschippernl on twitter

2019-08-13 11:58:14

Use the set_sound_storage function.

Some of my games
Keep up to date by following @Jeqofire on twitter!
Ear Ninja?

Thumbs up

2019-08-13 18:42:11

Yeah. Set_sound_storage and set_sound_decryption_key if there is one. You should always do encryption cause if you don't the packing would be useless cause everyone could just ripp the sounds out of the pack. Thata does not work if they are encrypted, of course.

Coding is fun. You can how ever only code good if you have enough motivation to do so.

Give the new devs a motivation. Don't expect to much from their first steps cause after all they are new, but give them some chances.

2019-08-13 23:08:28

Hi,
Keep in mind, Normal packing of data is not a very strong way of protecting it from being stolen (If that's you want to do).
I wouldn't say it's possible to prevent data from being stolen, But you may harden the work by taking some extra precautions or security improvements.
Anyways. What i'm saying is not to take packing data a theft prevention action for what you don't want people to lay their hands upon.
I'd use it for organizing the game/program directory purposes only.

Be  fair minded, and let people to think in the way they want to.
People don't see the world in the way you do!

2019-08-15 01:37:13

Hi,

Thanks all for the helpful replies. set_sound_storage and set_sound_decription sound good. Pardon me for asking, but may i ask on where to look for the information about these? I can't seem to find it in the pack_file category or the sound book. I will take a deeper look tomorrow, cause it is after midnight in the netherlands now.

@reza.jdp

I am aware that this won't prevent people from taking the sounds and music we use. For the your_adventure project, it is as of now not a big deal, but for the project fantasy_thievery, we orderepurchased music which is specifically designed for us. And coopyright laws are with rebexluisterfilms.nl, and however we are aware we can't control on who "steals" the music, we are researching on how and when we can involve the courds if necessary. But i am none the less thankful you highlight the weakness of the packing files object, for which my great gratitude smile

Greetz mike

we are back in active business, visit our homepage at:
http://www.nonvisiongames.com
http://www.facebook.com/mikeygamezone
or follow @mikeschippernl on twitter