This is now unlisted as the steps are obsolete.
original post below
I followed this guide to mod my Borderlands 3 installation: https://www.reddit.com/r/borderlands3/comments/ibzvcz/hotfix_modding_tutorial_play_cartels_today_or_any/?sort=new.
The difference between my guide and the one from reddit is that i don’t want to install anything new, so having docker, i used that to run the needed software.
This is my docker-compose file:
version: "2.5"
services:
mitmproxy:
container_name: mitm
image: mitmproxy/mitmproxy
volumes:
- ./.mitmproxy:/root/.mitmproxy
- ./bl3hotfixmodding:/bl3
ports:
- 127.0.0.1:18080:8080
- 127.0.0.1:18081:8081
stdin_open: true # docker run -i
tty: true # docker run -t
environment:
- a=a
# entrypoint: '/bin/sh -c "stty rows 24 cols 80 && mitmdump -s /bl3/hfinject.py && mitmweb --web-host 0.0.0.0"'
entrypoint: '/bin/sh -c "stty rows 24 cols 80 && mitmdump -s /bl3/hfinject.py"'