Page 1 of 3

avengers playground

Posted: Mon Dec 17, 2018 11:06 am
by justshopatkmart43
Does anyone know which of these file types is the true model file?

I'm not sure if the models are in the .bin files, or the .lulmodel files

Any help would be appreciated

Re: Avengers playground AR

Posted: Mon Dec 17, 2018 1:30 pm
by Acewell
yep the models are in the lullmodel files. :D
metronome-ironman_lullmodel.PNG
and you can convert all the ktx textures to png with PVRTexToolCLI and this bat file contents

Code: Select all

for %%G in ("*.ktx") do PVRTexToolCLI -i "%%G" -o "%%~nG.dds" -d "%%~nG.png" -f r8g8b8a8

Re: Avengers playground AR

Posted: Mon Dec 17, 2018 1:49 pm
by justshopatkmart43
Acewell wrote:yep the models are in the lullmodel files. :D
metronome-ironman_lullmodel.PNG
and you can convert all the ktx textures to png with PVRTexToolCLI and this bat file contents

Code: Select all

for %%G in ("*.ktx") do PVRTexToolCLI -i "%%G" -o "%%~nG.dds" -d "%%~nG.png" -f r8g8b8a8
Wow, thanks for the info on the textures. About the models, will they all work on those settings you have in the screenshot, or does it differ per model, I'm particularly interested in the hulk model?


edit: I ran the bat file with the ktx file, the PVRTexToolCLI.exe in the same folder and it made a small png file with nothing in it, and a corrupt dds file. Did you try with these textures?

Re: Avengers playground AR

Posted: Mon Dec 17, 2018 2:50 pm
by Acewell
Jaydenthetank wrote:About the models, will they all work on those settings you have in the screenshot, or does it differ per model, I'm particularly interested in the hulk model?
all settings are the same except the step 1 and 3 start addresses and counts.
different models rarely have identical number of vertices and faces.
Jaydenthetank wrote:Did you try with these textures?
trick question? of course i did and they converted fine. (:

Re: Avengers playground AR

Posted: Mon Dec 17, 2018 3:03 pm
by justshopatkmart43
Acewell wrote:
Jaydenthetank wrote:About the models, will they all work on those settings you have in the screenshot, or does it differ per model, I'm particularly interested in the hulk model?
all settings are the same except the step 1 and 3 start addresses and counts.
different models rarely have identical number of vertices and faces.
Jaydenthetank wrote:Did you try with these textures?
trick question? of course i did and they converted fine. (:
Not a trick question, are you able to send your .exe file, I tried one from github which is quite old, and 32/64 bit ones from the power vr kit. Does it need something installed to run correctly?

Re: Avengers playground AR

Posted: Mon Dec 17, 2018 4:32 pm
by Acewell
....

Re: Avengers playground AR

Posted: Tue Dec 18, 2018 12:50 am
by justshopatkmart43
Acewell wrote:
Jaydenthetank wrote:are you able to send your .exe file

Code: Select all

https://www.mediafire.com/file/8lq6hc8b93jjwp3/PVRTexToolCLI.zip/file

Code: Select all

PVRTexToolCL version 4.20
SDK Version: 18.1@5086772
PVRTexLib 4.20 | JpegLib version 8` | LibPNG version 1.5.12
Thanks I found the problem, I just needed to put everything in the same folder then it works without having to install anything. The model part is still tricky though, is there a tutorial you recommend to follow for hex2obj so I can extract the hulk model?

Re: avengers playground ar

Posted: Tue Dec 18, 2018 4:41 am
by Acewell
no tutorial is going to help you here, the info you need is acquired from recognizing patterns and some trial and error.
you can use the given iron man sample to see what you need to look for in the other lullmodel files.

Re: avengers playground ar

Posted: Tue Dec 18, 2018 11:14 am
by justshopatkmart43
Acewell wrote:no tutorial is going to help you here, the info you need is acquired from recognizing patterns and some trial and error.
you can use the given iron man sample to see what you need to look for in the other lullmodel files.
Thanks for the info, managed to get hulk based on what you had with iron man, but the others don't seem to be so easy. Does the pattern always have to start with 1 2 3 on the first line?

Re: avengers playground ar

Posted: Tue Dec 18, 2018 1:44 pm
by Acewell
Jaydenthetank wrote:Does the pattern always have to start with 1 2 3 on the first line?
not always, but in these samples it does.
okoye is the only character that uses dword indices instead of word.
metronome-okoye.lullmodel.PNG

Re: avengers playground ar

Posted: Tue Dec 18, 2018 2:29 pm
by justshopatkmart43
Acewell wrote:
Jaydenthetank wrote:Does the pattern always have to start with 1 2 3 on the first line?
not always, but in these samples it does.
okoye is the only character that uses dword indices instead of word.
metronome-okoye.lullmodel.PNG
Managed to get nebula, I got the pattern on captain america to start with 123, and followed the same structure you used with iron man, and did the indices count calculation correct, but there is no mesh? I apologize for the questions, but this hex software is new to me so idk what I'm doing wrong. You have been a big help!

Re: avengers playground ar

Posted: Tue Dec 18, 2018 4:51 pm
by Acewell
you almost had it, here is captain america settings :D
metronome-captainamerica.lullmodel.PNG

Re: avengers playground ar

Posted: Sat Jan 26, 2019 5:23 am
by silkroad820420
Acewell wrote:you almost had it, here is captain america settings :D
metronome-captainamerica.lullmodel.PNG
hi,can you show the hulk settings? please

Re: Avengers playground AR

Posted: Sat Jan 26, 2019 5:53 am
by silkroad820420
Acewell wrote:yep the models are in the lullmodel files. :D
metronome-ironman_lullmodel.PNG
and you can convert all the ktx textures to png with PVRTexToolCLI and this bat file contents

Code: Select all

for %%G in ("*.ktx") do PVRTexToolCLI -i "%%G" -o "%%~nG.dds" -d "%%~nG.png" -f r8g8b8a8
how to use this bat file ?

When I open .ktx files, PVRtextool seeing message: "Please check that astcenc.exe is in path" ,how to fix that?

Re: Avengers playground AR

Posted: Sat Jan 26, 2019 7:51 am
by justshopatkmart43
silkroad820420 wrote:
Acewell wrote:yep the models are in the lullmodel files. :D
metronome-ironman_lullmodel.PNG
and you can convert all the ktx textures to png with PVRTexToolCLI and this bat file contents

Code: Select all

for %%G in ("*.ktx") do PVRTexToolCLI -i "%%G" -o "%%~nG.dds" -d "%%~nG.png" -f r8g8b8a8
how to use this bat file ?

When I open .ktx files, PVRtextool seeing message: "Please check that astcenc.exe is in path" ,how to fix that?
I gave the answer to that error in the thread