I've written a mod tool for a community of flight sim addicts, but they are having problems running it.
Loading an aircraft only works on English language versions of windows. The aircraft are in a very complicated format. There are multiple mesh files per aircraft, some are in a text file format and some in a binary format. Naturally I use a TextReader and a BInaryReader as required.
It's coded in C# as a winforms application with XNA embedded as a renderer.
The exception seems to be the "Invalid number sequence" exception you get when you read a multi-byte character by accident when you want to read a byte.
I know this can happen on a call to PeekChar, so I deliberately avoided using that.
Does anyone know any other functions that can produce the same error?
The results are looking good for me but the whole project is a failure if I cannot get it working for everyone else.