SilverGreen93 / CDPExplorer

Utility aplication for browsing, searching and extracting Trainz Assets from CDP files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Non-negative number required error when opening some CDP files

SilverGreen93 opened this issue · comments

When opening some CDP files, the following message pops:

81802840_786256858559246_6338283981183647744_n

Root cause:
Single character strings were not accounted for, thus not counted when reading bytes from the file. Correct the condition and read the bytes.