Advice about space

Any advice so that the project does not take up a lot of space?
I plan to do quite a bit, and I would not want the game to take up a lot of space when installing 🙂
Not much really aside from "don't include any resources you can't using in your game" and either put it in an archive for distribution or package it into an installer.
Half of your project size (or more sometimes) will be audio files so try to compress bgms and the like, whitout losing too much quality of course.
I would also recommend using fewer maps. Granted, maps don't really take up much of your space once you get it ready for playing, but any reduction helps. For example, you can put all the shops in the entire game on a single map. You can put multiple floors of the same dungeon on a single map (100x100 map sizes... or 200x200, depending on how many events you've got on them).

Removing resources you aren't using helps a lot. Especially music and images. Removing "bloat" from your game can help as well (if you can remove a cutscene and lose nothing, removing it will bring your size down a little bit... removing one may not help much, but if you remove like 100 of these unnecessary events that add nothing, it can add up!).

Some plugins can take up a lot of space as well. Try to vet out plugins you aren't using or that are very resource intensive when possible. It's tempting to just add in all the Yanfly Plugins, but you should remove any of them that aren't necessary to the project to save space.

Most of it is just going to be "cutting the fat". Remove anything you're not using, has no impact on your game, or serves no purpose.
I would also recommend using fewer maps. Granted, maps don't really take up much of your space once you get it ready for playing, but any reduction helps.
This seems like a weird recommendation. The amount of space that maps take up is on the order of kilobytes. A small map to hold a single shop takes, like, single digit kilobytes. Any possible difference you get by combining maps to take out a bit of header data would be so incredibly negligible that it's not really true at that point to say the reduction helped.

I admit, I don't specifically own RPG Maker 2003, so if this is somehow different specifically for this engine, let me know I'm wrong. But on every other engine I have, the maps just list which tile is placed where. All of my maps added together for my current project are a whopping 2.5MB. Removing a single BGM that you're not using in your project will save several times that much space.
@ATT_Turan The map space itself is probably negligible. At least in terms of file size, but if you're just looking to reduce the size in general, you can reduce it in this location as well.

The other issue you might run into is that there is a "hard limit" of how many maps you can even have in the Makers. So, reducing map count is for practical reasons as well. If you're making a new map for every single internal house, shop, dungeon level, you could quickly find yourself approaching hundreds of maps. If you can reduce 300 maps down to less than 50, you've saved quite a lot of space in your project as well as in terms of file size.
Thanks a lot guys!!! And, what about script? I have seen that you can make the scripts activate in parallel, can't that cause problems?
That goes into the "lag" territory not the game size one, at least for parallel events.
If you can reduce 300 maps down to less than 50, you've saved quite a lot of space in your project as well as in terms of file size.
The maximum number of maps is 999, so even 300 maps is nowhere near that limit. I think this is more of a personal preference - if you find it tidier to have one large map for all of your interiors per town, rather than having them nested in the map list, then that's okay. (Note, if you're doing that and filling in the space between with black tiles, that's actually a larger file size than if you had the small individual maps 😛 )
Thanks a lot guys!!! And, what about script? I have seen that you can make the scripts activate in parallel, can't that cause problems?
Not in terms of the size of your project. As Bk said, it is possible to cause lag, but that's usually if you have, like, a dozen or more running on a map, which is then just poorly designed by you.
The maximum number of maps is 999, so even 300 maps is nowhere near that limit. I think this is more of a personal preference - if you find it tidier to have one large map for all of your interiors per town, rather than having them nested in the map list, then that's okay. (Note, if you're doing that and filling in the space between with black tiles, that's actually a larger file size than if you had the small individual maps 😛 )

It probably depends on how large your game is. I think most players being "untidy" and building about a 10 hour game will easily hit the 300 map mark. That's easily doubled by the 15-20 hour mark.

I mean, if you have 8 towns in your game, with 6 buildings each, you're up to 50 maps right there (8 maps for the towns themselves, 6 interiors for each of the 8 towns, means 42 maps there). Now, if you have buildings with multiple floors and you make a new map for each, that easily goes up again. What if you have 12 dungeons in the game, and they average about 8 to 10 screens? Now you're looking at easily 96 to 120 more maps. So, with 8 towns and 12 dungeons, we're up to like 170 maps right here.

If you add in maps created specifically for cutscenes and a 10 hour game will have a minimum of like 14 of these, you've got another 14 maps (unless you're using already existing maps, but that map still has to be created even if it's not made specifically for the cutscene).

Then, you've got "secondary locations" in the game. You know, you trek through a forest and it's not really a dungeon, but it's just a forest with some enemies in it. Another 6 screens or so, maybe. Or, you know, a cave. No boss at the end, just a transition point. You easily get these "secondary locations" in a 10 hour RPG up to like 5 or 6. So, 30 to 36 more maps for that.

Oh, and if you have a CASTLE... Man, that's easily 10 screens a pop in most RPG's. Even in RPG Maker ones. You got 3 castles, you're already up to another 30 maps.

What about the intro or ending screens? Most intros are 1-3 screens, while most endings are 1-6 maps. So... 2 to 9 more maps right there. Especially since these intro or ending screens aren't usually anywhere the player can visit, they exist just to provide a place to play a movie, or scroll some text, or show off something for the player.

I mean, these are averages I've seen across a 10 hour RPG.
170+14+30+30+2 = 246 maps. Conservatively.
170+14+36+30+9 = 259 maps on the high end.

If you managed to condense the 250 maps down into 50 or less, I'd imagine those 50 maps would take up less room than the 200 you would've had otherwise. I mean, each large map would have to take up 4x the file size as the deleted ones to even make it equal.

As for the 999 limit. Yeah, most people won't ever hit it. Even if they're making a new map all the time. But, it's a practice to consider. "Trimming the fat" as general "being a good dev" advice. If you don't need the 300 maps and can do it with less.... why have the 300 maps other than you're inefficient? If you're inefficient in one area, what other areas are you inefficient in? "Why take two when one will do?"
It's more flexible, more performant and easier to maintain to have separate maps for separate areas. The smaller the map size and especially the fewer events on it, the higher the performance will be. The size impact is negligible (kilobytes). I'd strongly advise against putting unrelated things on the same map to "save space".

In fact, having several small areas on the same map _wastes_ space with filler tiles, prevents the map border from being visible as such (because the camera can pan beyond it), and limits your flexibility in the choice of tiles because you have to have the same tileset in use.

My rule of thumb is: If two things can never be seen on the same screen (or should be panned to in a transition) then they should probably on separate maps.

The largest space hogs in RM2k3 will be MP3 soundtracks and WAV sound effects, so if the style of the game allows it and low file size is a goal, then using MIDI soundtracks can be considered instead.

(Or you could use the Maniac Patch which enables the use of OGG soundtracks and sound effects, to avoid the use of WAV even in sound effects.)
Thanks guys!
It probably depends on how large your game is. I think most players being "untidy" and building about a 10 hour game will easily hit the 300 map mark. That's easily doubled by the 15-20 hour mark.
I still don't really get your point. If you admit that most people aren't going to get anywhere near the actual map limit, then this is all just organization (which I said in my prior post, and which is absolutely fine for you). Personally, I would find it much less convenient to have all of my interiors in one map per town and I have to scroll around to find a specific building.
If you managed to condense the 250 maps down into 50 or less, I'd imagine those 50 maps would take up less room than the 200 you would've had otherwise. I mean, each large map would have to take up 4x the file size as the deleted ones to even make it equal.
And this is where you lose me. You're talking about taking all of the little maps you already have and combining them into one big map with all the same stuff. How can that possibly take up less file size? Best case scenario it's exactly the same because you have the same content. A worse case, if you're filling it with a background color or anything, it takes up more space.

But, still, we're talking about such an insignificant amount of disk space. No matter what manipulation you do with your maps, if you have the same content you would have either way, any difference is in the matter of freaking kilobytes. When modern computers (even non-gaming ones) have drive capacities measured in the tens of gigabytes, if not terabytes, everything you're talking about simply doesn't matter. You could make the most bloated RPG Maker game ever, with an extra unused map for every map that matters, and it wouldn't make any difference for which consumers have the drive capacity to install it.

It's fine for you to like doing what you're describing as an organizational method, but to advocate it as making the project take up less drive space, it's just not correct.
If you don't need the 300 maps and can do it with less.... why have the 300 maps other than you're inefficient? If you're inefficient in one area, what other areas are you inefficient in?
I'm all for this. If you look at any of my code, I'm all about not using unnecessary variables, not taking up global variables or switches when I can reference a self-switch, etc. But the number of maps has zero things to do with efficiency. It doesn't impact the game performance at all, there's just an array that gets directly accessed with the map ID, there's no traversal time or anything.
If you don't need the 300 maps and can do it with less.... why have the 300 maps other than you're inefficient? If you're inefficient in one area, what other areas are you inefficient in? "Why take two when one will do?"
There is more than one way of (in)efficiency though. I can be efficient in the use of my time for example by organizing things in a certain way even if that way involves more files or whatever. I mean, why does anyone need folders? Surely, they could get by with using just one folder with all their files inside, by naming them in a certain way... But that still doesn't mean it's a good idea. For me, it's a matter of what your overall goals and priorities are and what metric carries how much weight to it (which usually isn't even linear). Optimizing for an arbitrary metric like "number of maps", disregarding all its consequences, then just doesn't make any sense to me.
I still don't really get your point. If you admit that most people aren't going to get anywhere near the actual map limit, then this is all just organization (which I said in my prior post, and which is absolutely fine for you). Personally, I would find it much less convenient to have all of my interiors in one map per town and I have to scroll around to find a specific building.

Okay, I'll spell it out for you. The point is that if your game is small, the map limit doesn't matter. If your game approaches larger proportions, it doesn't really take much to hit the 999 limit. You could easily approach the limit with a 30 hour RPG without issue.

Well, provided someone has the dedication on these forums to make a 30 hour game. Most don't even have the dedication to complete a 3 hour game.

And this is where you lose me. You're talking about taking all of the little maps you already have and combining them into one big map with all the same stuff. How can that possibly take up less file size? Best case scenario it's exactly the same because you have the same content. A worse case, if you're filling it with a background color or anything, it takes up more space.

Probably because a map is more than just a directory pointer as you keep implying. I mean, I get the point, but it's sort of incorrect. Especially if you've got it calling music for entering, have events in there, and other assorted feature calling. Heck, even a "created directory" takes up disk space. It might be minor or insignificant, but it does still create 1's and 0's that occupy disk space. Get a lot of those directories in there, and they do take up some of your space, potentially even a decent chunk if you have enough of them.

But, you're trying to argue, "It's insignificant!" as if "It takes up no room!" when that's patently not true. There's a difference between taking up no room and taking up a small enough amount of room that it doesn't necessarily matter.

But, still, we're talking about such an insignificant amount of disk space. No matter what manipulation you do with your maps, if you have the same content you would have either way, any difference is in the matter of freaking kilobytes. When modern computers (even non-gaming ones) have drive capacities measured in the tens of gigabytes, if not terabytes, everything you're talking about simply doesn't matter. You could make the most bloated RPG Maker game ever, with an extra unused map for every map that matters, and it wouldn't make any difference for which consumers have the drive capacity to install it.

I never once stated it wasn't insignificant. Why are you hung up on this? The topic is: Any advice so that the project does not take up a lot of space?

I read this to mean, "hey, any ways to reduce file size is something to consider". The OP doesn't think it's worth it, then they don't have to do it.

I understand that you want to only consider the largest chunks of space taken up and how to reduce it, but I don't operate that way. If the question is asked, "how do I reduce disk space?" I present all options to do so, no matter how insignificant, because the overall goal is REDUCING DISK SPACE.

Make sense?

Heck, going by your standards, it's absolutely pointless to reduce disk space at all, since I seriously doubt an RPG Maker game would ever be large enough to be uninstallable on any computer that's even 15 years old. Basically, going by your standard, it's not even worth it to reduce disk space, since the file size is already so insignificant and any computer could install and run it regardless.

Please stop being silly in an effort to "win" an argument. I would also appreciate you ending the practice of accusing me of saying things I didn't... and promptly even forgetting what I did say. It's a little funny that you're telling me, "the space is insignificant!" as if it's some revelation. Dude, I said that in my very first post. LITERALLY SAID IT IN MY FIRST POST.

So, at this point, I have no idea what your problem is.

It's fine for you to like doing what you're describing as an organizational method, but to advocate it as making the project take up less drive space, it's just not correct.

Except it is, and you've not provided any proof to the contrary other than supposition and an incorrect assertion that "a new map is exactly like a path name!". It's not. It's silly to assert this.

I'm all for this. If you look at any of my code, I'm all about not using unnecessary variables, not taking up global variables or switches when I can reference a self-switch, etc. But the number of maps has zero things to do with efficiency.

Efficiency of space/organization is still efficiency. Why are you arguing that efficiency isn't efficient? I'm confused now.

It doesn't impact the game performance at all, there's just an array that gets directly accessed with the map ID, there's no traversal time or anything.

We're not talking about game performance at all. Though, I did already mention that putting all the interiors on one map may directly impact performance depending on number of events and such (in my first post!). So... non-argument here.

If you want to talk performance, then I'd suggest using as few events as possible and reusing spaces while doing calls to other tilesets in order to minimize space and improve performance. Because, you know, rather than creating 30 different shopkeeper events in 30 different shops, it's better on your performance to roll them all into a single event on a single map and only call the portion of the event that's necessary.

But, these are two different things. The topic isn't really about performance.

The topic is about reducing space. Reducing number of maps can reduce space. Is that a very small or nearly insignificant amount? Yeah. Do you have to use it? No. It's just a suggestion. Just advice.

I'm sorry you're so upset that I find people who use their maps in inefficient ways to likely be people who also design their games in inefficient ways as well.
A little advice regarding WAV files: Try compressing your sound effects with ADPCM, it's supported since RPG2000 1.50 and RPG2003 1.05 (or in other words: many years ago). That should save a lot of space even on highest quality option (ADPCM is a lossy type of compression, so don't set it too low). Also it's perfectly okay to use mono sounds (I'm not talking about music) instead of stereo, most notably if they are voiceclips.

Example: 「花嫁の冠」 / 「Hanayome no Kanmuri」 the first RPG2000 SampleGame has around 1700 compressed WAV voice files (at least the version found in RPG2000VALUE! and V!+) with 177kbps (uncompressed files tend to have ~1411kbps when using default settings in most programs) in the sounds folder. For a game that needs less than 140MB, the resulting audio quality is fantastic.

★ Never use MP3 for anything in a game unless you have no other choice.
★ Use OGG Vorbis and nothing else if the tools you are working with allow it. Most likely all other options you have may not be as good.

~炬燵あ
I did not read the entire discussion, but as I am building my own project, I've been grabbing tiles and putting them into a custom tileset. The scope of gameplay takes place in a region that is essentially using the same environment assets. Most of the other assets in the existing tilesets are not even on my radar to be used. When I deploy, all assets in the default libraries will be gutted. If it isn't used, it does not need to be included.

A lot of people, when first starting project, go through and empty the folders of everything, and then copy and paste what they need from the RPG Maker installation folders themselves so the project starts as a totally clean slate and only ever includes assets that will actually be used. This is the same as gutting a project's asset folders before deployment, except that it is done before the first map is even created.

In a nutshell, to make your project have the smallest installation footprint as possible, just don't deploy it with anything it does not actually use.
@AkiraKotatsuhime thank you for that tip, I didn't know about ADPCM! This is amazing, I always thought WAV cannot have compression.
But, you're trying to argue, "It's insignificant!" as if "It takes up no room!" when that's patently not true. There's a difference between taking up no room and taking up a small enough amount of room that it doesn't necessarily matter.
When someone asks a question, it is very important to make sure you are answering the question they want answered, and not providing them with a useless answer to a different question that appeared similar. For instance, if someone asks how to get the water out of a swimming pool, they want a practical solution that will move the water out of the pool with a minimum of fuss. While water could technically be removed drop by drop with a dessert spoon, telling them to do that is neither a productive nor a useful answer.

So, let's talk a bit about the rm2k map file format

Rm2k stores the map tile data as two separate arrays of uint16, using an entry for each 16x16 pixel tile. This depends solely on the number of tiles (not which tiles are chosen). Essentially, think of it as 4 bytes per tile.

I just spun up a new rm2k project and created a fresh default map. This map has ~27 bytes used for non-tile data, and 1200 used for tiles. After that, I created a blank event on that map; this freshly created event with no image which did nothing at all took up 63 bytes, with the default name ('EV0001') taking up 8 of those.

So, given that even a tiny map will have thousands of bytes of tiles, the twenty-seven bytes of default map metadata is irrelevant.

Beyond that, if combining multiple maps requires inserting 7 or more blank tiles, the map will use more storage space than if you'd left the default metadata alone.

Even if combining two maps to eliminate the default metadata took only 10 seconds, and you got all 27 bytes each time, in order to reduce the size of the project by a megabyte using this method, you'd need to work continuously without sleeping for over four days. In comparison, deleting the automatically created UNLHA32.TXT saves 18KB; it's as effective as removing the default metadata from 650 maps and considerably faster.

In short, if the OP is worried about the amount of space the game takes up, attempting to remove map metadata by combining maps, even hundreds and hundreds of maps, will produce no useful result despite considerable time investment. Even if everything worked perfectly, it is extremely poor advice and an immensely inefficient waste of time and effort - resources that could be better spent elsewhere.

Original thread: https://forums.rpgmakerweb.com/threads/advice-about-space.136921/