Join also our Discord channel! Click here.

Noesis tutorial Basic Model

Read or post any tutorial related to file format analysis for modding purposes.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3137
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 835 times
Been thanked: 1701 times

Re: Noesis tutorial Basic Model

Post by shakotay2 » Thu Apr 02, 2020 12:22 pm

11H5 wrote:
Wed Apr 01, 2020 9:20 pm
maybe there's a plugin i can add to Noesis so it would work ?
Not to my knowledge. Last solution for sketchfab models I remember was from Szkaradek123, a blender 2.49b project (doesn't work with newest blender!): Blender249[sketchfab][htm][2019-10-16] (Maybe to be found on Zenhax, don't remember.)

Older/other version was Blender249[osgjs][2017-02-23].

fyi: discussion on xentax concerning leeching of commercial models has been stopped.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

RyanTroy
ultra-n00b
Posts: 2
Joined: Wed Mar 11, 2020 12:00 pm

Re: Noesis tutorial Basic Model

Post by RyanTroy » Sat May 02, 2020 12:49 pm

Thanks for the good tutorial, unfortunately I'm stuck when trying to get faces I get this error.

Image

I've attached the file and my script for reference.
mga_test.zip
You do not have the required permissions to view the files attached to this post.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3137
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 835 times
Been thanked: 1701 times

Re: Noesis tutorial Basic Model

Post by shakotay2 » Sat May 02, 2020 1:49 pm

Which script example did you take as a base? Looks more complicated than needed -
maybe have a look at this one for example:
shakotay2 wrote:
Thu May 15, 2014 1:48 pm
Your example would work like so:

Code: Select all

   for i in range(0, FCount):
      #faces.append (bs.readBytes(6).decode('ascii').rstrip('\0'))
      f1 = bs.readUShort();f2 = bs.readUShort();f3 = bs.readUShort()
      faces.append(f1);faces.append(f2);faces.append(f3)
But it would require "old Noesis style"?, without "rapi", afair.

Code: Select all

		msh = NoeMesh([],[], "mesh" + str(meshCounter), "mat" + str(meshCounter))
		msh.setIndices(faces)
		msh.setPositions(verts)
		msh.setUVs(uvs)
		meshes.append(msh)
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

RyanTroy
ultra-n00b
Posts: 2
Joined: Wed Mar 11, 2020 12:00 pm

Re: Noesis tutorial Basic Model

Post by RyanTroy » Sat May 02, 2020 2:42 pm

Thanks it worked, I followed this tutorial viewtopic.php?f=29&t=7760

Also how can I proceed if I have several files of the same type and the starting address of vertices keeps changing ? for example sometimes it's 0x3f sometimes 0x79 or 0x5d

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3137
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 835 times
Been thanked: 1701 times

Re: Noesis tutorial Basic Model

Post by shakotay2 » Sat May 02, 2020 3:49 pm

There's no general recipe, you can do a full format analysis, you can search for patterns, or for magic tables (containing counts and/or offsets).

An example for pattern search is to be found here (in case you find a pattern in .mga files)
shakotay2 wrote:
Sat Mar 07, 2020 8:29 am
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

Post Reply