Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a easier way to change IP in ppsspp?
11-04-2016, 12:28 PM
Post: #1
Is there a easier way to change IP in ppsspp?
Hey, so this might be a stupid question/thing to do but,

So i use Evolve to play PPSSPP games, PPSSPP is a PSP emulator and every time you want to play with someone you have to go into a party and enter the hosts IP adress into the PPSSPP emulator and i was just thinking if there is a faster/simpler way of doing it and if there is a API or SDK that shows the party hosts IP address , a screen shoot to make it easier to understand what i want to do.

remove the -

picture: h-t-t-p-s-Undecided-/

s18.postimg-.-org-/-h3xv-ct-389/775-5.-png

so what i want my program/script to do is to read the PPSSPP's Ini file and then show the current Pro Ad hoc Server IP and then set that adress to the IP of the party host, so a API or SDK would make it a lot easier to get the information from the Evolve client then using Cheat engine lol

basicly what i want is a simpler way to change the ip instead of having to go into thesetings and chnage it everytime i go to a new party, also note that im new to ppsspp and that i dont realy know if there is a better way of doing this, thank you Tongue

Also sorry if i misspelled
Find all posts by this user
Quote this message in a reply
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
07-13-2017, 01:57 PM
Post: #3
RE: Is there a easier way to change IP in ppsspp?
im pretty sure what you want to achieve can be done via .bat files

there are tons of forums and sites that can provide you help like stack overflow or something like that

what you want to search for INPUT command and text edit command inside file

this is bit complicated and i dont have much knowledge about it but im more than sure that its possible
its just question how much determined you are to reach your goal

if you happen to ask any questions in any sit about bat commands
ask this each as separate question since you will get answer faster and then combine outcome

- how to edit one line in text file with bat command
- how to place inputed text from bat window into text file
- how to edit specific text in one line with bat file in text file

rest would be just folder structure commands which are

like
%CD% < this will start process from folder where bat file is in
cd .. < go up one folder
cd App < goes into App folder (folder name can be different depending to which folder u wanna go for example cd program files or anything else)

sometimes string need to start like this
call "" "%cd%/ppsspp.exe"

after call this "" 2 marks need to be but i dont know why but with them everything will work
if even 1 folder is longer than i think 8 letters it whole path need to be inside this marks "" thats why its "%cd%/ppsspp.exe" and not %cd%/ppsspp.exe

you wont understand much from it now but when you start digging into it things i wrote above will help you alot

in the end you will be able to place shortcut to bat file lets say on desktop and click it then just copy and paste IP into bat window and just pressing enter will switch to pasted IP and launch ppsspp
you have every bit of informations you need to start rest is only your determination

Try AntiMicro graphical program used to map keyboard keys and mouse controls to a gamepad/controller.
http://forums.ppsspp.org/showthread.php?tid=12513
or http://www.x360ce.com
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: