Poll time! Click here: Are you interested in the chiptune scene? If so, which?. Let's see what our community thinks of the chiptune scene. :) !

Spotlight: Señor Casaroja's Noesis

General game file tools that are useful for more than one game
luxox18
mega-veteran
mega-veteran
Posts: 176
Joined: Fri Jul 29, 2011 9:18 pm
Has thanked: 54 times
Been thanked: 42 times

Re: Señor Casaroja's Noesis

Post by luxox18 » Fri Feb 14, 2014 5:58 am

someone can help me with this noesis script please

a friend is working in a noesis script for god of war 3 , he found vertex and uv coords but he can't obtain faces.

Image

also, he have other problems, the script only show the point cloud in r_harpy20.wad, all other models can be loaded perfectly but shows nothing.

this is the script

Code: Select all

from inc_noesis import *
import noesis
import rapi

def registerNoesisTypes():
   handle = noesis.register("God of War 3 model", ".wad")
   noesis.setHandlerTypeCheck(handle, noepyCheckType)
   noesis.setHandlerLoadModel(handle, noepyLoadModel) #see also noepyLoadModelRPG
       #noesis.setHandlerWriteModel(handle, noepyWriteModel)
       #noesis.setHandlerWriteAnim(handle, noepyWriteAnim)
   #noesis.logPopup()
       #print("The log can be useful for catching debug prints from preview loads.\nBut don't leave it on when you release your script, or it will probably annoy people.")
   return 1

NOEPY_HEADER = ""

#check if it's this type based on the data
def noepyCheckType(data):

   return 1       

#load the model
def noepyLoadModel(data, mdlList):
   ctx = rapi.rpgCreateContext()
   #rapi.rpgSetOption(noesis.RPGOPT_TRIWINDBACKWARD, 1)
   bs = NoeBitStream(data)
   bs.setEndian(NOE_BIGENDIAN)
   rapi.rpgSetOption(noesis.RPGOPT_BIGENDIAN, 1)
   
   VtxCount = (252, 436, 232, 168, 1847, 1780, 2892, 600, 380)
   VtxBytes = 24
   VtxOffset = (0x16A470, 0x16C6F0, 0x170890, 0x172F60, 0x1783D0, 0x18AFF0, 0x19FE30, 0x1B8FF0, 0x1BEE10)
   
   for i in range(0, 9):
      bs.seek(VtxOffset[i], NOESEEK_ABS) 
      VtxBuff = bs.readBytes(VtxCount[i] * VtxBytes)
      rapi.rpgBindPositionBufferOfs(VtxBuff, noesis.RPGEODATA_FLOAT, VtxBytes, 0)
      rapi.rpgBindNormalBufferOfs(VtxBuff, noesis.RPGEODATA_FLOAT, VtxBytes, 12)
      
      UVBuff = bs.readBytes(VtxCount[i] * 8)
      rapi.rpgBindUV1BufferOfs(UVBuff, noesis.RPGEODATA_FLOAT, 8, 0)

      rapi.rpgCommitTriangles(None, noesis.RPGEODATA_USHORT, VtxCount[i], noesis.RPGEO_POINTS, 1)


   mdl = rapi.rpgConstructModel()
   #mdl.setBones(Skeleton)  
   mdlList.append(mdl)        
   rapi.rpgClearBufferBinds()   
   return 1
according to albinoleopard a.k.a 3dmodel the creator for GOW3 bms script from ps23dformat the faces start with the following array FF FF FF 9C 00 00 00 00 FF FF FF 54 00 20 00 00 00 40

probally the files use triangle strip, my friend need to add a algorythm or something in his noesis script for decode this data

here are some files, including R_harpy20.wad , the only model that works.

http://www.mediafire.com/download/8ncr8 ... PS3_BE.rar

anyone can take a look please ?

thanks! :D

(note: my friend can't create a account here)

User avatar
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 501 times

Re: Señor Casaroja's Noesis

Post by MrAdults » Sun Feb 16, 2014 7:42 pm

-4.0965 - Added named user vertex streams. Named streams can specify raw data as per-vertex or per-mesh/instance, and can be provided to the RPGeo interface using rpgBindUserDataBuffer, or immUserData in immediate mode. To specify that a stream is per-instance, simply provide a data stride of 0. User data streams will not be modified or processed in any way, and will be passed along the export path as-is. Attaching per-instance streams to draws can also be useful as it allows you to pass through your own custom arbitrary data structures. I recommend giving your user streams reasonably unique names. For example, instead of naming something "verts" where another script might have created a like-named user stream to hold differently-formatted data, name it something like "yourscriptname_custom_vert_data".
-4.0965 - Added -fbxnoesidecar. This enables reading/writing of .noefbx files when importing/exporting FBX. A .noefbx file will be generated if the model being exported contains custom user stream data, so that the data can be preserved across export/import of the resulting FBX.
-4.0965 - Added readDouble, readInt64, readUInt64, writeDouble, writeInt64, and writeUInt64 functions to NoeBitStream.
-4.0965 - Better handling for when someone decides it's a good idea to turn a high-detail skeletally animated model into a 4GB Quake MDL.
-4.0964 - Fixed various buffer overflows which could occur in legacy print functions.
-4.0963 - Fixed a z precision issue in BC5 decoding.
-4.0963 - Fixed a bug in calculating BC4 size that caused recent DXT safeguards to refuse to decode data.
-4.0963 - Added a "Force software DXT decode" option in the data viewer.
-4.0962 - Added Noesis_ConvertDXTEx, and failsafed more of the DXT code scattered throughout Noesis.
-4.0962 - MvC3 vertex weighting fix.
-4.0962 - Added NPAPI_SelectDataViewerBone.
-4.0961 - Fixed a possible crash when untiling unaligned DXT data.
-4.096 - Added a new "Default tool plugins" option. This is a semicolon-delimited list of tools that you want to be automatically invoked when you start Noesis or reload plugins.
-4.096 - Added NPAPI_SelectDataViewerMeshMaterial. Does the same thing as NPAPI_SelectDataViewerMesh, but goes directly to the mesh's material instead of the mesh.
-4.096 - Added NOESISBUTTON_ALT for tool input callbacks.
-4.096 - Fixed a problem with Noesis_CopyInternalTransforms failing when not every mesh in the model has a transform buffer.
-4.096 - Added Noesis_GetMeshInternalProperties.
-4.0959 - Added options for "Disable anisotropic filtering" and "Disable hardware mipmaps".
Also, since no one checks the plugins repo, the triangle picker has seen some updates and is actually very useful now. It has alt+click functionality to highlight meshes in the data viewer, as well as mesh materials and bones by strongest influence to selected triangle.

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Re: Señor Casaroja's Noesis

Post by Mr.Mouse » Tue Feb 18, 2014 10:22 pm

January: around 1500 unique hits on any version of Noesis, good for around half of total bandwidth of XeNTaX! :ninja:

User avatar
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 501 times

Re: Señor Casaroja's Noesis

Post by MrAdults » Wed Feb 19, 2014 7:36 am

Not too shabby. And that's not including the bandwidth for the in-app auto-update packages that live on my server.

User avatar
Demonsangel
mega-veteran
mega-veteran
Posts: 240
Joined: Fri Aug 05, 2011 9:31 pm
Location: Antwerp
Has thanked: 13 times
Been thanked: 41 times

Re: Señor Casaroja's Noesis

Post by Demonsangel » Wed Feb 19, 2014 9:29 pm

Too bad it's mostly leechers, but if it helps spread the word it's not bad I guess.

Markemp
veteran
Posts: 111
Joined: Tue Dec 24, 2013 2:42 am
Has thanked: 5 times
Been thanked: 54 times

Re: Señor Casaroja's Noesis

Post by Markemp » Thu Feb 20, 2014 4:56 am

I've probably been sending a lot of people to Noesis through my tutorial videos and some posts. Is there something I can do to help encourage people to not leech?

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Re: Señor Casaroja's Noesis

Post by Mr.Mouse » Fri Feb 21, 2014 10:46 pm

Markemp wrote:I've probably been sending a lot of people to Noesis through my tutorial videos and some posts. Is there something I can do to help encourage people to not leech?
No worries.

Markemp
veteran
Posts: 111
Joined: Tue Dec 24, 2013 2:42 am
Has thanked: 5 times
Been thanked: 54 times

Re: Señor Casaroja's Noesis

Post by Markemp » Sat Feb 22, 2014 12:25 am

Mr.Mouse wrote:
Markemp wrote:I've probably been sending a lot of people to Noesis through my tutorial videos and some posts. Is there something I can do to help encourage people to not leech?
No worries.
It's money. I worry. ;)

I'll include a link to the donate button, if that's ok. Something along the lines of "Support your local modders, pony up bitches".

User avatar
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 501 times

Re: Señor Casaroja's Noesis

Post by MrAdults » Sat Feb 22, 2014 2:50 am

http://www.richwhitehouse.com/index.php ... _about.php is for donating to me/Noesis. I don't receive anything from xentax donations, although that helps keep the forums running I guess.

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Re: Señor Casaroja's Noesis

Post by Mr.Mouse » Sat Feb 22, 2014 10:49 am

MrAdults wrote:http://www.richwhitehouse.com/index.php ... _about.php is for donating to me/Noesis. I don't receive anything from xentax donations, although that helps keep the forums running I guess.
Indeed. And enables the downloads (tools, noesis etc) for the public. Still, we're in a niche, and we don't get rich (not in the least bit, lol :frizzy: , that would be awesome though, but NO. :x ). So I fully support the idea of the Noesis users to throw some cash Rich's way. I'll make a post about it.

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Re: Señor Casaroja's Noesis

Post by Mr.Mouse » Sat Feb 22, 2014 11:01 am

viewtopic.php?f=33&t=11239

Support the development of Noesis people! Donate to our fine author, Rich! :rock: :drunken: :hippy:

User avatar
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 501 times

Re: Señor Casaroja's Noesis

Post by MrAdults » Sat Feb 22, 2014 4:13 pm

Thanks. The grand total number of people that have ever donated to me still rings in at 3. I've had a few who apparently donated to Xentax and therefore felt entitled to Noesis feature support because they thought that money was somehow getting to me, though. It would be nice if I received enough to cover my own hosting costs, but people have no direct incentive to give me money so that probably isn't going to happen. Avalanche got like 30,000 downloads as well, and continues to eat about 200GB in bandwidth a month on my server, but not a single person has been inspired to throw money at me for that either.

It's kinda sad how much you have to shove it in people's faces if you want them to actually donate or contribute. Maybe we should start making starving coder "in the arms of the angels" YouTube promo videos. Donate today and help make my family fatter by contributing to our "too lazy to make real food" fast food fund. The first donator to put me over the line of obesity will receive a free t-shirt.

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Re: Señor Casaroja's Noesis

Post by Mr.Mouse » Sat Feb 22, 2014 9:59 pm

Those that donate to us and then start asking favors for this or that don't get the point of donating. A point I made very clear also to users of MultiEx Commander. Nobody is buying anything from us, so they don't get any rights on the stuff hosted here. We welcome their support, but can not be inclined to support them with their issues just because they donated.
And that's even different from those that download all kinds of free stuff and then start harassing authors "This feature doesn't work! FIX IT!", "Why is there no support for my game???", "Can you add this feature that will take you a hell of a time to get in, like, YESTERDAY??", "Your tool sucks! I can't run it on my files, I don't know where my command line is! Which number do I dial?", "I tried your tool for *.DAT files from Game A on my *.DAT files from Game B, and it fails!! How can this be? Support me, NOW"... etc etc... et.. oh well.

MofoMan2000
ultra-n00b
Posts: 3
Joined: Sat Feb 22, 2014 7:21 am
Has thanked: 1 time

Re: Señor Casaroja's Noesis

Post by MofoMan2000 » Sun Feb 23, 2014 12:33 am

Hey guys, I've been lurking for a while and finally decided to register. I really want to say what a great program Noesis is, I've never had it crash and it does exactly what it says it does.

I'm having an issue, though. Valve SMD files contain either animations or meshes, but not both. I'm wondering if it isn't possible to apply the animation from one SMD onto the mesh defined in another?

Fantastic program though, Rich. I'll be happy to kick a few bucks your way, you've more than earned it. That t-shirt is MINE.

Markemp
veteran
Posts: 111
Joined: Tue Dec 24, 2013 2:42 am
Has thanked: 5 times
Been thanked: 54 times

Re: Señor Casaroja's Noesis

Post by Markemp » Sun Feb 23, 2014 1:02 am

Mr.Mouse wrote:Those that donate to us and then start asking favors for this or that don't get the point of donating. A point I made very clear also to users of MultiEx Commander. Nobody is buying anything from us, so they don't get any rights on the stuff hosted here. We welcome their support, but can not be inclined to support them with their issues just because they donated.
And that's even different from those that download all kinds of free stuff and then start harassing authors "This feature doesn't work! FIX IT!", "Why is there no support for my game???", "Can you add this feature that will take you a hell of a time to get in, like, YESTERDAY??", "Your tool sucks! I can't run it on my files, I don't know where my command line is! Which number do I dial?", "I tried your tool for *.DAT files from Game A on my *.DAT files from Game B, and it fails!! How can this be? Support me, NOW"... etc etc... et.. oh well.
You should sell support contracts. $250 for a 1 year contract, or something like that. ;)

Tell them they'll get a number to call when they purchase a contract.

Post Reply