Neodymium Posted June 18, 2015 Share Posted June 18, 2015 (edited) THIS TOOL IS DISCONTINUED.After the OpenIV team received a C&D letter for their tool, I decided to stop any activity related to GTAV. I already stopped developing new tools some time ago and I am not willing to stuggle with problems like these in the future by providing modding tools for GTAV.I'm sorry for everyone interested in my work. --------------------------------------------------------------------------------------------------------------------------------------------------- First of all: This is a PREVIEW version. It may or it may not work for you.With this plugin you no more need to import modified files back into the real RPF archive. You can simply put them in a mod directory and write a configuration file that describes in which rpf archive your files belong. This plugin does NOT modify your RPF files. The game will, however, think you modified your RPF archives.How it works:No game code and no files are modified by this plugin. Only a user-mode hook of the windows functions for reading files is applied to the game. When the game then reads an RPF file, this plugin returns, instead of the real RPF file, only some parts of the real RPF file combined with your modified files.How to use it:1. Copy ModLoader.asi into your GTAV folder.2. Create a new folder with the name 'packages' in your GTAV folder.3. In this packages folder, create a new folder for each of your mods.4. Copy all the files of your mod into your mod folder.5. In your mod folder, also create a textfile with the name 'package.config' or copy and modify one of the examples. This is then your configuration-file.6. Write the xml-configuration. There is a complete example (with dummy files only) in the zip.7. Run the game. The first start can take several minutes. Screenshot: I have not tested this plugin together with the OpenIV mods folder. If it does not work, try to remove (or rename) the mods folder.Prerequisites: Visual C++ 2015 x64 runtime OpenIV ASI Before you play online, completely REMOVE this plugin or you can be banned! I do not take responsibilities for bans. [DOWNLOAD LINK REMOVED] Edited June 16, 2017 by Neodymium LokDog, Jago, Igor Bogdanoff and 11 others 14 Link to comment Share on other sites More sharing options...
itrungchemxx Posted June 18, 2015 Share Posted June 18, 2015 great idea Link to comment Share on other sites More sharing options...
Fufu's lover Posted June 18, 2015 Share Posted June 18, 2015 To be clear, with this plugin we don't need to use OpenIV and don't need to change any of the games files. Just put the mods (that need OpenIV to install) in the packages file, make the rest configurations and the game will play the modded version? If that is what i understood, you save a lot of peoples life, including mine! Link to comment Share on other sites More sharing options...
Alexander Blade Posted June 18, 2015 Share Posted June 18, 2015 (edited) Good one ! Wonder why does it depend on OpenIV.asi unless you are generating rpfs in runtime ? Edited June 18, 2015 by Alexander Blade Link to comment Share on other sites More sharing options...
Neodymium Posted June 18, 2015 Author Share Posted June 18, 2015 To be clear, with this plugin we don't need to use OpenIV and don't need to change any of the games files. Just put the mods (that need OpenIV to install) in the packages file, make the rest configurations and the game will play the modded version? If that is what i understood, you save a lot of peoples life, including mine! You are right. But you still need the openIV.asi plugin. However, there is a difference in the result. Simulating RPFs at runtime uses cpu resources while editing the files with OpenIV doesnt and is probably a 'cleaner' way. But I could not find a decrease in game performance while testing. Good one ! Wonder why does it depend on OpenIV.asi unless you are generating rpfs in runtime ? Since the plugin only hooks the ReadFile function I have to generate valid rpfs at runtime. Actually the header is generated at startup. But I have not implemented rpf encryption yet for the plugin. So I simply dont encrypt the rpfs and use the openiv.asi plugin. Link to comment Share on other sites More sharing options...
Fufu's lover Posted June 18, 2015 Share Posted June 18, 2015 I searched to find the latest OpenIV.asi 1.1 but i can't find it. Stupid questions: Is there any standalone of OpenIV.asi 1.1 version or need to download and install OpenIV 2.6.3 program and install the OpenIV.asi through it ? If i had only the OpenIV.asi in my GTAV folder will the Virtual File System work or need to have additional files that OpenIV program installs in my pc? If it will work, then please add the latest OpenIV.asi in your .zip file because i don't like to install programs that i don't use. Thanks in advance! Link to comment Share on other sites More sharing options...
Neodymium Posted June 18, 2015 Author Share Posted June 18, 2015 I searched to find the latest OpenIV.asi 1.1 but i can't find it. Stupid questions: Is there any standalone of OpenIV.asi 1.1 version or need to download and install OpenIV 2.6.3 program and install the OpenIV.asi through it ? If i had only the OpenIV.asi in my GTAV folder will the Virtual File System work or need to have additional files that OpenIV program installs in my pc? If it will work, then please add the latest OpenIV.asi in your .zip file because i don't like to install programs that i don't use. Thanks in advance! You only need the OpenIV.asi in your GTAV folder. But the OpenIV team will probably not provide a standalone ASI. So you have to install OpenIV. I will not add the OpenIV.asi to the zip file since this is not my work. Link to comment Share on other sites More sharing options...
itrungchemxx Posted June 19, 2015 Share Posted June 19, 2015 it's much better to use folder structure to simulate the whole thing Link to comment Share on other sites More sharing options...
Fufu's lover Posted June 19, 2015 Share Posted June 19, 2015 I searched to find the latest OpenIV.asi 1.1 but i can't find it. Stupid questions: Is there any standalone of OpenIV.asi 1.1 version or need to download and install OpenIV 2.6.3 program and install the OpenIV.asi through it ? If i had only the OpenIV.asi in my GTAV folder will the Virtual File System work or need to have additional files that OpenIV program installs in my pc? If it will work, then please add the latest OpenIV.asi in your .zip file because i don't like to install programs that i don't use. Thanks in advance! You only need the OpenIV.asi in your GTAV folder. But the OpenIV team will probably not provide a standalone ASI. So you have to install OpenIV. I will not add the OpenIV.asi to the zip file since this is not my work. Hello again, i don't think they would have any problem, you don't steal their work and you also give the credits to them, anyway you know better. Forgive me and thank you for your time. Link to comment Share on other sites More sharing options...
FunGt Posted June 20, 2015 Share Posted June 20, 2015 (edited) This tool is very promising. I tried it but my game crashes during loading... Does it support the latest patch (372.2)? At the beginning I had some DLL missing errors, then I installed C++ Redis. RC 2015 and they are gone (I had already the other prerequisites). The logs seems without any useful information. EDIT: I found that it crashes with .NET ScriptHook. Edited June 22, 2015 by FunGt Link to comment Share on other sites More sharing options...
Neodymium Posted June 20, 2015 Author Share Posted June 20, 2015 This tool is very promising. I tried it but my game crashes during loading... Does it support the latest patch (372.2)? At the beginning I had some DLL missing errors, then I installed C++ Redis. RC 2015 and they are gone (I had already the other prerequisites). The logs seems without any useful information. I recompiled the plugin with visual studio 2013. So the prerequisites should be correct now. The plugin should work independent of the game version, but I only tested using the steam version. After starting the game, the plugin should also create a file called "VirtualFileSytem.dat". Was this file created? I have also uploaded a new version that also creates "VirtualFileSystemInit.log" in the GTAV folder. This contains some more information. Please PM me this file. Link to comment Share on other sites More sharing options...
milesrotaru Posted June 21, 2015 Share Posted June 21, 2015 Current zip doesn't include the example configs. Maybe you could include those right in the top post for quick reference. Link to comment Share on other sites More sharing options...
Neodymium Posted June 21, 2015 Author Share Posted June 21, 2015 Current zip doesn't include the example configs. Maybe you could include those right in the top post for quick reference. I added it to the zip. Link to comment Share on other sites More sharing options...
_CP_ Posted June 21, 2015 Share Posted June 21, 2015 @Neodymium Is there any way to reload files ingame by your method? Link to comment Share on other sites More sharing options...
milesrotaru Posted June 21, 2015 Share Posted June 21, 2015 Unfortunately VFS is crashing the game on startup for me. Problem signature: Problem Event Name: APPCRASH Application Name: GTA5.exe Application Version: 1.0.372.2 Application Timestamp: 5576de6f Fault Module Name: GTA5.exe Fault Module Version: 1.0.372.2 Fault Module Timestamp: 5576de6f Exception Code: c0000005 Exception Offset: 0000000000e5734d OS Version: 6.3.9600.2.0.0.768.101 Locale ID: 4105 Additional Information 1: 233d Additional Information 2: 233db02abf30804573cd67331cc15f75 Additional Information 3: 8602 Additional Information 4: 8602977457ff0fa0d1a555d686b76d32 launcher.log: [2015-06-21 09:34:42.073] [DISPLAY] Using DPI 96[2015-06-21 09:34:42.094] [DISPLAY] File version 10000:1740002 (for C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\GTA5.exe)[2015-06-21 09:34:42.108] [DISPLAY] File version 10001:60000 (for C:\Program Files\Rockstar Games\Social Club\socialclub.dll)[2015-06-21 09:34:42.116] [DISPLAY] File version 10000:1740003 (for C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\GTAVLauncher.exe)[2015-06-21 09:34:42.117] [DISPLAY] Version: |1.0.372.2|1.1.6.0|1.0.372.3|FSP[2015-06-21 09:34:42.568] [DISPLAY] OS version: Major: 6, Minor: 2, Build: 9200, Platform: 2[2015-06-21 09:34:42.718] [DISPLAY] Social Club initializing...[2015-06-21 09:34:43.219] [DISPLAY] Attempting to create device...[2015-06-21 09:34:43.220] [DISPLAY] Attempting to initialise DX9 COM object...[2015-06-21 09:34:43.593] [DISPLAY] Window size: 690 x 496[2015-06-21 09:34:43.613] [DISPLAY] Successfully created DX Device![2015-06-21 09:34:50.433] [DISPLAY] Launching game...[2015-06-21 09:34:50.434] [DISPLAY] (path: C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\GTA5.exe cmdline: "C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\GTA5.exe")[2015-06-21 09:34:54.836] [WARNING] Device lost.[2015-06-21 09:34:54.836] [WARNING] Resetting device...[2015-06-21 09:34:54.939] [WARNING] Reset failed with D3DERR_DEVICELOST.[2015-06-21 09:35:47.444] [WARNING] Resetting device...[2015-06-21 09:35:47.532] [ ERROR ] GameComm: ReadFile failed.[2015-06-21 09:35:47.536] [DISPLAY] Reset succeeded.[2015-06-21 09:35:47.715] [DISPLAY] Game exited with code -1073741819[2015-06-21 09:35:47.716] [ ERROR ] Unable to stat out-file![2015-06-21 09:35:47.716] [ ERROR ] ************************************************************************[2015-06-21 09:35:47.716] [ ERROR ] * Setting error condition[2015-06-21 09:35:47.717] [ ERROR ] * Category: 1 (ERROR_CATEGORY_LAUNCHER)[2015-06-21 09:35:47.717] [ ERROR ] * Code: 1 (LAUNCHER_ERR_INVALID_OUTFILE)[2015-06-21 09:35:47.717] [ ERROR ] * Extra: [2015-06-21 09:35:47.717] [ ERROR ] * Localised: Launcher error. Code: 7[2015-06-21 09:35:47.717] [ ERROR ] ************************************************************************[2015-06-21 09:35:47.718] [ ERROR ] Unable to read out-file![2015-06-21 09:35:47.718] [ ERROR ] ************************************************************************[2015-06-21 09:35:47.718] [ ERROR ] * Setting error condition[2015-06-21 09:35:47.719] [ ERROR ] * Category: 5 (ERROR_CATEGORY_EXIT_CODE)[2015-06-21 09:35:47.719] [ ERROR ] * Code: 5 (c0000005)[2015-06-21 09:35:47.719] [ ERROR ] * Extra: [2015-06-21 09:35:47.719] [ ERROR ] * Localised: Grand Theft Auto V exited unexpectedly. Please click Retry below to enter the game again, or click Safe Mode to launch the game with reduced graphics settings. If you continue to have problems playing the game, please contact Rockstar Games Customer Service at http://support.rockstargames.com[2015-06-21 09:35:47.719] [ ERROR ] ************************************************************************[2015-06-21 09:35:47.732] [ ERROR ] Unable to clear in-file and out-file![2015-06-21 09:35:52.223] [DISPLAY] Uninitializing. VirtualFileSystem.log: initialize hooks...GetFileAttributesW: 00007FFE2D460038GetFileAttributesExW: 00007FFE2D470038CreateFileW: 00007FFE2D480038SetFilePointer: 00007FFE2D490038SetFilePointerEx: 00007FFE2D4A0038ReadFile: 00007FFE2D4B0038hooks ready VirtualFileSystemInit.log:init startmain module dumped key foundloaded keys Link to comment Share on other sites More sharing options...
FunGt Posted June 22, 2015 Share Posted June 22, 2015 @milesrotaru: try to remove the .NET ScriptHook and see if it works. For me it was crashing for that. Link to comment Share on other sites More sharing options...
Claude_Lib Posted June 22, 2015 Share Posted June 22, 2015 Does it support nested archives, like vehicles.rpf inside dlc.rpf? Link to comment Share on other sites More sharing options...
Neodymium Posted June 22, 2015 Author Share Posted June 22, 2015 (edited) @Neodymium Is there any way to reload files ingame by your method? No. This plugin only simulates RPF archives. With this method there is no way to reload files ingame. @milesrotaru: try to remove the .NET ScriptHook and see if it works. For me it was crashing for that. I can confirm that it crashes when .NET ScriptHook is installed. It's a really strange error and I didn't find the bug yet. Does it support nested archives, like vehicles.rpf inside dlc.rpf? Yes. Just use the nested archive like a directory name in the config file. This is done in one of the examples. Edited June 22, 2015 by Neodymium Link to comment Share on other sites More sharing options...
milesrotaru Posted June 22, 2015 Share Posted June 22, 2015 Thanks for the suggestion but I never had Script Hook V .NET installed. Link to comment Share on other sites More sharing options...
Anach Posted June 27, 2015 Share Posted June 27, 2015 This will be incredibly handy for testing mods, once you have the .net problem fixed. Link to comment Share on other sites More sharing options...
hristi Posted June 27, 2015 Share Posted June 27, 2015 Wow. This will be useful once it's stable. Can't wait for the full release. Link to comment Share on other sites More sharing options...
TheRealMofu Posted June 29, 2015 Share Posted June 29, 2015 This will be sooooo awesome, much better than than the openIV variant, if it works together with .net hook Cause with this you save loads of harddisk space *thumbs up* Link to comment Share on other sites More sharing options...
ocbaker Posted July 5, 2015 Share Posted July 5, 2015 Hey, Tried out your mod and it was really awesome with some simple mods but I kept getting crashes when dealing with some more complicated mods. I tried to get this mod working with VFS however it just kept crashing loading the map in. I was wondering if you could help sort this out. This mod is so easy to use and I even made a simple console app that auto generates the config file for me, If I could figure out why this mod doesn't work that would be awesome.https://www.gta5-mods.com/weapons/ripplers-realismSuper excited to see this leave preview.Thanks! Link to comment Share on other sites More sharing options...
Chris S Posted July 5, 2015 Share Posted July 5, 2015 i love this however i would like it better if this was working online. so we can modify client side and play mods with our friends. due to patch update 1.26+ we have not been able to load online with friends "due to modified/incompatible assets" Link to comment Share on other sites More sharing options...
Corporal Quesadilla Posted July 9, 2015 Share Posted July 9, 2015 (edited) Is it possible to get this working with entire folders? I'd like to simply add a whole folder of files/other folders in. For example, put the contents of a folder into update.rpf/common/data/ so that both visualsettings.dat and /timecycle/w_clear.xml are implemented Thanks so much for this tool! It would be great if it caught on with all mod developers because this is amazing! Also, I'm getting immediate crashes to launcher now: http://pastebin.com/tQ7KBq3n Did I screw up formatting? Or is there a limit to the number of mods I have? Edited July 9, 2015 by Corporal Quesadilla Link to comment Share on other sites More sharing options...
var Posted July 12, 2015 Share Posted July 12, 2015 (edited) thanks a lot! author, It's help for us,when I don't wanna modify the original files. I find a bug(maybe not!): the game crash when the file isnot exists in original files, eg: I downloaded this mod :https://www.gta5-mods.com/misc/improved-visualsettings-fog-chromatic-removal <import targetDir="update\update.rpf\common\data\timecycle" file="timecycle_mods_2.xml" /> the "timecycle_mods_2.xml" file isnot in original file "update\update.rpf\common\data\timecycle", but in this "TimeCycle mod" when I add this line to "package.config", the game crash, of course,you can comment this line with <!--xxx--> or delete it! is this a bug? and, how can I get the newest version of this mod? Edited July 12, 2015 by var Link to comment Share on other sites More sharing options...
diamond-optic Posted July 13, 2015 Share Posted July 13, 2015 thanks a lot! author, It's help for us,when I don't wanna modify the original files. I find a bug(maybe not!): the game crash when the file isnot exists in original files, eg: I downloaded this mod :https://www.gta5-mods.com/misc/improved-visualsettings-fog-chromatic-removal <import targetDir="update\update.rpf\common\data\timecycle" file="timecycle_mods_2.xml" /> the "timecycle_mods_2.xml" file isnot in original file "update\update.rpf\common\data\timecycle", but in this "TimeCycle mod" when I add this line to "package.config", the game crash, of course,you can comment this line with <!--xxx--> or delete it! is this a bug? and, how can I get the newest version of this mod? timecycle_mods_2.xml is in: common.rpf\data\timecycle Link to comment Share on other sites More sharing options...
kju4712 Posted July 23, 2015 Share Posted July 23, 2015 (edited) Nice work! Will it ever be possible to add also new files in a "virtual" RPF or just those already present in the actual RPF? Thank you Edited July 23, 2015 by kju4712 Link to comment Share on other sites More sharing options...
lpgunit Posted July 26, 2015 Share Posted July 26, 2015 (edited) Been looking for this one dude, good call! For starters the archive structure in GTA V makes things a little more complicated for modders, and having to deal with reloading the game back to stock is a pain once you mess it up, so yes, this would be of great benefit for us who would like to mod SP but are worried about ruining things. Oh, and if you can do something similar with GTA IV, it'll be golden. Edited July 26, 2015 by lpgunit Link to comment Share on other sites More sharing options...
kju4712 Posted July 28, 2015 Share Posted July 28, 2015 Does VFS still work for anyone after the latest GTA patch? I am always getting crashes now 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