Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Diamond Casino Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews

      1. Events
    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA 6

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

Neodymium

Virtual File System

Recommended Posts

Neodymium

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:

kg3DOY7.png

 

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 by Neodymium
  • Like 14

Share this post


Link to post
Share on other sites
itrungchemxx

great idea

Share this post


Link to post
Share on other sites
Fufu's lover

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!

Share this post


Link to post
Share on other sites
Alexander Blade

Good one ! Wonder why does it depend on OpenIV.asi unless you are generating rpfs in runtime ?

Edited by Alexander Blade

Share this post


Link to post
Share on other sites
Neodymium

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.

Share this post


Link to post
Share on other sites
Fufu's lover

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!

Share this post


Link to post
Share on other sites
Neodymium

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.

Share this post


Link to post
Share on other sites
itrungchemxx

it's much better to use folder structure to simulate the whole thing

Share this post


Link to post
Share on other sites
Fufu's lover

 

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.

Share this post


Link to post
Share on other sites
FunGt

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 by FunGt

Share this post


Link to post
Share on other sites
Neodymium

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.

Share this post


Link to post
Share on other sites
milesrotaru

Current zip doesn't include the example configs. Maybe you could include those right in the top post for quick reference.

Share this post


Link to post
Share on other sites
Neodymium

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.

Share this post


Link to post
Share on other sites
_CP_

@Neodymium

 

Is there any way to reload files ingame by your method?

Share this post


Link to post
Share on other sites
milesrotaru

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: 00007FFE2D460038
GetFileAttributesExW: 00007FFE2D470038
CreateFileW: 00007FFE2D480038
SetFilePointer: 00007FFE2D490038
SetFilePointerEx: 00007FFE2D4A0038
ReadFile: 00007FFE2D4B0038
hooks ready

VirtualFileSystemInit.log:
init startmain module dumped key foundloaded keys

Share this post


Link to post
Share on other sites
FunGt

@milesrotaru: try to remove the .NET ScriptHook and see if it works. For me it was crashing for that.

Share this post


Link to post
Share on other sites
Claude_Lib

Does it support nested archives, like vehicles.rpf inside dlc.rpf?

Share this post


Link to post
Share on other sites
Neodymium

@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 by Neodymium

Share this post


Link to post
Share on other sites
milesrotaru

Thanks for the suggestion but I never had Script Hook V .NET installed.

Share this post


Link to post
Share on other sites
DigChrono

I'm definitely going to keep an eye on this mod, but I'm not going to use it yet since I'm too lazy to write the xml paths. It would definitely be simpler to use a folder structure instead of having the files loose, like itrungchemxx said.

Share this post


Link to post
Share on other sites
Anach

This will be incredibly handy for testing mods, once you have the .net problem fixed.

Share this post


Link to post
Share on other sites
hristi

Wow. This will be useful once it's stable. Can't wait for the full release.

Share this post


Link to post
Share on other sites
TheRealMofu

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*

Share this post


Link to post
Share on other sites
ocbaker

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-realism

Super excited to see this leave preview.

Thanks!

Share this post


Link to post
Share on other sites
DrGta

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"

Share this post


Link to post
Share on other sites
Corporal Quesadilla

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 by Corporal Quesadilla

Share this post


Link to post
Share on other sites
var

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--> :lol: or delete it!

 

is this a bug? :panic:

 

and, how can I get the newest version of this mod?

Edited by var

Share this post


Link to post
Share on other sites
diamond-optic

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--> :lol: or delete it!

 

is this a bug? :panic:

 

and, how can I get the newest version of this mod?

 

timecycle_mods_2.xml is in: common.rpf\data\timecycle

Share this post


Link to post
Share on other sites
kju4712

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 :santa:

Edited by kju4712

Share this post


Link to post
Share on other sites
lpgunit

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 by lpgunit

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.