• Gamedev
  • Migrating from v3 to v4 - Bugs and Fixes

Hello. Thank you @CoMiGo for the awesome work on ct.js!

I'm migrating a project from v3 to v4, and hitting some issues - unsurprising given the scale of the update.

What's the best way to share learning and workarounds with other people? Maybe a thread like this?

Things I've found so far:

  • Backup - edit - test!
  • If a project won't open with an ENOENT: no such file or directory … X/module.json error - Try using a text editor to remove entries for `X`.
  • Sounds didn't move across smoothly, and they broke opening the project with error messages of missing files. A workaround is to remove sounds from the .ictin a text editor then re-adding them.
  • For changing e.g. ct.X to X and ct.sound to sounds - use an external text editor on the .ict file, so you can do find-and-replace across the whole project. But beware that can easily edit more than you intend.

I'm sure other people have tips I could benefit from.

Thanks,

Dan

    Write a Reply...