Thanks for interest , so: this is my work : I have to manage files with more than 1 million of vertices (world files of 20 MB) what required about 1…
i think c++ sdk is the only solution, why don’t exist some simple example for C# (without always a plugin derived…)? is a simple language.
Visual C#: namespace Gamelibrary { using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.IO; using …
thanks, infact there are more legible source code than lzo… but i must use lzo for decompress some internals byte of files used by game, because i’m u…
well done ! why you use “::” ? i tried this info : but nothing, always the (Exception from HRESULT: 0x8007000B)… is a problem of lzo.dll ???
when you decompres to convert some bytes array into float or integer you can do it: convFN = dotnetClass “System.BitConverter” for i=1 to SIZEOF by 4…
this script was tested in windowsXP32 bit with max9 32bit, but this weekend i will test it on windows7 64bit with max2011 32 and 64 bit. The dll was …
to do this i re-compiled the dll: –BytesArray = dotnet.ValueToDotNetObject compressed (dotNetClass “System.Byte[]”) BytesArray = dotNetObject “Sy…
in max2011 there aren’t issue but in max9 i can’t build a Byte[] array: in max9 this work: arr = dotNetObject “System.Int32[]” 100 arr.set 0 (dotNetO…
i don’t undertand this error: SIZEOF = decompressed.count format “>> run lzo compression with sizeof:% ” SIZEOF BytesArray = dotnet.V…
this is a example and work, but it can done better ? clearlistener() try ( filename = getOpenFileName types:”all types (*.*)|*.*” caption:(“LZO com…
an error not in english but in windows language (this is strange) tell me – Runtime error: dotNet runtime exception: Cannot widen from source type to…
… uhm… i must use Encoding.Default.GetBytes ?