Ecter's Trash
  • Home
  • Explore
  • D:/Games/
  • D:/Mine/
  • IFF Reader
  • IFF Reader

    It's here: ecter.neocities.org/iff-reader

    IFF Reader showing SP_Pig.iff by SimsPlus loaded into it

    There isn't much to say about this. I tried to see if i can write something that parses IFF files used for content in The Sims (both the 2000 original and the recent rerelease).

    The original goal was to make something that would output catalog descriptions of furniture found in an IFF file. Haven't finished it, because i gave up trying to parse sprites needed to draw the thumbnail (if the prerendered one wasn't present in the file).

    But the approach was flawed. Trying to work with jDataView library in JS wasn't easiest, and it limited my options for future improvements (i'd have to rewrite everything if i wanted to add a way to edit IFF files in it).

    At least i learned more about how IFF files are structured, so any future attempts will be slightly easier c:

    Next time i'll just try to use C# and import libraries from FreeSO project.

    If you wanna try it out

    Good luck. It's provided as is (and i can't guarantee it won't blow up literally a week after i post this). If you have IFF files with either custom content or extracted from the game, you can give it a try. It's not using any kind of backend, all parsing is going to happen in your browser.

    P.S.: Shout out to SimFreaks discord server and all the helpful people there! Their creativity tends to inspire me to keep making stuff here or there. Even if it's a doomed IFF parser :v

    /d/mine/iff-reader/