johnwhile
@johnwhile
New Member
Joined: Feb 15, 2024
Topics: 17 / Replies: 104
Reply
RE: Max geometry esporter in C#

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…

13 years ago
Forum
Reply
RE: Max geometry esporter in C#

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.

13 years ago
Forum
Reply
RE: Max geometry esporter in C#

Visual C#: namespace Gamelibrary { using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.IO; using …

13 years ago
Forum
Topic
Forum
Replies: 36
Views: 212
Topic
Forum
Replies: 0
Views: 50
Reply
RE: LZO decompress/compress data

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…

13 years ago
Forum
Reply
RE: LZO decompress/compress data

well done ! why you use “::” ? i tried this info : but nothing, always the (Exception from HRESULT: 0x8007000B)… is a problem of lzo.dll ???

13 years ago
Forum
Reply
RE: LZO decompress/compress data

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…

13 years ago
Forum
Reply
RE: LZO decompress/compress data

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 …

13 years ago
Forum
Reply
RE: LZO decompress/compress data

to do this i re-compiled the dll: –BytesArray = dotnet.ValueToDotNetObject compressed (dotNetClass “System.Byte[]”) BytesArray = dotNetObject “Sy…

13 years ago
Forum
Reply
RE: LZO decompress/compress data

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…

13 years ago
Forum
Reply
RE: LZO decompress/compress data

i don’t undertand this error: SIZEOF = decompressed.count format “>> run lzo compression with sizeof:% ” SIZEOF BytesArray = dotnet.V…

13 years ago
Forum
Reply
RE: LZO decompress/compress data

this is a example and work, but it can done better ? clearlistener() try ( filename = getOpenFileName types:”all types (*.*)|*.*” caption:(“LZO com…

13 years ago
Forum
Reply
RE: LZO decompress/compress data

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…

13 years ago
Forum
Reply
RE: LZO decompress/compress data

… uhm… i must use Encoding.Default.GetBytes ?

13 years ago
Forum
Page 3 / 9