Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a easier way to change IP in ppsspp?
07-12-2017, 05:47 PM
Post: #2
RE: Is there a easier way to change IP in ppsspp?
hi this is a .ahk script i used before on Evolve

PHP Code:
/*
PPSSPP IP Changer simple ip changer
*/

IF Not A_IsAdmin
{
   
Run *RunAs "%A_ScriptFullPath%"
   
ExitApp
}

#SingleInstance, Force

IfNotExist,ppsspp.ini
{
MsgBox,, INI file not found,Can't find  ppsspp.ini!
ExitApp
}


Gui, Add, Text,, Pro Ad hoc Server IP:
Gui, Add, Text,, Evolve Party Host IP:

Gui, Add, Edit,disabled vCurrentIP ym
Gui, Add, Edit, vPartyIP

Gui, Add, Button, gChange, Change to Host IP

IniRead,IP,ppsspp.ini,SystemParam,proAdhocServer
GuiControl,,CurrentIP,%IP%
GuiControl,,PartyIP,%PartyIP%

Gui, Show,, PPSSPP IP Changer
return 


GuiClose:
ExitApp

GetHost:
Gui, Submit,nohide
MsgBox getting host ip from the Evolve party
return

Change:
Gui, Submit,nohide 

IF ( CheckIP(PartyIP) = 1)
{
IniWrite,%PartyIP%,ppsspp.ini,SystemParam,proAdhocServer
GuiControl,,PartyIP,%PartyIP%
IniRead,IP,ppsspp.ini,SystemParam,proAdhocServer
GuiControl,,CurrentIP,%IP%
GuiControl,,PartyIP,
}
else
{
MsgBox Not a valid IP adress
}
return


CheckIP(a) {
   Loop, Parse, a, .
   {
      If A_LoopField is digit
         If A_LoopField between 0 and 255
            e++
      c++
   }
   Return, e = 4 AND c = 4

Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Is there a easier way to change IP in ppsspp? - floowsnaake - 07-12-2017 05:47 PM

Forum Jump: