Important information: this site is currently scheduled to go offline indefinitely by end of the year.

[PC] Devil May Cry 4

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
CMihai
veteran
Posts: 131
Joined: Sun Jul 05, 2009 12:58 pm
Has thanked: 13 times
Been thanked: 1 time

Re: [PC] Devil May Cry 4

Post by CMihai »

same as Krysia ^
Surveyor
veteran
Posts: 97
Joined: Mon Mar 16, 2009 9:43 am
Been thanked: 112 times

Devil May Cry 4

Post by Surveyor »

Hi there!
Texture coords may be funky sometimes because of different vertex formats on the same vertex buffer: this is crazy!

But these texture coords are being fixed and as you can see in this pic, the head is a HiRes model and it works pretty well.

Another thing to notice is that normals are still uncorrect, I don't know, 3ds max doesn't support them on OBJ files anyway. Maybe if you try the models on Maya to see...

This work is still in progress and I'll be posting the updated model converters as soon as I can, so stay tuned here on Xentax!!
You do not have the required permissions to view the files attached to this post.
AceAngel
veteran
Posts: 115
Joined: Sun Feb 08, 2009 5:45 pm
Has thanked: 35 times
Been thanked: 8 times

Re: [PC] Devil May Cry 4

Post by AceAngel »

All I did in Max for the normals was keep the Edit Mesh status and unified the Normals through the modifier panel.

It's not hassle at all, infact, it's pretty good considering the quick strides you're making for a converter.

And thank you, can really learn alot here.
poly
n00b
Posts: 14
Joined: Thu Aug 28, 2008 1:17 pm

Re: [PC] Devil May Cry 4

Post by poly »

Surveyor wrote:Hey chrrox !!
You say the converter works for RE5??, I'd like to see that, but which version: PC, x360, ??

Poly, about the skinning and skeletons, yes I figured some of the data but when I tried to export to Max, it was a headache!! If you could show me a way to import this into max I'd be grateful!

Later!

Ohh! I just figured out that I didn't include any help file for the model exporter so here's the help: To use the exporter, it's better to place the .exe in the same directory as the model to be converted then type the name of this model et voila !!!
Nice to know you figured out the skeleton format!
I'm not an expert on max myself, but I have a friend that once wrote a plug-in for it, he might be able to help.

Can you share some code that reads out all the relevant data for the vertices and skeleton?
mariokart64n
ultra-veteran
ultra-veteran
Posts: 586
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 36 times
Been thanked: 243 times

Re: [PC] Devil May Cry 4

Post by mariokart64n »

The contents of this post was deleted because of possible forum rules violation.
Maxscript and other finished work I've done can be found on my DeviantArt account
Surveyor
veteran
Posts: 97
Joined: Mon Mar 16, 2009 9:43 am
Been thanked: 112 times

Re: [PC] Devil May Cry 4

Post by Surveyor »

Hi there,
Here's a Direct3D stage viewer I'm coding right now and as you can see different texture layers now can be applied, still I need to take a lesson or two on shaders to make the final render with bump mapping and per pixel lighting and some more cool stuff. But before that I need to figure out where the lights are, and suddenly I noticed something! since RPGViewer3 can't handle extensions, there are some files with the same name and different extensions that get overwritten, example:

model.mod
model.sdl
model.col

in the end you get only the last model.col without extension!
You do not have the required permissions to view the files attached to this post.
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: [PC] Devil May Cry 4

Post by chrrox »

sdl contains a lot of information.
in resident evil 5 it contains enemy spawns, cutscene information, and lighting information.
Surveyor
veteran
Posts: 97
Joined: Mon Mar 16, 2009 9:43 am
Been thanked: 112 times

Re: [PC] Devil May Cry 4

Post by Surveyor »

Now textured ... Hey chrrox you are faster than me !!!!
You do not have the required permissions to view the files attached to this post.
Surveyor
veteran
Posts: 97
Joined: Mon Mar 16, 2009 9:43 am
Been thanked: 112 times

Re: [PC] Devil May Cry 4

Post by Surveyor »

... and normal textures ...
You do not have the required permissions to view the files attached to this post.
Surveyor
veteran
Posts: 97
Joined: Mon Mar 16, 2009 9:43 am
Been thanked: 112 times

Re: [PC] Devil May Cry 4

Post by Surveyor »

... specular mapping ...
You do not have the required permissions to view the files attached to this post.
Surveyor
veteran
Posts: 97
Joined: Mon Mar 16, 2009 9:43 am
Been thanked: 112 times

Re: [PC] Devil May Cry 4

Post by Surveyor »

And lightmapping ....thank you :]
You do not have the required permissions to view the files attached to this post.
AceAngel
veteran
Posts: 115
Joined: Sun Feb 08, 2009 5:45 pm
Has thanked: 35 times
Been thanked: 8 times

Re: [PC] Devil May Cry 4

Post by AceAngel »

Holy bloody anchovies, that is amazing! You're like a 3D-Decompiler version of Flash!
Krysia
ultra-n00b
Posts: 5
Joined: Sat Jul 04, 2009 10:11 pm
Has thanked: 2 times

Re: [PC] Devil May Cry 4

Post by Krysia »

Amazing! Will this viewer allow to make any changes or it is just for preview purposes?
Any news about the uvs issue and DM4model.exe? I've noticed that in one file, for example,
the face has no texture coordinates and the eyes and mouth have proper coordinates. Bizzare.
magnum
ultra-n00b
Posts: 5
Joined: Sun Jul 26, 2009 8:43 pm
Has thanked: 1 time
Been thanked: 2 times

Re: [PC] Devil May Cry 4

Post by magnum »

Surveyor,

I tested your Dmc4Model program, and noticed that you are improperly interpreting the face data.

Here is some sample code demonstrating how the faces should be read:

Code: Select all

unsigned short* faces; // array of face values
int face_data_length; // length of the array
...

bool backface = false;
for( int i = 0; i < face_data_length - 3; i++ ) {
	unsigned short a = faces[i];
	unsigned short b = faces[i+1];
	unsigned short c = faces[i+2];

	backface = !backface;

	if( a != b && b != c && a != c ) {
		if( backface ) {
			printf( "f %d/%d %d/%d %d/%d\n", c,c,b,b,a,a );
		} else {
			printf( "f %d/%d %d/%d %d/%d\n", a,a,b,b,c,c );
		}
	}
}
You should be skipping any time that the vertex indices are the same, and every other set of 3 is a backface.
poly
n00b
Posts: 14
Joined: Thu Aug 28, 2008 1:17 pm

Re: [PC] Devil May Cry 4

Post by poly »

Awesome progress!

Any news on the model's skeleton front?
My offer to help is still up, I'm especially interested in that part!
Post Reply