https://www.mediafire.com/file/55yc6ie2 ... S.zip/file
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
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
-
moonpaladin
- ultra-veteran

- Posts: 404
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 296 times
- Been thanked: 19 times
.e3m models + atf textures
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
, anyways any kind of help is welcome! Thanks for read!.
https://www.mediafire.com/file/55yc6ie2 ... S.zip/file
https://www.mediafire.com/file/55yc6ie2 ... S.zip/file
- shakotay2
- 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
Picture?
.
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?"
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

- Posts: 404
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 296 times
- Been thanked: 19 times
- shakotay2
- 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
The vertices need to be grouped/sorted, somehow.
Maybe excluding these
cnt 0 x 0 0 128 63 lines could help?
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
...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?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- Bigchillghost
- 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
So typical.
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game.
when you get helped.
- An Imitable Workflow for Reverse Engineering a Game Model
- Advanced Mesh Reaper
- Reverse Model Wireframe
when you get helped.-
moonpaladin
- 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
WOOOOWWWW the wolf looks COOOL !
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

- Posts: 404
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 296 times
- Been thanked: 19 times
Re: .e3m models + atf textures
Well I was not able to get any kind of mesh
- shakotay2
- 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
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)
. (Sorry for the mess - I wanted to post before the script is coming...
)
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.
)
. (Sorry for the mess - I wanted to post before the script is coming...
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.
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?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- Bigchillghost
- 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
Script arrived.
Since you didn't mention the title of the game I'll just call it the default importer. 
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game.
when you get helped.
- An Imitable Workflow for Reverse Engineering a Game Model
- Advanced Mesh Reaper
- Reverse Model Wireframe
when you get helped.-
moonpaladin
- ultra-veteran

- Posts: 404
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 296 times
- Been thanked: 19 times
-
moonpaladin
- 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
Hello Bigchillghost, could you take a look at this .e3m models please? seems that are compressed
https://www.mediafire.com/file/0z23clas ... s.zip/file
- Bigchillghost
- 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
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.
when you get helped.
- An Imitable Workflow for Reverse Engineering a Game Model
- Advanced Mesh Reaper
- Reverse Model Wireframe
when you get helped.-
moonpaladin
- 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
Yep, Ekey made a script for the .e3p, but these are .e3m, gonna attach the script hope it only need some tweaks
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- Bigchillghost
- 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
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.
when you get helped.
- An Imitable Workflow for Reverse Engineering a Game Model
- Advanced Mesh Reaper
- Reverse Model Wireframe
when you get helped.-
moonpaladin
- 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
whuttttttttBigchillghost wrote: ↑Wed Dec 29, 2021 4:46 pm viewtopic.php?p=175262#p175262
Just thought that you wouldn't ever need it.
