Help Changing Source to read LibV2 from LibV1

Mu online season 21 - grand opening

Xx69xX

Golden Oldie
Golden Oldie
Dec 2, 2005
2,152
159
250
So i am having issues changing my source from reading Lib1s- Lib2. (before you mock me i know V3 would be ideal, however on a different mission at the moment)

Is this a massive job?

I am aware there is just a simple Line....

public const int LibVersion = 2;

However, i have no luck when changing this.

How much more work is involved?

Cheers
 

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,683
34
3,287
520
if you just copy the MLibrary and MImage classes i think that should pretty much do it. Probably only the Initialize() method from MLibrary and its properties as i expect you're not using SlimDx.

If you copy the latest source its backwards compatible with v3 and v2 libs.
 
  • Like
Reactions: Xx69xX
Upvote 0

Xx69xX

Golden Oldie
Golden Oldie
Dec 2, 2005
2,152
159
250
if you just copy the MLibrary and MImage classes i think that should pretty much do it. Probably only the Initialize() method from MLibrary and its properties as i expect you're not using SlimDx.

If you copy the latest source its backwards compatible with v3 and v2 libs.
Thanks @Far.

I am using SlimDx, will this make the changes significant?
 
Upvote 0

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,683
34
3,287
520
Just lift the whole mlibrary class if you are then as should just work
 
  • Like
Reactions: Xx69xX
Upvote 0

Xx69xX

Golden Oldie
Golden Oldie
Dec 2, 2005
2,152
159
250
Just lift the whole mlibrary class if you are then as should just work
Worked almost perfectly, had to delete some "frame" lines as it wouldnt have it, but for now its what i needed just testing images, so appreciate your time as always @Far
 
  • Like
Reactions: Far
Upvote 0