Did you use a Tilemap tool to edit the RAW file? If not, that is what you need to do (The Raw file is normally, in unlz, the one after the titlescreen, when on it, go to Save RAW, or whatever. Open it in NTME, then you should be able to edit it. Also, use APE to edit the pallette, if needed.)
I do know the theory, but not exacts.