Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sun Sep 08, 2024 4:00 am
All times are UTC + 0
Removal and Replacement of all RA2 YR maps in multiplayer and singleplayer
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
elchakra
Vehicle Driver


Joined: 09 Feb 2017

PostPosted: Thu Jan 11, 2024 4:47 pm    Post subject:  Removal and Replacement of all RA2 YR maps in multiplayer and singleplayer Reply with quote  Mark this post and the followings unread

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!

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Jan 11, 2024 5:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message
silverwind
Cyborg Firebomber


Joined: 11 Jun 2016

PostPosted: Thu Jan 11, 2024 11:26 pm    Post subject: Reply with quote  Mark this post and the followings unread

I have a theory that might work:

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.

See:
https://modenc.renegadeprojects.com/Mpmodes.ini

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.

Back to top
View user's profile Send private message
elchakra
Vehicle Driver


Joined: 09 Feb 2017

PostPosted: Fri Jan 12, 2024 9:08 am    Post subject: Reply with quote  Mark this post and the followings unread

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

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Sat Jan 13, 2024 3:03 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
elchakra
Vehicle Driver


Joined: 09 Feb 2017

PostPosted: Mon Jan 15, 2024 11:41 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks @Mig for the tip. This also includes custom YRM? And renaming them to "newstandard" mode in MPModes and Map file should be bug-free?

[Edited]
Nevermind, it worked. Did not encounter any bugs. Thanks a bunch!

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.1567s ][ Queries: 11 (0.0071s) ][ Debug on ]