SWBF2 Chat Colors restored + Crash to Desktop Protection

All information and activities related to SWBF2

Re: SWBF2 Chat Colors restored + Crash to Desktop Protection

Postby theavengers85 » Sun Aug 12, 2012 5:45 am

How do you know what values to edit?

I've always wanted to get into hex editing, but I've never been able to figure out how people know what to change.

I know you can replace strings as long as your replacement string is of equal or lesser length. But how did you enable chat colors/fix the crash bug?
theavengers85
Community Member
 
Posts: 146
Joined: Sat Jun 16, 2012 8:57 pm

Re: SWBF2 Chat Colors restored + Crash to Desktop Protection

Postby 11_Panama_ » Sun Aug 12, 2012 6:37 am

Ancient Chinese secret.
User avatar
11_Panama_
SWBF2 Admin
 
Posts: 2234
Joined: Sat Dec 31, 2011 1:40 am
Location: Figment of your imagination
Xfire: delta11panama

Re: SWBF2 Chat Colors restored + Crash to Desktop Protection

Postby theavengers85 » Sun Aug 12, 2012 5:56 pm

Darn it Panama, that's the response I always get :lol:

How am I supposed to learn anything that way :mrgreen:
theavengers85
Community Member
 
Posts: 146
Joined: Sat Jun 16, 2012 8:57 pm

Re: SWBF2 Chat Colors restored + Crash to Desktop Protection

Postby Bryant » Sun Aug 12, 2012 11:57 pm

I don't use a hex-editor to make these edits. I use a disassembler - it allows me to read the assembly. Some of the times I can find the flaws and fix them by recoding a section or by inserting additional code.

For the chat colors, I found the section in the 1.0 version and compared it to the 1.1 version and added in what was missing.

If you're interested, check out olydbg - it's the program I've used to explore the code and test my patches.
User avatar
Bryant
SWBF2 Admin
 
Posts: 678
Joined: Fri Nov 13, 2009 12:50 am
Xfire: ssmgbryant

Re: SWBF2 Chat Colors restored + Crash to Desktop Protection

Postby theavengers85 » Mon Aug 13, 2012 4:59 am

Ahhh, so that's how. No wonder. I did a hex diff on the files, and didn't get any noticable pattern.

Figured it had to be a disassembler. Though assembly code always scared me.

Thanks Bryant, I'll check it out.

EDIT:
Any tips for learning assembly? Any good resources you know of?
theavengers85
Community Member
 
Posts: 146
Joined: Sat Jun 16, 2012 8:57 pm

Re: SWBF2 Chat Colors restored + Crash to Desktop Protection

Postby FaiL.? » Mon Aug 13, 2012 11:00 am

Cypher wrote:Ahhh, so that's how. No wonder. I did a hex diff on the files, and didn't get any noticable pattern.

Figured it had to be a disassembler. Though assembly code always scared me.

Thanks Bryant, I'll check it out.

EDIT:
Any tips for learning assembly? Any good resources you know of?

Hex?
FaiL.?
Community Member
 
Posts: 1473
Joined: Wed Nov 09, 2011 11:18 am
Origin ID: Egrigious

Re: SWBF2 Chat Colors restored + Crash to Desktop Protection

Postby Bryant » Mon Aug 13, 2012 2:12 pm

Cypher wrote:Any tips for learning assembly? Any good resources you know of?


This is a decent resource http://www.cs.virginia.edu/~evans/cs216 ... structions

In OllyDbg, you can also right-click an instruction and select "Help on Command"
User avatar
Bryant
SWBF2 Admin
 
Posts: 678
Joined: Fri Nov 13, 2009 12:50 am
Xfire: ssmgbryant

Re: SWBF2 Chat Colors restored + Crash to Desktop Protection

Postby Talon Karrde » Fri Aug 17, 2012 9:59 pm

So basically, Bryant can read the language of the ancients. :whistling:
"Bigotry wrapped in prayer is still bigotry."
User avatar
Talon Karrde
SWBF2 Admin
 
Posts: 446
Joined: Thu Oct 29, 2009 8:21 pm
Xfire: lolnewb
Steam ID: Keirnoth

Re: SWBF2 Chat Colors restored + Crash to Desktop Protection

Postby Bryant » Fri Aug 17, 2012 10:11 pm

Talon Karrde wrote:So basically, Bryant can read the language of the ancients. :whistling:


The Sith know many secrets :twisted:
User avatar
Bryant
SWBF2 Admin
 
Posts: 678
Joined: Fri Nov 13, 2009 12:50 am
Xfire: ssmgbryant

Re: SWBF2 Chat Colors restored + Crash to Desktop Protection

Postby Eyes Only » Tue Aug 21, 2012 10:52 pm

Bryant wrote:
Talon Karrde wrote:So basically, Bryant can read the language of the ancients. :whistling:


The Sith know many secrets :twisted:

Be careful some of the other admins might think youre an evil hacker out to get swgo... again.
User avatar
Eyes Only
SWBF2 Admin
 
Posts: 246
Joined: Sun Sep 27, 2009 6:53 pm
Xfire: masterqueue
Steam ID: feintmass

PreviousNext

Return to Star Wars Battlefront II

Who is online

Users browsing this forum: No registered users and 1 guest

cron