Upgrading Tips

From DikuMUD Wiki
Jump to navigation Jump to search

Notes on Conversion


To save weeks of work in conversion, there is a compilable fixhtml.c file in the defcomp/ folder. You can use the script zone/removefinal.sh to do the process and it will iterate over all the zones.
Suggested procedures:

  • run all the zones through
  • grep for the ampersand character
  • Make sure that any instance of ampersand relates to HTML and not to the old codes
  • If you find old codes that were entered incorrectly then edit the original zone, fix the code error, and then run the script again. Keep doing this until you have no more old codes left.

This should result in a set of zones with decent HTML as well as converting ascii art.