How to create a debug log file

How to create a debug log file

For most tech support issues, a debug log file will be helpful. For example because it contains information about your computer hardware and system setup. No worries, it does not contain confidential information. It's plain text, so you can easily have a look.

There are a few ways to enable debug mode. One is to turn the debug mode on directly inside of OOTP and the other is to access the appdata files and turn debug mode on via a file. Attention: whenever you start OOTP, the debug files will be overwritten with a new, fresh file! If you want to keep a file, make a copy of it!


Method 1: In-Game

Let's start by explaining how to turn the debug mode on in-game. To enable debug mode, open the Game Settings dialog as shown in the following screenshot. Start OOTP, click on "Settings" on the main screen (1), open the "Troubleshooting" tab (2), then enable debug mode by selecting "Write info into file" (3). In case of FTP/online league problems, also enable FTP debug (5).



- Then click on OK and close OOTP!
- Restart OOTP
- If you want to know where the file is located, open the "Troubleshooting" tab again and click on "Open folder containing debug files" (if that button does not exist, click on "Open folder containing customizable data" (8). Do you see a folder named "debug"? If you do not see the "debug" folder, click on "Open folder containing saved games" (7). Do you see the debug folder there? Open the "debug" folder). Keep that file explorer window open (in the background).
- Simulate the tech support issue, for example start a simulation or a file upload or whereever the problem occurs. Then, do NOT restart OOTP!
- If the game crashes, do not restart it! A restart would overwrite the log file again!
- Either open the file explorer window showing the "debug" folder or open the troubleshooting dialog and click on "Open log file". Copy or rename the debug file "ootp_trace.txt" or the content of it (and ftp_trace.txt, if you have trouble with FTP). The tech support will need the complete file as an attachement to the support ticket! Please do not send the file as screenshot, as MS Word file or as PDF. Just send the original text file, that would be the best for us.

Debug mode slows down the game! If you don't need the debug log file, disable debug mode again by selecting "Don't write debug info into file".



Method 2: AppData File

If you do not have access to the in-game menus we do have an alternative method to turning on the debug mode. Windows and Mac users will have slightly different paths to locate to find this file but we will need to locate it to do this method.

For Windows users the location is C:\Users\YOURUSERNAME\AppData\Roaming\Out of the Park Developments\OOTP Baseball XX\config
For Mac users the location is inside of the /Applications folder.

Inside of the folder location for OOTP's config folder you will locate the app.cfg file. Open that file in a word editor (word/notepad/notepad++) and locate line 25 and 26. Line 25 is "trace_mode" and line 26 is by default set to "0". Changing the "0" on line 26 to "1" will enable Trace Mode the next time the game is launched.




Method 3: Steam/Epic Command Line Arguments

So in addition to using the OOTP Program and the app.cfg file you can also use a launching program such as Steam or the Epic Games Store to turn on tracemode. OOTP will automatically adhere to command line arguments when launched and if the word "tracemode" is entered into the required launch options for steam or additional command line arguments for Epic the game will start up in tracemode.

To be able to turn on tracemode using steam simply go to your steam library page and right click on OOTP. On the menu that appears select properties. On the general page under the Launch Options you can add the word "tracemode" to have steam launch OOTP in tracemode.

    • Related Articles

    • Activation Issues for OOTP

      Generally speaking, activating the game works on the first attempt, but if you try several times and still can't get it to activate, you should read the following article. A common error message when attempting to activate the game is "The game could ...
    • Activation Issues for FHM

      Generally speaking, activating the game works on the first attempt, but if you try several times and still can't get it to activate, you should read the following article. A common error message when attempting to activate the game is "The game could ...
    • How to post a bug

      Since our ticket system here has been shut down please turn to the forums at https://forums.ootpdevelopments.com/forumdisplay.php?f=4044. Make sure to check in the list of known issues if your problem has been created as a bug already. If not feel ...
    • How to FTP files to OOTP Developments

      For some types of problems, the only way we can help you is to see your league files. OOTP Developments uses FTP to allow customers to send us files. Below are instructions for sending us your league files: Windows PC: Unless you have an ftp program, ...
    • How To Become An OOTP Developments Affiliate

      Becoming an Out of the Park Developments affiliate is easy and profitable! We are delighted to welcome affiliates to our program, which does the following: 1) Allows you to get a 10% commission on all sales done through your channel(s) 2) Allows you ...