Editing In-Game Text

If I wanted to edit the in-game script so that tablets said different things in a playthrough, how would I go about doing that?  I figure it has something to do with decoding and re-encoding the script_code dat files, but I'm really not savvy with that sort of thing, so additional explanation would be much appreciated!