[?] Question Regarding: Non'Working Cheat Console [?]

Started by ?AMEON, November 05, 2009, 02:22:28 AM

Previous topic - Next topic

?AMEON

Good evening and well Met all.

Now to make a Short Story .. Longer.

I have been trying to get the Cheat Command
Console to work, but without Sucess.

Located 2 Files that i suspect must be the
ones to put the CheatCode relevant text in to,

Here's what i did:
Located the Files " init " and " external-init " in:
Local Disc(C)/Program Files/Irrational Games/Freedom Force/System

They dont show the " .py " Tag, but in Propertyes
they do show as py. Files

I put the *Code* in to both of theese files
Alas i suspect that it is the *init* file we're
after .. here's how they looked Edited:
_________________________________________
init:

import ff
import js
ff.Language="english"ff.APP_ENABLE_XTRACHARS = 1

ff.CON_ENABLE=1
____________________________________________
external-init:
#
# IGA system initialization file for external release
#
import js
import ff

ff.CON_ENABLE=1
ff.RENDER_TRIPLEBUFFER = 1
ff.RENDER_DISABLEHWTNL = 0
ff.RENDER_FORCE_MULTIPASS   = 0
ff.RENDER_ENABLESCREENSHOTS   = 0
ff.APP_DEBUGMODE = 0
ff.APP_DEMOMODE   = 0
ff.CON_NUMROWS = 21
ff.AI_IDLE_CHATTER_TIME_MIN   = 120
ff.AI_IDLE_CHATTER_TIME_RAND = 120
ff.RPG_PHYS_DAMAGE_SCALE = 1000
ff.RPG_EP_RECHARGE = 4
ff.RESULTBUBBLE_SCALE = 0.6
ff.SOUND_MUSIC = 1
ff.APP_INITIALIZE_MOVEGRID = 1
ff.APP_NOFADE   = 0
ff.DEBUG_ALLPOWERS = 0
ff.RENDER_DRAWBBOXES = 0
ff.RPG_HERO_DETECTRADIUS = 50

______________________________________
But it dosent work ... not sure what to do.
Confusing  :banghead:

Hope someone knows what and how to do it ^^
Thanks in advance for any Advice and input.
[System Info]:
Im using Windows7.

Swedish KeyBoard .. Not sure if anouther key
Replaces the *Tilde* Key for Console Activation
.. have a key that does *?* where the Tilde
would be on a "Normal" Keyboard.

Panther_Gunn

It's been awhile since I used the console, so I can't currently verify if any of those settings are correct or not (I'm sure someone else will soon, though).  However, I can help you with your ~ difficulty.

You can toggle between different keyboard maps, changing the mapping to a standard US keyboard.  I haven't really played with Windows 7 yet, but it should be in a similar place as XP:  Control Panel; Regional & Language Options.  Languages tab; clilck the Details button.  Under "Installed Services" you should see your keyboard; click the Add button.  Pull down the list on Input Language, scroll until you find English (United States), click Ok.  Click on the Key Settings button to see what key combo shifts between them (mine is currently set to Left Alt + Shift).  Once you Apply (or just click OK), you can then swap between those keyboard maps just about wherever you are in Windows.
The Best There Is At What I Do......when I have the time.

?AMEON

#2
Thanks for the Responce =)

Good idea to check those KeyBoard setting's out
Never would of thought of that.

I'll report any Success or the opposite here once
i tested that out for a bit.

[Report]:
No Success in swapping KeyBoard Layout :I
Was a good idea though.
Wonder what's not right .. hepp.

Is there a Specific ''Place'' where the Python Console
only can be Activated i wonder .. or is it supposed to
work anywhere in the Game. I'E: In Mission ..
In'Between Mission's and ect ... thought i read
somewhere one was supposed to be in the "Base" to
Activate the Console ... not exactly sure where the
"Base" is but i guess it's where one end's up inbetwen
mission's ... Hepp .. quite the Puzzle this is turning out
to be lo.l

Previsionary

As far as where the console can be activated or called, it can be used anywhere except in places where the game is loading. Matter of fact, the console can be loaded on the title screen before you even choose to play the campaign or rumble room. The usual suggestion in situation like these is to see if any other button activates the console. I don't think we've ever come to a concrete conclusion on how to activate the console via other keys.

Also, the two files to edit to get the console to pop up is init.py or localinit.py. Localinit.py is the safer of the two, but other than that, nothing major. Perhaps there's a way to artificially simulate a tilde press via a program or a command, but that's something I haven't given much thought.
Disappear when you least expe--

?AMEON

Im playing the First of the 2 Freedom Force Games.
So i guess the "Localinit.py' dont show up untill
Freedom Force  vs 3'rd Reich ... but i havent
played no:2 yet.

Have tryed as many Button's and Button Combos
as i could think of  in the Game ... nothing trigger's,
only get some sound's of the:z:=:-:Space Bar: key's
Other than that nothing much happens.

Starting to wonder if something else may be blocking
Cheat's out ... heard the Security on Windows7 was
somewhat ... Fiddly.

Besides those thought's .. im fresh out of ideas l.o.l
Thanks for the Replyes so far :)
I will continue thinking here and see if i get an idea.

?AMEON

Tryed to put " -console " at the end of the
DeskTop shortcut target destination ...

"C:\Program Files (x86)\Irrational Games\Freedom Force\fforce.exe" -console

But no success ... uahh .. this is driving me
up the wall l.o.l

Any ideas anyone ?

stumpy

There is some help on this in the Game FAQ, but here are some more specific notes.

If it really looks like what you have posted, then there's a problem in your init.py file. You have
import ff
import js
ff.Language="english"ff.APP_ENABLE_XTRACHARS = 1

ff.CON_ENABLE=1


That long line is two lines smooshed together. You want

import ff
import js
ff.Language="english"
ff.APP_ENABLE_XTRACHARS = 1

ff.CON_ENABLE=1


I don't know what the ff.Language="english" line does exactly, but maybe it is needed for your localization. My assumption is that you could get by without it because English is the default language for the game, but I can't be sure.

For reference, here is what my FF init.py looks like:
import ff
import sys, os.path

try:
    raise None
except:
    print 'importing <%s>' % os.path.abspath(sys.exc_info()[2].tb_frame.f_code.co_filename)

ff.APP_ENABLE_XTRACHARS = 1
ff.CAM_MAX_ZOOM=6000
ff.CAM_MIN_ZOOM=-350
ff.CON_ENABLE = 1



Also, I'm not sure how Swedish keyboards are laid out, but the key to activate the console is generally the key immediately to the left of the 1 key.

BTW, you may also want to take a look at this post in the Game FAQ to double check that the file names are correct. It looks like you left Windows hiding file name extensions, and that can make it easy to miss when a file doesn't have the right name. (E.g., some editors will try to force a file to have a .txt extension, so that a python file that should be named file.py ends up incorrectly named file.txt or file.py.txt, and it's hard to notice that when Windows is hiding the real names of things.)


If you are still having trouble, you might want to post your script.log file. There are notes in the Game FAQ about enabling logging (already done if you are running FFX) and finding the log files.
Courage is knowing it might hurt, and doing it anyway. Stupidity is the same. And that's why life is hard. - Jeremy Goldberg

?AMEON

You're a Genious!!

Those 2 on a shared line
was what was goofing it
up.

Thank's a tonne there ^^
That was the Ticket.

Never would of figured
that out in the near
future l.o.l