NTAuthority Posted January 21, 2014 Share Posted January 21, 2014 (edited) Download ColAccel for IV and EFLC The problemFor CitizenIV, I'm intending to add other cities, which would be able to be flown to from the current city's airport. (the actual feature depends on me being able to write automated tools to convert at least VC and generate navigation meshes)As I wanted that experience to be as seamless as possible, loading the game needs to be optimized to take less time. So, I took Process Monitor and looked at what happened from the point I selected to load the recently downloaded DLC (CitizenIV, again - a bug in my episode loader ) until I saw the scripts running (loading text) - in fact, the period during which the artwork loading screens appear. Out of the 18 seconds this process took on my system, around 9-10 were spent reading large chunks of data from various .img files.I looked into the files at the offset shown by Process Monitor, and found RAGE resources of type 0x20 - collision models. I already know GTA III to SA were loading all collision meshes for various precalculation reasons during the game load, but seeing as this is around 400-500 MB of data in IV (which also has to be decompressed, as it is deflate'd, adding more time to the loading process) it takes fairly long - I wouldn't be surprised if V still does this, as it still loads slow on consoles...The solutionAs recently revealed in the mobile version of GTA:SA, Rockstar North had thought about this problem during the development of SA, and created a cache (internally named ColAccel, like my implementation is named as well) which stored the actual data read from the collision files (basically, the size of the collision models) in a cache, to load them without having to read through the full collision files. This feature never got used in SA, and clearly IV still did not have anything like that.Well, except that I implemented something now. ColAccel is a .asi plugin for GTA IV and EFLC (without any external dependencies) which creates a 'colCache.dat' file on the first load, containing all the data actually used by the game from the collision meshes (basically, 580 kB with a lot of redundant data, nothing like 500 MB!) and accelerating your game load time by 50% or more.Note that the plugin should work with any version of the game, but only been tested on GTA IV 1.0.7.0 and EFLC 1.1.2.0.In addition, you *should* delete colCache.dat any time you a) add additional .img files or b) replace any .wbn/.wbd files inside any .img, either directly or indirectly - if not, various bad side effects can and will happen. ColAccel - original 2014 version. (thanks to @ThirteenAG for porting the CitizenFX version to work separately!) Edited July 27, 2016 by NTAuthority buzzbass, Apu889, bst81 and 37 others 40 Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding! Link to comment Share on other sites More sharing options...
El Dorado Posted January 21, 2014 Share Posted January 21, 2014 (edited) This can in any way increase in-game performance (fps)? Edited January 21, 2014 by format c: Link to comment Share on other sites More sharing options...
Ash_735 Posted January 21, 2014 Share Posted January 21, 2014 Nice, always looking to make IV more bareable, reducing initial load should help with that. Jestic, lpgunit, MrsRackman and 2 others 5 Link to comment Share on other sites More sharing options...
Marty McFly Posted January 21, 2014 Share Posted January 21, 2014 Could you be so kind to do it for 1.0.4.0 as well? Patch 4 and 7 are mostly used and we enb modders prefer patch 4. Besides that: awesome work! bst81 and lpgunit 2 Link to comment Share on other sites More sharing options...
ThirteenAG Posted January 21, 2014 Share Posted January 21, 2014 Note that the plugin currently only works on GTA IV 1.0.7.0 - if demand is sufficient I'll make a version for the latest EFLC version as well.Sign me up By the way, do you think it's possible to create a plugin, which will load last saved game automatically? Like in IV/V on consoles. Removing intro screens completely would be nice too. Widescreen Fixes Pack || Project2DFX || SaveLoader || WindowedMode || CLEO Scripts Link to comment Share on other sites More sharing options...
lpgunit Posted January 21, 2014 Share Posted January 21, 2014 (edited) Could you be so kind to do it for 1.0.4.0 as well? Patch 4 and 7 are mostly used and we enb modders prefer patch 4. Besides that: awesome work! Yeah, it would be neato if you do one for 1.0.4.0 as well. Besides, most other people who play with patch 4 are those running the game on lower-end systems such as myself. Edited January 21, 2014 by lpgunit PacketOverload_x64bit 1 Link to comment Share on other sites More sharing options...
œaœa Posted January 21, 2014 Share Posted January 21, 2014 Please please do it for patch 4. PacketOverload_x64bit 1 Link to comment Share on other sites More sharing options...
Zer0w5 Posted January 21, 2014 Share Posted January 21, 2014 Tried it on my version of GTA IV 1.0.7.0 and it seems to do its job, thanks Link to comment Share on other sites More sharing options...
buzzbass Posted March 28, 2014 Share Posted March 28, 2014 Thanks for this, a EFLC would be welcome too Link to comment Share on other sites More sharing options...
T-ru Posted March 29, 2014 Share Posted March 29, 2014 This's great, and yes make it for EFLC. buzzbass 1 Link to comment Share on other sites More sharing options...
bst81 Posted March 29, 2014 Share Posted March 29, 2014 Good. Please make for patch 4 too Hopefully you will do it Link to comment Share on other sites More sharing options...
PacketOverload_x64bit Posted April 2, 2014 Share Posted April 2, 2014 (edited) Amazing. Many, many folks still on patch 4 for ENB. Most will never move from Patch 1040/1004 until Boris V. fixes skylighting at the internal D3D9.dll level, so if your ever inclined to, ColAccel for one of 1030/1040/1004 patches would be awesome. Edited April 2, 2014 by PacketOVerload_x64Bit lpgunit 1 Link to comment Share on other sites More sharing options...
BS_BlackScout Posted April 10, 2014 Share Posted April 10, 2014 Is it able to work in your ViIV? Link to comment Share on other sites More sharing options...
NTAuthority Posted April 14, 2014 Author Share Posted April 14, 2014 Is it able to work in your ViIV? not currently as viiv uses more collision files than colaccel allocates; eventually the framework will contain it though (and somehow cache the img-loaded files/replace img streaming itself) BS_BlackScout and Jago 2 Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding! Link to comment Share on other sites More sharing options...
gajrajgchouhan Posted August 24, 2014 Share Posted August 24, 2014 please make it for eflc Link to comment Share on other sites More sharing options...
cp1dell Posted August 25, 2014 Share Posted August 25, 2014 Wow this is great. Yes, please make this for EFLC. I don't see why you shouldn't. Link to comment Share on other sites More sharing options...
InfamousSabre Posted November 18, 2014 Share Posted November 18, 2014 Another vote for EFLC, here! Very cool script! buzzbass 1 Link to comment Share on other sites More sharing options...
Blackbird88 Posted November 18, 2014 Share Posted November 18, 2014 Yes EFLC please. buzzbass 1 Link to comment Share on other sites More sharing options...
Silent Posted November 18, 2014 Share Posted November 18, 2014 Do EFLC, yes. buzzbass 1 Link to comment Share on other sites More sharing options...
Link2012 Posted November 18, 2014 Share Posted November 18, 2014 SA please Androll, Platinum Card, Snoops27 and 3 others 6 Link to comment Share on other sites More sharing options...
fefenc Posted November 19, 2014 Share Posted November 19, 2014 (edited) I vote for an EFLC version, playing as Luis would be more funny if I could load the game faster o/ Edited November 19, 2014 by fefenc buzzbass 1 Link to comment Share on other sites More sharing options...
gta.bullet Posted November 21, 2014 Share Posted November 21, 2014 50s vs 20s for me. better than 50%. Link to comment Share on other sites More sharing options...
nyolc8 Posted January 10, 2015 Share Posted January 10, 2015 EFLC version please :3 But how would that work? Because the two episodes have different files... Link to comment Share on other sites More sharing options...
Blackbird88 Posted January 10, 2015 Share Posted January 10, 2015 EFLC version please :3 But how would that work? Because the two episodes have different files... I already PM'd him about it. No response though so it's safe to say it's not happening now Link to comment Share on other sites More sharing options...
ThirteenAG Posted January 10, 2015 Share Posted January 10, 2015 Making the source code public would help, I believe. MrsRackman, Blackbird88 and buzzbass 3 Widescreen Fixes Pack || Project2DFX || SaveLoader || WindowedMode || CLEO Scripts Link to comment Share on other sites More sharing options...
nkjellman Posted January 12, 2015 Share Posted January 12, 2015 This will definitely be needed on GTA V. That game takes ages to load. lpgunit 1 Link to comment Share on other sites More sharing options...
Silent Posted January 12, 2015 Share Posted January 12, 2015 But console GTAs have colaccel at least since SA. lpgunit 1 Link to comment Share on other sites More sharing options...
BS_BlackScout Posted January 21, 2015 Share Posted January 21, 2015 But console GTAs have colaccel at least since SA. PS2 Versions loading time used to be horrible, really horrible... Marty McFly 1 Link to comment Share on other sites More sharing options...
Blackbird88 Posted January 22, 2015 Share Posted January 22, 2015 (edited) But console GTAs have colaccel at least since SA. PS2 Versions loading time used to be horrible, really horrible... Because they have to load the game from DVD drive. I wonder if SA could be installed to PS2's HDD. Most games can't be. Edited January 22, 2015 by Blackbird88 Link to comment Share on other sites More sharing options...
AgentWD40 Posted January 28, 2015 Share Posted January 28, 2015 Wow, wished you made this sooner. Hopefully you could do the same with GTAV because those loading times are ridiculous and can't even play while waiting for matchmaking. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now