Ok, turns out that is because I needed to set the modlauncher to run in admin mode. So now the game loads, but I get a new set of errors This is what my file looks like, did I do something wrong?
[XComGame.X2SoldierClass_DefaultClasses]
+SoldierClasses=Rogue
[Rogue X2SoldierClassTemplate]
+bMultiplayerOnly=0
+ClassPoints=4
+IconImage="img:///UILibrary_RogueMod.class_rogue"
+NumInForcedDeck=1
+NumInDeck=4
+KillAssistsPerKill=4
+SquaddieLoadout="SquaddieRogue"
+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="rifle")
+AllowedWeapons=(SlotType=eInvSlot_SecondaryWeapon, WeaponType="pistol")
+AllowedArmors="soldier"
+bAllowAWCAbilities=1
; squaddie
+SoldierRanks=( aAbilityTree=( (AbilityName="PistolStandardShot", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon), (AbilityName="Phantom")),
aStatProgression=((StatType=eStat_Offense,StatAmount=3), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=35), (StatType=eStat_CombatSims,StatAmount=1)), )
; corporal
+SoldierRanks=( aAbilityTree=( (AbilityName="Shadowstrike", ApplyToWeaponSlot=eInvSlot_Unknown), (AbilityName="Shadowstep", ApplyToWeaponSlot=eInvSlot_Unknown) ),
aStatProgression=((StatType=eStat_Offense,StatAmount=3), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)), )
; sergeant
+SoldierRanks=( aAbilityTree=( (AbilityName="RunAndGun"),(AbilityName="ReturnFire", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon) ),
aStatProgression=((StatType=eStat_Offense,StatAmount=3), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)), )
; lieutenant
+SoldierRanks=( aAbilityTree=( (AbilityName="CoveringFire", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon), (AbilityName="LightningHands", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon) ),
aStatProgression=((StatType=eStat_Offense,StatAmount=2), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=1), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)), )
; captain
+SoldierRanks=( aAbilityTree=( (AbilityName="EverVigilant", ApplyToWeaponSlot=eInvSlot_Unknown) , (AbilityName="Quickdraw") ),
aStatProgression=((StatType=eStat_Offense,StatAmount=2), (StatType=eStat_HP,StatAmount=0), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)), )
; major
+SoldierRanks=( aAbilityTree=( (AbilityName="Sustain", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon), (AbilityName="Faceoff", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon) ),
aStatProgression=((StatType=eStat_Offense,StatAmount=1), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)), )
; colonel
+SoldierRanks=( aAbilityTree=( (AbilityName="RapidFire", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon), (AbilityName="FanFire", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)
),
aStatProgression=((StatType=eStat_Offense,StatAmount=1), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=1), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)), )