Map Loader & Manager (MLAM) v0.4r3
1.959
55
1.959
55
- Description -
Interested in having an alternative for loading XML maps that were created for Map Editor or Menyoo, without risking crashing your game or tanking your framerate or having stability issues from having too many maps (especially large maps) loaded at once?
Introducing MLAM (Map Loader and Manager), the mod/script that revolutionizes the way that XML maps created for Map Editor and Menyoo are loaded and managed in Grand Theft Auto V! With MLAM, you can now enjoy the seamless integrations of all of your XML maps simultaneously, without much worry regarding crashing your game or tanking your framerate or encountering stability issues due to the overload of maps.
Gone are the days of having to manually load and unload (aka manage) individual maps; MLAM takes care of everything for you, automatically and efficiently. Simply install the mod, and it will work its magic in the background, ensuring that all of your XML maps are loaded (and managed), without requiring any inputs nor interactions from you.
MLAM's innovative approach ensures that even multiple large maps of different varieties that are in close proximity of one another are handled well using it's smart management system which does it's best not to overload nor crash the game (depending upon your particular configuration that is). While I can't promise too much for lower-end PCs, there are several tunable configuration options, allowing you to tune MLAM for your particular requirements and preferences.
- Installation (This script requires ScriptHookV and JM36 Lua Plugin Reloaded) -
1: Ensure you have JM36 Lua Plugin Reloaded (GitHub | 5Mods)
2: Place the "JM36_MLAM_SP.lua" file and the "JM36_MLAM" folder into your JM36 Lua Plugin "ScriptsDir-Lua/Modules" directory.
3: Place your XML map files from Map Editor and Menyoo into the "JM36_MLAM" directory.
- Upcoming Features Planned (Not Currently Available) -
1: Support teleports and markers (coming v0.5 or v0.6)
2: Support other entity types (NPCs/Peds and Vehicles) (coming eventually)
- Changelog -
- v0.4r3 - Fixed an issue with a configuration parameter.
- v0.4r2 - No changes to the script/code were made in this version; improved default configuration to prevent game overloads when handling multiple maps in close proximity simultaneously with a default GameConfig.
- v0.4 - Same changelog as v0.3 but added more configuration options; improved default configuration for managing many maps at once; properly and fully support Menyoo Spooner attachments this time.
- v0.3 - Support Menyoo Spooner attachments (untested/failed); added the ability to tweak certain configuration parameters (via a configuration file) to suit different preferences and systems; introduced new and refined internal management structures, along with bugfixes for automatic repairs; implemented additional validations, checks, failsafes, and safeguards to reduce the likelihood of issues.
- v0.2 - Added functionality to handle map/object visibility and transparency, which was missing in v0.1.
- Bugs -
- v0.4r2 - No known bugs; the configuration defaults have been updated to address all previous concerns, providing a stable and reliable experience out of the box.
- v0.4 - The default configuration was significantly improved for better handling multiple maps, but there is still a possibility of potentially overloading and crashing the game using this default configuration with a default GameConfig; the likelihood of encountering this using the default configuration depends upon various factors like the specific maps loaded and your GameConfig, especially when using a high number of diverse maps in close proximity. However, the default configuration also already tells you what to change (as well as what to change it to) for this scenario.
- All versions BEFORE v0.4 - An oversight in previous versions may lead to potentially overloading and crashing the game when using a large number of diverse maps in a small area; while using a good number of maps is still possible, it is recommended to use maps that are either "similar" enough (sharing the same props) or are spread out enough to ensure stability.
- v0.3 - Menyoo maps using attachments caused MLAM to stop working and bail whenever loaded due to new but untested logic; reverted back to v0.2 where MLAM worked fine with these maps.
- v0.2 - Some older Menyoo maps caused MLAM to stop working and bail whenever loaded, due to "missing" properties/data (which presumably did not exist yet in the versions from the time that they were created).
- FAQ -
1: Vehicles/Peds don't spawn - this is intentional; they are not supported at this time, as they have very little overall to do with "maps", and might never be supported.
2: A map still loads after removing it from MLAM's directory, or MLAM continues to load an older version of a map file - delete the corresponding MLAM bin file from the directory.
3: No, you cannot use this for FiveM; it will not work, it is not supported, it is not designed for it. Yes, I do have a version/variant that does work for FiveM, it is a cheap paid resource - https://jaymontana36.tebex.io/package/5837583
Interested in having an alternative for loading XML maps that were created for Map Editor or Menyoo, without risking crashing your game or tanking your framerate or having stability issues from having too many maps (especially large maps) loaded at once?
Introducing MLAM (Map Loader and Manager), the mod/script that revolutionizes the way that XML maps created for Map Editor and Menyoo are loaded and managed in Grand Theft Auto V! With MLAM, you can now enjoy the seamless integrations of all of your XML maps simultaneously, without much worry regarding crashing your game or tanking your framerate or encountering stability issues due to the overload of maps.
Gone are the days of having to manually load and unload (aka manage) individual maps; MLAM takes care of everything for you, automatically and efficiently. Simply install the mod, and it will work its magic in the background, ensuring that all of your XML maps are loaded (and managed), without requiring any inputs nor interactions from you.
MLAM's innovative approach ensures that even multiple large maps of different varieties that are in close proximity of one another are handled well using it's smart management system which does it's best not to overload nor crash the game (depending upon your particular configuration that is). While I can't promise too much for lower-end PCs, there are several tunable configuration options, allowing you to tune MLAM for your particular requirements and preferences.
- Installation (This script requires ScriptHookV and JM36 Lua Plugin Reloaded) -
1: Ensure you have JM36 Lua Plugin Reloaded (GitHub | 5Mods)
2: Place the "JM36_MLAM_SP.lua" file and the "JM36_MLAM" folder into your JM36 Lua Plugin "ScriptsDir-Lua/Modules" directory.
3: Place your XML map files from Map Editor and Menyoo into the "JM36_MLAM" directory.
- Upcoming Features Planned (Not Currently Available) -
1: Support teleports and markers (coming v0.5 or v0.6)
2: Support other entity types (NPCs/Peds and Vehicles) (coming eventually)
- Changelog -
- v0.4r3 - Fixed an issue with a configuration parameter.
- v0.4r2 - No changes to the script/code were made in this version; improved default configuration to prevent game overloads when handling multiple maps in close proximity simultaneously with a default GameConfig.
- v0.4 - Same changelog as v0.3 but added more configuration options; improved default configuration for managing many maps at once; properly and fully support Menyoo Spooner attachments this time.
- v0.3 - Support Menyoo Spooner attachments (untested/failed); added the ability to tweak certain configuration parameters (via a configuration file) to suit different preferences and systems; introduced new and refined internal management structures, along with bugfixes for automatic repairs; implemented additional validations, checks, failsafes, and safeguards to reduce the likelihood of issues.
- v0.2 - Added functionality to handle map/object visibility and transparency, which was missing in v0.1.
- Bugs -
- v0.4r2 - No known bugs; the configuration defaults have been updated to address all previous concerns, providing a stable and reliable experience out of the box.
- v0.4 - The default configuration was significantly improved for better handling multiple maps, but there is still a possibility of potentially overloading and crashing the game using this default configuration with a default GameConfig; the likelihood of encountering this using the default configuration depends upon various factors like the specific maps loaded and your GameConfig, especially when using a high number of diverse maps in close proximity. However, the default configuration also already tells you what to change (as well as what to change it to) for this scenario.
- All versions BEFORE v0.4 - An oversight in previous versions may lead to potentially overloading and crashing the game when using a large number of diverse maps in a small area; while using a good number of maps is still possible, it is recommended to use maps that are either "similar" enough (sharing the same props) or are spread out enough to ensure stability.
- v0.3 - Menyoo maps using attachments caused MLAM to stop working and bail whenever loaded due to new but untested logic; reverted back to v0.2 where MLAM worked fine with these maps.
- v0.2 - Some older Menyoo maps caused MLAM to stop working and bail whenever loaded, due to "missing" properties/data (which presumably did not exist yet in the versions from the time that they were created).
- FAQ -
1: Vehicles/Peds don't spawn - this is intentional; they are not supported at this time, as they have very little overall to do with "maps", and might never be supported.
2: A map still loads after removing it from MLAM's directory, or MLAM continues to load an older version of a map file - delete the corresponding MLAM bin file from the directory.
3: No, you cannot use this for FiveM; it will not work, it is not supported, it is not designed for it. Yes, I do have a version/variant that does work for FiveM, it is a cheap paid resource - https://jaymontana36.tebex.io/package/5837583
First Uploaded: 24. jul 2023
Last Updated: 04. avg 2023
Last Downloaded: okoli 11 ur
46 Comments
More mods by JayMontana36:
- Lua
- Gtalua
2.093
37
20210909.001
By JayMontana36
- Script Hook
- Developers
- Lua
4.94
60.985
306
ForUsers_JM36-v20230826.0-Stable
By JayMontana36
- Description -
Interested in having an alternative for loading XML maps that were created for Map Editor or Menyoo, without risking crashing your game or tanking your framerate or having stability issues from having too many maps (especially large maps) loaded at once?
Introducing MLAM (Map Loader and Manager), the mod/script that revolutionizes the way that XML maps created for Map Editor and Menyoo are loaded and managed in Grand Theft Auto V! With MLAM, you can now enjoy the seamless integrations of all of your XML maps simultaneously, without much worry regarding crashing your game or tanking your framerate or encountering stability issues due to the overload of maps.
Gone are the days of having to manually load and unload (aka manage) individual maps; MLAM takes care of everything for you, automatically and efficiently. Simply install the mod, and it will work its magic in the background, ensuring that all of your XML maps are loaded (and managed), without requiring any inputs nor interactions from you.
MLAM's innovative approach ensures that even multiple large maps of different varieties that are in close proximity of one another are handled well using it's smart management system which does it's best not to overload nor crash the game (depending upon your particular configuration that is). While I can't promise too much for lower-end PCs, there are several tunable configuration options, allowing you to tune MLAM for your particular requirements and preferences.
- Installation (This script requires ScriptHookV and JM36 Lua Plugin Reloaded) -
1: Ensure you have JM36 Lua Plugin Reloaded (GitHub | 5Mods)
2: Place the "JM36_MLAM_SP.lua" file and the "JM36_MLAM" folder into your JM36 Lua Plugin "ScriptsDir-Lua/Modules" directory.
3: Place your XML map files from Map Editor and Menyoo into the "JM36_MLAM" directory.
- Upcoming Features Planned (Not Currently Available) -
1: Support teleports and markers (coming v0.5 or v0.6)
2: Support other entity types (NPCs/Peds and Vehicles) (coming eventually)
- Changelog -
- v0.4r3 - Fixed an issue with a configuration parameter.
- v0.4r2 - No changes to the script/code were made in this version; improved default configuration to prevent game overloads when handling multiple maps in close proximity simultaneously with a default GameConfig.
- v0.4 - Same changelog as v0.3 but added more configuration options; improved default configuration for managing many maps at once; properly and fully support Menyoo Spooner attachments this time.
- v0.3 - Support Menyoo Spooner attachments (untested/failed); added the ability to tweak certain configuration parameters (via a configuration file) to suit different preferences and systems; introduced new and refined internal management structures, along with bugfixes for automatic repairs; implemented additional validations, checks, failsafes, and safeguards to reduce the likelihood of issues.
- v0.2 - Added functionality to handle map/object visibility and transparency, which was missing in v0.1.
- Bugs -
- v0.4r2 - No known bugs; the configuration defaults have been updated to address all previous concerns, providing a stable and reliable experience out of the box.
- v0.4 - The default configuration was significantly improved for better handling multiple maps, but there is still a possibility of potentially overloading and crashing the game using this default configuration with a default GameConfig; the likelihood of encountering this using the default configuration depends upon various factors like the specific maps loaded and your GameConfig, especially when using a high number of diverse maps in close proximity. However, the default configuration also already tells you what to change (as well as what to change it to) for this scenario.
- All versions BEFORE v0.4 - An oversight in previous versions may lead to potentially overloading and crashing the game when using a large number of diverse maps in a small area; while using a good number of maps is still possible, it is recommended to use maps that are either "similar" enough (sharing the same props) or are spread out enough to ensure stability.
- v0.3 - Menyoo maps using attachments caused MLAM to stop working and bail whenever loaded due to new but untested logic; reverted back to v0.2 where MLAM worked fine with these maps.
- v0.2 - Some older Menyoo maps caused MLAM to stop working and bail whenever loaded, due to "missing" properties/data (which presumably did not exist yet in the versions from the time that they were created).
- FAQ -
1: Vehicles/Peds don't spawn - this is intentional; they are not supported at this time, as they have very little overall to do with "maps", and might never be supported.
2: A map still loads after removing it from MLAM's directory, or MLAM continues to load an older version of a map file - delete the corresponding MLAM bin file from the directory.
3: No, you cannot use this for FiveM; it will not work, it is not supported, it is not designed for it. Yes, I do have a version/variant that does work for FiveM, it is a cheap paid resource - https://jaymontana36.tebex.io/package/5837583
Interested in having an alternative for loading XML maps that were created for Map Editor or Menyoo, without risking crashing your game or tanking your framerate or having stability issues from having too many maps (especially large maps) loaded at once?
Introducing MLAM (Map Loader and Manager), the mod/script that revolutionizes the way that XML maps created for Map Editor and Menyoo are loaded and managed in Grand Theft Auto V! With MLAM, you can now enjoy the seamless integrations of all of your XML maps simultaneously, without much worry regarding crashing your game or tanking your framerate or encountering stability issues due to the overload of maps.
Gone are the days of having to manually load and unload (aka manage) individual maps; MLAM takes care of everything for you, automatically and efficiently. Simply install the mod, and it will work its magic in the background, ensuring that all of your XML maps are loaded (and managed), without requiring any inputs nor interactions from you.
MLAM's innovative approach ensures that even multiple large maps of different varieties that are in close proximity of one another are handled well using it's smart management system which does it's best not to overload nor crash the game (depending upon your particular configuration that is). While I can't promise too much for lower-end PCs, there are several tunable configuration options, allowing you to tune MLAM for your particular requirements and preferences.
- Installation (This script requires ScriptHookV and JM36 Lua Plugin Reloaded) -
1: Ensure you have JM36 Lua Plugin Reloaded (GitHub | 5Mods)
2: Place the "JM36_MLAM_SP.lua" file and the "JM36_MLAM" folder into your JM36 Lua Plugin "ScriptsDir-Lua/Modules" directory.
3: Place your XML map files from Map Editor and Menyoo into the "JM36_MLAM" directory.
- Upcoming Features Planned (Not Currently Available) -
1: Support teleports and markers (coming v0.5 or v0.6)
2: Support other entity types (NPCs/Peds and Vehicles) (coming eventually)
- Changelog -
- v0.4r3 - Fixed an issue with a configuration parameter.
- v0.4r2 - No changes to the script/code were made in this version; improved default configuration to prevent game overloads when handling multiple maps in close proximity simultaneously with a default GameConfig.
- v0.4 - Same changelog as v0.3 but added more configuration options; improved default configuration for managing many maps at once; properly and fully support Menyoo Spooner attachments this time.
- v0.3 - Support Menyoo Spooner attachments (untested/failed); added the ability to tweak certain configuration parameters (via a configuration file) to suit different preferences and systems; introduced new and refined internal management structures, along with bugfixes for automatic repairs; implemented additional validations, checks, failsafes, and safeguards to reduce the likelihood of issues.
- v0.2 - Added functionality to handle map/object visibility and transparency, which was missing in v0.1.
- Bugs -
- v0.4r2 - No known bugs; the configuration defaults have been updated to address all previous concerns, providing a stable and reliable experience out of the box.
- v0.4 - The default configuration was significantly improved for better handling multiple maps, but there is still a possibility of potentially overloading and crashing the game using this default configuration with a default GameConfig; the likelihood of encountering this using the default configuration depends upon various factors like the specific maps loaded and your GameConfig, especially when using a high number of diverse maps in close proximity. However, the default configuration also already tells you what to change (as well as what to change it to) for this scenario.
- All versions BEFORE v0.4 - An oversight in previous versions may lead to potentially overloading and crashing the game when using a large number of diverse maps in a small area; while using a good number of maps is still possible, it is recommended to use maps that are either "similar" enough (sharing the same props) or are spread out enough to ensure stability.
- v0.3 - Menyoo maps using attachments caused MLAM to stop working and bail whenever loaded due to new but untested logic; reverted back to v0.2 where MLAM worked fine with these maps.
- v0.2 - Some older Menyoo maps caused MLAM to stop working and bail whenever loaded, due to "missing" properties/data (which presumably did not exist yet in the versions from the time that they were created).
- FAQ -
1: Vehicles/Peds don't spawn - this is intentional; they are not supported at this time, as they have very little overall to do with "maps", and might never be supported.
2: A map still loads after removing it from MLAM's directory, or MLAM continues to load an older version of a map file - delete the corresponding MLAM bin file from the directory.
3: No, you cannot use this for FiveM; it will not work, it is not supported, it is not designed for it. Yes, I do have a version/variant that does work for FiveM, it is a cheap paid resource - https://jaymontana36.tebex.io/package/5837583
First Uploaded: 24. jul 2023
Last Updated: 04. avg 2023
Last Downloaded: okoli 11 ur
Yes I do have Lua Reloaded latest version. I did all those instructions, and i was standing where a map would load and it didn't. I pressed the insert to reload it also and still nothing. idk I'll just re-download everything and try again.
@Starfox1993 You can try using the "ForDevelopers" version of the Lua Reloaded, since it will have a console show up with information displayed (and you'll be able to quickly tell what's going on). Maybe I'll add in game notifications to let you know about which maps are loaded, which would also indicate whether you've installed it correctly or not.
@JayMontana36 Hey just letting you know I got it working, I stuck in the wrong module’s folder last time. 😆 Thank you
@Starfox1993 Lol no problem!
@Xire First of all, I stated that my comment wasn't meant to bash you in any way, you just took offence, I didn't read your previous comment because firstly i am not the host of this mod so i don't need to read every comment, secondly I was immediately drawn to your lower rating comment as I clearly stated throws people off, that same comment didn't explain the low rating, you explained your reason now and for that I am grateful, but you're responding as to start an argument which proves that you clearly did not read my comment to get the full understanding of my point,
And yes it bothers me because as a fellow mod creator, I have seen this happen way too often, a person rated a mod 1 star because a car mod was RHD rather than LHD and things like that gets me pissed.
It is a very small detail but for some of us these things matter, i may be taking it a little deeper than i should to be honest, its a very important detail for me
This mod is great, although currently you can do the same with sollaholla's "Map Editor & Menyoo to YMap Converter" (it's a bit more difficult but it can be done). The only thing that would differentiate this mod from that other one is that in a future update it will support peds, vehicles and pickups, if so I will gladly change my rating to 5 stars :) Even so, as I said, it's a good mod!!
@enmael These cannot be compared as they do not operate at all in the same way, nor do they even perform any of the same functions or operations (at all) besides parsing XML files; "Map Editor & Menyoo to YMap Converter" does what it's title says (and nothing more), converting XML files from Menyoo and Map Editor to YMap files for the game (and that's all), then you need to use something like OpenIV to manually put the resulting YMap file someplace inside of your game's files for the game to load and manage it (and, even with the game loading and managing it, the game can still overload itself and/or fail to manage correctly either if there are a lot of props involved or if the map covers a huge/large area, or if you have several huge/large maps in close enough proximity). MLAM on the other hand, actually *loads* and *manages* every map that you give it on it's own, being cautious not to overload nor crash the game, meaning you can actually have more maps loaded at once using MLAM than you can using any other method out there currently; the way that maps are handled by MLAM is extremely different from anything else currently out there, and now its also tunable to an extent for different preferences and systems.
@The Majestic Noob both of your suggestions have been implemented by the way! I released an update (v0.2) much earlier than I otherwise would've specifically to address the opacity (which should've been present in the initial release), and now attachments are also supposed to be supported and work, although I have not tested this at all because I could not find a map with attachments to test with but hopefully it works, and if it doesn't then I'll need some help (in regards to finding a map that has attachments that I can test with).
Ok, but empty maps are no fun. Ya need NPCs and cars and stuff like animations.
@FranklinVV Vehicles will be coming sometime in the future, as a separate script, that might likely also be its own separate post, and the same goes for NPCs/Peds.
Vehicles will be handled separately because the plan is to just integrate that into an existing script that I had already planned to create before this one (but got side-tracked and focused on this one instead), that will make vehicles persistent, as in if/when you load a map that has vehicles, they will spawn in their original spots for the first time that you load that map, and if you move that vehicle then it will never spawn in it's original spot again (unless you return the vehicle back to that spot), and will instead spawn in the last place you left it.
NPCs/Peds, now that is a difficult one; I already started to work on that as well, but the problem is the way that Menyoo saves them in some strange weird undocumented way that really doesn't make much sense on the surface or when looking deeper into it. I did get the peds to spawn (with random variations since I did not yet add any logic to set the variations to match the ones set by the maps), but they'd pretty much just stand and ignore everything mostly. I did manage to get them to actually move/wander around, which looks better for sure, but I'm still not really sure how I feel about it. And getting/setting the actual animations from the map file, the way that Menyoo has those properties just isn't making any sense whatsoever (and Map Editor seems to not have these at all), so, chances are, whenever this is released, the peds will mostly just walk around the area and whatnot since it's the best I can do, but they won't react to much because that's how the game makes them behave for some reason (and I can't really do much about it without micromanaging each ped, which I might end up doing, but the next issue would be from a performance and efficiency standpoint, I need to figure out how I can efficiently manage all of this, otherwise I'm not releasing it (I don't like releasing things that are inefficient or eat fps and so on). But yes, eventually all of that will be supported.
The fact that some of these clueless people are giving this mod less than 4 stars is beyond me, this is by far the one most useful mods ever! Would you release a version that supports either .ymap or .ymap files that have been converted into .xml in OpenIV?
@RaysGT Thanks! And yes, YMAP support was suggested to me either before v0.3 or v0.4 and I did make an attempt at supporting it (YMAP XML) back then so some code does exist for it, however because of the way that certain properties are stored, mainly rotations being matrices (instead of euler angles) but also bitmask flags (most of which are unknown and all) for other properties, it is something that may be supported in the future but not soon; if I can at the very least figure out matrices conversion to euler angles then I will add support for it sooner rather than later.
@Starfox1993 LMAO SAME
Are all xml's that are inside "JM36_MLAM" load automatically when ingame?
I believe I've got it all installed correctly, but none of the XML's are loading. To confirm, everything goes in the "Modules" and not the "_Modules" folder correct? I have other .lua plugings working though, so not sure what's up.
Hi, sorry, I tried this mod of yours but are there any problems with the interior? because I can't find even 1
@skeeze415 @5kY1iN3 Yeah, everything goes into "Modules" and should load automatically assuming everything was installed correctly.
@RedAngel77 There shouldn't be any issues with interiors, what XML map are you trying to load, and what interior? There may be some scenarios with specific placements that might not load inside a non XML interior, but I've not experienced or encountered that ever, neither has anyone else seemingly.
Hi @JayMontana36 !
Thanks for your mod ! This is what I needed !
But I've made two small scenes with Menyoo Spooner, the both scenes have few tuned cars, animated peds and props. When I load them with Menyoo, everything is ok. But when loaded with your mod, only props appeared, no cars and peds.
Is it normal ? If I understood well, it's difficult for your mod to handle those ?
@FryTHF Yeah MLAM currently only handles props/objects, no peds or vehicles. It was planned to eventually support these two in a very different/special way, but I never got around to doing/finishing it as I lost motivation and it is also very time consuming. By different/special, I meant as in vehicles would be persistent whereas if a "map" comes with a vehicle and you take that vehicle and drive it away somewhere, that vehicle will no longer spawn with the map unless you bring it back; it will instead spawn wherever you drove it to and left it; peds would be similar where if one dies then they'll just be gone, if they run away then they'll just be gone, etc. but it's very difficult to get the animations and tasks and so on for the peds because of how Menyoo decided to make the files so that was one major reason for not doing peds (currently the peds simply walk around every so often instead of doing whatever animation/task they are supposed to). I have not worked on anything relating to this in quite some time now.