Posted: Thu Jan 11, 2024 4:47 pm Post subject:
Removal and Replacement of all RA2 YR maps in multiplayer and singleplayer
Hi, anyone got tips on how to remove and replace all the RA2 YR maps in multiplayer and singleplayer modes? I have a mod where I'd like to only list modified maps in the list. It's basically an overhaul of the map list. I'm checking the PKT but I'm not sure how to edit it. Any insight would be great. Thanks! QUICK_EDIT
For multiplayer, .map files are defined in .pkt files. Files with .mpr for RA2 and .yrm for YR are searched by the game in mix files and in the game folder, these are listed automatically. So, you would have to use XCC Mixer and open .mix files and remove those. Those could be in multi(md).mix, .mmx/.yro or addon expand(md)##.mix or placed loose in the game folder.
For singleplayer, maps are stitched into a campaign, so instead of cleaning up battle(md).ini etc., it is better to replace - provide your own files named like all01umd.map.
If you are using the client setup (community developed), it is easier as files are kept in Maps subfolder. QUICK_EDIT
Edit the MPModes INI files and change the Battle, FreeForAll and Team Alliance game modes to look for different map filters, then edit your custom maps and list those map filters.
For example, replace "standard" with "newstandard" in both MPModes INI and MAP>GameMode=.
This way, maps that you didn't edit yourself will have GameMode=standard set, and since your mod won't have any game modes that look for that filter, they won't be listed. It should work to remove MPR and YRO maps too.
I haven't tested this, and it might not work as expected, but it's easy enough to test this out and undo if things don't work out, so give it a try. QUICK_EDIT
Thanks @silverwind and @e1 for the tips! Will test your recommendations and give feedback once I'm done testing them. Last edited by elchakra on Mon Jan 15, 2024 11:42 am; edited 1 time in total QUICK_EDIT
Yes map filters are designed to specifically limit what maps can be used. My mod uses new custom terrain that breaks all the original maps, I use map filters to disable all the original maps and only show the new custom made maps. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum