Sign in to follow this  
Soupiest

[TUTORIAL] How to add .ymaps into your server (client-sided stable mapping!)

Recommended Posts

With a lot of people with very potential projects presented a lot of quality mapping, I'm a bit late to introducing this but in this tutorial, I'll basically be showing off how to get your mapping into your server through means of it being client-sided. (Which I'd consider as far as displaying mapping goes instead of getting them through .jsons ala server-sided.)

 

What you'll need.

Quote

1. First you're gonna need to gather all the tools needed to bring a mapping over to your RageMP server. I made a special folder for this tutorial.

SvSsmqN.png

2. Okay so here's the two .xml maps both exported from Map Editor. (But you can export it from Menyoo too) 

OhWj6sQ.png

3. So what we're gonna do next is open up ME2YM (Ymap converter) and try to convert it over.

DV3GXxB.png

 

6DNmxO5.png

4. When you got it opened up, goto File > Open. Then navigate your mapping, I will be bringing in my examples I got from GTA 5 Mods. (There's two of them, but I RECOMMEND you importing ONE at a time and converting them ONE AT A TIME.)

75k1a97.png

5. After getting your mapping in ME2YM, goto File > Export. And export your mapping anywhere you like. I'll be exporting mine in the same folder for the sake of the tutorial. (Again, LOOK back at number 4. ONLY import and export ONE mapping at a time.)

GQcnJDy.png

6. Since there's two mappings, I'll basically be doing steps 4 and 5 again for the other one. Simple.

7. After you've gotten those converted over, you're done with ME2YM! Open up OpenIV and navigate to your mapping dlcpack base by going to File > Open folder. (In this case, if you downloaded my base, find "mapname")

zilAXrN.png

 

ylLQ6Ag.png

8. You should see the dlc archive itself when opening up the dlcpack. Open it up and go all the way to the "custom_maps" .rpf archive. 

9. Import the .ymap mappings through openFormats.

Ed3LhCU.png

mU9EIDj.png

10. Extract the custom_maps.rpf anywhere after importing your .ymap mappings, then DELETE the .rpf archive inside OpenIV after extracting it.

gBfjaMq.png

f28Blw1.png

11. Next we're gonna be affixing that .rpf archive. Locate ArchiveFix and where you placed your custom_maps.rpf then drag the .rpf archive onto the ArchiveFix icon.

wm9dkPN.png

...and you should get this. Don't panic. It means you did something right...

ZO420Q9.png

12. Re-add/Import that archive back into OpenIV in the same place where you deleted it from.

13. Exit OpenIV, then locate your mapping base dlc archive. (If you're using mapname, it'll be in mapname..)

14. Drag that .rpf archive into ArchiveFix like custom_maps.

uBMqPDA.png

yZjfQMU.png

15. Then finally, go into your server's files and into client_resources. Then drop your mapping dlcpack base (or mapname) into dlcpack. (Make a dlcpack folder inside client_resources if you haven't made one.)

16. Either copy it to your client_resources as well or be lazy and just hop in game to let the server download it for you. (If you let the server download it, restart your game and client after downloading it from the server.)

17. Your mapping should be in the server for you and anyone else who joins! (Granted they download the resources too from the server..) 
  

btMQomh.jpg

  • Like 7

Share this post


Link to post
Share on other sites

Upon strictly following the steps, the map does not load.

And i get disconnected after 3-5 sec of connection to the server.

 

Share this post


Link to post
Share on other sites

I am pretty sure its called "dlcpacks" rather than "dlcpack" folder.

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.