A7 Com
AcknexWrapper
VS 2010

I seem to have found a problem with bmap_create, that maybe you
can clear up or explain. I did not want to post in BUGS as it is not really clear if it is.

At first i thought it was a wrapper problem as bmap_create was returning null
but i finaly with Stromausfall's help narrowed it down.

If i put the bitmap in the folder where the executable runs (bin) it loads the
bitmap without problem, but if in a sub folder of the executable folder f.i (bin\textures)
bmap_create will return null.

The paths are added like so:
Path:
public static String textures = Application.StartupPath + @"\defaults\textures\";
and use like so:
water_bump = BMAP.bmap_create( textures + "waves2.tga" );

All other load or create commands load from this type of path fine, but bmap_create does not.

The paths are also added using add_folder().

It just seems strange that bmap_create() alone (at least i have not yet encountered any other)
has this behaviour.

Any ideas?


A8.3x Commercial, AcknexWrapper and VS 2010 Express
○pararealist now.