AMPED icons - how to get object IDs for use in custom JSON Pin Packs

1) Load game with plugin setup and enabled
2) Enable logging in plugin config, and enable all logging options
(if using Configuration Manager, press F1, find AMPED section, expand it, and at the bottom of AMPED sections check all boxes for logging)
3) Play game, get close to objects you want to pin later, etc
4) Disable logging (F1, uncheck all logging boxes)
5) Close game
6) Get log file from "\Valheim\BepInEx\LogOutput.log"
7) Copy whole log data
8) Open Excel, blank workbook
9) Paste everything from log file in column A
10) Select whole column A and in Data tab click "Remove Duplicates" button, OK, OK
11) Keep column A selected, press Ctrl+H (Replace)
Find what (exclude quotes please):
first this:
"[Info   : "
second this:
"[Info   :"
Replace with: (nothing, both times)
Replace All (both times)
OK, Close
12) Keep column A selected, in Data tab click "Text to Columns" button
Delimited, Next
Other: ]
Next
Select all columns and set to "Column data format" to "Text"
Finish
13) Click cell A1, Alt+I, R -> inserts row
14) A column name = plugin ; B column name = Message 1 ; C column name = Message 2
15) In Data tab click "Filter" button
16) Click dropdown arrow at "plugin" (A1 cell), uncheck "(Select all)", then check only "AMPED - Auto Map Pins Enhanced"
17) Select column C, press Ctrl+H (Replace)
Find what (exclude quotes please):
first this:
"Found "
Replace with: (nothing)
Replace All, OK

then this:
" at "
Replace with:
"|"
Replace All, OK, Close
18) Keep column C selected, in Data tab click "Text to Columns" button
Delimited, Next
Other: |
Next
Select all columns and set to "Column data format" to "Text"
Finish
20) Select whole C column (filtered to AMPED), copy
21) Open new Sheet, and paste into column A1
22) Repeat step 10) (Remove duplicates)
23) Select column A, and in Data tab click "A-Z" Sort button
24) Scroll to lines starting like " Trying to add pin 102" and delete all lines with "Trying..." text, and do same with line "Message 2"
Select line numbers - Alt+E, D (Delete)
25) Select column A, in Data tab click "Text to Columns" button
Delimited, Next
Other: (
Next
Select all columns and set to "Column data format" to "Text"
Finish
26) Delete column B
27) Select column A, Replace all <space> with <nothing>, then Remove Duplicates, and Sort A-Z
(this is just a little extra cleanup)
28) You will be left with list of objects, such as ones below, from there you can just read through them and use them in JSON file

###################################
# SAMPLE DATA AFTER CLEANUP BELOW #
###################################

 $enemy_skeletonspawner
 $item_destructible_gucksack
 $piece_deposit_copper
 $piece_deposit_obsidian
 $piece_deposit_silvervein
 $piece_deposit_tin
 $piece_giant_bone
 $piece_giant_helmet
 $piece_giant_sword
 $piece_mudpile
 $prop_beech
 $prop_fir
 $prop_treelog
 $prop_treestump
 $prop_yggashoot
 AbandonedLogCabin04
 BlueberryBush
 CloudberryBush
 Crypt2
 Crypt3
 Crypt4
 Dolmen01
 Dolmen02
 DrakeNest01
 Grave1
 InfestedTree01
 Mistlands_DvergrTownEntrance2
 Mistlands_Giant1
 Mistlands_RoadPost1
 Mistlands_RockSpire1
 Mistlands_Statue2
 Pickable_BlackCoreStand
 Pickable_Branch
 Pickable_Dandelion
 Pickable_DragonEgg
 Pickable_DvergrMineTreasure
 Pickable_Flint
 Pickable_ForestCryptRemains01
 Pickable_ForestCryptRemains02
 Pickable_ForestCryptRemains03
 Pickable_Mushroom
 Pickable_Mushroom_JotunPuffs
 Pickable_Mushroom_Magecap
 Pickable_Mushroom_yellow
 Pickable_SeedCarrot
 Pickable_SeedTurnip
 Pickable_Stone
 Pickable_SurtlingCoreStand
 Pickable_Thistle
 RaspberryBush
 Ruin1
 Ruin2
 Runestone_Meadows
 Runestone_Mountains
 Runestone_Swamps
 ShipSetting01
 StoneHouse4
 StoneTowerRuins07
 SunkenCrypt4
 TrollCave02
 WoodHouse1
 WoodHouse13
 WoodHouse3
 WoodHouse4
 WoodHouse5
 WoodHouse6
 WoodHouse7

Article information

Added on

Edited on

Written by

LuxZg