Using XP2blender 4.3.3 when using a spot_params_bb_pm light the exported light is !
LIGHT_PARAM spot_params_bb_pm 0.0 0.45 0.0 0.5 0.1 0 500cd 0.0 1.0 0.0 0.20009367
however it does not work, 500cd is not interpreted and must be replaced by a value between 0 and XX
LIGHT_PARAM spot_params_bb_pm 0.0 0.45 0.0 0.5 0.1 0 1 0.0 1.0 0.0 0.20009367
