dyoManager

Re: dyoWriter

Use two class : Objects and Movers.
Then Create two list : List<Objects> lstobjects = new List<Objets>();
List<Movers> lstmovers = new List<Movers>();

Annd when you read the dyo file, add each objects/movers into their list, then you will not be limited (if for exemple you're using array with limited number of value. (and with list you can reorder the content ^^.

To write in a "readable file" you just have to make a loop...

Think that if somethink have 64 bytes when you read it, it need to have 64 bytes when you wrote it etc.
 
If I make a file and safe it i get an error:

Unhandled exception in the application.
Click on Next to ingnore the error

The input string has the wrong format.

 
Back