I've seen alot of topics on the internet about this problem and eventually found out the solution by myself.
I wanted to use a .sav from an emulator to play a backup on my DS. The problem was that simply replacing
the .sav resulted in a save corrupt message, or didn't work. This is how I fixed...