spacemeowx2 / switch-lan-play

Enjoy games with your friends as if you were on a LAN.
GNU General Public License v3.0
1.81k stars 190 forks source link

Simple Feature : Option to Change PCAP Settings (10.13.37.1/10.0.0.0/255.255.0.0) with an argument #148

Open mathias-tavernier-roux opened 1 year ago

mathias-tavernier-roux commented 1 year ago

Hello, I open a github issue to propose adding an argument to lan play

the objective of this argument will be to change the parameters of the network targeted by PCAP (Currently 10.13.37.1/10.13.0.0/255.255.0.0) at the start of the application

for example with the following argument --ip-pool

why ask for such a function if the network currently in place works?

I can give 3 reasons

by integrating this function, we can use an external script (.bat for example) to open several instances of Lan Play (for example two IP ranges per console) ranges 1 to 127 for WiFI and Ethernet users who accept Wifi users ranges 128 to 254 for Ethernet users who do not accept Wifi users

exemple for PS4 (imagining that the identifier dedicated to the switch is 10) 10.0.0.2-10.255.255.254: Wi-Fi / Ethernet 138.0.0.2-138.255.255.254: Ethernet Only

exemple for PS4 (imagining that the identifier dedicated to the PS4 is 11) 11.0.0.2-11.255.255.254: Wi-Fi / Ethernet 139.0.0.2-139.255.255.254: Ethernet Only

this would allow under these conditions to support (in a context where the subnet mask 255.0.0.0 is used

I hope that this function will be added because it will simplify even more the use of lan play (I tried to set it up but without success (Web development and machine development are so different)

thanks in advance

Mathias Tavernier-Roux

mathias-tavernier-roux commented 1 year ago

thank you for reading my idea do you think this option (if accepted) will be complicated to implement?