SimsLib

xezno

Member
How do you use SimsLib... I've looked everywhere. The source of PD. The Object Browser. LITERALLY EVERYWHERE. How doo you use it!?!??!? Me and [another user] are wondering how to use it and the only help we got so far is that everyone is busy, yet you all MOAN at us for using screenshots -_- ugh.
(Sorry I'm just... annoyed at loads of stuff)
 
If you can't figure out how to use it, I strongly suggest you learn more about the basics of programming...

FAR3Archive Archive = new FAR3Archive(path);
 
Afr0 said:
If you can't figure out how to use it, I strongly suggest you learn more about the basics of programming...

FAR3Archive Archive = new FAR3Archive(path);


The Far archive are easy, but when i search about iff files things changed and is not about c programming is about sims antics and hex editing...


By example how to define iffchunk, if there is no new chunk

i know chunk.resource can be= bmp, str, drgp, but there is nothing i can use to define the chunk.

Also if i create a new instance of string table, it request me that point chunk.data, but it is empty ....
 
OK now I'm about to seriously rage

THERE ARE NO COMMENTS IN THE CODE NO DOCUMENTATION NOTHING HOW AM I SUPPOSED TO KNOW HOW TO USE THIS THAT AND THE OTHER IF THERE IS NONE AND THD CODE IS IN C# WHEN IM USING VB AND...

Goodbye. I am probably quitting the forums now.
 
I have discovered how to implement it, the only problem is the lib have two big bugs, one prevent for bmp_ resource to be read correctly and the other one avoid to read iff files that not contain bhavs or strings tables...

By example cannot read all object images or any house iff files...

paw0.jpg
 
francot514: If the BMP_ resource isn't being read correctly, that's probably down to differences between TS and TSO.

Xezno: There are comments in SimsLib (many comments!), but none on how to use it, because the reader is assumed to have basic programming knowledge. If you can't wrap your head around it, take a look at the source for Iffinator - it should help you.
 
What is iffnator??? A program for tso iff files, becuase remember we are using it to different purposes, in my personal i need to read and write sims 1 iff, what can i actually do with simslib, with the exception that it did not recognize properly bhavs instructions and other chunks like: FAMS, NGHBS, TTRS.... like in houses.iff and neighborhood.iff
 
Yeah, those chunks are not in TSO. I already showed you where you can get information on the IFF format for The Sims - you can implement support for the missing chunks yourself!
 
Afr0 said:
Yeah, those chunks are not in TSO. I already showed you where you can get information on the IFF format for The Sims - you can implement support for the missing chunks yourself!

I really cant becuase those chunk are not been decoded in along time, ttas, nghs, fams, always been worked on hex editors, then is not necessary to do, but if i found a way to support for it then ill notice you about it...
 
Using iffnator source code i got reading bhavs primitives like this, what im missing:

5np1.jpg


(("WHAT [" & CInt(Val(P.Item(4)) & "]"))

(("WHAT [" & Conver.toInt32((P.Item(4)) & "]"))

(("WHAT [" & cInt(Acws(P.Item(4)) & "]"))
 
It won't work! I'm trying to read an image, and it won't work, it comes up with an error about it being in BYTE format!?!?
EDIT: Never mind, ITS WORKING! WOOT!
 
You will use simslib in the project dollhouse???, i have created a tool called iff explorer that read perfectly iff files 2.5 and far 1 archives.
 
My last discoveries allow me to edit the sims families and lots export files using the Simslib. Why??? Becuase theyre are iff files converted, you can open, read it and covert to iff type to be able to edit in tools like iff pencil, or hex editor.

Also i want to allow my program to read neighborhood.iff values to do that ill use some tool source code called Sims Edit:

http://sourceforge.net/projects/tsedit/


If you want to help me do that, ill apretiate it...
 
To make things easier, I put TSEdit on GitHub as TS1Edit2k. I'm also working on a fun little rewrite of the application, known as TS1EditSharp, though I thought of calling it TS1Edit3k or TS1EditX instead.
 
Last edited:
I know that, why you want to rewrite in csharp??? the application can be compiled and do what it need to do, but if you can improve it will be great and i be greateful with you for doing it... Im trying to make my sims ville roleplay able to edit sims attributes as better possible...
 
It's written in VisualBasic, a language very few of us know, and looking the first lines of code, is hard coded to build only for Windows. It would be easier to rewrite it in an more portable and easier to understand language such as CSharp, as well as provide more flexibility. Also doing it to gain experience in how The Sims work.
 
Back
Top