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

Inquisitor: Martyr Noesis plugin Commission

Post questions about game models here, or help out others!
User avatar
kingfisher13
veteran
Posts: 83
Joined: Mon Jul 26, 2010 7:32 pm
Has thanked: 8 times
Been thanked: 3 times

Inquisitor: Martyr Noesis plugin Commission

Post by kingfisher13 »

Hey guys,

I'm very interested in a particular game that has some great 3d models, and I'd be willing to dish out the bucks for someone to work out a Noesis or 3ds Max script that can correctly import fully rigged and textured models from the game Warhammer 40,000 Inquisitor: Martyr. Basically a set of tools for extracting useable models, both static and rigged, from the game. I'm willing to pay someone 60 USD via paypal or Google Wallet to help me do this. Is anyone interested?

I can share game files if needed. The game is produced by NeoCore Games, and uses the Coretech3 Game engine, very similar to the Van Helsing game engine.
User avatar
zaramot
double-veteran
double-veteran
Posts: 783
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 855 times

Re: Inquisitor: Martyr Noesis plugin Commission

Post by zaramot »

Wow, this game was already released?! I'm a big fan of warhammer 40k universe. If you will provide samples I'll gladly take a look.
Making model-import scripts, PM
User avatar
kingfisher13
veteran
Posts: 83
Joined: Mon Jul 26, 2010 7:32 pm
Has thanked: 8 times
Been thanked: 3 times

Re: Inquisitor: Martyr Noesis plugin Commission

Post by kingfisher13 »

Hey, thats awesome! I am too, thanks for the quick reply! I'm uploading some files as I type, I'll link them in an update to this post. So I see some things right off the bat with this game, its file structure is very tidy and organized, which will make it very easy to work with.

The first thing I noticed is that model files are stored in compressed folders with a .N2PK file name. Each model has a "high" and "low" folder within its individual location, each containing a N2PK file, and a single N2PK file called Files.N2PK in the base folder of each model.

I'm guessing the "High" and "Low" folders refer to LOD quality of the model and textures. In the uploads I'm sharing, I include all the files for some sample models, excluding the "low" folder, for obvious reasons.

I'm uploading a weapon model, and an enemy unit model, as samples. I also noticed that the level models, which are procedurally generated, are actually made up of what appears to be single room models, which the game combines to form the levels. The level models folder contains a bunch of textures, in DDS format, a "High" and "Low" folder, again for the models themselves, and a set of special files for each room model.

I'll upload a set of the special files for the room models, I assume they contain meta data for the level models, for randomizing purposes. I doubt they will be of much use, as all I want from the level models is the rooms themselves, not the randomized obstacles, crates, etc.

EDIT:

Here is the link to a folder containing the files, I've zipped them using 7zip so I can upload them easier.
http://www.mediafire.com/folder/vx8utwx ... s_for_Help
User avatar
kingfisher13
veteran
Posts: 83
Joined: Mon Jul 26, 2010 7:32 pm
Has thanked: 8 times
Been thanked: 3 times

Re: Inquisitor: Martyr Noesis plugin Commission

Post by kingfisher13 »

Hey Zaramot, have you made any progress?
LumberingTroll
ultra-n00b
Posts: 2
Joined: Fri Jun 08, 2018 12:59 am

Re: Inquisitor: Martyr Noesis plugin Commission

Post by LumberingTroll »

I too am very interested in the results of this, Id really like to get my hands on these models as well.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Inquisitor: Martyr Noesis plugin Commission

Post by shakotay2 »

I'm really wondering why you guys never seem to use forum's search?
If anyone had given the following hint we would have had the result 2 months earlier. :D

Look here at Szkaradek's Deathtrap script for blender 249b:
viewtopic.php?f=16&p=103512#p103512

It helps to unpack the n2pk to vhm (and other files).

Use hex2obj for a quick approach getting the mesh (first SM only, as always):
nurgle_dreadnought-vhm.jpg
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Inquisitor: Martyr Noesis plugin Commission

Post by chrrox »

here is a quickbms script for extracting the archives.

Code: Select all

get msize long
math msize * 2
getdstring uname msize
set MAGIC unicode uname
if MAGIC != "Neocore Package"
print "Not Supported %MAGIC%"
cleanexit
endif
goto 0x24
get tbloff longlong
savepos base
math tbloff + base
goto tbloff
get files long
for i = 0 < files
get hash long
get nsize long
math nsize * 2
getdstring uname nsize
set NAME unicode uname
get null short
get offset longlong
get size longlong
math offset + base
log name offset size
next i
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Inquisitor: Martyr Noesis plugin Commission

Post by shakotay2 »

main submesh:
Nurgle_Dreadnought-vhm-tex.jpg
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
LumberingTroll
ultra-n00b
Posts: 2
Joined: Fri Jun 08, 2018 12:59 am

Re: Inquisitor: Martyr Noesis plugin Commission

Post by LumberingTroll »

shakotay2 wrote:main submesh:
Nurgle_Dreadnought-vhm-tex.jpg
Im pretty new to this, would you mind explaining this process?
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Inquisitor: Martyr Noesis plugin Commission

Post by shakotay2 »

LumberingTroll wrote:Im pretty new to this, would you mind explaining this process?
Talking about how to get addresses and counts? I've written a general tutorial about it (tut button in hex2obj, view link in my sig).
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
kingfisher13
veteran
Posts: 83
Joined: Mon Jul 26, 2010 7:32 pm
Has thanked: 8 times
Been thanked: 3 times

Re: Inquisitor: Martyr Noesis plugin Commission

Post by kingfisher13 »

Hey guys, so the blender script doesn't work at all, it doesn't even load. Also, I offered a commission on a 3ds max script, not a blender script. The offer still stands.
sparksisalwaystaken
ultra-n00b
Posts: 1
Joined: Thu May 24, 2018 9:26 am

Re: Inquisitor: Martyr Noesis plugin Commission

Post by sparksisalwaystaken »

I would also be willing to contribute some money towards this, if anyone can do it
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Inquisitor: Martyr Noesis plugin Commission

Post by shakotay2 »

Can't serve with any scripts, sorry, but I've got the table data (for use with hex2obj). Seems there's 4 lod levels, the formula for lod1 meshes is
(n-1)x4 +1, so for 3rd mesh object lod1 is #9 (1, 5, 9, 13, ..).

FI addresses in parenthesis (1cf1e or 1e4c6), first one is for FVFsize of 32, second one for 36, you'll need to try out (uvpos 16 or 24), HF_UV

Code: Select all

most detailed lods: 1, 5, 9, 13, 17, 21, 25
1st mesh object, number, vAddr, vCnt, FIcnt (FIaddr) 
# 1. 2abe 1650, FIcnt: 5172 (f8fe)  32/16
# 2. 121de 1386, FIcnt: 4134 (1cf1e or 1e4c6)
# 3. 1efe2 1114, FIcnt: 3099 (27b22 or 28c8a)
# 4. 293d0 846, FIcnt: 2064 (2fd90 or 30ac8)
2nd mesh object
# 5. 323d9 5736, FIcnt: 17967 (64a79)   36/24
# 6. 6d763 4953, FIcnt: 14370 (94283 or 98fe7)
# 7. a00b7 4057, FIcnt: 10776 (bfbd7 or c3b3b)
# 8. c8ff7 3112, FIcnt: 7185 (e14f7 or e4597)
3rd mesh object
# 9. e9cfb 6310, FIcnt: 16962 (121453)   36/24
# 10. 129977 5565, FIcnt: 13569 (155117 or 15a80b)
# 11. 1612ad 4606, FIcnt: 10176 (18526d or 189a65)
# 12. 18ea85 3486, FIcnt: 6780 (1a9e45 or 1ad4bd)

# 13. 1b2b72 27537, FIcnt: 78114 (2a4bd6)   36/24
# 14. 2caf82 24357, FIcnt: 62487 (3a10b6)
# 15. 3bfa4c 20022, FIcnt: 46866 (46f9e4)
# 16. 486970 15198, FIcnt: 31242 (50c2a8)

# 17. 51e731 851, FIcnt: 2352 (525191 or 525edd)
# 18. 526455 724, FIcnt: 1881 (52bed5 or 52ca25)
# 19. 52cdeb 594, FIcnt: 1407 (53182b or 532173)
# 20. 53238d 450, FIcnt: 936 (535bcd or 5362d5)

# 21. 53792f 11916, FIcnt: 32712 (5a04df)   36/24
# 22. 5b04d3 10658, FIcnt: 26169 (60df9b)
# 23. 61ac71 8815, FIcnt: 19623 (66840d)
# 24. 671dbf 6728, FIcnt: 13080 (6acfdf)

# 25. 70e12a 9940, FIcnt: 44598 (7656fa)   36/24
# 26. 77b406 8351, FIcnt: 35673 (7bc7e6 or 7c4a62)
# 27. 7d61b4 6673, FIcnt: 26754 (80a3d4 or 810c18)
# 28. 81ddbc 4992, FIcnt: 17838 (844dbc or 849bbc)

# 29. 855093 10, FIcnt: 30 (8551d3 or 8551fb)
The result:
Nurgle_Dreadnought.jpg
btw: lower lods are rather detailed, too, so not sure, whether it's really lods or something else
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
zaramot
double-veteran
double-veteran
Posts: 783
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 855 times

Re: Inquisitor: Martyr Noesis plugin Commission

Post by zaramot »

I have a maxscript for geometry import only (characters, npc, enemies, weapons), bones might work only for characters, had no luck finishing it for the moment! I have plans later on, or more like I have a will for this - but not the strength aha ha ha
Making model-import scripts, PM
User avatar
kingfisher13
veteran
Posts: 83
Joined: Mon Jul 26, 2010 7:32 pm
Has thanked: 8 times
Been thanked: 3 times

Re: Inquisitor: Martyr Noesis plugin Commission

Post by kingfisher13 »

Awesome work on the format guys! and I'm very interested in your max script, if you ever get it finished to the point where it can import fully rigged and textured models from this game, there's a nice sack of cash in it for you C:
Post Reply