mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
Created Performance (markdown)
13
Performance.md
Normal file
13
Performance.md
Normal file
@@ -0,0 +1,13 @@
|
||||
Due to the way RCT2 was designed, it may not perform as well as it could. While these issues are merely theoretical at this point, they may become more relevant as more of OpenRCT2 is written.
|
||||
|
||||
#Many files
|
||||
|
||||
It is [claimed](https://support.steampowered.com/kb_article.php?ref=7388-QPFN-2491) that individual operating system calls to many different files is less efficient than a few calls to larger ZIP-like files. While storing custom files individually could still be done, perhaps all of the RCT2 base scenarios could be bundled into something like `RCT2 Scenarios.zip`, and the tracks into `RCT2 Tracks.zip`, and so on. Each expansion as well as the base game has around 650 object files, in addition to each scenario and track file.
|
||||
|
||||
#Many files in one folder
|
||||
|
||||
NTFS [slows down significantly](http://stackoverflow.com/questions/115882/how-do-you-deal-with-lots-of-small-files) with 10,000+ files in one folder. UNIX-like systems are claimed to have issues as well. If ZIP-like files are not desired, subfolder support may need to be added.
|
||||
|
||||
#Compression
|
||||
|
||||
RCT2 uses [poorly-compressed](https://github.com/IntelOrca/OpenRCT2/wiki/Music-Cleanup) WAVs. FLACs are smaller and may load more quickly. Other files can probably be compressed more heavily as well, although the benefits of this may not be noticeable. Music occupies the majority (~2/3) of a default RCT2 install.
|
||||
Reference in New Issue
Block a user