• Welcome to Freedom Reborn Archive.
 

FFVTTR Debug Menu

Started by byakuyazakura, December 27, 2007, 04:08:12 PM

Previous topic - Next topic

byakuyazakura

For some reason I cannot get this cheat to work.
When I edit the init.py file to look like this, it doesn't allow me to access the debug menu by pressing shift + ~

#
# IGA system initialization file for external release
#
import js
import ff
ff.CON_ENABLE=1

Did I do this right?  Has anyone else gotten this cheat menu to open and work?


byakuyazakura

Either something is wrong with this process or this doesn't work in vista.  I have tried this over and over again and I don't have any change what so ever from the normal screens.  Is there a specific screen that you access it from?  I have tried the campaign base screen, database screen, in-game, character, rumble room.  I still get absolutely no change whatsoever.  Do you know of anyone else who has had this problem?

GGiant


byakuyazakura

I moved my init.py file out of the system folder and then I created the localinit.py file with those 3 statements pasted in it.  I also tried to edit the init.py file with those changes.  Neither had any effect.

stumpy

I can't think of any reason this would be different in Vista. Double-check the following:


  • Make sure the localinit.py file is in the ..\System folder.
  • Make sure that you created localinit.py in a text-only editor, like Notepad.
  • Make sure that the file you created is named localinit.py and not localinit.py.txt. (See this post to make sure you are seeing the real names of files.)

If it's still not working for you, add the line
print "running localinit.py"
to start of the file, then restart the game. Then post your ff.log and ff.err files here. (If those files don't exist, be sure to turn on logging.)

byakuyazakura

It still didn't work and I set the logging on in the shortcut but I cannot find either of those files.  My base folder has these files after I allow hidden files to be shown:

Custom folder
Data folder
Help folder
System folder
ffvt3r application
MFC71.dll
Mss32.dll
msvcp71.dll
msvcr71.dll
msvcrt.dll
python15.dll
Sound.dll
Standard.dll
zlib.pyd
zlib-1.1.3.dll

stumpy

From that list, it looks like

  • Logging is not turned on.
  • You have not set Windows to show you the real file names (including the extensions) of all files.

Both of those are covered in the Game FAQ, in the links given before. It's going to be tough to diagnose what's going on until you at least get Windows to show you what files you really have.

BTW, a couple of things could be behind your trouble getting the console up. But, because of that latter item, it is likely that the localinit.py you thought you created is really named localinit.py.txt, so the game is ignoring it.

byakuyazakura

Those are the files in my 3rd Reich base folder, the files in my system folder after I set file known file extentions to be shown are:

Miles folder
PythonLib folder
ai.py
ai.pyc
cvarEdit.py
cvarEdit.pyc
echo.py
echo.pyc
editor.py
goal.py
goal.pyc
(I temporarily removed init.py from the folder to make the localinit.py, I have already tried it with the init.py file edited alone and both files together)
init.pyc
jsw.py
jsw.pyc
leveled.py
leveled.pyc
loadMission.PY
loadMission.PYc
localinit.py (the one that create, I made sure not to make it a txt file)
missiter.py
missiter.pyc
regress.py
sound.py
sound.pyc
startup.py
startup.pyc
tredir.py
unlock.py
unlock.pyc
wredir.py
wredir.pyc
ziptree.py
ziptree.pyc

stumpy

Hmm. It's there, but there must be something odd going on if you still can't open the console. Do you have a US keyboard?

I am assuming you restarted the game and were unable to open the console. So, we still need to see your log files. Use Notepad to open localinit.py and ... well, basically what I said before:

Quote from: stumpy on December 28, 2007, 06:41:27 AMIf it's still not working for you, add the line
print "running localinit.py"
to start of the file, then restart the game. Then post your ff.log and ff.err files here. (If those files don't exist, be sure to turn on logging.)

If those files aren't there in your base game folder (ff.err might be empty - that's okay), then logging isn't turned on. If you can't get it turned on, then right-click on the shortcut you use to open the game, choose Properties. In the dialog that opens up, make sure you on the Shortcut tab, then copy everything in the Target field and post it here so we can figure out why logging isn't working.

byakuyazakura

"C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\ffvt3r.exe" -log

catwhowalksbyhimself

He said he was hitting shift-~, but on my computer, you don't need to use the shift key at all.  If I remember properly.

GogglesPizanno

I thought the same thing, but I tried it and on mine it doesn't seem to matter, it still registers the key press and opens up the console regardless of whether shift is held down or not.

So I think its still something else...
But Im a bit stumped as everything else looks right.

As stumpy suggested:

QuoteQuote from: stumpy on December 28, 2007, 06:41:27 AM
QuoteIf it's still not working for you, add the line

print "running localinit.py"

to start of the file, then restart the game. Then post your ff.log and ff.err files here. (If those files don't exist, be sure to turn on logging.)

If those files aren't there in your base game folder (ff.err might be empty - that's okay), then logging isn't turned on. If you can't get it turned on, then right-click on the shortcut you use to open the game, choose Properties. In the dialog that opens up, make sure you on the Shortcut tab, then copy everything in the Target field and post it here so we can figure out why logging isn't working.

byakuyazakura

I think I have figured out my problem but I am even more confused about how to fix it.  I have another PC game that requires pressing the tilde button twice to open a cheat console.  Although the tilde (`) and tilde+shift (~) work when I am typing, it does not seem to work in either one of these games.  I know how odd this seems.  Has anyone a clue about how to correct this or even why it is happening.

Epimethee

For the tilde, I believe that the console doesn't detect the ~ character, but the key code, which would explain why hitting shift doesn't matter. So, the action would be triggered by pressing the key to the left of the "1" (usually associated with the "~" character on a US keyboard, but it could be anything; on mine, it's "/" instead).

Otherwise, what is your keyboard language set to? (Under XP, cf. the regions & languages settings control panel, under languages: details...) If it's not already the case, set it to US; maybe some languages don't map the key correctly?

Alternatively, are you using a laptop? Maybe you can try plugging a regular external keyboard.

If all else fails, maybe a keyboard remaping utility such as KeyTweak (http://webpages.charter.net/krumsick/) could help? Use at your own risk, you could break your whole system.