Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

.e3m models + atf textures

Post questions about game models here, or help out others!
moonpaladin
ultra-veteran
ultra-veteran
Posts: 404
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 296 times
Been thanked: 19 times

.e3m models + atf textures

Post by moonpaladin »

Hello! thanks to Ekey finally was able to decompress the .e3p files and I finally see some info about 3d model data (.e3m files), was checking it for a while and don't found the correct values yet, I only can preview some cubes, hope it not required a script :constipated: , anyways any kind of help is welcome! Thanks for read!. :D
https://www.mediafire.com/file/55yc6ie2 ... S.zip/file
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4299
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1152 times
Been thanked: 2250 times

Re: .e3m models + atf textures

Post by shakotay2 »

moonpaladin wrote: Tue Dec 21, 2021 12:09 amI only can preview some cubes,
Picture?
.
default-e3m.png
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
moonpaladin
ultra-veteran
ultra-veteran
Posts: 404
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 296 times
Been thanked: 19 times

Re: .e3m models + atf textures

Post by moonpaladin »

shakotay2 wrote: Tue Dec 21, 2021 1:30 am Picture?
Mine was a lot worse lol, bad values [roll]
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4299
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1152 times
Been thanked: 2250 times

Re: .e3m models + atf textures

Post by shakotay2 »

The vertices need to be grouped/sorted, somehow.

Code: Select all

1 0 4 0 0 0 0  1.763930 0.152984 0.153277 
2 0 3 0 0 0 0  1.527930 -0.559926 0.263543 
3 0 5 0 0 128 63  2.343530 0.220493 0.000357 
4 0 4 0 0 0 0  1.763930 0.216472 -0.000353 
5 0 3 0 0 0 0  1.529470 -0.496457 0.110263 
6 0 5 0 0 128 63  2.252130 0.160468 0.000257 
7 0 4 0 0 0 0  1.672430 0.156608 -0.000251 
8 0 3 0 0 0 0  1.436540 -0.554083 0.110264 
9 0 5 0 0 128 63  2.252210 0.114510 0.110951 
10 0 4 0 0 0 0  1.672430 0.110653 0.110947
...
Maybe excluding these
cnt 0 x 0 0 128 63 lines could help?
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 1031
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 32 times
Been thanked: 1216 times

Re: .e3m models + atf textures

Post by Bigchillghost »

So typical.
defaults.jpg
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)
moonpaladin
ultra-veteran
ultra-veteran
Posts: 404
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 296 times
Been thanked: 19 times

Re: .e3m models + atf textures

Post by moonpaladin »

Bigchillghost wrote: Tue Dec 21, 2021 1:48 pm
WOOOOWWWW the wolf looks COOOL ! :D :D :D :D
I don't know if I was on the right track, but I was checking the script for the gtarcade models, it looked somewhat alike right? or was i lost XD
moonpaladin
ultra-veteran
ultra-veteran
Posts: 404
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 296 times
Been thanked: 19 times

Re: .e3m models + atf textures

Post by moonpaladin »

Bigchillghost wrote: Tue Dec 21, 2021 1:48 pm
Well I was not able to get any kind of mesh :( . Could you share your script please? :P
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4299
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1152 times
Been thanked: 2250 times

Re: .e3m models + atf textures

Post by shakotay2 »

That way you won't learn anything - indeed it's not too hard, use a FVFsize of 19, exclude each 2nd and 3rd vertex and you're done...(partially)
.
goingOn.png
(Sorry for the mess - I wanted to post before the script is coming... :D )

Here's some face indices for the weapon using hex2obj:
f 1 3 2
f 3 1 4
f 5 4 1
f 4 5 6
f 7 6 5
f 6 7 8
f 9 8 7
f 8 9 10
f 11 13 12
f 13 11 14
f 15 14 11
f 14 15 16
f 17 16 15
f 16 17 18
f 19 18 17
f 18 19 20
f 21 12 22
f 12 21 11
f 23 11 21
f 11 23 15
f 24 15 23
f 15 24 17
f 25 17 24
f 17 25 19
f 4 22 3
f 22 4 21
f 6 21 4
f 21 6 23
f 8 23 6
f 23 8 24
f 10 24 8
f 24 10 25
f 26 28 27
f 28 26 29
f 30 29 26
f 29 30 31
f 32 31 30
f 31 32 33
f 34 33 32
f 33 34 35
f 29 36 28
f 36 29 37
f 31 37 29
f 37 31 38
f 33 38 31
f 38 33 39
f 35 39 33
f 39 35 40
f 41 27 42
f 27 41 26
f 43 26 41
f 26 43 30
f 44 30 43
f 30 44 32
f 45 32 44
f 32 45 34
f 46 2 47
f 2 46 1
f 48 1 46
f 1 48 5
f 49 5 48
f 5 49 7
f 50 7 49
f 7 50 9
f 14 42 13
f 42 14 41
f 16 41 14
f 41 16 43
f 18 43 16
f 43 18 44
f 20 44 18
f 44 20 45
f 51 53 52
f 54 53 51
f 55 53 54
f 56 53 55
f 57 59 58
f 58 59 60
f 60 59 61
f 61 59 62
#here some problem arises
f 37 63 36
f 63 37 64
f 38 64 37
...

For the uvs (13 bytes blocks) indexing seems to be required.

(The great someone seems to have a magic book where all solutions are contained. :D )
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 1031
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 32 times
Been thanked: 1216 times

Re: .e3m models + atf textures

Post by Bigchillghost »

Script arrived.
fmt_default_e3m.zip
Since you didn't mention the title of the game I'll just call it the default importer. :wink:
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)
moonpaladin
ultra-veteran
ultra-veteran
Posts: 404
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 296 times
Been thanked: 19 times

Re: .e3m models + atf textures

Post by moonpaladin »

Bigchillghost wrote: Wed Dec 22, 2021 1:05 am Script arrived.
Thanks alot Bigchillghost! :D :D :D
moonpaladin
ultra-veteran
ultra-veteran
Posts: 404
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 296 times
Been thanked: 19 times

Re: .e3m models + atf textures

Post by moonpaladin »

Bigchillghost wrote: Wed Dec 22, 2021 1:05 am
Hello Bigchillghost, could you take a look at this .e3m models please? seems that are compressed :( . Thanks in advance!

https://www.mediafire.com/file/0z23clas ... s.zip/file
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 1031
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 32 times
Been thanked: 1216 times

Re: .e3m models + atf textures

Post by Bigchillghost »

moonpaladin wrote: Wed Dec 29, 2021 7:12 amseems that are compressed
Thought you've already known how to deal with lzma-compressed data.
moonpaladin wrote: Wed May 05, 2021 11:32 pm Well I was a complete noob and didn't identify the compression xD!
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)
moonpaladin
ultra-veteran
ultra-veteran
Posts: 404
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 296 times
Been thanked: 19 times

Re: .e3m models + atf textures

Post by moonpaladin »

Bigchillghost wrote: Wed Dec 29, 2021 12:44 pm
Yep, Ekey made a script for the .e3p, but these are .e3m, gonna attach the script hope it only need some tweaks :ninja:.

Code: Select all

# SUN WUKONG (E3P) format (script made by Ekey)
# script for QuickBMS http://quickbms.aluigi.org

comtype lzma86head
get MAX_OFFSET asize

do
   get NSIZE long
   getdstring NAME NSIZE
   
   set EXT extension NAME

   get ZSIZE long
   savepos OFFSET
   math TEMP = OFFSET
   math TEMP += 5
   goto TEMP
   get SIZE long
   
   if EXT == "ATF"
       log NAME OFFSET ZSIZE
   else
       clog NAME OFFSET ZSIZE SIZE
   endif

   math OFFSET += ZSIZE
   goto OFFSET
while OFFSET < MAX_OFFSET
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 1031
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 32 times
Been thanked: 1216 times

Re: .e3m models + atf textures

Post by Bigchillghost »

moonpaladin wrote: Wed Dec 29, 2021 4:26 pm hope it only need some tweaks
What else tweaks do you ever need? The entire file is just a block compressed with the lzma86head algo. And the required script has already been posted in the same thread here:
viewtopic.php?p=175262#p175262
Just thought that you wouldn't ever need it.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)
moonpaladin
ultra-veteran
ultra-veteran
Posts: 404
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 296 times
Been thanked: 19 times

Re: .e3m models + atf textures

Post by moonpaladin »

Bigchillghost wrote: Wed Dec 29, 2021 4:46 pm viewtopic.php?p=175262#p175262
Just thought that you wouldn't ever need it.
whutttttttt :eek: tTried with that script before and it didn't work :| :| :| my pc is trolling me
Post Reply