ID:161407
 
as far as im concerned byond rescources contain all icons and sounds of the game right? so what happens to all the coding of the game when it gets compiled and hosted? im asking because i opened my own game rescs and magically only graphics appeared.
Gogeta126 wrote:
as far as im concerned byond rescources contain all icons and sounds of the game right? so what happens to all the coding of the game when it gets compiled and hosted? im asking because i opened my own game rescs and magically only graphics appeared.

The compiled code and maps go into the .dmb file (neither is preserved in their original form), and the resources go in the .rsc file.

Lummox JR
In response to Lummox JR
so thats good then? To prevent further ripping, why cant graphics also go into DMB ?
In response to Gogeta126
Because code goes in the dmb, if graphics also went in there then the dmb would have to be downloaded by all your players which wouldn't be what you wanted.

You cannot 100% prevent ripping, so there's not much point trying. All a player has to do is use the print screen button to get your graphics and a sound recorder to get music/sounds.
In response to Gogeta126
Gogeta126 wrote:
so thats good then? To prevent further ripping, why cant graphics also go into DMB ?

Two reasons: 1) As Hazman said, while players need to download your resources to see and hear them, they don't need your code or maps. 2) Resources don't need to be compiled into a more easily understood form like code and maps do; they're merely stuffed into a single file for easy access. Including the resources in the .dmb would not increase their security.

We've talked about in the future allowing for encrypted .rsc files, but it's likely going to be a fairly ineffective security measure. This has been on the back burner a while because it's not trivial to implement, and other issues have taken priority.

Lummox JR
In response to Lummox JR
oh. but just as an idea, what if byond had a system in which the rescource files would go into a online server just like digitalbyond hosting? I think that would change a lot
In response to Gogeta126
Gogeta126 wrote:
oh. but just as an idea, what if byond had a system in which the rescource files would go into a online server just like digitalbyond hosting? I think that would change a lot

Change what? What are you saying this should do?

If you are saying you want to preload resources from a different source than the DreamDaemon or so -- that already exists, preload_rsc.