Script to list faction reputation

I have recently been looking for factions that I am allied with so that I can find good missions to build up enough credits for a fleet carrier, and there doesn't seem to be any way in game or though tools like Inara to find a list of your reputation with different factions. I finally just created a powershell script that goes through all my journals and compiles a list of my most recent reputation with all factions I have encountered, and I figured I would share it for anyone else wants to look up the same info.

#BEGIN SCRIPT

$files = Get-ChildItem "C:Users<username>Saved GamesFrontier DevelopmentsElite Dangerous -Filter Journal.*.log | Sort-Object LastWriteTime -Descending

$finalList = @()

foreach ($f in $files){

$list = Get-Content $f |

ConvertFrom-Json |

where {$_.Docked -eq "True"; $_.event -eq "Location"}

foreach($factions in $list.factions) {

if($finalList.name -notcontains $factions.name){

$finalList += New-Object PSObject -Property @{name = $factions.name; reputation = $factions.MyReputation}

}

}

}

$finalList | Sort-Object -Property name | Format-Table

#END SCRIPT

Running this script in powershell will output a list like the below sample. Just make sure it has the correct path in the first line for where your journals are.

name reputation

—- ———-

Fer Doira Creative Group 0.000000

Fer Doira Crimson Crew 0.000000

Freedom Party of Fer Doira 0.000000

Independent Fer Doira Democrats 0.000000

Jet Major Incorporated 0.000000

Official Shen Yi Movement 19.000000

Platinum Imperia Mining Ltd 100.000000

The values appear to range from -100 to 100, with 0 being Neutral reputation. Also, the script can easily take a few minutes to run since the journals are pretty verbose and there is a lot of data for it to run though.

Source: https://www.reddit.com/r/EliteDangerous/comments/n9ib9p/script_to_list_faction_reputation/

leave a comment

Your email address will not be published. Required fields are marked *