Welcome Guest [Log In] [Register]






Shoot a firework rocket ~ Winners!
Make a forum zoo!

Welcome to The Round Table. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
Current Projects
Topic Started: Feb 15 2014, 07:38 AM (241,629 Views)
HENDRIX
Member Avatar
-retired-

Boy, NIFs are tricky to process without completetly parsing them! There are no built in sizes for each block but I still managed to find an effective way to modify the textures without using PYFFI.

I think the lookup and cloning works pretty well now, it parses NIFs and replaces them all, it also finds all DDS files as referenced in the XMLs. Feel free to test it, as long as the source entity is coded properly, it should work fine.

Download

On a side note, I noticed that the BFB importers for blender have some trouble with some building models (cloning center for example) - looks like some new area of the BFB format...
Online Profile Goto Top
 
HENDRIX
Member Avatar
-retired-

Tried to get the editing of properties working but for some reason the GUI doesn't like dynamically created toggle buttons...

However, I got something else working that wasn't on my initial agenda:

Posted Image

It's a dynamic hack creator! That means there is no more need for possibly conflicting hacks because everyone can now create customized hacks with zero knowledge and in no time!

The script makes use of the same Z2F reading algorithm that is also used to clone an entity - thus it is relatively fast and always works with the latest versions of files. It basically takes all main XMLs, parses them and changes attributes where possible. Currently makes these changes to XMLs, again, only where applicable:
Spoiler: click to toggle

If you have more suggestions for hackable changes, post them here and I'll add them to the script if possible. I might also make the hack options user-definable in future.

Download

EDIT: Updated, because I noticed when the frontgate is changed, everywhere became "out of zoo borders".
Edited by HENDRIX, Sep 8 2015, 01:12 PM.
Online Profile Goto Top
 
andrew12
Member Avatar


Will there be a tutorial on how this works once you are done? this looks both incredibly useful and confusing xD
Offline Profile Goto Top
 
HENDRIX
Member Avatar
-retired-

All you have to do to create the hack is hit that button! :P

If you mean the general usage of the program, yes. But at the moment that is also rather simple: Select an entity that will serve as your base, enter a coding name and hit "Clone!". You can clone as many as you want, they appear in the project list. Then you can click Start > Save Z2F to create a Z2F for the cloned entities. It can't do more than that yet.
Online Profile Goto Top
 
Posted Image Narukota
Member Avatar
blah

Holy cow, this is awesome!

Thanks a bunch, Hendrix! I'll be trying it out right away. X3

EDIT: It froze when unzipping these:

-zzzSugar_Maple_Fauna.z2f
-zzzzzzzzxEarths_Eco-Regions_Download_This_First_Version1.1.z2f

and froze when debugging this:

-Gate_SZE_anim_Bip01_close.bf
-SZE_Artiodactyla_Fence_Gate_anim_Bip01_close.bf
-Thumbs.db

The z2fs that froze when unzipping, I removed them and it worked.

As for the files that froze when debugging, I'm trying to find the file they're in to remove it.
Edited by Narukota, Sep 8 2015, 03:35 PM.
Offline Profile Goto Top
 
HENDRIX
Member Avatar
-retired-

Interesting, the second case looks like misplaced files. The scripts don't expect that - I'll add a check against that... No idea about the bad Z2Fs, though.
Online Profile Goto Top
 
Trichechus
Member Avatar
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn

HENDRIX- why is it that when I use the program and try to clone an entity, it comes up with "Codename is invalid!" at the bottom of the screen? Sorry if I'm missing something obvious.
Offline Profile Goto Top
 
HENDRIX
Member Avatar
-retired-

You didn't enter a codename or entered one you had already entered before.
Online Profile Goto Top
 
Kevin
Member Avatar
Quail Conqueror.

Even though you are currently doing mostly technical stuff and I'm not a smart man, you're doing an amazing job. ;)
Offline Profile Goto Top
 
Posted Image Narukota
Member Avatar
blah

Kevin
Sep 8 2015, 04:35 PM
Even though you are currently doing mostly technical stuff and I'm not a smart man, you're doing an amazing job. ;)
Actually, this one is really easy to figure out.

I understood it in just a matter of minutes. d:
Edited by Narukota, Sep 8 2015, 05:06 PM.
Offline Profile Goto Top
 
HENDRIX
Member Avatar
-retired-

The BFB scripts have been updated with various smaller fixes and improvements, among them the aforementioned building bugs and the export problem andrew had.

I've included an exception to the hack algorithm so it doesn't try to parse files that will kill the parser. Can you check if it works now? Download
Online Profile Goto Top
 
Animales
No Avatar


Mine Keeps stopping at the ._asianthemedtemplecolumn.xml :/
Offline Profile Goto Top
 
Posted Image Narukota
Member Avatar
blah

It works well until it's debugging the base entity's XML.

It freezes there.

Right now, I'm trying out the Create Biome+Space+Placement hack feature.
Edited by Narukota, Sep 8 2015, 06:04 PM.
Offline Profile Goto Top
 
HENDRIX
Member Avatar
-retired-

Which one is it?
It's hard to tell because with a mostly vanilla ZT2, I have only few cases of badly formatted XML files and the debugger can handle them all, so cloning entities and building the hacks works just fine here.
It'd help a lot if you could supply me with links for the problematic Z2F files so I can replicate the situations ;)

One more thing, you should also have it rebuild the badlist once before you start messing around, because there are other entities in your ZT2 folder than in mine.
Online Profile Goto Top
 
Posted Image Narukota
Member Avatar
blah

Right now, I'm testing it out on the Peony from my Oblivion Flora pack.

You can find it either in my projects thread or the downloads section.
Edited by Narukota, Sep 8 2015, 06:31 PM.
Offline Profile Goto Top
 
2 users reading this topic (2 Guests and 0 Anonymous)
Go to Next Page
« Previous Topic · Individual Projects · Next Topic »
Locked Topic