spiiin / CadEditor

NES Universal Level Editor (Chip & Dale, Darkwing Duck, Duck Tales, Duck Tales 2, MegaMan 4, Chip & Dale 2, Tale Spin, Little Mermaid, Jungle Book, Flintstones and many others)
MIT License
206 stars 31 forks source link

Cad Editor crashing (?) #4

Closed Arcus87 closed 7 years ago

Arcus87 commented 7 years ago

I'm tryed to make a Super Robin Hood hack, but after some time of work in Cad Editor, got crash.

Here's screenshot of crash

default

I don't understand crash reason, or it is program or maybe rom brokened

Arcus87 commented 7 years ago

Video of Cad Editor crashing, i hope it help you.

https://youtu.be/F0dU1P31BqE

spiiin commented 7 years ago

Really, it's bug on very big (long or high) maps. Windows Forms controls return negative coordinates if control size > 32768 pixels. I fixed it (max size of map now 65536 pixels, it's enought for mosst maps) in commit https://github.com/spiiin/CadEditor/commit/3a4c367fbc4b1d6a088987b3f68bc466fec6e897