New Cheat Codes Found

Talk and share anything related to Star Wars Battlefront 2. No maps or mod announcements here. Use Work in Progress forum.

Moderator: Moderators

Post Reply
austin12456
Recruit Womprat Killer
Posts: 9
Joined: Mon Jul 11, 2011 8:20 pm
Projects :: No Mod project currently.
Games I'm Playing :: swbf2
xbox live or psn: No gamertag set

New Cheat Codes Found

Post by austin12456 »

There are three other cheat codes in SWBF2 that have never been found. I'm sure most of you are familiar with the other three (invincibility, no HUD, and infinite ammo). I would go into more detail about how I found them, but that might be against the wesbite rules.

To enter these, go into instant action mode and move your mouse over the BF2 logo in the bottom left hand corner, type in the code, and press enter. If you did this correctly it should show a message that depends on the code. The game only allows 3 codes at once and if you want to remove them you must exit and restart the game.

Note: The codes I found aren't "official", they just "happen to work" ;)

// cheat0
name = cheats.invincible
code = mostimpressive
hash = 0x0B9982CFF

// cheat1
name = cheats.ammo
code = agoodblasteratyourside
hash = 0x18D38F73

// cheat2
name = cheats.lowres
code = btbfod
hash = 0x2AB3AA8C

// cheat3
name = cheats.pow
code = 295mepo
hash = 0x6AFB1548

// cheat4
// note: before I knew this code had already been found, the code I found (lipxuf) shows a different message, but doesn't remove the hud :o
name = cheats.nohud
code = usetheforceluke
hash = 0x0B7584045

// cheat5
name = cheats.slowmo
code = abtlggd
hash = 0x84BFFE04

Here is a screenshot of my favorite code (cheats.pow)
Image
CressAlbane
Master Bounty Hunter
Master Bounty Hunter
Posts: 1519
Joined: Fri Dec 18, 2009 8:02 am
Projects :: CTF Arenas
Games I'm Playing :: Steam- cressalbane2
Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı

Re: New Cheat Codes Found

Post by CressAlbane »

I didn't know the code for POW but knew it was ingame; thanks!
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: New Cheat Codes Found

Post by Marth8880 »

I remember seeing the localization for these cheats, I have always been curious about them. :yes:
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: New Cheat Codes Found

Post by acryptozoo »

i knew the pow cheat was on Xbox but i didnt see anyone get it yet for pc nice find
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: New Cheat Codes Found

Post by THEWULFMAN »

Nice work finding the cheats for POW, it has always been thought that that only worked on the Xbox and PS2.




I have no idea what you could have done to find out these cheats that was against GT rules. :? I mean yes, better safe than sorry, but, I honestly cant think of anything. Unless what you did to find them out was illegal.
austin12456
Recruit Womprat Killer
Posts: 9
Joined: Mon Jul 11, 2011 8:20 pm
Projects :: No Mod project currently.
Games I'm Playing :: swbf2
xbox live or psn: No gamertag set

Re: New Cheat Codes Found

Post by austin12456 »

THEWULFMAN wrote:Nice work finding the cheats for POW, it has always been thought that that only worked on the Xbox and PS2.




I have no idea what you could have done to find out these cheats that was against GT rules. :? I mean yes, better safe than sorry, but, I honestly cant think of anything. Unless what you did to find them out was illegal.
I was unsure if reverse engineering is against the rules, since this forum mainly discusses using the mod tools.

Anyway, here is how I did it...

Basically, when you enter a cheat code into the game, it uses an algorithm to create a hash for it. I knew these hashes had to be stored somewhere, so the first place I checked was the games executable. I found them by first getting the hash of a code I already knew, like "mostimpressive", and searching for it in the exe. Once I had found this one, I could see the other 5 hashes. Now, to get the actual codes I had to use the Hash program in the mod tools (ToolsFL\bin\Hash.exe). This tool can either create a hash of an existing string, or it can try to bruteforce an existing hash. Since the algorithm they use (FNV32A1) is prone to collisions, It didn't take much time to find a string for an unknown hash. I tested it in game and... it worked! I repeated the process for the remaining hashes and that is how I created the list.

:themoreyouknow:

Like I said, even though these codes work, they probably aren't what the developers originally hashed.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: New Cheat Codes Found

Post by THEWULFMAN »

Like I said, no rules were broken.


And again, good work. :thumbs:
Null_1138
Jedi
Jedi
Posts: 1192
Joined: Thu Oct 16, 2008 4:05 pm

Re: New Cheat Codes Found

Post by Null_1138 »

Can anyone confirm if the slowmo cheat works? I find it doesn't change anything about normal gameplay.
User avatar
Firefang
Major
Major
Posts: 518
Joined: Mon Nov 15, 2010 8:55 pm
Location: California

Re: New Cheat Codes Found

Post by Firefang »

Null_1138 wrote:Can anyone confirm if the slowmo cheat works? I find it doesn't change anything about normal gameplay.
It does, turn on your sound.
CalvaryCptMike
Captain
Captain
Posts: 476
Joined: Sat Feb 19, 2011 3:10 pm
Projects :: Nothing--absolutely nothing
Location: Freed by alien robots, now living on Mars
Contact:

Re: New Cheat Codes Found

Post by CalvaryCptMike »

Marth8880 wrote:I remember seeing the localization for these cheats, I have always been curious about them. :yes:
This ^^^
User avatar
ShadowWing
Command Sergeant Major
Command Sergeant Major
Posts: 279
Joined: Fri Jul 30, 2010 2:00 pm
Projects :: I will start modding when I get time.
Games I'm Playing :: SWBFII
Location: at home, reading Avengers vs. X-Men

Re: New Cheat Codes Found

Post by ShadowWing »

What is "POW"?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: New Cheat Codes Found

Post by DarthD.U.C.K. »

i think it activates the "pow" "blammo" and so hiteffects.
CressAlbane
Master Bounty Hunter
Master Bounty Hunter
Posts: 1519
Joined: Fri Dec 18, 2009 8:02 am
Projects :: CTF Arenas
Games I'm Playing :: Steam- cressalbane2
Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı

Re: New Cheat Codes Found

Post by CressAlbane »

^^D.U.C.K. is right; the cheat turns on some of the (hilarious) lightsaber impact effects.
Post Reply