0x1C is for hidden FAT32, which is actually not. AFAIK SD card specifications ignore all but 1st partition, so it is safe to use non-hidden partition. I choosed type 0xD3 as it looks like was not reserved (0x3D was already reserved

), so if you agree we could use the same.
Sorry, did not check your sources throughly - too much hardcode IMO.
Pity GW screwed NSCD header placement. Will check and fix in rxTools. I could autofix it with the end-of-partitions placement, but will be worthless because won't be compatible with GW and existing tools, while plain/RedNAND placed at the flash 1/4Mb boundry should be way faster.