View Full Version : FOF9 Faceworks - facepack portrait installation utility
Caligari
01-05-2024, 06:54 PM
Hey there!
I have created a utility that takes the contents of the facepacks created by Cole and xcom44dan, and copies them into place for your leagues. The utility can use both of the existing packs, side by side, and maintains a list of which images have been used to there are no duplicates (as long as you allow it to allocate the images - it can't tell if you already have images in place, where they came from).
Download from: http://www.routt.net/Caligari/Games/Football/fof9_faceworks.exe
or: https://drive.google.com/file/d/1oBev36SZ8i-CCp64oWLQjHub0-rdX3P5/view?usp=sharing
In order to use the utility you will need one or more of the facepacks from this thread: FOF Fictional Facepack version 1 (https://forums.operationsports.com/fofc/showthread.php?t=99034)
In particular, either:
FOF Fictional Facepack version 1.zip
By Position.zip
Do not unzip the files. Instead place them in a directory together with this utility, and run the utility. It will detect the presence of the zip files and extract only the images you use (saving disk space).
The utility asks you which of your FOF9 leagues to work with, and then loads the list of players, and the indexes from the zip file/files you have present.
You are able to reset all of your player portraits (if you have previously copied some manually), or just the portraits that the utility has not previously assigned.
If you have any players who do not have portraits, you are able to allocate images to those players.
Once you have allocated portraits, you are able to copy them into place.
This multi-step process is designed to ensure that you do not accidentially take any permanent actions that you do not intend. At any time before you copy files, you can cancel, which will reload the league data so you can start from your previous state.
Once you copy the portrait images into place the utility also creates a record of the allocations it has made, so that it will not re-use any of those images for that league. This creates a file in the league's portrait directory which FOF9 ignores.
You can use the Menu to load a new league at any time, abandoning whatever you have done to the current one (unless you have copied new images into place).
The About information for the utility gives a brief overview of its operation. Please reach out if you feel more information is needed there.
Disclaimer: This utility is not endorsed or supported by Solecismic Software in any way. I have made numerous assumptions about the format and contents of their data which might be incorrect, or the data may change in the future. While the utility does not change any FOF9 internal files (only the bmp images used for portraits), I cannnot be certain that it will not cause a problem with your league, or the game itself.
While I have tested the utility, along with Cole and xcom44dan, it is possible that there I have not taken everything into account. If the utility encounters a problem it should put up an Error message at the bottom of the screen. It also generates a log which has more detailed information, which I would greatly appreciate you sending to me through a Private Message here, with a description of what happened.
If you have any issues with the utility at all, please don't hesitate to reach out, here or in a Private Message. I'm keen to ensure the utility continues to function, and will update it when/if the game makes changes that require it. If there are other portrait packs out there, please let me know, and I will look at incorporating them.
- Caligari
NawlinsFan
01-05-2024, 07:00 PM
Can't get the exe link to DL
Caligari
01-05-2024, 07:00 PM
Just worth my noting that the exe file I've created has not been vetted by Microsoft, so you may well be told to consider it carefully before running it. There isn't anything I can do about that, at the moment, as I have no intention of going through the approvals process for this little utility.
Caligari
01-05-2024, 07:03 PM
Can't get the exe link to DL
My browser tells me that it is not a secure location (I'm not using https), but lets me push past that. (and does it a second time).
I can look at moving it to another download location, if it is a problem.
Caligari
01-05-2024, 07:05 PM
Please try the google drive download link I just added, if you have any problems!
NawlinsFan
01-05-2024, 07:08 PM
Please try the google drive download link I just added, if you have any problems!
FYI - states I need permission and once I request it tells me to wait for an email with approval. I don't think you want to deal with emails like that.
NawlinsFan
01-05-2024, 07:11 PM
Got it from the origianl! Had to copy and open the link in a new window and it DL'd from there.
Caligari
01-05-2024, 07:12 PM
FYI - states I need permission and once I request it tells me to wait for an email with approval. I don't think you want to deal with emails like that.
Gah! You can tell I don't do this often!
I've changed the link to be shared, so it should not ask about that. Sorry for the fuss.
https://drive.google.com/file/d/1oBev36SZ8i-CCp64oWLQjHub0-rdX3P5/view?usp=sharing (also changed in the first post)
Thanks for the help!
NawlinsFan
01-05-2024, 07:18 PM
Does it matter where the game is installed? My saved files are on C: but the game is on F: as well as the facepack. I am getting an unable to load player file error.
Sorry.
Caligari
01-05-2024, 07:19 PM
Does it matter where the game is installed? My saved files are on C: but the game is on F: as well as the facepack. I am getting an unable to load player file error.
Sorry.
Hmmm. Can you send me the output file it should have generated. I can fix that up, I'm sure.
NawlinsFan
01-05-2024, 07:21 PM
Not sure if this helps any:
[INFO][fof9_faceworks]: Starting
[INFO][fofdata]: finding fof9 leagues
[WARN][fofdata]: league has no meta data: C:\Users\nbrya\AppData\Local\Solecismic Software\Front Office Football Nine\saved_games\1970 Logos
[WARN][fofdata]: league has no meta data: C:\Users\nbrya\AppData\Local\Solecismic Software\Front Office Football Nine\saved_games\AU01 Logos
[WARN][fofdata]: league has no meta data: C:\Users\nbrya\AppData\Local\Solecismic Software\Front Office Football Nine\saved_games\Facepack
[WARN][fofdata]: league has no meta data: C:\Users\nbrya\AppData\Local\Solecismic Software\Front Office Football Nine\saved_games\NFL logos
[WARN][fofdata]: league has no meta data: C:\Users\nbrya\AppData\Local\Solecismic Software\Front Office Football Nine\saved_games\NFL Logos 2
[WARN][fofdata]: league has no meta data: C:\Users\nbrya\AppData\Local\Solecismic Software\Front Office Football Nine\saved_games\NFL logos 3
[WARN][fofdata]: league has no meta data: C:\Users\nbrya\AppData\Local\Solecismic Software\Front Office Football Nine\saved_games\UFL logos
[WARN][fofdata]: league has no meta data: C:\Users\nbrya\AppData\Local\Solecismic Software\Front Office Football Nine\saved_games\WFL logos
[INFO][fof9_faceworks::app]: League selected: WFL
[INFO][fof9_faceworks::app]: selected WFL
[ERROR][fof9_faceworks::players]: unable to read players file:
╺━━━━━━━━━━━━━━━━━━━━┅ Backtrace ┅━━━━━━━━━━━━━━━━━━━━╸
0: [1m[1mError: not enough bytes in reader[22m
[1mWhile parsing field 'string' in FixedString[22m[22m
at D:\Development\Projects\fofdata\src\fof9_utility.rs:17
1: [1mWhile parsing field 'lastname' in StaffData9[22m
at D:\Development\Projects\fofdata\src\fof9_playerdata.rs:187
2: [1mWhile parsing field 'staff' in Players9Data[22m
at D:\Development\Projects\fofdata\src\fof9_playerdata.rs:151
╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸
[INFO][fof9_faceworks::app]: number of unassigned players: 0
[DEBUG][fof9_faceworks::app]: number of previously assigned players: 0
[DEBUG][fof9_faceworks::app]: .\By Position.zip is not found: The system cannot find the file specified. (os error 2)
[DEBUG][fof9_faceworks::app]: .\FOF Fictional Facepack version 1.zip is not found: The system cannot find the file specified. (os error 2)
[INFO][fof9_faceworks::app]: available images: 0
[DEBUG][fof9_faceworks::app]: used images: 0
NawlinsFan
01-05-2024, 07:23 PM
Time out, think I know. I am using the "all.zip" file and not the by position file. Let me retry this.
Caligari
01-05-2024, 07:26 PM
Not sure if this helps any:
Ah, ok.
It does find your leagues, but it is having trouble with your player data file. Which means I've missed something that differs from my saves and the ones people have used it on so far. I'll contact you directly.
NawlinsFan
01-05-2024, 07:30 PM
Ok, exe read the zip file, recognized the 90k+ images but did not assign them. ???
[INFO][fof9_faceworks::app]: number of unassigned players: 0
[DEBUG][fof9_faceworks::app]: number of previously assigned players: 0
[INFO][fof9_faceworks::app]: found .\By Position.zip, By Position style
[DEBUG][fof9_faceworks::available]: loading distribution By Position.zip with 0 already used
[DEBUG][fof9_faceworks::app]: .\FOF Fictional Facepack version 1.zip is not found: The system cannot find the file specified. (os error 2)
[INFO][fof9_faceworks::app]: available images: 98303
[DEBUG][fof9_faceworks::app]: used images: 0
Caligari
01-05-2024, 07:34 PM
Ok, exe read the zip file, recognized the 90k+ images but did not assign them. ???
[INFO][fof9_faceworks::app]: number of unassigned players: 0
[DEBUG][fof9_faceworks::app]: number of previously assigned players: 0
[INFO][fof9_faceworks::app]: found .\By Position.zip, By Position style
[DEBUG][fof9_faceworks::available]: loading distribution By Position.zip with 0 already used
[DEBUG][fof9_faceworks::app]: .\FOF Fictional Facepack version 1.zip is not found: The system cannot find the file specified. (os error 2)
[INFO][fof9_faceworks::app]: available images: 98303
[DEBUG][fof9_faceworks::app]: used images: 0
Right, it isn't reading your player data properly, so it literally doesn't know you have any players to assign portraits to ("number of unassigned players: 0"). :)
Caligari
01-05-2024, 07:58 PM
(Looking at NawlinsFan's data, and will post an update when I have it sorted. Could be a day or so, depending on the time I can set aside, and the nature of the data mismatch.)
Caligari
01-06-2024, 07:25 PM
I have fixed the issue NawlinsFan reported, and put up new versions of the utility (1.0.1). Thanks so much for reporting the error, NawlinsFan!
cupofjoe
01-07-2024, 06:35 AM
Thanks for this!
I'm attempting to play FOF9 over Whisky on my Mac.
It appears that it runs fine but with some weird graphic issues here and there.
This is a longshot because what i'm doing is more of a niche, but I'm getting an error when I try to open up this utility on whisky.
"[ERROR][eframe::native::run]: Exiting because of error: glutin error: extension to create ES context with wgl is not present during event Resumed"
I'm not very technical, but could anybody help me decipher this?
Caligari
01-07-2024, 08:42 PM
Hmmm. It is referring to the libraries I use for the UI. I'll have to dig in and see if I can work out why that doesn't work. I might have to see if I can install whisky here and try it out!
cupofjoe
01-08-2024, 12:25 PM
Hmmm. It is referring to the libraries I use for the UI. I'll have to dig in and see if I can work out why that doesn't work. I might have to see if I can install whisky here and try it out!
Haha only if you have time. I’m sure me and some other Mac users would appreciate it
Olsson
01-08-2024, 01:58 PM
Thanks for this Caligari (and portrait makers).
It's brilliant!
Caligari
01-08-2024, 08:04 PM
Hmmm. It is referring to the libraries I use for the UI. I'll have to dig in and see if I can work out why that doesn't work. I might have to see if I can install whisky here and try it out!
The initial response is that it isn't clear what is going on in the library, but others have seen similar issues in similar cases. From what I understand it might not be something that I can fix directly.
That said, I'll see if I can generate a mac version of the utility which can find the same data. Theoretically that should not be hard, but I don't know enough about what Whisky is doing to be certain of where it puts FOF9's files.
More work being done (but might take a few days).
ZappaPhreak
01-09-2024, 08:10 AM
I'm getting that same error:
[ERROR][eframe::native::run]: Exiting because of error: glutin error: extension to create ES context with wgl is not present during event Resumed
Running on Windows 10. So I don't think it's a Mac/Whisky thing... Is it a Windows 10 thing maybe? Or are there some other dependencies we don't have on our machines?
cupofjoe
01-09-2024, 09:20 AM
I'm getting that same error:
[ERROR][eframe::native::run]: Exiting because of error: glutin error: extension to create ES context with wgl is not present during event Resumed
Running on Windows 10. So I don't think it's a Mac/Whisky thing... Is it a Windows 10 thing maybe? Or are there some other dependencies we don't have on our machines?
My whisky configuration is Windows 10 as well.
Caligari
01-09-2024, 11:50 PM
Oh! I'll look into that, then. I'm on Windows 11, but I might have a Windows 10 machine I can try things out on, still...
Caligari
01-09-2024, 11:58 PM
Are people getting that error able to check whether they have the most up-to-date graphics drivers? (I don't even know if it is possible to change them in Whisky?) That is apparently the usual problem in these sorts of errors with the GUI library I'm using.
cupofjoe
01-11-2024, 09:20 AM
Are people getting that error able to check whether they have the most up-to-date graphics drivers? (I don't even know if it is possible to change them in Whisky?) That is apparently the usual problem in these sorts of errors with the GUI library I'm using.
I've changed everything I can change in Whisky to make it work. I've changed different windows versions and the limited graphics options, but the same error everytime.
Don't worry about it. It is the choice I have to make, I do have an old windows laptop that is still chugging along...if I want to use the program I can play through that, or stick with my mac without the program.
cupofjoe
01-15-2024, 10:22 AM
The program works fine on my windows laptop. I think what I might do is sync the files between the windows and mac with a cloud and run the program whenever I need to on the windows. I'm assuming I need to do this after every draft?
Caligari
01-16-2024, 12:54 AM
Every time you add new players, I think
garion333
01-19-2024, 03:39 PM
Well, this tool is awesome. Worked the first time I used it too! Thanks!
Caligari
01-20-2024, 02:37 AM
Glad to help!
Simply the best tool for FoF9.
THANK YOU.
HansMellman
09-07-2025, 10:37 AM
Thanks for this, worked like a treat first time.
Caligari
09-07-2025, 09:02 PM
I'm so glad this continues to be of use for people. :thumbsup:
I wish I had more time to devote towards making tools; I really want to finish the stats tools I started back when the game launched!
KingZal
09-17-2025, 01:59 PM
I'm so glad this continues to be of use for people. :thumbsup:
I wish I had more time to devote towards making tools; I really want to finish the stats tools I started back when the game launched!
What kind of stat tools were you working on? No pressure if you don't have the time these days, I'm just curious
vBulletin v3.6.0, Copyright ©2000-2026, Jelsoft Enterprises Ltd.