Jump to content

Lenny's Mod Loader RDR 0.6.8470.31280

Replace any game file!
   (6 reviews)

4 Screenshots

The general idea of Lenny's Mod Loader is to provide an easy way to modify the game. In its current state for RDR 2 it will allow you to replace any file in the game, whether they are streaming files such as models or data files, font files etc. It also includes full UI support akin to the GTA V version.

 

The three screenshots show replaced assets, replaced font and an altered meta file to change the police response in Valentine to Saint Denis police. These are all provided in an example download, see "Examples" further down below for more information. 

 

Installation

1.) Copy all files from "ModLoader" into your RDR 2 game root folder so that files such as vfs.asi are in the same folder as your RDR2.exe.

2.) The Mod Manager folder can be anywhere and does not need to be inside the game folder.

3.) New mods go into lml folder or use the button "Download with Mod Manager" on the mod website if it is supported (see installation video for an example).

 

Beta 11 highlights - Data file merge and manifest support

A few new exciting features are part of this update. First, support for overriding files used very early during game load has been improved significantly. While I hope that this does not cause any side-effects, please let me know if mods that worked well previously no longer function correctly. For instance, it was not possible in previous versions to override the skydome textures to change the moon. Thanks to @VideoTech for testing.

 

Second, data file loading allows you to separate your changes to certain files, such as assets_* or metapeds into individual files so that you no longer have to modify the existing one (effectively merging them). This should make it a lot easier to create mods such as custom peds since you can contain most changes to separate files. Please note that this does not magically work for all games files but only those where the internal game parser supports additions (so no catalog for instance). In addition, custom manifest files for peds and maps are supported now. The ped support has been tested extensively, but map support will only really become useful once CodeX can generate these files for you. An example for these features is provided in the download courtesy of BHmaster.

 

Beta 9 highlights

Very much a maintenance update, this version hopefully fixes the random DRM integrity crashes. Thanks a lot to @calledme.kev who spent tens of hours testing various builds to find the issue! It also adds a lot of caching for collection calls that rely on read-only data, so LML should be a little less demanding.

 

Beta 8 highlights
This version adds a few new features such as allowing you to override the _manifest.ymf and _cache.ych files found in RPFs. Support to replace hashed files has also improved and now includes ymaps among other file types. The streaming folder now loads pso files, such as ymap, as text files, too. Most data files that are forced to be loaded as pso by the game have been patched to support being loaded as text files, such as cameras.ymt or the archetype definitions. Due to heavy refactoring to improve startup performance, previous builds are still made available. See changelog for more details.

Ymap & Ytyp support (beta 7)
This version introduces experimental support for ymap and ytyp. Two very simple examples are included that move some of the blue barrels around Valentine (check behind the saloon) via a different ymap and that make the lights inside the Saloon much brighter (ytyp - thanks to Modifiver). For ymap modifications, if you unload the imap via script and modify the file on disk, the changes will be applied on reload so no need to restart the game.

Bk2 support (beta 7)
Bink files were technically already supported in previous versions but caused some problems. In the current version they still behave somewhat differently in that they need to have two '.' in their file name as the extension '.bk2' is part of the actual file name. So name your file "movie.bk2.bk2" to make sure it gets replaced correctly. An example for replace would be "replace\movies_0\movies\filename.bk2.bk2".

Settings file (beta 7)
A settings file has been added that is to be placed in the game's root folder and called lml.ini. It is mostly geared towards developers and allows for more verbose logging output (or less..) making it easier to identify files you want to replace. If you set the log level to 0 you can see most of the game's requests to load files and it should be much easier to correctly identify the path you want to replace. Please note that many files are only loaded via hash and not via their name. You can also choose to disable the streaming and replace folders if you do not use them for added performance.

 

Ymt support (beta 5)

The biggest new feature in this update is the support for ymt file editing even if the source file contains unknown hashes. In order to replace a file, export the ymt to xml with OpenIV and then either use replacement via install.xml or the replace folder to replace the original file. Since you are replacing the ymt file, make sure that your file also has the ymt extension even though it contains xml. For the replace folder method you also need to match the file name. Now you can edit the file in plaintext and the game will treat it as a ymt with all names fixed up when loading. See the included examples for more information.

 

If you do end up finding a file where you feel that it is not properly fixed up by LML (for instance when exporting the file directly from OpenIV without any changes breaks the game), please let me know. The only file I know of that will currently cause problems is weapons.ymt, but this is not due to LML but because of an export bug in OpenIV which cuts off certain weapon flags. The High-Roller revolver example has these flags manually restored and hence works fine, but this is not the case when exported directly from OpenIV. I have notified the team and trust that they will fix this export problem in the future. Until then you will have to manually inspect the ymt, gather the flags and restore them manually in the xml for weapons if you plan to use them. Please note that this requires advanced knowledge of game structures.

 

Ymt Examples

This download comes with extensive examples courtesy of @Modifiver that modify various aspects of the game. Check them out in the included examples folder and copy them to your lml folder to try them out!

 

Upgrading from earlier LML versions without install.xml support (beta 2 and earlier)

This version of Lenny's Mod Loader introduces install.xml files to instruct LML on how to load your mods. Thus, mods can be separated in folders and no longer require nested folder structures. This is a proven concept from our GTA V version and has now been ported over. You can still use the replace and stream folder under your lml folder. Please note, however, that the Mod Manager UI will only pick up mods that use the new install.xml system so it is recommended to convert your mods to the new system. Only mods using install.xml support Download with Mod Manager. Consult the examples below to learn how to use the new system.

 

Examples

You can find more examples by @Modifiver here:

https://www.rdr2mods.com/downloads/rdr2/mods/80-modifivers-six-shooter-teaser-pack/

 

More examples with detailed documentation on the new install.xml system can be found here:

https://www.rdr2mods.com/downloads/rdr2/mods/77-examples-for-lennys-mod-loader/

 

Verify your file got replaced

If you feel that your file is not being replaced properly, have a look at the log file and see if you can find any entry related to it. Perhaps the path was not correct and hence it did not work. Search for "replaced" for files in replace and "adding" for files in stream.

 

Support

Since this is the first release for RDR I expect there to be quite a few problems and certain files might not work as expected. If you have trouble replacing specific files, please do not hesitate to comment here or reach out and include your modified file and file structure so I can have a look.

 

Installation Video

 Please find a detailed installation video including a guide through our examples here (thanks to @Gan Ceann)

 

 

Detailed explanation of stream vs replace (older versions)

In the lml folder you can find two subfolders, one called "replace" and one called "stream". Both can be used for the same thing but replace is ultimately more powerful, but also more advanced. The stream folder you might recognize from Map Editor or Rampage Trainer and just loads streaming files directly.

 

Stream

As mentioned, similar to other tools available this merely loads streaming files into the game when the game is loading. For instance, model or texture files would go in there and will replace the existing assets in the game. If you do not know the name of an asset, but only its hash, simply name it 0xhash.ext (e.g. 0x9E54B506.ytd for w_melee_machete01+hi.ytd) and it will still be recognized and replace the asset correctly.

This is the most convenient way to quickly replace streaming files as you do not have to worry about where in the game files they are located but only their name.

 

Replace

This folder creates a virtual mapping of the entire game file structure and hence allows you to replace any game file, granted you know its full location. This is similar to the paths you can see in OpenIV when navigating RPFs, but not exactly the same. If you want to change the dispatch.meta file for instance, you will need to modify it in update.rpf, as the one in common.rpf is superseded by that. To do that, you would create the following structure: "replace\update\common\data\dispatch.meta". This is exactly the path you would use in OpenIV (without the .rpf ending for update). Now, whenever the game wants to access this file, it will load yours instead. It is that simple!

 

If you want to replace the font file font_lib_efigs.gfx in scaleform_frontend.rpf for instance, you would create the following structure: "replace\update\x64\patch\data\cdimages\scaleform_frontend\font_lib_efigs.gfx".

 

Word of caution: File paths do not always match their RPF names unfortunately, hence this is a bit more advanced but also allows greater control. Say you want to replace player_zero_coat_001_open.ydd which is present in both packs_1.rpf (original) and dlc.rpf (from patchpack001, an update to the file). Files DLCs follow a slightly different pathing scheme. The full path to this file would be "replace\dlc_patchPack001\x64\packs\base\models\component_models\player_zero_coat_001_open.ydd". As you can see, it does not match the file path directly, which is also why for many files using the stream folder is just simpler. This is because the game maps some files differently and when you open the dlc.rpf (in patchpack001) and its setup2.xml you will see why: the device name is dlc_patchPack001 which is the "root" of all files inside this archive. Thus the path starts at "dlc_patchPack001" and then follows the RPF structure until you arrive at "replace\dlc_patchPack001\x64\packs\base\models\component_models\player_zero_coat_001_open.ydd". Not that complicated, but certainly not as easy as the streaming folder and something to look out for.
 

 

Acknowledgements

Thanks to NTA for his work on fwEvents, hooking, fiDevice and sysAllocator
Thanks to listener for his work on fiDevice and advice over the years (hope you are well!)
Thanks to the OpenIV team for OpenIV
Thanks to dexyfex for CodeWalker

Thanks to Gan Ceann, Will and GameRoll for testing as well as Jewels, GuiCORLEONEx794, jack.sharif and Modifiver for providing example assets

What's New in Version 0.6.8470.31280   See changelog

Released

0.6.8470.31280

Add manifest loading support (thanks to BHmaster for testing)

Add data file loading support (thanks to BHmaster for testing)

Improve overriding of files at game startup (thanks to VideoTech for testing)

You only need to replace vfs.asi when upgrading

 

0.5.8262.28299

Fixed an issue where certain files were not detected correctly when using the replace folder

You only need to replace vfs.asi when upgrading

 

0.5.8154.2388

Added support for build 1436.31 - Preliminary, perhaps, but seems stable

 

0.5.7872.2247
Improved start up performance by adding pattern cache

Improved performance of many collection calls by caching read only data

Potential fix for random DRM crashes (thanks a lot to calledme_kev who spent tens of hours testing various builds!)

 

0.5.7852.27033

Added support for manifest.ymf overrides
Added support for _cache.ych overrides
Added support for hashed replacement files
Added support for files loaded from stream replacing pso variants as xml
Added general purpose hook to allow loading most pso data files as xml (cameras and archetypes among the most interesting)
Added more known file extensions for logging
Improved support for install.xml relative overrides
Improved streaming resource check
Improved startup performance

 

0.5.7837.34504

Added yld and ydd to streaming files auto detection

Added game version logging
Added support for large string replacements (up to 4kb per string up from 512bytes)
Added settings file (lml.ini) to configure log level and other features
Added experimental ymap support

Added experimental ytyp support
Added support for bk2 files

Improved string parser when dealing with special characters

Improved Mod Manager handling of protected folders (should no longer crash)
 

0.4.7818.38572

Added support for adding custom strings and replacing existing ones (see example included that renames navy revolver)

Improved ymt compatibility for certain files (fixes missing icons in catalog)

Improved support for certain ymt files such as landing_sp.ymt (thanks to Bob Ross, Gunslinger and natsu for their help)

 

0.4.7805.278

Added experimental support for editing .ymt files as raw xml with unknown tags and values

Added new ymt examples (courtesy of @Modifiver)

Added support for hashed files in nested structures using the replace folder

Improved audio overwrite logging

Improved file support for "menu"-level textures such as graphics.ytd (thanks to Gunslinger for their help)

Improved support for scenario files (thanks to Modifiver for their help)

 

0.4.7798.30656

Improved memory allocation strategy for hooking memory (which also makes it compatible with 1355)

 

0.4.7794.32766

Added new install.xml system

Added UI support

Added more examples (courtesy of @Modifiver)

  • Like 27
  • Thanks 6
  • Haha 1
  • Confused 2
 Share

You may also like

  • RDR 2 Asi Loader
    By LMS
       1541234   160   5
  • Red Dead Offline
    By LMS
       789558   447   12
  • Lenny's Simple Trainer
    By LMS
       1133657   1351   25
  • RDR 2 Outfit Changer
    By LMS
       405881   575   16
  • Lenny's Simple Trainer RDR 1 PC
    By LMS
       8130   120   4
  • Ped Damage Overhaul
    By HughJanus
       175933   1260   5
  • User Feedback

    Recommended Comments



    Please fix the stuttering that occurs every few seconds when panning the camera, So many Mods rely on this and the stuttering is so distracting 

    Link to comment
    Share on other sites

    @LMS I am replacing the video that plays when you launch the game (The one which has the red rockstar logo) and I tried replacing it but it does not work. Lml is treating it like it does not exist. The mod this located like this Red Dead Redemption 2\lml\replace\update_1\common\movies. The replacement videos are located in the movies folder. I am running the latest version of rdr2 on steam.

     

    Link to comment
    Share on other sites

    On 7/22/2021 at 2:19 PM, FileFinder said:

    VFS is crashing my game. Help

    Same, impossible to launch RDR...

    Link to comment
    Share on other sites

    13 hours ago, WesternGamer said:

    @LMS I am replacing the video that plays when you launch the game (The one which has the red rockstar logo) and I tried replacing it but it does not work. Lml is treating it like it does not exist. The mod this located like this Red Dead Redemption 2\lml\replace\update_1\common\movies. The replacement videos are located in the movies folder. I am running the latest version of rdr2 on steam.

     

     

    Movie replacement works fine, you are probably using a bad path. Set log level to 0 and check the exact path it logs for the intro files.

    Link to comment
    Share on other sites

    Im having some problem with it , it doesent read mi game. ( i open the game but it says waiting for game) i tryed to install all of the versione but nothing. Can you help me please? Thank you  @LMS

    Link to comment
    Share on other sites

    22 hours ago, WesternGamer said:

    @LMS I am replacing the video that plays when you launch the game (The one which has the red rockstar logo) and I tried replacing it but it does not work. Lml is treating it like it does not exist. The mod this located like this Red Dead Redemption 2\lml\replace\update_1\common\movies. The replacement videos are located in the movies folder. I am running the latest version of rdr2 on steam.

     

     

    Yeah, it does not work for me either. I have tried for ages to get the mod that replaces the start movie with that of RDR1, but it won't work. Mod author also gave up trying to help.

    Link to comment
    Share on other sites

    NOTE: This issue has been resolved. The mount as part may not reflect the name of the .rpf file.

     

    @LMS Here is the first few lines of the log

     

    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:116: Log initialized
    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:117: Lenny's Mod Loader Beta Test Version 0.5.7872.2247 - Compiled on Jul 21 2021 01:14:57
    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:122: Running RDR2
    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:97: Game File Version: 1.0.1436.25
    2021-08-08 19:42:04 TRACE d:\gtav\vfs\vfs\vfs\loadermain.cpp:24: InitializeSafe
    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\hooking\hooking.cpp:44: Found hooking memory at 7ff6be2e0000
    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:147: HookFunction::RunAll(): done
    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:132: Init done
    2021-08-08 19:42:04 TRACE d:\gtav\vfs\vfs\vfs\pipeserver.cpp:44: Ready for client connection
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: packcache:/ (appdata0_update.rpf)
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:687: CustomCollection::Open: packcache:/mountmanifest_tu.xml (appdata0_update.rpf)
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:548: Full file name addonDLC:/replace/appdata0_update/mountmanifest_tu.xml (packcache:/mountmanifest_tu.xml)
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:370: AllocateHandle: Allocated new handle 1 for 0x94a969c1 (appdata0_update.rpf)
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\pipeserver.cpp:72: Client connected, creating a processing thread.
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\pipeserver.cpp:44: Ready for client connection
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\pipeserver.cpp:145: InstanceThread created, receiving and processing messages.
    2021-08-08 19:42:06 INFO  d:\gtav\vfs\vfs\vfs\rdr3\stringreplace.h:38: Added new text c7153721
    2021-08-08 19:42:06 INFO  d:\gtav\vfs\vfs\vfs\rdr3\stringreplace.h:38: Added new text 7e945c8
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\communicationclient.cpp:122: Requested to override stream file movies_0:/movies/rockstar_logos.bk2 with addonDLC:/downloader/customstartvideo/replace/rockstar_logos.bk2
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\communicationclient.cpp:122: Requested to override stream file movies_0:/movies/rockstar_logos_4k.bk2 with addonDLC:/downloader/customstartvideo/replace/rockstar_logos_4k.bk2
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\communicationclient.cpp:98: Requested to stream file addonDLC:/downloader/customstartvideo/stream/rockstar_logos.bk2
    2021-08-08 19:42:06 INFO  d:\gtav\vfs\vfs\vfs\rdr3\streamingfilesloader.cpp:230: Adding addonDLC:/downloader/customstartvideo/stream/rockstar_logos.bk2 to queue
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\communicationclient.cpp:98: Requested to stream file addonDLC:/downloader/customstartvideo/stream/rockstar_logos_4k.bk2
    2021-08-08 19:42:06 INFO  d:\gtav\vfs\vfs\vfs\rdr3\streamingfilesloader.cpp:230: Adding addonDLC:/downloader/customstartvideo/stream/rockstar_logos_4k.bk2 to queue
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\communicationclient.cpp:98: Requested to stream file addonDLC:/downloader/mainmenutexturemod/stream/landing_page.ytd
    2021-08-08 19:42:06 INFO  d:\gtav\vfs\vfs\vfs\rdr3\streamingfilesloader.cpp:230: Adding addonDLC:/downloader/mainmenutexturemod/stream/landing_page.ytd to queue
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\loaderrdr3.cpp:47: Mod manager initialized successfully

    I was using the streaming feature the load the videos. It was trying to replace the videos in movies_0.rpf but there are the same videos in update_1.rpf. Do I have to use the replace feature the replace the videos in update_1.rpf? Or does lml also override the files in update_1.rpf? Also I was both trying to stream and replace the files at the same time according to the log above but I tried to replace the files only but that did not work.

    Edited by WesternGamer
    Link to comment
    Share on other sites

    11 minutes ago, WesternGamer said:

    @LMS Here is the first few lines of the log

     

    
    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:116: Log initialized
    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:117: Lenny's Mod Loader Beta Test Version 0.5.7872.2247 - Compiled on Jul 21 2021 01:14:57
    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:122: Running RDR2
    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:97: Game File Version: 1.0.1436.25
    2021-08-08 19:42:04 TRACE d:\gtav\vfs\vfs\vfs\loadermain.cpp:24: InitializeSafe
    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\hooking\hooking.cpp:44: Found hooking memory at 7ff6be2e0000
    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:147: HookFunction::RunAll(): done
    2021-08-08 19:42:04 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:132: Init done
    2021-08-08 19:42:04 TRACE d:\gtav\vfs\vfs\vfs\pipeserver.cpp:44: Ready for client connection
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: packcache:/ (appdata0_update.rpf)
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:687: CustomCollection::Open: packcache:/mountmanifest_tu.xml (appdata0_update.rpf)
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:548: Full file name addonDLC:/replace/appdata0_update/mountmanifest_tu.xml (packcache:/mountmanifest_tu.xml)
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:370: AllocateHandle: Allocated new handle 1 for 0x94a969c1 (appdata0_update.rpf)
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\pipeserver.cpp:72: Client connected, creating a processing thread.
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\pipeserver.cpp:44: Ready for client connection
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\pipeserver.cpp:145: InstanceThread created, receiving and processing messages.
    2021-08-08 19:42:06 INFO  d:\gtav\vfs\vfs\vfs\rdr3\stringreplace.h:38: Added new text c7153721
    2021-08-08 19:42:06 INFO  d:\gtav\vfs\vfs\vfs\rdr3\stringreplace.h:38: Added new text 7e945c8
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\communicationclient.cpp:122: Requested to override stream file movies_0:/movies/rockstar_logos.bk2 with addonDLC:/downloader/customstartvideo/replace/rockstar_logos.bk2
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\communicationclient.cpp:122: Requested to override stream file movies_0:/movies/rockstar_logos_4k.bk2 with addonDLC:/downloader/customstartvideo/replace/rockstar_logos_4k.bk2
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\communicationclient.cpp:98: Requested to stream file addonDLC:/downloader/customstartvideo/stream/rockstar_logos.bk2
    2021-08-08 19:42:06 INFO  d:\gtav\vfs\vfs\vfs\rdr3\streamingfilesloader.cpp:230: Adding addonDLC:/downloader/customstartvideo/stream/rockstar_logos.bk2 to queue
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\communicationclient.cpp:98: Requested to stream file addonDLC:/downloader/customstartvideo/stream/rockstar_logos_4k.bk2
    2021-08-08 19:42:06 INFO  d:\gtav\vfs\vfs\vfs\rdr3\streamingfilesloader.cpp:230: Adding addonDLC:/downloader/customstartvideo/stream/rockstar_logos_4k.bk2 to queue
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\communicationclient.cpp:98: Requested to stream file addonDLC:/downloader/mainmenutexturemod/stream/landing_page.ytd
    2021-08-08 19:42:06 INFO  d:\gtav\vfs\vfs\vfs\rdr3\streamingfilesloader.cpp:230: Adding addonDLC:/downloader/mainmenutexturemod/stream/landing_page.ytd to queue
    2021-08-08 19:42:06 TRACE d:\gtav\vfs\vfs\vfs\rdr3\loaderrdr3.cpp:47: Mod manager initialized successfully

    I was using the streaming feature the load the videos. It was trying to replace the videos in movies_0.rpf but there are the same videos in update_1.rpf. Do I have to use the replace feature the replace the videos in update_1.rpf? Or does lml also override the files in update_1.rpf? Also I was both trying to stream and replace the files at the same time according to the log above but I tried to replace the files only but that did not work.

    I fixed it: I had to change update_1: to update: in the install xml file in my mod.

    Link to comment
    Share on other sites

    2 hours ago, JammyDodger said:

     

    Yeah, it does not work for me either. I have tried for ages to get the mod that replaces the start movie with that of RDR1, but it won't work. Mod author also gave up trying to help.

    Try to change update_1 to update. It fixed the problem for me.

    Link to comment
    Share on other sites

    If you did not get your lml compatible mods to work:

     

    Check what lml is mounting the rpf files as. 

     

    1. Change logging to 0 in the lml config file.

    2. Run the game.

    3. Open the log and find this area of the log (Its near the top)

    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: common:/ (common_0.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: common:/ (movies_0.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (anim_0.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (data_0.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (rowpack_0.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (hd_0.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (levels_0.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (levels_1.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (levels_2.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (levels_3.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (levels_4.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (levels_5.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (levels_6.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (levels_7.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (packs_0.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (packs_1.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (textures_0.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: platform:/ (textures_1.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: common:/ (shaders_x64.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: update:/ (update_2.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: update:/ (update_3.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: update:/ (update_4.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: update:/ (update_1.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/ (x64/audio/audio_rel.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:687: CustomCollection::Open: audio:/config/packlist_rel.txt (x64/audio/audio_rel.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:370: AllocateHandle: Allocated new handle 1 for 0xa7e32188 (x64/audio/audio_rel.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/ANIMALS_FAR/ (platform:/audio/sfx/ANIMALS_FAR.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/ANIMALS_HORSES/ (platform:/audio/sfx/ANIMALS_HORSES.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/ANIMALS_NEAR/ (platform:/audio/sfx/ANIMALS_NEAR.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/CUTSCENE_MASTERED_ONLY/ (platform:/audio/sfx/CUTSCENE_MASTERED_ONLY.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/INTERACTIVE_MUSIC/ (platform:/audio/sfx/INTERACTIVE_MUSIC.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/MUSIC_2T/ (platform:/audio/sfx/MUSIC_2T.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/ONESHOT_AMBIENCE/ (platform:/audio/sfx/ONESHOT_AMBIENCE.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/PEDS_00/ (platform:/audio/sfx/PEDS_00.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/PEDS_01/ (platform:/audio/sfx/PEDS_01.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/PEDS_02/ (platform:/audio/sfx/PEDS_02.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/PEDS_03/ (platform:/audio/sfx/PEDS_03.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/PEDS_04/ (platform:/audio/sfx/PEDS_04.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/PEDS_05/ (platform:/audio/sfx/PEDS_05.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/PEDS_06/ (platform:/audio/sfx/PEDS_06.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/PEDS_07/ (platform:/audio/sfx/PEDS_07.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/PEDS_08/ (platform:/audio/sfx/PEDS_08.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/PEDS_09/ (platform:/audio/sfx/PEDS_09.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/PEDS_10/ (platform:/audio/sfx/PEDS_10.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/RDR3.Resident/ (platform:/audio/sfx/RDR3.Resident.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/RESIDENT/ (platform:/audio/sfx/RESIDENT.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/SCORE_01/ (platform:/audio/sfx/SCORE_01.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/SCORE_02/ (platform:/audio/sfx/SCORE_02.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/SCORE_03/ (platform:/audio/sfx/SCORE_03.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/SCORE_04/ (platform:/audio/sfx/SCORE_04.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/SCORE_05/ (platform:/audio/sfx/SCORE_05.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/SCORE_06/ (platform:/audio/sfx/SCORE_06.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/SCRIPT/ (platform:/audio/sfx/SCRIPT.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/SS_AM/ (platform:/audio/sfx/SS_AM.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/SS_NZ/ (platform:/audio/sfx/SS_NZ.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/STREAMED_AMBIENCE/ (platform:/audio/sfx/STREAMED_AMBIENCE.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/STREAMS/ (platform:/audio/sfx/STREAMS.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/STREAMS_AS/ (platform:/audio/sfx/STREAMS_AS.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/S_MISC/ (platform:/audio/sfx/S_MISC.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/S_RE/ (platform:/audio/sfx/S_RE.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/S_VOFX/ (platform:/audio/sfx/S_VOFX.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/THUNDER/ (platform:/audio/sfx/THUNDER.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/VEHICLES/ (platform:/audio/sfx/VEHICLES.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/WALLA/ (platform:/audio/sfx/WALLA.rpf)
    2021-08-08 20:01:58 TRACE d:\gtav\vfs\vfs\vfs\rdr3\customcollection.cpp:1318: CustomCollection::MountAs: audio:/sfx/WEAPONS_PLAYER/ (platform:/audio/sfx/WEAPONS_PLAYER.rpf)

    4. Fix errors in the install.xml file of your mod.

    Example:

    <FileReplacement>
                  <GamePath>update_1:/common/movies/rockstar_logos.bk2</GamePath>
                  <FilePath>replace/rockstar_logos.bk2</FilePath>
              </FileReplacement>

    This will not work because lml is mounting update_1 as update. To fix this, just change update_1 to update.

    5. Your mod should be fixed!

    Link to comment
    Share on other sites

    On 7/22/2021 at 2:19 PM, FileFinder said:

     

     

    Still impossible to launch my game.

     

    Here is what is written in the VFS log :

     

    2021-08-09 08:54:52 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:116: Log initialized
    2021-08-09 08:54:52 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:117: Lenny's Mod Loader Beta Test Version 0.5.7872.2247 - Compiled on Jul 21 2021 01:14:57
    2021-08-09 08:54:52 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:122: Running RDR2
    2021-08-09 08:54:52 INFO  d:\gtav\vfs\vfs\vfs\loadermain.cpp:97: Game File Version: 1.0.1436.25
    2021-08-09 08:54:52 TRACE d:\gtav\vfs\vfs\vfs\loadermain.cpp:24: InitializeSafe
    2021-08-09 08:54:52 ERROR d:\gtav\vfs\vfs\vfs\hooking\hooking.cpp:54: Failed to allocate hooking memory!

     

    Do you have an idea of what could cause this?

     

    Thank you

    Link to comment
    Share on other sites

    8 hours ago, WesternGamer said:

    Try to change update_1 to update. It fixed the problem for me.

     

    I will try it, thanks! 

    Link to comment
    Share on other sites

    16 hours ago, WesternGamer said:

    Try to change update_1 to update. It fixed the problem for me.

     

    So, I just looked to see where I can change update_1 to update, but I am not sure which file I am supposed to edit? The mod I am trying to get working is this one: Start up intro replacement with the original Red Dead Redemption - Misc - RDR2Mods.com 

     

    But there is no ini file or anything I can edit.

    Any suggestions?

     

     

    Link to comment
    Share on other sites

    @JammyDodger 

    3 hours ago, JammyDodger said:

     

    So, I just looked to see where I can change update_1 to update, but I am not sure which file I am supposed to edit? The mod I am trying to get working is this one: Start up intro replacement with the original Red Dead Redemption - Misc - RDR2Mods.com 

     

    But there is no ini file or anything I can edit.

    Any suggestions?

     

     

    I fixed the mod for you. To get it to work, you will need to make a folder called downloader in the lml folder. Now just copy and paste the folder from the zip file in the downloader folder and it should work!

    CustomStartVideo.zip

    • Like 1
    Link to comment
    Share on other sites

    @LMS Don't mean to be a pain, but do you think you could address the stuttering that occurs in-game when using LML. A few people have mentioned it and I myself experience Stutters every few Seconds (give or take) when Panning/ Moving the Camera. It would be amazing if you could remedy this issue as LML is Required for the majority of RDR2 Mods to work. Hopefully you can get back to me, thanks mate!

    Link to comment
    Share on other sites

    1 hour ago, MattyReady said:

    @LMS Don't mean to be a pain, but do you think you could address the stuttering that occurs in-game when using LML. A few people have mentioned it and I myself experience Stutters every few Seconds (give or take) when Panning/ Moving the Camera. It would be amazing if you could remedy this issue as LML is Required for the majority of RDR2 Mods to work. Hopefully you can get back to me, thanks mate!

     

    Only permanent solution for you would be to move RDR onto a somewhat modern/fast disk. No matter the amount of caching and optimizations, if the disk is slow, it will cause problems.

    Link to comment
    Share on other sites

    I can't find a definitive answer anywhere so I'm gonna ask here.

     

    with this mod manager, you can disable mods so they don't load, right?

    so. does that make it safe to play online with as long as I disable the mods through the launcher?

     

    I've been searching the internet for a week now and cannot find an answer either yes or no.

     

    I've put a lot of time and effort into online with mates and I don't want to lose all that because disabling the mods still made me viable for a ban when I play online with them.

     

    want to be able to play single player modded, then when someone wants to play online I can just swap over without having to delete the game files and wait a day and ahlf to reinstall

     

    I hope someone can answer

    Link to comment
    Share on other sites

    9 hours ago, PatTheCat said:

    I can't find a definitive answer anywhere so I'm gonna ask here.

     

    with this mod manager, you can disable mods so they don't load, right?

    so. does that make it safe to play online with as long as I disable the mods through the launcher?

     

    I've been searching the internet for a week now and cannot find an answer either yes or no.

     

    I've put a lot of time and effort into online with mates and I don't want to lose all that because disabling the mods still made me viable for a ban when I play online with them.

     

    want to be able to play single player modded, then when someone wants to play online I can just swap over without having to delete the game files and wait a day and ahlf to reinstall

     

    I hope someone can answer

    I'm not sure if this is true everywhere, but on my computer, Lml prevents you from joining online at all costs unless you remove the .asi file for Lml. At the same time it would disable all Lml mods. 

    Link to comment
    Share on other sites

    9 minutes ago, WesternGamer said:

    I'm not sure if this is true everywhere, but on my computer, Lml prevents you from joining online at all costs unless you remove the .asi file for Lml. At the same time it would disable all Lml mods. 

    thank you for the info, that is helpful. at least I won't be able to accidentally start up online while modded

    Link to comment
    Share on other sites


    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...