Lag free OR encrypted?

Discussion in 'General Discussion' started by wariolandgoldpiramid, Apr 17, 2017.

  1. wariolandgoldpiramid

    wariolandgoldpiramid Veteran Veteran

    Messages:
    82
    Likes Received:
    26
    First Language:
    English
    Primarily Uses:
    RMMV
    If you had the choice, which of these options would you pick?

    SumRndmDde has created a great plugin - Preloader Core, which can preload your assets before the title screen, so that they will be ready to used and not needed to load mid-game.

    However, this plugin, sadly, does not work with encrypted projects.

    So, I'm considering if I should use it, and leave the game un-encrypted at the end. Haven't decided yet.
    What do you guys value more, and which of these options would you choose? Having the game preload assets so it can not have lag (like the BGM not starting immedietly), or just go without this plugin so you can encrypt your game?
     
    #1
  2. bgillisp

    bgillisp Global Moderators Global Mod

    Messages:
    11,581
    Likes Received:
    11,567
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMVXA
    From what I understand, the failure of that plug-in to work with encrypted projects has to do with how it loads files. Maybe you can ask them to fix it so it works with the new encryption? In fact, search the forums, I thought someone asked about this a week or two ago.
     
    #2
  3. Milennin

    Milennin "With a bang and a boom!" Veteran

    Messages:
    2,137
    Likes Received:
    1,188
    Location:
    Fiore
    First Language:
    English
    Primarily Uses:
    RMMV
    I wouldn't put any value in encryption, unless you have a commercial game.
     
    #3
    kaukusaki likes this.
  4. mlogan

    mlogan Global Moderators Global Mod

    Messages:
    13,578
    Likes Received:
    7,513
    Location:
    Texas
    First Language:
    English
    Primarily Uses:
    RMMV

    I've moved this thread to General Discussion. Please be sure to post your threads in the correct forum next time. Thank you.

     
    #4
  5. XIIIthHarbinger

    XIIIthHarbinger Part Time Super Villain Veteran

    Messages:
    676
    Likes Received:
    785
    First Language:
    English
    Primarily Uses:
    RMMV
    The thing to remember is that virtually all DLC EULAs require the files to encrypted if you use their assets.

    So unless you are only using default assets &/or your own created assets, you'll being violating the EULAs if you don't encrypt.
     
    #5
  6. Jonforum

    Jonforum Veteran Veteran

    Messages:
    1,568
    Likes Received:
    1,322
    Location:
    Canada / Qu├ębec
    First Language:
    French
    Primarily Uses:
    RMMV
    Encryption is useless.
    No matter how long your key is.

    The value is at the end of your JSON file.
    And just 5 Seconds to decompile encrypt files.
    There is also a dedicated web site.
    You upload the files, give the key, from the JSON file.
    There you go.

    Ultimately, you will protect your game against old dinosaurs or idiots.
    Anyone who takes 2 seconds will find the site to decompile the source encryption of your games.
    Even if you add a key of 200 word.
     
    #6
  7. Fernyfer775

    Fernyfer775 Veteran Veteran

    Messages:
    1,293
    Likes Received:
    794
    First Language:
    English
    Also note, that as great as the pre-loader plugin is, it causes the game to crash on PC's that don't have the necessary memory to hold all those pre-loaded assets. I was using the pre-loader for a while and kept getting reports of the game crashing because of memory overload on some computers, and once I removed the plugin, the problem was gone.
     
    #7
  8. Shaz

    Shaz Veteran Veteran

    Messages:
    37,184
    Likes Received:
    11,052
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV

    You HAVE to encrypt if you're using any of the store resources, whether your game is commercial or not. It's not negotiable.

    If you want to use the preloader, ask the developer to change it so that it works with encrypted assets, or if they're not going to do it, see if someone else can.

    However, do you WANT all those assets loaded right at the start of the game? If you're deploying to a mobile device, it may not have enough memory to hold everything, so you're going to get lag throughout the game rather than just on loading a new map - or it'll crash.

    Personally I wouldn't use the plugin at all.
     
    #8
  9. Milennin

    Milennin "With a bang and a boom!" Veteran

    Messages:
    2,137
    Likes Received:
    1,188
    Location:
    Fiore
    First Language:
    English
    Primarily Uses:
    RMMV
    Oh, I didn't know that, but I guess that makes sense.
     
    #9
  10. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,296
    Likes Received:
    2,869
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Recent version of nwjs can run compiled JS as fast as regular JS already. If you compile the JS code, you can hide the key used to encrypt the assets in it and remove it from the json files, so nobody will figure out your key.

    How heavy is your game?
     
    #10
  11. Fernyfer775

    Fernyfer775 Veteran Veteran

    Messages:
    1,293
    Likes Received:
    794
    First Language:
    English
    About 240MB.
     
    #11
  12. wariolandgoldpiramid

    wariolandgoldpiramid Veteran Veteran

    Messages:
    82
    Likes Received:
    26
    First Language:
    English
    Primarily Uses:
    RMMV
    Welll since I am using some DLC content, encryption is required.
    And i don't want to deal with those crashes, so maybe I just won't use this plugin.
     
    #12
  13. SumRndmDde

    SumRndmDde Follower of RNGesus Veteran

    Messages:
    224
    Likes Received:
    409
    Location:
    an alternate dimension.
    First Language:
    English
    Primarily Uses:
    RMMV
    Wait wait wait... Preloader Core doesn't work with encrypted projects? D:

    looks around
    adds, like, 10 lines of code

    Oh! Would you look at that! Preloader Core now works with encryption!
    Update to v1.02 and you should be good to go! ^^


    But yeah, sorry about that. No one tells me anything. >.<
    And yes, memory can be an issue, but it is the price you have to pay for concentrated loading. Try and only preload your prioritized content (the long list of customizable parameters are there for a reason!) and you should probably be fine. I'll get to more dynamic preloading... eventually....
     
    #13

Share This Page