Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: silkielemon on May 06, 2018, 05:59:28 am

Title: Radar glitch and plr file
Post by: silkielemon on May 06, 2018, 05:59:28 am
Hi,

Had a search around but can't seem to find a resolution that's viable for me - previous solutions have let the player make their wait the hud options in debug but it crashes at the start for me. Using Knossos.

Error: Player file has invalid radar range -1
File: plr.cpp
Line: 143

log: https://fsnebula.org/log/5aeed9e1cb8db12a786227cc

I'm only at the training levels so I'm happy to reset the player profile but I can't seem to find a way to do that?

Thank you for any help in advance!
Title: Re: Radar glitch and plr file
Post by: silkielemon on May 06, 2018, 07:17:10 am
Solved, deleted .plr file in /appdata.
Title: Re: Radar glitch and plr file
Post by: BugmanMD on February 11, 2019, 02:19:17 am
to clarify, in case someone else has this trouble....
it took me about 3 hours tonight to fix.    program kept crashing before I could even select a pilot.  Error message:
Player file has invalide radar range -1
File : plr.cpp
Line 143

the problem is a corrupted player file.
I think I caused this when I tried to change the colors in my HUD.

Solution:
delete your player file (yourname.plr) located HERE:
C:\Users\USERNAME\AppData\Roaming\HardLightProductions\FreeSpaceOpen\data\players

This is not intuitive, since I had expected the player data to be here:
C:\Games\Freespace 2\data\players\single      - but it is NOT.

Good luck ! once I deleted my plr file the game works again.  So I'll be sure to clone my pilot from now on in case I have to delete one again.

[attachment eaten by a Shivan]
Title: Re: Radar glitch and plr file
Post by: Novachen on February 11, 2019, 05:12:42 am
Solution:
delete your player file (yourname.plr) located HERE:
C:\Users\USERNAME\AppData\Roaming\HardLightProductions\FreeSpaceOpen\data\players

This is not intuitive, since I had expected the player data to be here:
C:\Games\Freespace 2\data\players\single      - but it is NOT.

To clarify this. The root game folder is used, if you run FSO with portable mode.
which i personally prefer, if you do not use a protected system folder for your games anyway
Title: Re: Radar glitch and plr file
Post by: AV8R on February 23, 2019, 09:03:20 pm
My pilot file is in: C:\Games\Freespace2\data\players

Does that mean I'm using Freespace in "Portable Mode"?

I'd rather use it in that mode anyway since it makes it easy to backup and restore (simply copy the Freespace2 folder and all of its contents to a backup drive/NAS - copy contents back to restore). Nothing to install next time if hard drive crashes, just copy folder and its content back to drive and run Launcher.
Title: Re: Radar glitch and plr file
Post by: ngld on February 24, 2019, 11:40:35 am
Either you're in portable mode (or more likely) you're using an older launcher which doesn't support %appdata%, yet.