[RTP] Question Keeping Unused Resources out.

● ARCHIVED · READ-ONLY
Started by _Shadow_ 6 posts View original ↗
  1. Okay here comes a strange question I have.

    Let's say I installed VX ACE.

    Now I wanna have RTP included in my game so it will be playable without the end user be forced to donwload the RTP. Yeah I can do that.

    What it does though is adding 180MB to the project.

    So here comes my question.

    Can I backup the original RTP and remove unused resources from it to make it significant smaller?

    I mean, if I use let's say 5 ogg files only and 5 pngs from the original contents, and nothing more, then you got a load of MB in your build for no reason. Can I make a mini RTP to include to a specific game?

    The question has two aspects of "Can I".

    First of all I ask if such a thing is possible and how can I do it.

    The second aspect is the legal one. Do I have such permission to do it if possible?

    Thanks for your time people.
  2. Before pack your game, import all the resources you used in the game from rtp. Like the iconset, all the sounds and all the music. Then pack it without rtp. It should be playable even if people doesn't have rtp because you include the resources the game will use in the pack. Not need to include everything. But remember the animations images for your skills too. Should be lighter. And for the permission... yes, if you owe RPG Maker you can either use rtp or not, it's not mandatory to use them in your game or to use them all.
  3. To make it work, you also need to go to the game.ini file and delete the value for RTP=. That way even if you don't pack with RTP it won't look for it... Make sure you include the VL Gothic font in the game files (inside Fonts folder) though, no matter if you use the font or not because the .exe is wired to check for that file.
  4. @Engr. Adiktuzmiko and @Juunanagou thanks for your replies.

    @Juunanagou please clarify me one thing:

    RTP music and sounds is about 80MB. 

    When you say all music and sounds,

    do you mean ALL of them,

    or does that "all" refer to all used in the current game in ANY way at least once?

    I mean, that's exactly what I try to avoid here. If I don't need RTP sounds I can exclude 80MB or something from the RTP.

    I would like to have for example a 50MB project turn into a max 80MB stand alone for instance (I give a +30 MB as a reasonable average).

    Thus even removing sounds would be really nice (TRP is about 180MB or something)

    @Engr. Adiktuzmiko Yeah I thought so... I have to do some tweaks there too! :p

    Thank you, you save me a lot of search time! :D
  5. Once you remove the RTP linkage via the method I posted above, all you need to add to the project is the files that you are using from the RTP, plus the VL Gothic Font... And you're all set to go...


    And yeah, the audio files are the biggest file size hog of the RTP...
  6. Thank you people!  ;)   :thumbsup-right: