Not sure exactly where it is, but I'm very sure it just dumps part of the memory as the save file which contains the part of the loaded path.
Maybe if you search for your slig id's or whatever if in the right path file you'll find part of the file is that is almost exactly like the save file. It won't be exactly the same cause it changes some bytes to mark it as "loaded" and whatever else it might do.
How do you know where the array of screens end? I found this offset is hard coded into the game exe for every path

So I guess you just manually look for it?