XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sat Nov 25, 2017 2:57 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 306 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20, 21  Next
Author Message
 Post subject: Re: Extracting simple models
PostPosted: Sat Jun 17, 2017 7:15 pm 
Offline
ultra-n00b

Joined: Sun Apr 16, 2017 5:00 pm
Posts: 4
Has thanked: 5 times
Have thanks: 0 time
shakotay2 wrote:
you could easily find out this for yourself.
look for point clouds, then look for face indices, it's DWORD here:


I'm very thankful to you.

And how did you find the point clouds?

And one more question, does this file have a submesh? Since there are several "alphabetic tables" in it and three identical hex codes: 08 B6 FD CF 05 2E 77 34 CD E9 20 B7 F8 CB 62 F9

Sorry for my English.


Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Wed Jun 21, 2017 11:28 pm 
Offline
n00b

Joined: Mon Jun 20, 2016 9:17 pm
Posts: 14
Has thanked: 0 time
Have thanks: 1 time
Hi again!
Im here for models of MotoGP 17 the game :P
The models of previous game of milestone (MotoGP16 and Ride2) are perfectly extracted but I have problems with the new files of the new game..
I can do some parts of the extraction model but when I push the buttons "mesh" and "uv's" something are wrong.. I cant understand :(
Can you help me? here is the file

https://www.mediafire.com/?acrmjihuu2snf8e

Thanks!


Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Thu Jun 22, 2017 3:44 am 
Offline
VIP member
VIP member

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 921
Has thanked: 1925 times
Have thanks: 486 times
first LOD of first submesh :D


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Thu Jun 22, 2017 4:57 am 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2155
Location: Nexus, searching for Jim Kirk
Has thanked: 426 times
Have thanks: 1101 times
Jamal al dambali wrote:
And how did you find the point clouds?
it's a combination of trial and error and experience

Quote:
And one more question, does this file have a submesh?
yes; I usually search for one submesh only and leave the rest of the work to the customers :D

_________________
"you can't always get things served on a silver tray"
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."


Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Thu Jun 22, 2017 2:46 pm 
Offline
n00b

Joined: Mon Jun 20, 2016 9:17 pm
Posts: 14
Has thanked: 0 time
Have thanks: 1 time
AceWell wrote:
first LOD of first submesh :D


Oh thanks!! My problem was start addr of vertices :( the rest of values was the same haha
You help me a lot, thanks man!

Image


Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Mon Jun 26, 2017 5:21 pm 
Offline
n00b

Joined: Tue Dec 06, 2016 10:51 am
Posts: 16
Has thanked: 6 times
Have thanks: 8 times
Hi Shakotay2,
Can you tell me how you draw uv in your program?
I connected every 2d coordinates to create lines but it didn't work.

This is my code
Code:
from Tkinter import *
import scanf
master = Tk()

w = Canvas(master, width=200, height=100)
w.pack()

uv = []

input = open("test_uv.txt")
scale = 100.0
for line in input:
    x, y = scanf.sscanf(line, "%f %f\n")
    uv.append(x*scale)
    uv.append(y*scale)

input.close()

w.create_line(uv) # x1, y1, x2, y2, ... , xn, yn

mainloop()

Image

Here is the right UV:

Image

Attached right there is an example uv.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Tue Jun 27, 2017 1:41 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2155
Location: Nexus, searching for Jim Kirk
Has thanked: 426 times
Have thanks: 1101 times
Hi,
I don't draw lines. hex2obj just sends the test_uv.obj to the mesh_viewer.exe which displays the uv map.

uv data in test_uv.obj as faked vertices:
v tu1 tv1 0
v tu2 tv2 0
v tu3 tv3 0
f 1 2 3

The important thing is the face indices which you don't take care of when just connecting one uv point to the other.

_________________
"you can't always get things served on a silver tray"
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."


Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Mon Jul 10, 2017 8:39 am 
Offline
advanced

Joined: Thu Apr 07, 2011 12:06 pm
Posts: 57
Has thanked: 4 times
Have thanks: 3 times
Can you guys help me with this file?
Link: https://drive.google.com/open?id=0BwxW3 ... jI2d1ZaSWM

I still can't find out where is the uv address :(


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Mon Jul 10, 2017 12:35 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2155
Location: Nexus, searching for Jim Kirk
Has thanked: 426 times
Have thanks: 1101 times
First of all: I wouldn't like to have automatic weapons in this helper thread as "samples". Please open another thread for such, thx. :)

Secondly I'd care for a decent point cloud before searching for the uv (vertices start address 0x165 is wrong).
Face indices are DWORDs (DW).

H2O file:

0x1BBC1 9918
Vb1
28 99
0x9309 2713
140000
0x9301 28

In this sample the vertices or following the uv data. Since you can't use a negative uv pos so far you have to circumvent this by defining an uv block with a startadress of 0x9301 and the same FVF size, 28 (a little bit tricky but works).

_________________
"you can't always get things served on a silver tray"
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."


Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Tue Jul 11, 2017 12:41 pm 
Offline
advanced

Joined: Thu Apr 07, 2011 12:06 pm
Posts: 57
Has thanked: 4 times
Have thanks: 3 times
sorry, one more question :D how to export to obj with uv? I've imported to ms3d and there is no uv, although I tried to import "testUV.obj" as import obj(UV)


Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Tue Jul 11, 2017 5:45 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2155
Location: Nexus, searching for Jim Kirk
Has thanked: 426 times
Have thanks: 1101 times
use File/SaveAs mesh to export to obj with uvs

_________________
"you can't always get things served on a silver tray"
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."


Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Thu Aug 10, 2017 10:19 am 
Offline
ultra-n00b

Joined: Thu Aug 10, 2017 9:59 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
I am new here.

I wanted some models, however, my computer cannot run programs due to Admin privileges.

Does anyone have the .obj file so I could just run it like that?

_________________
Hey all


Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Sat Sep 16, 2017 5:33 pm 
Offline
n00b

Joined: Sat Oct 08, 2016 11:56 am
Posts: 16
Has thanked: 8 times
Have thanks: 20 times
Please give me a model with submeshes.


Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Sun Sep 17, 2017 12:37 pm 
Offline
advanced

Joined: Tue Jan 31, 2012 9:43 pm
Posts: 75
Has thanked: 41 times
Have thanks: 25 times
Hi
Can you help me with this model.
I have found verts offset and normals offset but I can't find face indices.
verts off = 0x80 vertsCount = 594
By the way where is the exe with fake button?


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Extracting simple models
PostPosted: Sun Sep 17, 2017 1:06 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2155
Location: Nexus, searching for Jim Kirk
Has thanked: 426 times
Have thanks: 1101 times
deepshit wrote:
Hi
Can you help me with this model.
Hi, point cloud with 1191 vertices is o.k. but faked indices give a rather ugly result.
Quote:
By the way where is the exe with fake button?
It's not a "fake button" :D ,
it's a button for autogenerated ("faked") face indices:
viewtopic.php?f=29&t=10894&p=119417&hilit=+autogenerated#p119417

(well, I didn't name it "auto" since that would pretend to calculate proper face indices.
But "Fake" does not, it just creates f 1 2 3, f 4 5 6, and so on (or strips) and in most cases it looks bad, because it's "faked" face indices.)

edit: formulae for triangle strips:
viewtopic.php?f=16&t=12804&p=116367#p116367

_________________
"you can't always get things served on a silver tray"
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."


Last edited by shakotay2 on Sun Sep 17, 2017 5:25 pm, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 306 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20, 21  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group