PDA

View Full Version : Has anyone figured out how to pull up the console or > Say, line?


Chouji
12-22-2003, 01:50 AM
ok i been playing around with this, and i cant seem to get the console to come up. i know its engine.console for its base but how do i pull it up. Im suprised there arent more people trying to figure this out.

Its based of the unreal engine so getting a console or a Talk thing shouldnt be that hard... did edios and ionstorm go out of their way not to make the console appear in any way..?

its not even a multiplayer game so it should be up..

i beat the game and about to beat it a second time. but i want a little more gameplay.. i like the amusment of doing weird things like summoning charactors and such and bots and stuff.. im soo bummed on this.

Thanks guys, i hope someone can help

Chouji

AND DO NOT POST THE MULTIPLIERS! ITS NOT WHAT WERE AFTER HERE!!! NOO! "Difficulty_Player_Damage_Easy__d=1.0 " STUFF DO YOU ALL UNDERSTAND? GOOD!

K^2
12-22-2003, 02:13 AM
I am almost certain that there is a command line option that would enable the console. In the Default.ini there is even a coment saying that the tilda (~) is hardcoded to bring down the console.

Chouji
12-22-2003, 02:18 AM
ya i noticed that. but i havent been able to get it to work.. i was thinking about going into one of my unread games and take the unreal console and try to cram it into DE:IW but im not sure if i can or not. or if i can im not sure if it will accept the commands.

I think the game devs should share this info with us. just to make it up to us for spending 50$ on a game that barely runs higher then 800x600...


i mean gees, if they cant fix the problems very soon, at lease give us the ability to have a little more fun with what we have already..

Chouji
12-22-2003, 02:34 AM
also now that i think about it why cant we have something like for the dx2UI file for the debug menu like...

Q_d=set DebugMenu Active=ACTIVE True
E_d=set DebugMenu Active=ACTIVE False

or
Active=ACITVE True
Active=NOT True


It wont be binding a key to it, but rather binding a key to a command.

I dont know exactly how to do it. so its just and idea.

Maybe one of you smarter people might know.

K^2
12-22-2003, 03:10 AM
Yes, I was thinking the same thing. But I am not sure how, if at all, the active property is addresed through the DebugWindow object. I'll try a few combinations to see if any of them work.

Scalar
12-22-2003, 07:47 AM
Something else is required beyond merely activating the debug menu.

I don't have the game on this computer, but if you open the various INI/INT files with notepad, there's a huge debug menu in there with all sorts of commands. You don't actually need the debug menu, just the commands.

However, trying to map just about any of those commands to a key does not do anything. Open My Documents -> DX3 save games -> user.ini, and change "[]X=[]" to "[]X=STAT NET[]" (leave the little boxes in place).

Pressing X in the game does... nothing.

For the few commands I've tried, none of them work. So, there is probably something else that needs to be done, beyond just activating the console.


There's probably some command or option on the executable that has what is needed. (I'm also trying to turn on error/startup logging, but so far I've not yet been successful.)

-Scalar

Scalar
12-22-2003, 07:59 AM
For those wannabe hackers without a hex editor that want to get involved, here's a real easy way to start hacking around with this game. No hex editor needed, since you're just looking around rather than doing actual hex editing.

1. Make a copy of any .EXE or .DLL
2. Go to Tools -> Folder Options -> View -> DON'T hide file extensions for known types
3. Rename the file to a text file. So "Copy of DX2.EXE" becomes "Copy of DX2.TXT"
4. Open the text file with Notepad. If the file is megabytes in size, expect a delay of several seconds as the file opens.
5. Go to the Format menu, turn on Word Wrap if not already on.
6. Maximize the window to fill the screen.


Figuring out what's in the binary

Binary data appears as gibberish, but text is readable.

Unicode text is two-byte data, and so will appear to have spaces in between, "l i k e t h i s".

Usually in most programs, the binary machine code comes first, and the textual strings and other data are in the bottom of the code. So the first 60-70% of DX2.txt looks like garbage, and then you start seeing bits of text in there.

Windows Executables are typically encoded in a format known as RIFF/RIFX. There will be a four-character type code, followed by a chunk of data, then another type code, more data, etc. (It's very similar to the Macintosh concept of the resource fork, except in Windows the resource fork is stored inside the data form.) You can sometimes figure out what data is by looking at the RIFX type code. RIFX data can be stored with every 4-bytes reversed (43218765), for moving between big-endian and little-endian CPU types like the Alpha CPU. If you see this, the RIFF codes are reversed: XFIR

Note that there are three different types of commands scattered about in the binary:
- commandline options, used by opening a DOS prompt, and typing something like DX2 -log -D -open mapname
- console commands, like ghost
- Unrealscript commands that are within game scripts, that don't work at the console

-Scalar

K^2
12-22-2003, 09:50 AM
Do you need to activate the cheats in DX2 as you did in DX? I tried binding a Fly command, but I don't know if it didn't work because the cheats where not enabled or if the name of command was changed.

Chouji
12-22-2003, 11:16 PM
ya i tried binding a stuff to keys like fly and god player, those didnt work.

and only the game devs seem to know the commands we need i wonder why they dont come on here and help us out a little bit..

We all know how to turn the debug menu on, but we cant bind a key to the debug menu.. but i was hoping we can bind a key to what Activates the debug menu, since we cant toggle the menu itself.

i will give some things a try but im not very good at this stuff soo.. its worth a try... maybe someone will find something we can use... maybe..

Chouji
12-23-2003, 05:14 AM
well i took a look at the 5+mb de2.exe file or what ever, took a bit to load, but there was just so much data i couldnt get anything out of it, i did some word searches for "console" and i got some things but nothing that blocks it out..

i think what were looking for is debug console.. not just console..

so for those of you who are helping me with this, i do think tis debug console.. maybe the next patch might have a little more to it... maybe that is..


they left like no modability.. i hope eidos and ion storm, can give the PC users some luven.

K^2
12-23-2003, 07:04 PM
If you just want to try a few commands, what you can do is bind one key to exec domand to execute commands from some txt file. Then you can have that txt file open in another window and just switch to it during the game to edit the commands that will get executed.

Krycek
12-25-2003, 03:31 PM
So anyone found out how to activate the console or the cheats??
I finished the game two times already and I want myself a nice rocket launcher right at the begining:D .

Chouji
12-26-2003, 05:41 AM
well you can edit the de2UI.ini near the bottom under DebugMenu add the line Active=ACTIVE you get an annoying menu that can only be disabled manually by removing the line, but you can summon all weapons that will go in a long line from where you aim.. "dont aim down or up, but only 100% straight and make sure you have alot of room "long a long!! halway or something should do it." and then just save the game exit, then remove the line and start the game up and you will have all weapons there.. soo..

ITs the only way for cheats right now.

friedcook
12-26-2003, 06:00 AM
There is also kind of god mode too. Just edit the 'default.ini' file where it says:
;; Player Damage multiplier - damage player takes from AIs
Difficulty_Player_Damage_Easy__d=1.0
Difficulty_Player_Damage_Normal__d=1.0
Difficulty_Player_Damage_Hard__d=1.25
Difficulty_Player_Damage_Real__d=1.75

Edit whatever mode you play on. I will do one for you:
;; Player Damage multiplier - damage player takes from AIs
Difficulty_Player_Damage_Easy__d=0.0
Difficulty_Player_Damage_Normal__d=1.0
Difficulty_Player_Damage_Hard__d=1.25
Difficulty_Player_Damage_Real__d=1.75
(I have changed the damge you take in easy to 0. You cannot die.)


Here is one for ammo that doesn't go away(You don't lose ammo when you shoot):
;; Ammo multiplier for difficulty levels
Difficulty_Ammo_Mult_Easy__d=1.0
Difficulty_Ammo_Mult_Normal__d=1.0
Difficulty_Ammo_Mult_Hard__d=0.95
Difficulty_Ammo_Mult_Real__d=0.75

Once again, I shall do one for you:
;; Ammo multiplier for difficulty levels
Difficulty_Ammo_Mult_Easy__d=0.0
Difficulty_Ammo_Mult_Normal__d=1.0
Difficulty_Ammo_Mult_Hard__d=0.95
Difficulty_Ammo_Mult_Real__d=0.75
(I have made it so when you play easy you don't lose ammo.)

One shot one kill 'cheat':
;AI Damage multiplier - damage AIs take from player
Difficulty_AI_Damage_Easy__d=1.25
Difficulty_AI_Damage_Normal__d=1.0
Difficulty_AI_Damage_Hard__d=0.75
Difficulty_AI_Damage_Real__d=1.5

I will do one for you:
;AI Damage multiplier - damage AIs take from player
Difficulty_AI_Damage_Easy__d=30
Difficulty_AI_Damage_Normal__d=1.0
Difficulty_AI_Damage_Hard__d=0.75
Difficulty_AI_Damage_Real__d=1.5
(I have changed the damage the the enemy recieves in easy. The enemy will most likely dies in one shot.)



(This is all default.ini)

Follow these directions to find the lines of code mentioned above:


-Open default.ini
-Below are the settings to change. If you just want to test them out it is recommended that you only edit one difficulty setting. For example, if you have no intentions of playing 'easy', then you should edit that one.

[Difficulty]
;AI Damage multiplier - damage AIs take from player
Difficulty_AI_Damage_Easy__d=1.25
Difficulty_AI_Damage_Normal__d=1.0
Difficulty_AI_Damage_Hard__d=0.75
Difficulty_AI_Damage_Real__d=1.5
;; Player Damage multiplier - damage player takes from AIs
Difficulty_Player_Damage_Easy__d=1.0
Difficulty_Player_Damage_Normal__d=1.0
Difficulty_Player_Damage_Hard__d=1.25
Difficulty_Player_Damage_Real__d=1.75
;; 1.0 = base accuracy, 0.0 = wild, 2.0 = as accurate as it gets (not 100% perfect)
Difficulty_Accuracy_Easy__d=0.75
Difficulty_Accuracy_Normal__d=1.0
Difficulty_Accuracy_Hard__d=1.25
Difficulty_Accuracy_Real__d=1.0
;; Ammo multiplier for difficulty levels
Difficulty_Ammo_Mult_Easy__d=1.0
Difficulty_Ammo_Mult_Normal__d=1.0
Difficulty_Ammo_Mult_Hard__d=0.95
Difficulty_Ammo_Mult_Real__d=0.75

You can mess around with accuracy, but I don't find that helpful. Be wary you are messing with the game. If you screw up you might have to re-install.

Krycek
12-26-2003, 08:44 AM
Thanks guys, now I have a very nice flamethrower and a rocket launcher to chop some Order dudes:p .

Friedcook,the infinite ammo cheat doesn't work for me.For you is working???
I did exactly what you said but the ammo is still decreasing,but I found a way to have full ammo when you pick an clip.Here's how:

;; Ammo multiplier for difficulty levels
Difficulty_Ammo_Mult_Easy__d=1.0
Difficulty_Ammo_Mult_Normal__d=1.0
Difficulty_Ammo_Mult_Hard__d=0.95
Difficulty_Ammo_Mult_Real__d=0.75

and change to:

;; Ammo multiplier for difficulty levels
Difficulty_Ammo_Mult_Easy__d=130.0
Difficulty_Ammo_Mult_Normal__d=130.0
Difficulty_Ammo_Mult_Hard__d=130.95
Difficulty_Ammo_Mult_Real__d=130.75

If doesn't work try with 126,127,128 or 129.
This way when you pick a clip you'll have full ammo,even with this and the ammo will still decrease.I just need to find a way to block the ammo.

friedcook
12-26-2003, 09:08 AM
Krycek I think I have misinterpreted the meaning of the ammo multiplier. I am sorry. Keep trying and tweaking and tell me what it does. I can't now I am at work. I hope the others work for you.

Whacker
12-27-2003, 12:46 AM
Back to the original question ~~ Does anyone know how to activate the CONSOLE?

There's lots of information on .INI file edits that can change things. There's loads of info all over these boards about the DEBUG menu, etc.

I've looked extensively at this, but I haven't found any way to enable the CONSOLE. In-Game. I want to be able to type in commands any time.

The developers have done something really screwy to the console in DX2 to try to prevent players from using it. The code is still inside the executable. I just need a procedure entry point. Somehow, fixing the keyboard mappings in the .INI files does not enable it.

I'm a bit lost, but I'm still going to hack away at this. I've gone pretty far, there's just some little tiny piece. Reply back if you want to discuss from a technical perspective.

Chouji
12-27-2003, 09:12 AM
i knew someone was going to post the thing about the "Difficulty_Player_Damage_Easy__d=1.0 "

friedcook and krycek, edit you post and remove that stuff. it was just being stupid to put it there.. no one asked for that stuff everyone knows it already..

plus no one asked for that, the thread is for Console and/or the Say: line, we even tossed in the cheats menu. is has nothing to do directly to this topic.

there are dozens of topics that have that multiplyer stuff already, we dont need another one.

I dont want to be mean.. but i guess i should have stated not to post multipliers in here... its not what were looking for.

Krycek
12-27-2003, 11:48 AM
Well,sorry I didn't know,actually I didn't read any of the multiplier stuff for ammo,I know about god mode and damage multipliers but for the ammo increase a buddy helped me,maybe he read it somewhere.