What is "Hard Coded"

General discussion of the Project Reality: BF2 modification.
Liquid_Cow
Posts: 1241
Joined: 2007-02-02 22:01

What is "Hard Coded"

Post by Liquid_Cow »

Forgive my ignorance, but I frequently hear the term "hard coded," usually following the phrase "it can't be done," and I wonder if someone can explain exactly what this means.

How does it apply to BF2? Will the EA police come knocking on my door if I mess with hard coding? Will white vans with tinted windows park outside Homer's house? Or does the game perform some sort of sumcheck then shuts down if "hard coded" is violated? If so with the last item, can you get around the self check, or is that also "hard coded?"

Thanks for your replies!
Moo
Golden Camel Alliance
Fear the Moo!!!
<MFF>
GeZe
Retired PR Developer
Posts: 3450
Joined: 2006-02-09 22:09

Post by GeZe »

Hard coded mean that it can't be changed, it's complied into the exe, you can't view or modify the code...
Clypp
Posts: 2148
Joined: 2006-07-17 18:36

Post by Clypp »

What is "Hard Coded"
Battlefield 2.
danthemanbuddy
Posts: 842
Joined: 2006-11-12 19:07

Post by danthemanbuddy »

If they release the source code, then we get weapon sway :)

No source code = prone diving, and hardcoded.
Soulja
Posts: 611
Joined: 2006-10-09 20:50

Post by Soulja »

Ever asked EA or DICE for the source code? Maybe offer to pay for it? lol



I'd donate toward less "Hardcoded" stuff.
In Game Name: Linelor
X-Fire User: ogikarma
Fullforce
Retired PR Developer
Posts: 3751
Joined: 2005-10-17 17:03

Post by Fullforce »

Hard Coded is that which is Coded into the game and cannot be changed without direct access to the original source code, hence why it is "hard" and cannot be moulded or shaped.
Liquid_Cow
Posts: 1241
Joined: 2007-02-02 22:01

Post by Liquid_Cow »

OK, this is above my level of understanding I guess, but why can't you just use a compiler like C+ to read the code? I imagine that a lot of the stuff the DEV team is playing with is not in plain text, what's the diference. Again, please excuse my ignorance, just trying to better understand.
Golden Camel Alliance
Fear the Moo!!!
<MFF>
Fullforce
Retired PR Developer
Posts: 3751
Joined: 2005-10-17 17:03

Post by Fullforce »

No, it doesn't work like that. A games company doesn't make a game just so its customers can decompile it and reverse engineer it and use it to make money themselves. Once a game is put into Machine Code, there is no way of reverse engineering it or changing it.
Raniak
Posts: 968
Joined: 2007-01-25 01:31

Post by Raniak »

Liquid_Cow wrote:OK, this is above my level of understanding I guess, but why can't you just use a compiler like C+ to read the code? I imagine that a lot of the stuff the DEV team is playing with is not in plain text, what's the diference. Again, please excuse my ignorance, just trying to better understand.
Because it's not just coded, it's hard coded ;)
seriously, I have no idea
ImageImage
Clypp
Posts: 2148
Joined: 2006-07-17 18:36

Post by Clypp »

'[R-DEV wrote:xW0LFx']thats great! new quote right there

I'm glad you approve.
:grin:
Jaymz
Retired PR Developer
Posts: 9138
Joined: 2006-04-29 10:03

Post by Jaymz »

They won't ever release the source code, this is how they make millions. It's the EA creed

1.Get Trauma studios to make you a million dollar selling game and then stab them in the back on their way out.
2.Hardcode unrealistic features.
3.Make your developers sign contracts stating they cannot release any source code, this means that shitty booster packs can be made and sold online with ease while mod developers, who work for free, struggle to compete due to the everlasting virginity of the source code.
4.??????????????
5.Profit
Last edited by Fullforce on 2007-04-03 02:15, edited 1 time in total.
Reason: Fixed ?'s
"Clear the battlefield and let me see, All the profit from our victory." - Greg Lake
Deadmonkiefart
Posts: 632
Joined: 2007-02-06 04:33

Post by Deadmonkiefart »

While I agaree with you on your points, that was a very lol-able list! :lol:
My #1 excuse for having a bad game:
"GET-OFF-OF-MY-KEYBOARD-YOU-STUPID-CAT!!!"
Image
Fullforce
Retired PR Developer
Posts: 3751
Joined: 2005-10-17 17:03

Post by Fullforce »

Lets not forget point number 6 and the ever vital 7:

6. Lay off Trauma Studios because they've done all the work they need to and you don't need them anymore
7. Forget the fact that it was modders who made DC and thusly BF2 and continue to screw over BF2 modders
Jarek Mace
Posts: 209
Joined: 2005-11-20 04:36

Post by Jarek Mace »

'[R-CON wrote:Jaymz']They won't ever release the source code, this is how they make millions. It's the EA creed

1.Get Trauma studios to make you a million dollar selling game and then stab them in the back on their way out.
2.Hardcode unrealistic features.
3.Make your developers sign contracts stating they cannot release any source code, this means that shitty booster packs can be made and sold online with ease while mod developers, who work for free, struggle to compete due to the everlasting virginity of the source code.
4.?
5.Profit

On number 3 you forgot to mention the shitty dev documentation and half finished tutorials which leads to countless nights of no sleep trying to reverse engineer from cruddy badly made game media to fill in the missing parts..
Then there are the half arsed, half released, badly outdated inhouse toolsets.

Buying the source code would not be economically viable, take quake source for an example when it was around same age as bf2 is now, it would cost you over 100,000 dollars. To Carmack's credit he eventually released the src free.
I don't see greedy EA doing the same in 20 yrs.

Hard coded means hard shit, live with it. Sad but true.
Rupert
Posts: 14
Joined: 2006-10-25 05:33

Post by Rupert »

Image
Sorry, couldn't resist.
Fullforce
Retired PR Developer
Posts: 3751
Joined: 2005-10-17 17:03

Post by Fullforce »

I saw that one coming.
Liquid_Cow
Posts: 1241
Joined: 2007-02-02 22:01

Post by Liquid_Cow »

Can't you do the Matrix thing, you know like when Cypher is looking at the source code for the Matrix and pointing out the hot girls to Neo?
Image
Golden Camel Alliance
Fear the Moo!!!
<MFF>
El_Vikingo
Posts: 4877
Joined: 2006-11-27 01:50

Post by El_Vikingo »

Image

If you are reading this dont stop, cause if you do, I'll kick you in the balls.
Jarek Mace
Posts: 209
Joined: 2005-11-20 04:36

Post by Jarek Mace »

There are dissasemblers like wdasm and other tools to reverse engineer code.
Have to know binary and asm as well as be uber patient and I have no idea if it would be useful to search for game functions if at all. Good for finding and NOOP9090 cdcheck subroutines tho, or used to be, I'm out of date now.
Oh I think it will also be highly illegal.
Last edited by Jarek Mace on 2007-04-03 02:58, edited 1 time in total.
Post Reply

Return to “PR:BF2 General Discussion”