[!Caution] Back to the Dawn has switched from using mono to using il2cpp which means that this mod needs to use BepInEx 6..... The latest state of main has the necessary changes but readme changes are still TODO
A BepInEx plugin that adds rich discord presence support for the game Back to the Dawn. It uses the Discord GameSDK to communicate with Discord to set the rich presence. Internally it uses Monomod Runtime detours for game functions to keep track of the current game state, which is then interpreted to define the rich presence.
At the time of writing the images for locations are incomplete. Please refer to Asset Status for the latest state of available images.
Character | Image |
---|---|
Thomas | |
Bob | |
Reed |
In-game time is shown as Day X [HH:mm] where HH
is 24 hours time and mm
always shows two digits.
The integration makes use of a Discord application in order to refer to assets (as opposed to using links). This means that any asset must be uploaded to the appropriate Discord app and the associations references explicitly defined in the mod must be maintained.
Refer to the Asset Status section to see the current state of images.
This is a BepInEx plugin which can be installed by being placed in the
Simply have Discord open while running the game. If you notice that your presence is changed to playing Back to the Dawn but no other information is visible it may be that Discord has auto-detected Back to the Dawn and is showing that instead of the rich presence. In order to solve this, disable detection of the Back to the Dawn game with a verified mark under Discord User Settings -> Activity Settings -> Registered Games.
Ensure the eye icon which is for detection is red or disabled
Things should work out of the box... If not please create an issue.
Your mileage may vary, it appears that the native Discord client works just fine (provided you define a RPC bridge, if needed). If you are using a solution that relies on arrpc you may find that the game process detectables trumps this mod (refer to detectables.json).
Modify GameDir in Common.props to point to your game installation location
Opening the solution in Visual Studio or Rider should automatically download the appropriate Discord GameSDK files.
./build/GetDiscordSDK.targets
file. Currently it is a bit brittle but was fun to make :)Note that project build will try to copy plugin DLL to the BepInEx plugin directory but will not copy discord sdk native dll. This needs to be done manually until an extra build task is added.
This mod relies on generated runtime detour hooks which can be automatically generated with Bepinex.Monomod.HookGenPatcher. You may also further reduce the size of the generated file with the use of LighterPatcher.
Identifier | Type | Status | Image | Notes |
---|---|---|---|---|
main_menu | MapAsset | ✔️ | ||
map_recreation_yard | MapAsset | ✔️ | ||
map_main_building | MapAsset | ✔️ | ||
map_cell_block_a | MapAsset | ✔️ | ||
map_cell_block_b | MapAsset | ✔️ | ||
map_cell_a207 | MapAsset | ✔️ | ||
map_cell_a103 | MapAsset | ✔️ | ||
map_bathroom | MapAsset | ✔️ | ||
map_general_building | MapAsset | ✔️ | ||
map_barbershop | MapAsset | ❌ | Not accessible yet | |
map_chapel | MapAsset | ✔️ | ||
map_cafeteria | MapAsset | ✔️ | ||
map_hiding_place | MapAsset | ❌ | ||
map_infirmary | MapAsset | ✔️ | ||
map_segregation | MapAsset | ✔️ | ||
map_laundry_room | MapAsset | ❌ | ||
map_sewage_treatment_room | MapAsset | ❌ | ||
map_kitchen | MapAsset | ❌ | ||
map_guards_room | MapAsset | ❌ | ||
map_roof_site | MapAsset | ✔️ | ||
map_wardens_office | MapAsset | ❌ | ||
map_visit_room | MapAsset | ❌ | ||
map_conjugal_visit_room | MapAsset | ❌ | ||
map_court | MapAsset | ❌ | ||
map_pipe_area | MapAsset | ❌ | ||
map_central_garden | MapAsset | ❌ | ||
map_sewage_pipe | MapAsset | ❌ | ||
map_sewer | MapAsset | ❌ | ||
map_mixing_room | MapAsset | ❌ | ||
map_mailroom | MapAsset | ❌ | ||
map_apartment_block | MapAsset | ❌ | ||
map_college_dorm | MapAsset | ❌ | ||
map_inmate_property_storeroom | MapAsset | ❌ | ||
map_back_room_club | MapAsset | ❌ | ||
map_rooftop_tool_shed | MapAsset | ✔️ | ||
map_fallen_angels | MapAsset | ❌ | ||
map_private_room | MapAsset | ❌ | ||
map_backstage_corridor | MapAsset | ❌ | ||
map_dressing_room | MapAsset | ❌ | ||
map_inner_hall | MapAsset | ❌ | ||
map_chaplains_lounge | MapAsset | ❌ | ||
map_kitchen_cellar | MapAsset | ❌ | ||
map_cooking_room | MapAsset | ❌ | ||
map_operating_room | MapAsset | ❌ | ||
map_electrical_room | MapAsset | ❌ | ||
map_house_in_the_suburbs | MapAsset | ❌ | ||
map_road_in_the_suburbs | MapAsset | ❌ | ||
map_visitation_corridor | MapAsset | ❌ | ||
map_ground_behind_infirmary | MapAsset | ❌ | ||
map_prison_cell_tower | MapAsset | ❌ | ||
map_drain_depths | MapAsset | ❌ | ||
map_tv_building | MapAsset | ❌ | ||
map_hospital_ward | MapAsset | ❌ | ||
map_city_cemetery | MapAsset | ❌ | Not accessible yet | |
map_border_checkpoints | MapAsset | ❌ | ||
map_fighters_room | MapAsset | ❌ | ||
map_vip_box | MapAsset | ❌ | ||
map_boxing_ring | MapAsset | ✔️ | ||
map_casino_alley | MapAsset | ❌ | ||
character_thomas | CharacterAsset | ✔️ | ||
character_reed | CharacterAsset | ✔️ | ||
character_bob | CharacterAsset | ✔️ |