Январь 2010 Февраль 2010 Март 2010 Апрель 2010 Май 2010
Июнь 2010
Июль 2010 Август 2010
Сентябрь 2010
Октябрь 2010
Ноябрь 2010
Декабрь 2010
Январь 2011
Февраль 2011 Март 2011 Апрель 2011 Май 2011 Июнь 2011 Июль 2011 Август 2011
Сентябрь 2011
Октябрь 2011 Ноябрь 2011 Декабрь 2011 Январь 2012 Февраль 2012 Март 2012 Апрель 2012 Май 2012 Июнь 2012 Июль 2012 Август 2012 Сентябрь 2012 Октябрь 2012 Ноябрь 2012 Декабрь 2012 Январь 2013 Февраль 2013 Март 2013 Апрель 2013 Май 2013 Июнь 2013 Июль 2013 Август 2013 Сентябрь 2013 Октябрь 2013 Ноябрь 2013 Декабрь 2013 Январь 2014 Февраль 2014
Март 2014
Апрель 2014 Май 2014 Июнь 2014 Июль 2014 Август 2014 Сентябрь 2014 Октябрь 2014 Ноябрь 2014 Декабрь 2014 Январь 2015 Февраль 2015 Март 2015 Апрель 2015 Май 2015 Июнь 2015 Июль 2015 Август 2015 Сентябрь 2015 Октябрь 2015 Ноябрь 2015 Декабрь 2015 Январь 2016 Февраль 2016 Март 2016 Апрель 2016 Май 2016 Июнь 2016 Июль 2016 Август 2016 Сентябрь 2016 Октябрь 2016 Ноябрь 2016 Декабрь 2016 Январь 2017 Февраль 2017 Март 2017 Апрель 2017 Май 2017
Июнь 2017
Июль 2017
Август 2017 Сентябрь 2017 Октябрь 2017 Ноябрь 2017 Декабрь 2017 Январь 2018 Февраль 2018 Март 2018 Апрель 2018 Май 2018 Июнь 2018 Июль 2018 Август 2018 Сентябрь 2018 Октябрь 2018 Ноябрь 2018 Декабрь 2018 Январь 2019
Февраль 2019
Март 2019 Апрель 2019 Май 2019 Июнь 2019 Июль 2019 Август 2019 Сентябрь 2019 Октябрь 2019 Ноябрь 2019 Декабрь 2019 Январь 2020
Февраль 2020
Март 2020 Апрель 2020 Май 2020 Июнь 2020 Июль 2020 Август 2020 Сентябрь 2020 Октябрь 2020 Ноябрь 2020 Декабрь 2020 Январь 2021 Февраль 2021 Март 2021 Апрель 2021 Май 2021 Июнь 2021 Июль 2021 Август 2021 Сентябрь 2021 Октябрь 2021 Ноябрь 2021 Декабрь 2021 Январь 2022 Февраль 2022 Март 2022 Апрель 2022 Май 2022 Июнь 2022 Июль 2022 Август 2022 Сентябрь 2022 Октябрь 2022 Ноябрь 2022 Декабрь 2022 Январь 2023 Февраль 2023 Март 2023 Апрель 2023 Май 2023 Июнь 2023 Июль 2023 Август 2023 Сентябрь 2023 Октябрь 2023 Ноябрь 2023 Декабрь 2023 Январь 2024 Февраль 2024 Март 2024
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
30
31
Game News |

How Hitman 3's devs shrank the entire trilogy install size by over 80GB

 How Hitman 3's devs shrank the entire trilogy install size by over 80GB

Hitman 3 is going to be an enormous PC game—at least if you own Hitman 1 and 2, which Hitman 3 can import to bring the entire trilogy into a single package. That sounds like a recipe for an install size big enough to make an SSD cry, because Hitman 2, with the first game's levels imported, is currently 149 gigabytes. Hitman 2 is one of the mightiest storage hogs on PC, second only to Call of Duty. But last week, we reported that Hitman 3 will actually shrink instead of grow, retroactively optimizing the first two Hitman games into a dramatically smaller package. How did IO Interactive manage to cut the total install size in half?

I had to know more, so I asked IO Interactive to break it down.

"With all content installed (including the locations from H1+H2), we’re expecting Hitman 3 to clock in at approximately 60-70 GB and we're really happy with that," IO Interactive's chief technology officer Maurizo De Pascale told me over email. 

Even without the older games bundled in, Hitman 3 is a leaner install than IO has managed to pull off with its last two games. As De Pascale explained to me, the answer is simple: More compression. But why Hitman 3's compression is so effective, and why they didn't use the same techniques last time, is where it gets more complicated (and more interesting). 

Hitman 3 uses a technique called LZ4 compression that's been around for about a decade. Almost everything in the game runs through this compression algorithm, which is especially efficient. Here's how De Pascale explained it:

"Almost all lossless compression techniques exploit the fact that data often has repeating sequences. For example, 'HITMAN' or 'IO Interactive' will likely appear frequently in an article about IOI. Those duplicated sequences don't need to be stored multiple times and can be omitted, as long as you embed some information in the compressed stream about where they appeared originally, so that you can still perfectly reconstruct the initial data.

"The super simplified description of LZ4 is that it replaces those lengthy sequences with a reference to a sequence that has previously appeared in the decompressed stream. So, for example, instead of storing the word 'compression' as-is, the algorithm can store the equivalent of 'the word that appeared X words ago,' which can be very efficiently encoded with few bits. Of course that's not exactly how it works, but it's sufficiently close to convey the idea.

"This is actually a pretty common technique, which other compressors employ as well, but LZ4 has a very performant implementation that provides a good trade-off between reasonable disk compression and great decompression speed, which makes it a common choice for games."

With Hitman 1 and 2, IO didn't apply compression as broadly "to avoid performance issues on low-spec hardware." The game only has so much CPU power to work with, so decompressing data has to be weighed against everything else it's doing, like running the AI and processing your inputs. The trade-off, then, is to skip compressing some files, resulting in a larger install but better performing game. By Hitman 3, engine improvements have lightened the load in other areas, freeing up more processing cycles to spend on compression.

Another big improvement comes from how IO is importing the data from Hitman 1. Because that game was built episodically, every episode had to have all the code and assets needed to work standalone. "In Hitman 3, we're handling the way we give access to the legacy titles in a different way, which makes it easier for us to aggressively de-duplicate these shared resources," De Pascale said.

Hard Drive

(Image credit: Pixabay via manseok)

The drawbacks of that DLC model actually mirror an older cause for bloated game install sizes: Hard drive seek times. Inside a hard drive, an arm with a tiny read/write head has to move to the physical location of the data on the magnetic disk to read it.

This means hard drives are way better suited to sequential reads than they are random reads—imagine how much harder it would be for you to read a book if a paragraph was split up between pages 1, 13, 46, and 253 and you were constantly flipping pages, for example.

To compensate, game developers "end up carefully storing meshes and textures in the order that you can predict they'll be loaded in memory," De Pascale said. "Sometimes you might even duplicate the same resource, just to avoid having to seek around and break a potentially longer sequential read."

SSDs are also faster at sequential reads than random ones, but because they don't rely on moving parts, the performance hit is nowhere near as severe as it is on a hard drive. Games designed purely for SSDs today don't have to employ those tricks. But IO Interactive has developed all three Hitman games to run on consoles, too, and the PS4 and Xbox One use 5400 RPM hard drives made a full decade ago (with measly 8MB caches, to boot). De Pascale said that IO Interactive has technology built for when its games were loading directly from DVDs, which are even slower than hard drives.

Now that the PS5 and Xbox Series X are here with SSDs, that technology is hopefully soon to be obsolete, and any game developers who still duplicate resources for faster load times can follow IO's lead in slimming down their games. It's going to be hard to upstage an 80 gigabyte diet, though. Agent 47's definitely going to need a new tux.



Читайте также

Pepper Grinder review

'The gold rush is over:' Slay the Spire and Darkest Dungeon devs say that big Game Pass and Epic exclusive deals have dried up for indie devs

I really enjoyed running around as a tiny ant in this upcoming RTS




Game24.pro — паблик игровых новостей в календарном формате на основе технологичной новостной информационно-поисковой системы с элементами искусственного интеллекта, гео-отбора и возможностью мгновенной публикации авторского контента в режиме Free Public. Game24.pro — ваши Game News сегодня и сейчас в Вашем городе.

Опубликовать свою новость, реплику, комментарий, анонс и т.д. можно мгновенно — здесь.



Персональные новости

Шапки женские вязаные на Wildberries, 2024 — новый цвет от 392 руб. (модель 466)

Пассажир рейса Москва — Пермь попал в реанимацию

Топливному компромиссу между Украиной и Азербайджаном пришел конец?

Эксперты КА «Главный Советник» приняли участие в форуме «Тренды и антитренды корпоративного видео сегодня»