Fable: The Lost Chapters Mod Scene
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Fable TLC » Development » Tools » Miscellaneous Applications
Miscellaneous Applications [message #15142] Tue, 12 December 2006 20:43 Go to next message
Silverback is currently offline  Silverback
Messages: 170
Registered: July 2005
Location: Illinois

Cow Tipper
Sigh, This is something I really never wanted to do. But as requested here are some applications I wrote. Please keep in mind these applications were not meant or designed for you. There will be no support from me, I don't care if it works for you or not. Judging by the majority of the posts, it won't.

Lets start it off simple. CAppearanceDef application, first off what does this do? It basically is the list of animations the hero users when called upon. This is essentially how I created the "Piss" Expression, you could change animation IDs for say when your hero runs with a large sword, add jumps etc... This Cdef couldn't be done with the xml so something custom was made.

Basically all you need to do is extract the CAppearanceDef for whatever you want to edit (check the cdefs in Fable Explorer). Click Open on the application, select the CAppearanceDef and then select the appropriate names.bin (if you only have one platform this is way simple). The list will load with all the name calls and the header/footer will display in textboxes (Note Xbox you can't edit header/footer). Double click whatever from the treeview and it will open a new window. Here is a brief explanation of what the buttons do:

Names.Bin List - This is just a quick search for you to look up names and offsets
Animation List - You will be asked to open Graphics.big to have a quick search of animation and ID's. This will also cause previous form to display names for animation IDs

Create - I never did move this oh well. This creates a new entry in the CAppearanceDef itself, not the entry. This was a bad design idea. You will be asked to import something it was meant to be used with Extract below. This re-orders CRC list and is Fable safe.

Extract - This extracts the entry auto-names on extraction to Name and ID. You will want to extract before you create. The naming convention will look like this ST_RUN 3432 where ST_RUN is the namesbin link and 3432 would be the Animation ID.

Import - Copies something directly over top over entry. This does not cause list to be resorted. So if you import something with a different CRC value odds are the list will not be read by Fable anymore. This was/is really meant to test out the various arrays at the tail of entry.

Apply - It writes textbox values back to file. This will not take in consideration arrays (there are 14 different types) and it will not matter. Once again CRC value is not re-ordered. If you want this to work I recommend not changing that value.

Delete - It um deletes the entry

Close - It closes the frame.

The rest of the applications will follow soon, I will more than likely delete any post in this thread so don't bother.

Update: Basic Idea of use.
http://img529.imageshack.us/img529/5283/step1qm1.jpg
1. Open up desired Creature and select its CAppearanceDef.
2. Export The CAppearanceDef (I think you can figure out how to name it)
http://img529.imageshack.us/img529/4811/step2ff4.jpg
3.With CAppearanceDef Open (common sense is not a step) Select the Open button (I know this was difficult with the freeroam app lol)
4. Select Whatever you extracted in Step #2
http://img529.imageshack.us/img529/6904/step3wh1.jpg
5. Then Follow the prompt and open up your Names.Bin Fable - The Lost Chapters\data\CompiledDefs

This one is just a quick guide to current screen now.
http://img529.imageshack.us/img529/1662/step3overviewui1lw5.jpg
A. Treeview Data (This is the CRC sorted list) This List must be sorted or it will not work! Don't worry you can only break this a few ways. The names are displayed for simplicity.
B. Header Data for CAppearanceDef (you cannot edit this)
C. Tail Data is well, the tail data. You don't really need to mess with this unless you are wanting to fill in the unknowns.
D. Apply only writes data from textboxes in C.

Step #4 and further UI overview.
http://img403.imageshack.us/img403/8268/step4andoverviewbo0.jpg
6. Double Click Entry to bring up new window.
Well really that is it for getting there, I'll cover some basics later in post.

E. Header Data This is the important part of the data. I do not suggest editting CRC_Name and hitting (K.) Apply. It will more than likely break your file.
F. Names.bin list. Opens a quick search tool for Names.bin so you can find data if you need to.
G. Animation List. You must point open file dialog window to your graphics.big file on your first load. This is used to quickly search the entries to get animation IDs.
H. Create This one is important! It creates a brand new entry and automatically sorts it in the list. This button should of been on the main form, but oh well.
I. Extract another Important one. It Extracts current entry. When you are saving don't worry about the name just type in random stuff it will name the file for you like this: Name - Anim ID. So if I extracted what is in the picture the file would be named LIGHT_LAMP-3179.
J. Import This imports new data over the top of the current entry. If the CRC number is not the same I do not recommend doing this.
K. Apply this writes (some) textboxes in current window. The reason I say some is that the data is being generated on a very loose system and I'll cover that in a technical addition at the bottom.
L. Delete this erases the entry.
M. Close, it umm closes it.

You will find the app writes the file on the fly so once you do something well it is ready to go.

Ok now a simple idea on how to use this application. Lets do an example on how I added the Expression stuff (please note these differ from some expressions, in the other expressions the data existed for the Hero already. We are going to create this data with the application.

Anyhow find the animation you want. I wanted the Bandit's pissing animation. So extract bandits CAppearanceDef open it up. Use the search it is much faster! Search "piss" double click treeview entry. When the new window opens hit Extract (I.)

Now open CAppearanceDef for the Hero double click any entry when the new window opens hit Create (H.) and select the data you just extracted. Keep in mind the naming system. So find ST_PISSING-1401 .

Thats it import CAppearanceDef back into Fable Explorer (you don't need to save with CAppearanceDef application it does automatically) Link your names.bin offset to new expression and that is it. You can see the names.bin offset for the entry in (E.)


Further data if you wanted to replace all side rolls/strafes with jumps you could just open desired entry and change the animation ID and select apply.

*Technical*
Now if you receive any errors they should just be numbers and if you haven't altered this file yourself, I need the file name and the number given. Don't be a jackass and say the file is CAppearanceDef (give specific entry) This is how the format was cracked the application was really designed to break the format and that was it.

Why does this application only write to some textboxes. Well for entry type I have the current setup and I do not care to find out more. So I left the option for you to extract and edit the data and import back over it. (That is the only reason there is a import button there!) Here is current setup, numbers are entry type numbers and exist as shown:
lolwut

[Updated on: Mon, 11 January 2010 04:26] by Moderator

Report message to a moderator

Re: Miscellaneous Applications [message #15143 is a reply to message #15142] Tue, 12 December 2006 20:59 Go to previous messageGo to next message
Silverback is currently offline  Silverback
Messages: 170
Registered: July 2005
Location: Illinois

Cow Tipper
2 More applications. These are both unfinished and are really aimed at people who can and are able to fill in missing information.

Met Edit. Basically this just is for solving a few sound unknowns in the met listing. This does not involve extraction/injection of sounds. Note after you hit apply it does not read changes in the program until reload of the file, it writes after you hit apply.

Saving It. This was a gamesave explorer and is worthless to most. It will only read up to entry and does not write. I tried to also add a corrupt save checker but it really is worthless.

  • Attachment: Met Edit.rar
    (Size: 15.80KB, Downloaded 1312 times)
  • Attachment: SavingIt.rar
    (Size: 48.77KB, Downloaded 1401 times)

[Updated on: Tue, 12 December 2006 20:59]

Report message to a moderator

Re: Miscellaneous Applications [message #15144 is a reply to message #15142] Tue, 12 December 2006 21:48 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
I'd just like to also state that the CAppearanceDef most likely controls combo moves with that trailing data. I know for a fact that it controls what the recoil animation is for certain moves.

I used this app to add Whisper's Staff moves into the Hero's CAppearanceDef. Whether it can create entirely NEW weapon types hasn't been tested.



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.

[Updated on: Tue, 12 December 2006 21:48]

Report message to a moderator

Re: Miscellaneous Applications [message #15147 is a reply to message #15144] Wed, 13 December 2006 01:11 Go to previous messageGo to next message
Silverback is currently offline  Silverback
Messages: 170
Registered: July 2005
Location: Illinois

Cow Tipper
Misc Bin Poker - To be used to modify sound_animation_events and game_animation_events (.bins) that are located in /Data/Misc/

These essentially link Ingame.met sound groups to animations. You can do volume stuff with the floats.

To use - open one of the bins above, open graphics.big. List loads, you can change sound groups and it will tell you in the label what group it is. To add/delete arrays just change the number of the textbox. If you want an idea what groups there are look at the list.txt. You must keep this file as this is where the info is coming from.

The only thing I've done with this is I changed all my footsteps to sounds of villagers laughing at me.

[Updated on: Wed, 13 December 2006 01:27]

Report message to a moderator

Re: Miscellaneous Applications [message #15148 is a reply to message #15142] Wed, 13 December 2006 08:08 Go to previous messageGo to next message
Satan
Messages: 1033
Registered: September 2005
Location: Hades

Administrator
There will be EXTREMELY LIMITED support for these tools. Any stupid posts about them either in this thread or in new ones WILL be deleted without any further warning.

http://img259.imageshack.us/img259/1398/satansigv5gu3.gif

There is nothing in the Void.
There is no point to it's being.
I wish there was a reason.
There is nothing in the Void,
But what we put there.

[Updated on: Thu, 14 December 2006 00:39]

Report message to a moderator

Re: Miscellaneous Applications [message #15154 is a reply to message #15148] Wed, 13 December 2006 20:04 Go to previous messageGo to next message
Silverback is currently offline  Silverback
Messages: 170
Registered: July 2005
Location: Illinois

Cow Tipper
Another one, This is for Effects.big it is pretty limited and while you can mess with some stuff other things you can't see. The def list needs to be redone (the way it is loaded is crazy). You can fill in unknowns etc, I will need to actually finish this one some time.

To use file->effects.big select stuff and then just click on the form for options.

::oops::

[Updated on: Wed, 13 December 2006 21:38]

Report message to a moderator

Re: Miscellaneous Applications [message #15178 is a reply to message #15142] Fri, 15 December 2006 08:06 Go to previous messageGo to next message
deadisdeath is currently offline  deadisdeath
Messages: 81
Registered: November 2006
Location: The New North
erm im not going to ask for help so dont get angry...but why dont you want to give people these or help any one

Like a monkey, ready to be shot into space.
Space monkey!
Ready to sacrifice himself for the greater good.
Re: Miscellaneous Applications [message #15181 is a reply to message #15142] Fri, 15 December 2006 11:30 Go to previous messageGo to next message
Satan
Messages: 1033
Registered: September 2005
Location: Hades

Administrator
These applications were not meant or designed for you. They were intended for developers and not the general public.

deadisdeath

but why dont you want to give people these or help any one


Not want to help anyone ? You're kidding right ?

Practically all we do here is explain things to people, often for the umpteenth time.

People still have problems with the "public friendly" applications, Fable Explorer and Albion Explorer. We simply do not have the time or the inclination to explain how to use developer applications as well.


http://img259.imageshack.us/img259/1398/satansigv5gu3.gif

There is nothing in the Void.
There is no point to it's being.
I wish there was a reason.
There is nothing in the Void,
But what we put there.
Re: Miscellaneous Applications [message #15184 is a reply to message #15142] Fri, 15 December 2006 12:10 Go to previous messageGo to next message
deadisdeath is currently offline  deadisdeath
Messages: 81
Registered: November 2006
Location: The New North
no no u took it the wrong way i know you help people (you satan have helped me alot) but you said that you wouldnt help peaople on these aplications and i was just wondering why.

Like a monkey, ready to be shot into space.
Space monkey!
Ready to sacrifice himself for the greater good.
Re: Miscellaneous Applications [message #15185 is a reply to message #15184] Fri, 15 December 2006 12:51 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
deadisdeath wrote on Fri, 15 December 2006 14:10

no no u took it the wrong way i know you help people (you satan have helped me alot) but you said that you wouldnt help peaople on these aplications and i was just wondering why.


It depends on the question.



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Miscellaneous Applications [message #15188 is a reply to message #15142] Fri, 15 December 2006 12:58 Go to previous messageGo to next message
deadisdeath is currently offline  deadisdeath
Messages: 81
Registered: November 2006
Location: The New North
i dont have a question about them blue there actually stright forward and simple the same with FE but somebody else might ask a question

Like a monkey, ready to be shot into space.
Space monkey!
Ready to sacrifice himself for the greater good.
Re: Miscellaneous Applications [message #15190 is a reply to message #15188] Fri, 15 December 2006 13:03 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
deadisdeath wrote on Fri, 15 December 2006 14:58

i dont have a question about them blue there actually stright forward and simple the same with FE but somebody else might ask a question


Then my original statement applies. Depends on the question. If people haven't noticed I only answer questions that are interesting and haven't been asked before.



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Miscellaneous Applications [message #17158 is a reply to message #15190] Sat, 17 March 2007 18:53 Go to previous messageGo to next message
Marcopolo is currently offline  Marcopolo
Messages: 1292
Registered: January 2006
Location: north vancouver

silver, great job, i've just been using the cappearancedef thing but after the initial learning curve it is extremely useful

but yeah to anyone else i dont suggest trying it if you arent really familiar with fe and such


There once was a member of this land,
a humorous posting he planned,
but when he posted,
by mods he was toasted,
and now he has found himself banned.
Re: Miscellaneous Applications [message #22034 is a reply to message #17158] Thu, 19 July 2007 04:54 Go to previous messageGo to next message
chaos is currently offline  chaos
Messages: 542
Registered: May 2006
I've been poking around in the effects.big a bit with one of these tools. Hope that particular one does make progress, I'm taking it upon myself to remove the health bar and mana bar. I already know removing the outer borders will be simple, it's just making the texture completely alpha similar to the minimap border fix.

http://i143.photobucket.com/albums/r124/korgoth-of-barbaria/chaos-1.jpg
Re: Miscellaneous Applications [message #22799 is a reply to message #22034] Sat, 28 July 2007 01:50 Go to previous messageGo to next message
Silverback is currently offline  Silverback
Messages: 170
Registered: July 2005
Location: Illinois

Cow Tipper
added very basic instructions for CAppearanceDef application.
Re: Miscellaneous Applications [message #22814 is a reply to message #15142] Sat, 28 July 2007 15:24 Go to previous messageGo to next message
Satan
Messages: 1033
Registered: September 2005
Location: Hades

Administrator
[ IRC REFERENCE] Silver Wins ! [/IRC REFERENCE]

http://img259.imageshack.us/img259/1398/satansigv5gu3.gif

There is nothing in the Void.
There is no point to it's being.
I wish there was a reason.
There is nothing in the Void,
But what we put there.

[Updated on: Sat, 28 July 2007 15:32]

Report message to a moderator

Re: Miscellaneous Applications [message #22822 is a reply to message #22814] Sat, 28 July 2007 18:00 Go to previous messageGo to next message
HodgePodge is currently offline  HodgePodge
Messages: 440
Registered: April 2007
Location: Making Bagel Bites
Thanks for the app Silver, it's extremely useful Smile

http://i186.photobucket.com/albums/x50/HawjPawj/PONG.gif
Re: Miscellaneous Applications [message #22949 is a reply to message #15142] Tue, 31 July 2007 00:16 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
Quote:

Don't be a jackass and say the file is CAppearanceDef


AHAHAHAHAHA!



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Miscellaneous Applications [message #70117 is a reply to message #15142] Fri, 14 March 2014 09:31 Go to previous message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
Silverback wrote on Tue, 12 December 2006 22:43

0 - No bytes (My personal favorite)
1 - 2 Ints (No Strange Stuff)
2 - INT, Byte, Byte (flag) 
                   Flag = 1: Int, Byte, Float, Int
                   Flag = 0: Short, Int Int
3 - Int, Int, Int, Int (Flag?)
                   Flag = 6: Byte, Byte
                   Flag = 3: Int Int
                   Flag = anything else?: Int
4 - Int, Int, Int, Int, Int, Int, Int (Flag)
                   Flag = 0: Int
                   Flag = 4: Int, Int
                   Flag = 5: Int
                   Flag = anything else?: No further data
5 - Int, Int, Int, Int, Int, Byte, Byte (Flag)
                   Flag = 1: Int, Byte, Float, Float, Int, Int (String Size), ~String
                   Flag = 0: Short, Int, Int, Int (Flag?)
                                       Flag = 4294966519: Int, Int, Byte, Byte
                                       Flag !=4294966519: Int, Int, Int



From what I've seen from Fable Anniversary
    <!-- CAppearanceDef -->
    <!-- I'm not sure this can be done via xml 
    
    ~~Animation.Add("action", AnimID)~~
    
    Animation.SetDefaultDelay(int)
    
    Animation.Add(link, link)
    Animation.AddCombat(link, link)
    
    //With optionals
    Animation.Add(link, link, Flags(bitwise??),TransTime(int), Delay(int))
    Animation.AddCombat(link, link, Combo(int, int), Handedness(link, link), Recoil(link), CombatMisc(bool, bool), TargetOffset(float, float), StrikeResponseAnim(link), NextAnimFilter(link));

    
    Animation.StartGroup(link)
      //any number of the Animation members from above
    Animation.EndGroup()
    -->


//first number in AddComboStage is the combo number (ie 0, to 1, to 2, to 3 etc...)
		//second number is a unique ID for a combo 

		//move 1		
		Animation.AddCombat("STRIKE_SHORT_FRONT_UNARMED", ANIM_HERO_RIGHT_HOOK_1, Combo(0, 21), Handedness(HANDED_NONE, HANDED_NONE));
		Animation.AddCombat("STRIKE_SHORT_FRONT_UNARMED", ANIM_HERO_RIGHT_UPPERCUT_1, Combo(0, 21), Handedness(HANDED_NONE, HANDED_NONE));
		//move 2
		Animation.AddCombat("STRIKE_SHORT_FRONT_UNARMED", ANIM_HERO_LEFT_UPPERCUT_1, Combo(1, 21), Handedness(HANDED_NONE, HANDED_NONE));
		Animation.AddCombat("STRIKE_SHORT_FRONT_UNARMED", ANIM_HERO_LEFT_HOOK_1, Combo(1, 21), Handedness(HANDED_NONE, HANDED_NONE));
		//move 3
		Animation.AddCombat("STRIKE_SHORT_FRONT_UNARMED", ANIM_HERO_RIGHT_UPPERCUT_1, Combo(2, 21), Handedness(HANDED_NONE, HANDED_NONE));
		Animation.AddCombat("STRIKE_SHORT_FRONT_UNARMED", ANIM_HERO_RIGHT_HOOK_1, Combo(2, 21), Handedness(HANDED_NONE, HANDED_NONE));
		//move 4
		Animation.AddCombat("STRIKE_SHORT_FRONT_UNARMED", ANIM_HERO_LEFT_HOOK_1, Combo(3, 21), Handedness(HANDED_NONE, HANDED_NONE));
		Animation.AddCombat("STRIKE_SHORT_FRONT_UNARMED", ANIM_HERO_RIGHT_UPPERCUT_1, Combo(4, 21), Handedness(HANDED_NONE, HANDED_NONE));
		Animation.AddCombat("STRIKE_SHORT_FRONT_UNARMED", ANIM_HERO_KICK_AFTER_RIGHT_PUNCH_1, Combo(5, 21), Handedness(HANDED_NONE, HANDED_NONE));
		Animation.AddCombat("STRIKE_SHORT_FRONT_UNARMED_AC90", ANIM_HERO_RIGHT_HOOK_90_1, Combo(21), Handedness(HANDED_NONE, HANDED_NONE));
		Animation.AddCombat("STRIKE_SHORT_FRONT_UNARMED_C90", ANIM_HERO_LEFT_HOOK_90_1, Combo(21), Handedness(HANDED_NONE, HANDED_NONE));
		Animation.AddCombat("STRIKE_SHORT_FRONT_UNARMED_LOW", ANIM_HERO_KICK_1_1);



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.

[Updated on: Fri, 14 March 2014 09:35]

Report message to a moderator

Previous Topic: Fable Application Suite Installer
Next Topic: FableExplorer - ShadowNet Builds
Goto Forum:
  


Current Time: Thu Nov 21 08:41:52 PST 2024

Total time taken to generate the page: 0.19998 seconds