ok i been playing around a bit more.. i got it to load, but it doesn't load the textures how they where in matedit.
this is what i changes.. not much.
Rem Load Project Texture Image Here
Bmpname$="_DRAGON WARRIOR TOWN 1.bmp"
Load Image Bmpname$,1
`Make Matrix 1,MatWidth#,MatHeight#,TilesX(1),TilesZ(1)
Make Matrix 1,MatWidth#,MatHeight#,TilesX,TilesZ
Rem Create texture tile set from project image
PREPARE MATRIX TEXTURE 1,1,Int(UsersImage#),Int(UsersImage#)
` trim#=1.0/TilesizeX#
` set matrix trim 1,trim#,trim#
set matrix texture 1,2,0
Rem Read in texture values for each matrix tile
For N1=0 To TilesZ(1)-1
For N2=0 To TilesX(1)-1
Read String 1,T$: MatTex=Val(T$)
SET MATRIX TILE 1,N2,N1,MatTex
Tiles(N2,N1)=MatTex
Next N2
Next N1
Close File 1