[GUIDE] Porting any map from M16

Cheatpacks and learning how to use them, as well as other guides for manipulating maps.

Moderator: Cheaters

Post Reply
User avatar
devoltz
Forum Staff
Posts: 2998
Joined: March 23rd, 2016, 8:06 pm

[GUIDE] Porting any map from M16

Post by devoltz »

Firstly, what is the M16 platform?

The M16 platform is a multiplayer platform for Warcraft 1.28.5 Korean version, featuring more 'sophisticated' maps. These maps are unique because they have their own server within the platform, allowing them to run platform server codes. A prime example of this is the fully cloud-based load/save system. Their platform.

Why does this guide exist?

Over time, as players seek more Warcraft maps, the transition to the current Reforged platform has rendered many old or other platform maps incompatible. This guide is written to teach you how to make maps from the M16 platform compatible with Warcraft Reforged.

Why don't M16 platform maps work on Warcraft Reforged?

The main reason is the use of certain codes that conflict with the current platform. However, this issue is 100% solvable.

Required Tools
  • MPQ Editor
  • Text Editor (Preferably one that supports UTF-8)
  • Customized Blizzard.j by me
  • Listfile
How to port maps from M16 to Reforged:

Export and Edit the Map Script:
Spoiler:
  • After exporting the 'war3map.j' file, open it with a text editor capable of handling UTF-8 encoding.
  • Initiate a search for the term 'endglobals'. Your goal is to identify and remove all code lines that commence with 'native'. However, it's crucial to retain any instances of the 'UnitAlive' native - these should not be removed.
  • Additionally, if you encounter the specific line constant playerunitevent EVENT_PLAYER_UNIT_DAMAGED=ConvertPlayerUnitEvent(52), ensure its removal from the script.
  • As a best practice, it's advisable to conduct a thorough syntax check of your JASS script. Utilize the pjass tool, coupled with the custom 'Blizzard.j', to verify the accuracy and compatibility of your script.
Reimport and Organize Files
Spoiler:
  • With the necessary edits completed, save your modifications to the 'war3map.j' file.
  • Proceed to reimport this updated file back into your map. If your map lacks a 'Scripts' folder, now is the time to create one.
  • Into this newly established or existing 'Scripts' folder, import the custom 'Blizzard.j' provided.
Anyshit u might need to download if for some reason attachments break
You do not have the required permissions to view the files attached to this post.
User avatar
null
V.I.P.
Posts: 128
Joined: August 5th, 2017, 2:26 am
Title: Moon#6000
Location: Discord:
Contact:

Re: [GUIDE] Porting any map from M16

Post by null »

Amazing, speechless and marvelous! Mucho good job on dis tutorial.
Image
User avatar
brayan305
Junior Member
Posts: 43
Joined: August 10th, 2012, 12:15 pm
Title: Rick Sanchez

Re: [GUIDE] Porting any map from M16

Post by brayan305 »

Awesome guide teach!
Want to share your support? Just a thank you will suffice.
Spoiler:
Insist? Then get me a damn coffee!

Image
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1737
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada

Re: [GUIDE] Porting any map from M16

Post by Vegas »

Can you cheat it and convert the map back to M16?
User avatar
devoltz
Forum Staff
Posts: 2998
Joined: March 23rd, 2016, 8:06 pm

Re: [GUIDE] Porting any map from M16

Post by devoltz »

Vegas wrote:Can you cheat it and convert the map back to M16?
You don't actually need to convert it back to M16. Instead, you can cheat it using traditional methods. However, this approach won't work for maps that use a load and save system based on cloud storage. This is because these maps contain a secret key embedded within the map script and a hash verification of the .w3x file itself. Therefore, the server can detect that the map version is not legitimate. The only way to cheat on m16 maps is with memory manipulation. Converted maps would work normally, since there are none verification from blizzard.
User avatar
3nemy_
Cheater
Posts: 133
Joined: November 21st, 2016, 6:50 pm

Re: [GUIDE] Porting any map from M16

Post by 3nemy_ »

Nice work!
InnerOR
Newcomer
Posts: 1
Joined: May 25th, 2024, 2:29 am

Re: [GUIDE] Porting any map from M16

Post by InnerOR »

Hi devo, I just followed your guide to port M16 maps
I delete the 'native' code except UnitAlive
but I can't find the map in reforge/can't open it in 1.26 either
Is there anything else I need to do?
Post Reply