A certain patch in the past broke a lot of maps. In those days it was common to use a typecasting exploit to convert handles to integers and vice versa. This type of typecasting allowed for easily writing things that otherwise would have been a pain.
The patch broke that particular method of typecasting, but it also gave us some new natives to get back some of the functionality that would have otherwise gone missing. However, maps that used the old typecasting method became unplayable.
Usually someone experienced with the matter could modify the out of date map and fix its script, but this process is tedious to do. Ideally the map author was present at the time and updated their map(s) in response to the patch.
Anyway, I wrote something that tries to do that kind of update automatically.
This tool tries to convert very simple patterns of that typecasting into something the current game tolerates. There are only a few patterns it can deal with, so if the map did anything outside of that scope, the tool would be unable to update it properly.
That being said, there is a slight chance using this tool would mean being able to easily play an ancient map again. Perhaps give it a try if you have a map in mind.
This tool is provided mostly as a curiosity, as I have no strong feelings to update it for maps it fails to work on. If it works for you, then great. If not, you are probably better off trying to fix the map manually if you really want to play it.
Instructions:
- download and extract the archive
- copy your common.j and Blizzard.j into the /core directory
- drag maps you want to try converting onto the saddays.cmd file
- the converted map should appear as [map name]_append.w3x in the same directory as saddays.cmd
- try to play the generated map
Edit: I actually forgot to mention that you need to copy common.j and Blizzard.j into the /core directory originally.
Added a zipped archive with the same contents.
The patch broke that particular method of typecasting, but it also gave us some new natives to get back some of the functionality that would have otherwise gone missing. However, maps that used the old typecasting method became unplayable.
Usually someone experienced with the matter could modify the out of date map and fix its script, but this process is tedious to do. Ideally the map author was present at the time and updated their map(s) in response to the patch.
Anyway, I wrote something that tries to do that kind of update automatically.
This tool tries to convert very simple patterns of that typecasting into something the current game tolerates. There are only a few patterns it can deal with, so if the map did anything outside of that scope, the tool would be unable to update it properly.
That being said, there is a slight chance using this tool would mean being able to easily play an ancient map again. Perhaps give it a try if you have a map in mind.
This tool is provided mostly as a curiosity, as I have no strong feelings to update it for maps it fails to work on. If it works for you, then great. If not, you are probably better off trying to fix the map manually if you really want to play it.
Instructions:
- download and extract the archive
- copy your common.j and Blizzard.j into the /core directory
- drag maps you want to try converting onto the saddays.cmd file
- the converted map should appear as [map name]_append.w3x in the same directory as saddays.cmd
- try to play the generated map
Edit: I actually forgot to mention that you need to copy common.j and Blizzard.j into the /core directory originally.
Added a zipped archive with the same contents.
Attachments
Last edited: