Bully-Board

Bully Modding Section => Bully Modding => Bully Modding Archives => Topic started by: DarkHero on November 21, 2015, 03:01:03 PM

Title: Locked Nodes
Post by: DarkHero on November 21, 2015, 03:01:03 PM
Figured I would go ahead and put this up since atm I am working to figure out how to go about unlocking the styles in the game.. etc .. and I have figured out where most the scripting is for them and how it works

There is a way to make the fighting styles and other similar character mods much easier by editing a single file and without any hex editing....and that would be default.idb which is located inside ide.img. That file is actually a encoded version of default.ide which is a plaintext version of the same file but the plaintext version is somehow overridden by the .idb version which atm I am trying to figure out how to decompile that back to the plaintext .ide using a few methods I used to use during my gta san andreas modding days in the beginning since Bully uses a lot of the same file formats and from what I can tell...the same game engine.

Anyways, cool to finally get off my butt and register here after being a lurker forever, and cool to meet all of ya!
Title: Re: Locked Nodes
Post by: DaBOSS54320 on November 21, 2015, 06:31:59 PM
Default.ide (yes the "source" of default.idb) has info about the default settings of each ped model. This has the styles of each ped (like /Global/G_Striker_A and Act/Anim/G_Striker_A.act for example) but the actual styles themselves are held in Act.img (see /Bully/Act/Act.img). There are .cat files in there, not exactly sure how they work... I've looked into them a bit before and got a lil info on them but I forgot most of it. Anyways in those .cat files there are action nodes, these are basically the actions that a ped can perform (including fighting moves). Action nodes mostly control the animation of a ped and their interaction with the world. An action tree is basically the root of all action nodes for a particular style (for example all G_Striker_A nodes would be in /Global/G_Striker_A/..., the /Global/G_Striker_A is the action tree/root, and the G_Striker_A.act is the file they are in). The cat files are actually originally act files I guess but when released put into cat files somehow? Not sure how this file system works but most NPC action trees are in Act/Anim. For example in LUA if you wanted to set a ped's action tree, you'd use Act/Anim/G_Striker_A.act if you wanted G_Striker_A.act, and that's also why you see Act/Anim in the default.ide. Oh and lastly the actual animations themselves are in .agr files, located in /Bully/Stream/World.img.

Sorry for lack of real neatness there I kind of just rambled about everything that came to mind about what I know about nodes... lol.

I'm glad to see someone is actually wanting to do some research on this instead of just look at hex and guess what they need. Most people just look at the .cat files in hex and guess what the action nodes are so they can set them on the player in lua scripting.

I see you're new btw, welcome to the board. I'll always be happy to help you with stuff but scripting is really my expertise with modding this game, I only know so much about how the actions thing works.

About the same file formats... Bully uses gamebryo if I recall correctly and yes you can even open the IMG files with the same tools used for GTA3 modding, but I do heavily suggest you use one actually made for Bully. You can find some in the downloads section, I prefer madman's IMG toolkit.

Good luck buddy, be sure to post what you find!
Title: Re: Locked Nodes
Post by: DarkHero on November 21, 2015, 06:45:49 PM
Glad to be a part of the community so thanks for welcoming me.

I promise I'll post here what I find out.
Title: Re: Locked Nodes
Post by: Bully_Lover13 on November 22, 2015, 07:23:18 AM
i think you are the first to do this, am i wrong?

(http://i.imgur.com/UWCWnzZ.gif)
Title: Re: Locked Nodes
Post by: DarkHero on November 22, 2015, 12:21:18 PM
Ok...here is the one post I promised above.

What I am currently working on regarding the styles is editing the files inside Act.img

Each of those files can be edited with a text editor, I suggest very highly notepad++ due to it being opensource and very versatile.

Here is a example of what the files contain and a rundown of what I have figured out:

Code: [Select]
/Actions/Offense/RunningAttacks/RunningAttacksDirect..Just a quick edit here since I forgot to mention this. Authority.cat

This small sample of code is from Authority.cat which is in the Act.img file. Every file inside that archive is a act file thats human readable.

this part of the code from the above section:
Code: [Select]
/Actions/Offense/RunningAttacks/RunningAttacksDirectis pretty easy to understand. You just need to add / Global / Act / Anim

You just need to add / Global / Act / Anim
Example:
Code: [Select]
"/Global/Actions/Offense/RunningAttacks/RunningAttacksDirect","/Act/Anim/Authority.act"
Title: Re: Locked Nodes
Post by: Unknownsoldier on November 22, 2015, 03:50:43 PM
no,
Title: Re: Locked Nodes
Post by: Shrimp on November 22, 2015, 03:55:37 PM
no,
no.*
Title: Re: Locked Nodes
Post by: DaBOSS54320 on November 22, 2015, 04:09:33 PM
Mostly known that those "nodes" are found in the .cat files and that .cat files are .act files, but keep going! Or well actually you say that the .cat files aren't some different version of the .act files but instead an archive of .act files, hmm that actually does make some sense I suppose...

Not all nodes as they are written in those .cat files can be set on peds and work perfectly as we expect by the way, sometimes they are different, and thus that is why people have to take guesses on what other parts of the node there are that they need. For example people will have to guess that some node that looks like a grapple attack has /Grapples/ (or something like that) before it. I hope your research finds a better more efficient way to finding nodes rather than just guessing from what text we see in the .cat files... you'd be a true hero to the BB community as nodes are pretty important to people here, more than I think they should be even... my main complaint really is that people obsess about them without putting any effort into figuring out the files and just guess. But oh well, you're doing it now, so great.

Also notepad++ does work for this but HxD might work better for you. Just in my opinion it looks a bit more readable there as the file, while it has parts in plain text, still isn't really formatted to be viewed as plain text like in something like notepad/notepad++. Also the numeric values you can find using HxD may be helpful. For example I found a while ago that one of the first parts of a .cat files has how many characters in the nodes (the readable stuff) start. In notepad++, I don't think you'll be able to see that value as easily since it may just be represented as text characters instead of as a number.

Actually while I'm online... I guess I could try to find that information again. Nothing huge but still might help? See here (http://i.imgur.com/Or3kzw7.png), notice that ยต. actually holds an integer value. Look on the left and you can see that B5 08.  Because of how integers are stored, you actually will want to flip that so it's 08B5. Go to 08B5 in the file (http://i.imgur.com/TBjyR5X.png), and notice that's where all the readable text starts.
Title: Re: Locked Nodes
Post by: DarkHero on November 22, 2015, 04:18:45 PM
Well, all I can do is simply try...and besides....I am a serious believer in the fact that anything is possible and that nothing is impossible  since I personally have gone thru a lot of experiences in life that most ppl would call simply impossible...but thats a topic for a diff discussion  :cool:

I am just glad to you try to help since I see potential here and really...as long as everyone works together...shares ideas....share work...etc then we all can succeed. When someone makes a mod and refuses to share or just tells ppl to figure it out themselves with no help....then thats very counterproductive and gets everyone nowhere really fast.
Title: Re: Locked Nodes
Post by: DaBOSS54320 on November 22, 2015, 08:47:38 PM
^ Posts like that make me wish I could like posts somehow lol. Guess that's not really a forum thing though.... maybe because I can just tell you I like it in a reply. Well, I like your post, buddy. ...I've made this more complicated than it needs to be haven't I?
Title: Re: Locked Nodes
Post by: Unknownsoldier on November 22, 2015, 09:54:25 PM
Well, all I can do is simply try...and besides....I am a serious believer in the fact that anything is possible and that nothing is impossible  since I personally have gone thru a lot of experiences in life that most ppl would call simply impossible...but thats a topic for a diff discussion  :cool:

I am just glad to you try to help since I see potential here and really...as long as everyone works together...shares ideas....share work...etc then we all can succeed. When someone makes a mod and refuses to share or just tells ppl to figure it out themselves with no help....then thats very counterproductive and gets everyone nowhere really fast.
Wait a sec. You copied that entire post from one of MadmaN's old posts!

Well, all I can do is simply try...and besides....I am a serious believer in the fact that anything is possible and that nothing is impossible  since I personally have gone thru a lot of experiences in life that most ppl would call simply impossible...but thats a topic for a diff discussion  8)

Far as the help...I am just glad to have a chance to try to help since I see potential here and really...as long as everyone works together...shares ideas....share work...etc then we all can succeed. When someone makes a mod and refuses to share or just tells ppl to figure it out themselves with no help....then thats very counterproductive and gets everyone nowhere really fast.
(https://i.gyazo.com/6588f8dc67bc70f8cef91f1873a5d525.png)
Title: Re: Locked Nodes
Post by: BloodChuckZ on November 22, 2015, 10:11:37 PM
Shades of Plagiarism (GASP) !!
 
Title: Re: Locked Nodes
Post by: DahCobra33 on November 22, 2015, 10:19:27 PM
What kind of Sorcery is this??
Title: Re: Locked Nodes
Post by: Unknownsoldier on November 22, 2015, 10:40:14 PM
hahahhahhahahhahaaa
Title: Re: Locked Nodes
Post by: DarkHero on November 23, 2015, 03:27:36 AM
Here is a small list of what I have discovered so far regarding the Nodes themselves.

Code: [Select]
"/Global/Player","Act/Player.act"
"/Global/Player/Default_KEY/Default","Act/Player.act"
"/Global/Player/Default_KEY/Locomotion/Idle"
"/Global/Player/Gifts/Errand_BUS_Detective","Act/Player.act"
"/Global/Player/Gifts/Errand_BUS_Drugs","Act/Player.act"
"/Global/Player/Gifts/Errand_BUS_Jacket","Act/Player.act"
"/Global/Player/Gifts/Errand_BUS_PhotoCash","Act/Player.act"
"/Global/Player/Gifts/Errand_IND_PACKGET","Act/Player.act"
"/Global/Player/Gifts/Errand_IND_PackMon","Act/Player.act"
"/Global/Player/Gifts/Errand_IND_Package","Act/Player.act"
"/Global/Player/Gifts/Errand_RIC_Crab","Act/Player.act"
"/Global/Player/Gifts/Errand_RIC_LostBear","Act/Player.act"
"/Global/Player/Gifts/Errand_RIC_Mailman","Act/Player.act"
"/Global/Player/Gifts/Errand_SCH_ADMIRE1","Act/Player.act"
"/Global/Player/Gifts/Errand_SCH_ADMIRE2","Act/Player.act"
"/Global/Player/Gifts/Errand_SCH_Tutorial","Act/Player.act"
"/Global/Player/Gifts/Errand_SCH_Tutorial2","Act/Player.act"

I'll be updating this list as I am finding more Nodes.
Title: Re: Locked Nodes
Post by: Bully_Lover13 on November 23, 2015, 06:14:24 AM
(http://i.imgur.com/bavrWTI.gif)

You probably just copied that from the "LUA Nodes" topic. Since you copied MadMan's post, what stops you from stealing nodes anyway?

Title: Re: Locked Nodes
Post by: Unknownsoldier on November 23, 2015, 07:55:21 PM
oh my god, i'm so sorry to expose you again. but i can't help to realize most/all of your posts are copied directly from MadmaN's posts!!!!
Glad to be a part of the community so thanks for welcoming me.

I promise I'll post here what I find out.
Glad to be a part of the community so thanks for welcoming me.



Anyways, cool to finally get off my butt and register here after being a lurker forever, and cool to meet all of ya!
Anyways, cool to finally get off my butt and register here after being a lurker forever, and cool to meet all of ya!



(this is the last one i'll show for now, I PROMISE!!!)

Ok...here is the one post I promised above.

What I am currently working on regarding the styles is editing the files inside Act.img

Each of those files can be edited with a text editor, I suggest very highly notepad++ due to it being opensource and very versatile.

Here is a example of what the files contain and a rundown of what I have figured out:
Ok...here is the one post I promised above.

What I am currently working on regarding the interiors is editing the files inside trigger.img.

Each of those files can be edited with a text editor, I suggest very highly notepad++ due to it being opensource and very versatile.

Here is a example of what the files contain and a rundown of what I have figured out:



LIKE I SAID, I JUST COULDN'T HELP TO NOTICE YOU WERE COPYING A LOT OF MADMAN'S OLDER POSTS, HOPEFULLY NOT HOPING IT WOULDN'T BE NOTICED!  :laugh:

From what I am noticing in this odd pattern, you appear to be replacing some words from his posts, making them seem as your own.



EDIT:
versatile.
versatile.
And my dumbass had to notice this one word, because i literally just typed this to DaBOSS:
"Versatile, my style switches like a faggot, but not bisexual, i'm an intellectual of rap i'm a professional and that's no question yo."
Title: Re: Locked Nodes
Post by: DahCobra33 on November 23, 2015, 09:02:45 PM
So....Is this guy MadmaN's Echo or what?
Title: Re: Locked Nodes
Post by: DaBOSS54320 on November 23, 2015, 11:15:28 PM
Forgive this guy, guys... because remember, not everyone has the same capability or capacity to learn the same things. Everyone is different!

This is a really cool thing he's trying to do too, so I will try to help out more with this IF I get the time since I have been extremely busy the past couple weeks due to outdoor projects I need to get finished before winter gets here....almost done too...

EDIT: Since you guys didn't get this post lemme explain, this ^ was copied from a few of MadmaN's posts just to see if unknown would spot it.
Title: Re: Locked Nodes
Post by: Unknownsoldier on November 23, 2015, 11:54:06 PM
Forgive this guy, guys... because remember, not everyone has the same capability or capacity to learn the same things. Everyone is different!
that literally had nothing to do with any subject mentioned here fool
Title: Re: Locked Nodes
Post by: Bully_Lover13 on November 24, 2015, 03:46:37 AM
Forgive this guy, guys... because remember, not everyone has the same capability or capacity to learn the same things. Everyone is different!
that literally had nothing to do with any subject mentioned here fool
yeah, nigg, this guy can't be forgiven, he's a noobie and acting like a proey.
Title: Re: Locked Nodes
Post by: DaBOSS54320 on November 24, 2015, 11:57:00 AM
What I was saying is since he may not as able to learn as others he resorts to this.

...you know I really thought unknown would get what I was doing.
Title: Re: Locked Nodes
Post by: MadmaN on November 24, 2015, 05:04:28 PM
OH man. This thread is making me crack up laughing. Normally I would be irritated that someone is copying my posts and trying to make it sound as if they are being original but man.....sounds like someone is desperate to be 'noticed'......

Nothing like having some entertainment. :)

@DarkHero

Just a friendly piece of advice here m8. You might wanna try being a bit more original with your posts rather than copying someone else's. Might get you a bit further here.
Title: Re: Locked Nodes
Post by: Unknownsoldier on November 24, 2015, 05:45:35 PM
@DaBOSS54320 (http://www.bully-board.com/index.php?topic=23445.msg399378#msg399378)
thanks



@|XF|-MadmaN (and everyone else viewing this thread)
My apologies for going off topic. :D
Title: Re: Locked Nodes
Post by: DaBOSS54320 on November 24, 2015, 06:38:15 PM
I don't feel like this is gonna go anywhere anyways tbh
Title: Re: Locked Nodes
Post by: DarkHero on November 24, 2015, 06:41:19 PM
OH man. This thread is making me crack up laughing. Normally I would be irritated that someone is copying my posts and trying to make it sound as if they are being original but man.....sounds like someone is desperate to be 'noticed'......

Nothing like having some entertainment. :)

@DarkHero

Just a friendly piece of advice here m8. You might wanna try being a bit more original with your posts rather than copying someone else's. Might get you a bit further here.
OH man. I apologize, always wanted posts like yours.
You made me realize I do not need to copy your post to be a little more "original"  :'( :'(

I really impressed me with you team, not even me "banned" It made me a bit confused.

I wanted to see one more thing, not only for you madman, but for everyone!

Forgive me?
Title: Re: Locked Nodes
Post by: AlphaTech on November 24, 2015, 07:15:17 PM
OH man. This thread is making me crack up laughing. Normally I would be irritated that someone is copying my posts and trying to make it sound as if they are being original but man.....sounds like someone is desperate to be 'noticed'......

Nothing like having some entertainment. :)

@DarkHero

Just a friendly piece of advice here m8. You might wanna try being a bit more original with your posts rather than copying someone else's. Might get you a bit further here.
OH man. I apologize, always wanted posts like yours.
You made me realize I do not need to copy your post to be a little more "original"  :'( :'(

I really impressed me with you team, not even me "banned" It made me a bit confused.

I wanted to see one more thing, not only for you madman, but for everyone!

Forgive me?

Nah bro your banned for life fgt gtfo!  ;D Sike just learn from your mistakes and move on where a good bunch here so enjoy our hospitality. Unknown could be a lil fgt though from time to time so just watch him please. If you cant type proper English its fine just type up a post the best way you can.
Title: Re: Locked Nodes
Post by: MadmaN on November 24, 2015, 09:08:07 PM
OH man. This thread is making me crack up laughing. Normally I would be irritated that someone is copying my posts and trying to make it sound as if they are being original but man.....sounds like someone is desperate to be 'noticed'......

Nothing like having some entertainment. :)

@DarkHero

Just a friendly piece of advice here m8. You might wanna try being a bit more original with your posts rather than copying someone else's. Might get you a bit further here.
OH man. I apologize, always wanted posts like yours.
You made me realize I do not need to copy your post to be a little more "original"  :'( :'(

I really impressed me with you team, not even me "banned" It made me a bit confused.

I wanted to see one more thing, not only for you madman, but for everyone!

Forgive me?

Forgiven man....

If anything...I actually feel honored that you went through so much work to actually copy what I have already said long ago. I actually am considering that a compliment so.....no worries m8. No harm done.

While I am currently still in retirement from modding...I am willing to assist you in learning more about the game. All you have to do is just ask and I will try to do what I can. That is what I am here for. Don't let the admin tag scare you....I don't bite......much....lol.
Title: Re: Locked Nodes
Post by: DarkHero on November 25, 2015, 08:29:24 AM
Thanks man....

I am working to try to make some complete styles, plus it requires a long time  :rolleyes:

When I finished making one, I'll post the video here.
Title: Re: Locked Nodes
Post by: DaBOSS54320 on November 25, 2015, 04:12:10 PM
I wish you luck with that amazing, thought-provoking, original idea.
Title: Re: Locked Nodes
Post by: Bully_Lover13 on November 26, 2015, 04:37:20 AM
Thanks man....

I am working to try to make some complete styles, plus it requires a long time  :rolleyes:

When I finished making one, I'll post the video here.

Laughs internally
Title: Re: Locked Nodes
Post by: Unknownsoldier on November 26, 2015, 10:19:38 PM
^