Page 5 of 5

Re: Noesis tutorial Basic Model

Posted: Thu Apr 02, 2020 12:22 pm
by shakotay2
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.

Re: Noesis tutorial Basic Model

Posted: Sat May 02, 2020 12:49 pm
by RyanTroy
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

Re: Noesis tutorial Basic Model

Posted: Sat May 02, 2020 1:49 pm
by shakotay2
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)

Re: Noesis tutorial Basic Model

Posted: Sat May 02, 2020 2:42 pm
by RyanTroy
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

Re: Noesis tutorial Basic Model

Posted: Sat May 02, 2020 3:49 pm
by shakotay2
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

Re: Noesis tutorial Basic Model

Posted: Sat Jul 18, 2020 4:12 am
by TheFalcon19
I can't figure out what I'm doing wrong, but I'm getting some misplaced vertices in Noesis.
The mesh is correct in Model Researcher and Mesh Reaper with the same data.

I'm using just the basic commands for vertex position:
VertexBuffer = bs.readBytes(VertexCount * 12)
and
rapi.rpgBindPositionBufferOfs(VertexBuffer, noesis.RPGEODATA_FLOAT, 12, 0)

Here I highlighted an example where in noesis those four bytes end up +16 compared to hxd.
Image

Re: Noesis tutorial Basic Model

Posted: Fri Oct 09, 2020 2:48 am
by Dippergames420
I've been trying to extract these for a while now, and all else has seemingly failed, so I've decided to ask for help here.

There have been a few threads related to the models from Dragon Ball Z Ultimate Tenkaichi over the years, due to Noesis crashing when trying to export from the .AFS file. I did try the plugin from revelation (viewtopic.php?p=61219#p61219) along with the default Noesis .AFS plugin, and AFSExplorer, only to get a mixture of blank files and the aforementioned Noesis crash.

If it's at all possible, is there a way to write a script to dig into archives? I'd like to write one of them so I can extract the files from the .AFS, or better decompile one of the empty files into something legible for revelation's plugin. An old thread has a DL for the .AFS, so here you go:

viewtopic.php?t=19077


And here's the blank files for UT's Goku in a ZIP archive, for context:

https://drive.google.com/file/d/198soxL ... sp=sharing

Any help is greatly appreciated!