|
I wrote this for facegens but the logic is the same for photos, I reckon. If you are seeing an old photo but have dropped in a new one, the game will not see it unless you auto-refresh that particular player... (which is tedious en masse) or clearing the cache and compelling the game to repopulate the cache by checking the folder again automatically whenever it first needs a player.
Try these steps to clear the cache, replacing "facegen" with "photo" as you read.
Updating In-game Facegens After Adding New Files to the fg_files Folder
OOTP creates a facegen for a player the first time it loads the player (and so has need to generate one). Thereafter it is saved in a cache file under the league save folder. To refresh a particular player, go to the Player Editor and halfway down the lefthand side, there will be an option for "Picture functions", which, when clicked, provides a drop-down menu. Select "auto-reload picture" and the new file should load.
If you wish to clear all the cached facegens in a particular save to force the game to recheck all the files in the fg_files folder, go to the saved games folder (go to Settings from the Start Screen, at the pop-up pick troubleshooting, open saved games folder). Once you open the .lg folder, go to news, html, images, profile pictures. You will see the cached facegen .png files there for that save. Select all and then unselect the “default_profile_picture” (to keep it) and delete those cached facegen .png files. Thereafter, the game will create new facegens as if it were its first time visiting that player's profile.
Last edited by LansdowneSt; 05-19-2025 at 12:48 AM.
|