I had a dope-ass reply but accidentally closed the tab and now I'm pissed off.
I learned how to extract data from binary files and in my case, extract files from the UIGraphics.far file from The Sims 1.
The basic idea is to search the file for known file headers and extract that data. Since I know The Sims 1 uses .bmps I search for bmp file headers and when I do, I extract it. This is the file format for bmps which you need to read to do this: https://en.wikipedia.org/wiki/BMP_file_format
There are more file formats than bmps in there and I'm working on them. The code I have feels pretty hacky, maybe I'll clean it up sometime.