Quote: "The problems is that AppGameKit have not been able to read what textures that are used in your objects, i just added a few more commands "GetObjectTextureName and GetObjectNumTextures" to yesterdays update , so im going to try to automate the texture process in a later GG Loader release."
Okay first how do I update my AppGameKit if I got it from The Game Creators Site? I tried to add non-steam games but to no avail..
and number #2.. if this approach even close to how I should be thinking?
function getUScaleFromTexture(filename$,MeshNumber)
result = 0
OpenToRead(1,filename$)
do
read$ = readline(1)
if FindString(read$,"Material")> 0
textnum = val(getstringtoken(read$,"_",2))
read$ = readline(1)
read$ = readline(1)
endif
if fileeof(1) = 1 then exit
loop
closefile(1)
endfunction result
Its obvious to what it does but it is made to read the .x file and read the texture 0 and extract the data of the texture file but also I am wondering does the UV data reside in there as well? theres an assortment of numbers separated by semi colons in the .x file that look like they could be UV data.. Thanks for your help