With the D1 mini, are you contained to the WiFi hotspot, or can you also be connected to your home network at the same time like the Pi? I ask because I like not having to switch networks on the PS4 when I want to send pkgs over from my PC.
You can have the D1 mini set up as an access point + connect if to your home network at the same time. You just need to set up the Pi so it is connected to your router, then set the di mini up so that the ip is on the same range as your pi is (set static IP's on your pi + d1 mini so you don't get confused).
When the pi is on 192.168.0.9 and the di mini is on 192.168.0.10 - they are both on the same network and both use your routers wifi, the ps4 is set up to use the routers wifi, just point the ps4 web browser to 192.168.0.10 and the hack will run.
//-------------------DEFAULT SETTINGS------------------//
//create access point
boolean startAP = true;
String AP_SSID = "PS4-D1-Mini";
String AP_PASS = "password";
IPAddress Server_IP(192,168,0,10);
IPAddress Subnet_Mask(255,255,255,0);
//connect to wifi
boolean connectWifi = true;
String WIFI_SSID = "mrdude";
String WIFI_PASS = "password";
//server port
int WEB_PORT = 80;
//-----------------------------------------------------//
D1 has an admin page where you can update your files + change wifi settings etc.
You can grab the files from here:
https://github.com/stooged/PS4-Server-900u
Also if using arduino IDE -grab this plugin for sending the data files:
https://github.com/esp8266/arduino-esp8266fs-plugin
If you want to block the ps4 from being able to reach ps servers - you can put pi-hole on your raspberry pi and block access with that. You can use these wildcards in the blacklist settings.
(\.|^)playstation\.net$
(\.|^)akadns\.net$
Also here's some decent info if you want to mod the sketch to your own needs for wifi stuff:
https://randomnerdtutorials.com/esp8266-nodemcu-static-fixed-ip-address-arduino/