Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 04/22/08 04:04

coool
Member
From: China Haikou
Registered: 02/12/08

A question about my new TXMPs

I find the obj_view here,and I don't know much about it,
how can I see the model with the TXMP like the ninjabot?
I don't know how to make TMPXs to .oni files,I just use OUP to replace TXMPs.And I saw a TGA file about the ninjabot,I can use photo shop to change a TXMP to a TGA file,and then what should I do?or maybe it's unuseful?

p.aspx?u=v20_img2_img_0804221708571321_27625.bmp

p.aspx?u=v20_img2_img_0804221708581164_27625.bmp

Last edited by coool (04/22/08 04:04)

Offline

#2 04/22/08 05:04

coool
Member
From: China Haikou
Registered: 02/12/08

Re: A question about my new TXMPs

I like this clothes because it's so beautiful big_smile
I have posted it here smile

p.aspx?u=v20_img2_img_0804221844551424_27625.bmp

Last edited by coool (04/22/08 05:04)

Offline

#3 04/22/08 08:04

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: A question about my new TXMPs

As explained on the wiki, you use this command to extract models:

onisplit -extract:obj dest_dir ONCCbarabus.oni

You have to browse the level0_Final folder to find the name of the character that you want, like ONCCgriffin_generic.oni, etc.  When you use the above 'extract' command on them, sending them to dest_dir, the destination folder, you get a folder with an .obj and .tga textures that go with it.  Then, just open the .obj with obj_view and the textures should be used automatically.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#4 04/22/08 11:04

coool
Member
From: China Haikou
Registered: 02/12/08

Re: A question about my new TXMPs

oh..I don't understand much...

onisplit -extract:obj dest_dir ONCCbarabus.oni

I copy this extract command and make a .bat file,but it dosen't work...what's the problem?

Offline

#5 04/22/08 12:04

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: A question about my new TXMPs

nvrmnd, see next post

tongue

Last edited by Iritscen (04/22/08 12:04)


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#6 04/22/08 12:04

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: A question about my new TXMPs

With OniSplit commands on Windows, I believe you have to run the .bat file from the directory that has the OniSplit.exe.

The location of the ONNC files are relative to the location of the OniSplit.exe.  For example, if your OniSplit.exe is in the original location: Oni\edition\install\OniSplit.exe then the location of ONCCbarabus.oni relative to OniSplit.exe would be ..\..\GameDataFolder\level0_Final\ONCCbarabus.oni

Note: ..\  means to go up one directory from the current location ..\..\  means go 2 directories up

so the command would be:
onisplit -extract:obj dest_dir ..\..\GameDataFolder\level0_Final\ONCCbarabus.oni

You will find barabus in the Oni\edition\install\dest_dir folder

Also, there is a tutorial on modifying TXMPs here: http://wiki.oni2.net/AE:ModTXMP

Hope this helps

Last edited by EdT (04/22/08 12:04)

Offline

#7 04/23/08 02:04

Pierre
Member
Registered: 01/24/07

Re: A question about my new TXMPs

Hey, this new face looks nice! I tried it in KP:

http://www.codercorner.com/Pictures/NewKonFace.jpg
http://www.codercorner.com/Pictures/NewKonFace2.jpg

Keep them coming! smile

- Pierre

Offline

#8 04/23/08 20:04

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: A question about my new TXMPs

Why is the TCTF letters on Konoko's....armour backwards in your picture?


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#9 04/24/08 10:04

coool
Member
From: China Haikou
Registered: 02/12/08

Re: A question about my new TXMPs

oh...I use this to Create TXMP*.oni files:(I saw it in wiki)

onisplit -create:txmp F:\Mod\ F:\Mod\kr\TXMPRED_EASY_red_chest.tga

and then renamed TXMPRED_EASY_red_chest.oni to TXMPRED_EASY%2Fred_chest.oni,and put it to edition/level0_Final,replaced the original.And do the same with head.But I got this...


p.aspx?u=v20_img2_img_0804242300436879_27625.bmp

Offline

#10 04/24/08 17:04

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: A question about my new TXMPs

coool: You may be using an older version of OniSplit, try this version: http://edt.oni2.net/OS/OniSplit_v0.9.6.zip

Also, you will need to add the format to the command since you are changing Konoko's head which has an Alpha channel the command will be:

onisplit -create:txmp F:\Mod\ -format:bgra4444 -genmipmaps -envmap:TXMPenvksface F:\Mod\ F:\Mod\kr\TXMPIteration001%2Fk4_head.tga

The alpha channel provided the reflectivity you see in the striker's, ninja's armor, Konoko's hair.

Offline

Board footer

Powered by FluxBB