Editing Online Connections

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
See also [https://www.psdevwiki.com/ps5/Online_Connections PS5 Online Connections].
{{wikify}}


= PS Store Activation =
'''Note:''' there is some reference on the [[Talk:Online_Connections|talk page]]


== URLs ==


PS Store content activation is often refered to as NP KDC.
==Online Connections==


On PS3, PSP and PS Vita:
===Game Related===
* https://commerce.np.ac.playstation.net/cap.m
(Playroom used for example URL's)
* https://commerce.np.ac.playstation.net/cdp.m
* https://commerce.np.ac.playstation.net/kdp.m


On PS4, the servers files are:
Game Description File:
* /tcap.m for acttype 1 and 3
http://tmdb.np.dl.playstation.net/tmdb2/CUSA00001_00_C32A667A087A40C2AD1889435907AA4B0D9DBA1F/CUSA00001_00.json
* /tcdp.m for acttype 2 and 4
* /tkdp.m for acttype 5 and 6


Usage on PS3, PSP and PS Vita:
Game Update Description File:
* cap should be Console Activation Point. Posting loginid, password (or epassword) and consoleid to tcap.m returns act.dat file.
http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00001_00/4/f_3b8e420561f0b85ff65ac428a15092895f3131e8c4cfd63b1547b32adb6d8370/f/IP9100-CUSA00001_00-PLAYROOM00000000-A0102-V0100.json
* cdp = Console Deactivation Point. Same as cap but the console removes the act.dat from the console after this is executed.
* kdp = ?Key Download/Drop Point?. RIF files are obtained from here


= Image And Video =
Game Update .pkg File:
http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00001_00/4/f_3b8e420561f0b85ff65ac428a15092895f3131e8c4cfd63b1547b32adb6d8370/f/IP9100-CUSA00001_00-PLAYROOM00000000-A0102-V0100.pkg


== Image API ==
=== Guides ===
* http://wololo.net/2013/12/05/howto-use-a-proxy-server-with-your-ps4-to-sniff-psn-traffic-skfu-pr0xy/


Sony servers provide an API to convert any image available on internet to another file format. Here is an example:
=== Tools ===
<pre>
* [http://www.skfu.xxx/2013/11/release-skfus-pr0xy.html SKFU's Pr0xy]
https://image.api.np.km.playstation.net/images/?format=png&w=4096&h=2160&image=https://pbs.twimg.com/profile_images/785892918645129216/1bmhzm0t.jpg
* [http://www.wireshark.org/ WireShark]
</pre>
* [http://www.charlesproxy.com/ CharlesProxy]
<pre>
https://image.api.np.km.playstation.net/dis/images/?format=png&w=4096&h=2160&image=https://pbs.twimg.com/profile_images/785892918645129216/1bmhzm0t.jpg
</pre>
 
Supported arguments are:
* image (mandatory): URL to the image
* format: "png" or "jpg"
* w: width in pixel. It is limited to 4096.
* h: height in pixel. It is limited to 2160.
 
The maximum size may be 8847360 pixels (4096 times 2160).
 
== Apollo 2 ==
 
=== General Content Image (PNG) ===
 
Format for image:
* https://apollo2.dl.playstation.net/cdn/<Publisher ID>/<NP Title ID>/<Media Hash>.png
 
Example for image:
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA07641_00/1LCo28ltZZQR97GC1eLk39PGA0PR7czx.png
* http://apollo2.dl.playstation.net/cdn/UT0027/CUSA01672_00/ZHBWSujrkUHoUtbEGwLcUySilbFlebpn.png
* http://apollo2.dl.playstation.net/cdn/UT0027/CUSA01672_00/ZtriMLx53LY5x0DuPZtC17t0MQZL7A3PozxEdM1jFpKsL0NsFdUuhHchtsPyrCTn.png
 
=== Free Content Media (JPG and MP4) ===
 
Format for general image:
* https://apollo2.dl.playstation.net/cdn/<Publisher ID>/<NP Title ID>/FREE_CONTENT<Media Hash>/<Filename Without Extension>.jpg
 
Format for screenshot:
* https://apollo2.dl.playstation.net/cdn/<Publisher ID>/<NP Title ID>/FREE_CONTENT<Media Hash>/PREVIEW_SCREENSHOT<Index>_<NP Title ID Hash>.jpg
* Index is an incremental decimal number starting from 1.
 
Format for general video:
* https://apollo2.dl.playstation.net/cdn/<Publisher ID>/<NP Title ID>/FREE_CONTENT<Media Hash>/<File Name Without Extension>.mp4
 
Format for preview video:
* https://apollo2.dl.playstation.net/cdn/<Publisher ID>/<NP Title ID>/FREE_CONTENT<Media Hash>/PREVIEW_<Preview Video Type>_VIDEO_<Content ID Hash>.mp4
* Preview Video Type can be TRAILER, GAMEPLAY or THEME.
 
Example for general image:
* https://apollo2.dl.playstation.net/cdn/EP0001/CUSA05287_00/FREE_CONTENTVWz5LqDHSrKOscRcBR5p/1.jpg
* https://apollo2.dl.playstation.net/cdn/EP0001/CUSA05287_00/FREE_CONTENTQite6Wbi3BAyohuFcm6W/2.jpg
* https://apollo2.dl.playstation.net/cdn/EP0001/CUSA05287_00/FREE_CONTENTb2E4qdbD3WQuxby1oYu0/3.jpg
* https://apollo2.dl.playstation.net/cdn/EP0001/CUSA05287_00/FREE_CONTENTVZJKXIkWVY9e8B8oNDwR/4.jpg
* https://apollo2.dl.playstation.net/cdn/UT0026/CUSA00448_00/FREE_CONTENTaa4yBZJbhMKfpaigAUcK/nhltv_PS4_game%20feeds.png
* https://apollo2.dl.playstation.net/cdn/UT0026/CUSA00448_00/FREE_CONTENTgCoN1PYRKQR3Ogrjxdpm/nhltv_PS4_videos.png
* https://apollo2.dl.playstation.net/cdn/UT0026/CUSA00448_00/FREE_CONTENTqW5WBk00ad86gtPPYhtg/nhltv_PS4_scores.png
* https://apollo2.dl.playstation.net/cdn/UT0026/CUSA00448_00/FREE_CONTENTrvTc4h1d4hILk8gIWlJD/nhltv_PS4_player_milestone_v3.png
* https://apollo2.dl.playstation.net/cdn/UT0026/CUSA00448_00/FREE_CONTENTYecb794gyV6gNnDIZXKx/nhltv_PS4_team_home.png
 
Example 2 for screenshot:
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA07641_00/FREE_CONTENTiF3e4k6MMxv5F274zzGp/PREVIEW_SCREENSHOT1_157890.jpg
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA07641_00/FREE_CONTENTZpjbSk3yPg5dhFPn6y2s/PREVIEW_SCREENSHOT2_157890.jpg
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA07641_00/FREE_CONTENTx1LZfGdPtmvITrAf2K2Y/PREVIEW_SCREENSHOT3_157890.jpg
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA07641_00/FREE_CONTENTPDK8p55nlgujKmxrUiDx/PREVIEW_SCREENSHOT4_157890.jpg
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA07641_00/FREE_CONTENTTz2kUCjINZDLGqbv70ig/PREVIEW_SCREENSHOT5_157890.jpg
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA07641_00/FREE_CONTENTyBOUl0bqmqzW1wb9K4jB/PREVIEW_SCREENSHOT6_157890.jpg
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA07641_00/FREE_CONTENTbuSMjetEPzGOS4QTRx4B/PREVIEW_SCREENSHOT7_157890.jpg
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA07641_00/FREE_CONTENTXIH1HuLrB9PxLTEPaFqB/PREVIEW_SCREENSHOT8_157890.jpg
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA07641_00/FREE_CONTENTEmzI98AqEromBan8bHGq/PREVIEW_SCREENSHOT9_157890.jpg
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA07641_00/FREE_CONTENT8i40PtDU9QHz9ehkjYcO/PREVIEW_SCREENSHOT10_157890.jpg
* https://apollo2.dl.playstation.net/cdn/UP8812/CUSA05210_00/FREE_CONTENTXDdI7BuwuFTnjpJftXRk/PREVIEW_SCREENSHOT3_139767.jpg
* https://apollo2.dl.playstation.net/cdn/UT0028/CUSA00933_00/FREE_CONTENTFsf9jPPZ8ToqKfwiUSSz/PREVIEW_SCREENSHOT1_62522.jpg
* https://apollo2.dl.playstation.net/cdn/UT0028/CUSA00933_00/FREE_CONTENTMCa4O1Gd69ivzxMiTbFK/PREVIEW_SCREENSHOT3_62522.jpg
* https://apollo2.dl.playstation.net/cdn/UT0028/CUSA00933_00/FREE_CONTENTRWkOtmippMZVrVyEpMJ5/PREVIEW_SCREENSHOT1_62522.jpg
* https://apollo2.dl.playstation.net/cdn/UT0028/CUSA00933_00/FREE_CONTENTShMTNRSJLEToHINMcXTc/PREVIEW_SCREENSHOT4_62522.jpg
 
Example for general video:
* https://apollo2.dl.playstation.net/cdn/UP0825/CUSA08238_00/FREE_CONTENTCoWxTAj4A5ZCGmHBXsQj/Slime-san_Trailer_PS4_WhiteESRB_NoLogo.mp4
* https://apollo2.dl.playstation.net/cdn/UP1001/CUSA13897_00/FREE_CONTENTrSVlJBdAXp3WEPYBfVB9/26757_BORDERLANDS2_VR_GameTrailer_720.mp4
 
Example for trailer video:
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA04485_00/FREE_CONTENTaKvnaQUsYtpwNivD0erC/PREVIEW_TRAILER_VIDEO_121085.mp4
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA04485_00/FREE_CONTENTj5n4R6UPrN9debTJTkW2/PREVIEW_TRAILER_VIDEO_108568.mp4
 
Example for gameplay video:
* https://apollo2.dl.playstation.net/cdn/UP1032/CUSA07641_00/FREE_CONTENTTwf3eX9qKc06QQDwtdzn/PREVIEW_GAMEPLAY_VIDEO_157890.mp4
* https://apollo2.dl.playstation.net/cdn/UP1001/CUSA13897_00/FREE_CONTENTgVMWw1Xa5bKxy959RBmC/PREVIEW_GAMEPLAY_VIDEO_169656.mp4
 
Exemple for theme video:
* https://apollo2.dl.playstation.net/cdn/EP4396/CUSA02938_00/FREE_CONTENTJsTND4rG83mt4q3suBBU/PREVIEW_THEME_VIDEO_504351.mp4
 
= Games and applications =
 
PlayStation 4 games and applications induce connection to internet to download updates, be downloaded in the case of contents bought on the PlayStation store, and some specific games use more connections for online gaming or diverse additional contents.
 
* See [[PKG files]] for more examples of known links.
 
== Title Database JSON ==
 
Format:
* http://tmdb.np.dl.playstation.net/tmdb2/<NP Title ID>_<NP Title ID Hash>/<NP Title ID>.json
 
Example:
* http://tmdb.np.dl.playstation.net/tmdb2/CUSA00001_00_C32A667A087A40C2AD1889435907AA4B0D9DBA1F/CUSA00001_00.json
 
== Game Base Descriptive Files ==
 
The listed files are non-exhaustive as there may be more images, more descriptive files involved depending on the application.
 
=== Icon ===
 
Format:
* http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/<NP Title ID>/<Revision>/i_<Hash>/i/icon0.png
 
Example:
* http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/CUSA00001_00/1/i_f10c33e5f30e3b3900a201af324a2a0e3912e843c1090d66e13f378151c1afa1/i/icon0.png
 
=== Pronunciation ===
 
Format:
* http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/<NP Title ID>/<Revision>/i_<Hash>/i/pronunciation.xml
 
Example:
* http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/CUSA00001_00/1/i_f10c33e5f30e3b3900a201af324a2a0e3912e843c1090d66e13f378151c1afa1/i/pronunciation.xml
 
=== Background Image ===
 
Format:
* http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/<NP Title ID>/<Revision>/i_<Hash>/i/pic0.png
 
Example:
* http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/CUSA00001_00/1/i_f10c33e5f30e3b3900a201af324a2a0e3912e843c1090d66e13f378151c1afa1/i/pic0.png
 
=== Background Music ===
 
Format:
* http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/<NP Title ID>/<Revision>/i_<Hash>/i/snd0.at9
 
Example:
* http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/CUSA00001_00/1/i_f10c33e5f30e3b3900a201af324a2a0e3912e843c1090d66e13f378151c1afa1/i/snd0.at9
 
== Game Base JSON ==
 
Format 1:
* http://gs2.ww.prod.dl.playstation.net/gs2/appkgo/prod/<NP Title ID>/<Revision>/f_<Hash>/f/<Content ID>.json
 
Format 2:
* "p" instead of "f"
 
Example 1:
* http://gs2.ww.prod.dl.playstation.net/gs2/appkgo/prod/CUSA00002_00/6/f_74aa3088026d5173abef0dd3efe1c244dbe6367a207ebdcc8f9db75f10d46270/f/EP9000-CUSA00002_00-KZ4RELEASE000041.json
* http://gs2.ww.prod.dl.playstation.net/gs2/appkgo/prod/CUSA00135_00/7/f_1c4c1e21047939a232efda8a5f36bbf352154696884b8b85520ef7ecb5726a6c/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT.json
 
Example 2:
* http://gs2.ww.prod.dl.playstation.net/gs2/appkgo/prod/NPXX51593_00/29/p_1d3de58acf7a876f49d493b6248c8a699131223d4ca2b6250614288d9b70ae3f/p/UX0001-NPXX51593_00-000000000RANDOM1.json
 
== Game Base PKG ==
 
Format 1:
* http://gs2.ww.prod.dl.playstation.net/gs2/appkgo/prod/<NP Title ID>/<Revision>/f_<Hash>/f/<Content ID><Suffix>.pkg
* It can be derived from the JSON URL by removing ".json" and appending "<Suffix>.pkg".
* Suffix can be blank or "_n" where n is a decimal digit representing the chunk number.
 
Format 2:
* "p" instead of "f"
 
Example 1:
* http://gs2.ww.prod.dl.playstation.net/gs2/appkgo/prod/CUSA00002_00/6/f_74aa3088026d5173abef0dd3efe1c244dbe6367a207ebdcc8f9db75f10d46270/f/EP9000-CUSA00002_00-KZ4RELEASE000041_0.pkg (from 0 to 9)
* http://gs2.ww.prod.dl.playstation.net/gs2/appkgo/prod/CUSA00135_00/7/f_1c4c1e21047939a232efda8a5f36bbf352154696884b8b85520ef7ecb5726a6c/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT_0.pkg (from 0 to 11)
 
Example 2:
* http://gs2.ww.prod.dl.playstation.net/gs2/appkgo/prod/NPXX51593_00/29/p_1d3de58acf7a876f49d493b6248c8a699131223d4ca2b6250614288d9b70ae3f/p/UX0001-NPXX51593_00-000000000RANDOM1.pkg
 
== Game Update XML ==
 
Contains link to the Delta Package if it exists, the PlayGo Manifest XML and the JSON.
 
Format:
* http://gs-sec.ww.np.dl.playstation.net/plo/np/<Title ID>/<Hash>/<Title ID>-ver.xml
 
Example:
* http://gs-sec.ww.np.dl.playstation.net/plo/np/CUSA00001/1123f23c1f00810a5e43fcb409ada7823bc5ad21b357817e314b6c4832cf6f9f/CUSA00001-ver.xml
* http://gs-sec.ww.np.dl.playstation.net/plo/np/CUSA00135/9228795a710cf58e86af98f8496dc2db2ec104abd199812ba9780b8b691327a9/CUSA00135-ver.xml
 
== Game Update JSON ==
 
Contains links to the chunks of PKG files for the non-cumulative patch.
 
Format:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/<NP Title ID>/<Patch Revision>/f_<Hash>/f/<Content ID>-A<Application Version>-V<Version>.json
 
Example:
* http://gs2.ww.prod.dl.playstation.net:80/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0114-V0100.json
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/21/f_06da3b33d65c72bc25dac70c5d3c5669addbe50a94e87cc644e5b9471101303f/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0118-V0100.json
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00001_00/4/f_3b8e420561f0b85ff65ac428a15092895f3131e8c4cfd63b1547b32adb6d8370/f/IP9100-CUSA00001_00-PLAYROOM00000000-A0102-V0100.json
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00001_00/9/f_ef965b581d35637dabc96366f29f1f0ece58c8fa9158b0eb7de9407ae72272e8/f/IP9100-CUSA00001_00-PLAYROOM00000000-A0107-V0100.json
 
== Game Update Change Information XML ==
 
Format:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/<Title ID>/<Patch Revision>/f_<Hash>/f/changeinfo<Language>.xml
* Language can be blank for English and a 2-digit decimal number for other languages
 
Example:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/changeinfo.xml
* http://gs2.ww.prod.dl.playstation.net:80/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/changeinfo_02.xml
* http://gs2.ww.prod.dl.playstation.net:80/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/changeinfo_03.xml
* http://gs2.ww.prod.dl.playstation.net:80/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/changeinfo_04.xml
* http://gs2.ww.prod.dl.playstation.net:80/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/changeinfo_05.xml
* http://gs2.ww.prod.dl.playstation.net:80/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/changeinfo_08.xml
* http://gs2.ww.prod.dl.playstation.net:80/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/changeinfo_09.xml
* http://gs2.ww.prod.dl.playstation.net:80/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/changeinfo_16.xml
* http://gs2.ww.prod.dl.playstation.net:80/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/changeinfo_20.xml
* http://gs2.ww.prod.dl.playstation.net:80/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/changeinfo_22.xml
 
== Game Update PlayGo Manifest XML ==
 
Contains information on how the package should be downloaded and installed.
 
Format:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/<NP Title ID>/<Patch Revision>/f_<Hash>/f/playgo-manifest.xml
 
Example:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00001_00/4/f_3b8e420561f0b85ff65ac428a15092895f3131e8c4cfd63b1547b32adb6d8370/f/playgo-manifest.xml
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00001_00/9/f_ef965b581d35637dabc96366f29f1f0ece58c8fa9158b0eb7de9407ae72272e8/f/playgo-manifest.xml
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/21/f_06da3b33d65c72bc25dac70c5d3c5669addbe50a94e87cc644e5b9471101303f/f/playgo-manifest.xml
 
== Game Update PKG ==
 
Format:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/<NP Title ID>/<Patch Revision>/f_<Hash>/f/<Content ID>-A<Application Version>-V<Version><Suffix>.pkg
* It can be derived from the JSON url by removing ".json" and appending "<Suffix>.pkg".
* Suffix can be blank or "-DP" for a Delta Package (i.e. a Cumulative Patch) or "_n" where n is a decimal digit representing the chunk number.
 
Example of a single non-cumulative update PKG:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00001_00/4/f_3b8e420561f0b85ff65ac428a15092895f3131e8c4cfd63b1547b32adb6d8370/f/IP9100-CUSA00001_00-PLAYROOM00000000-A0102-V0100.pkg
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00001_00/9/f_ef965b581d35637dabc96366f29f1f0ece58c8fa9158b0eb7de9407ae72272e8/f/IP9100-CUSA00001_00-PLAYROOM00000000-A0107-V0100.pkg
 
Example of a single Delta Package update PKG:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0114-V0100-DP.pkg
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/18/f_4248951340c7506a173e93c5258dff3b7526105fa4fda3524e1d7203762bf62c/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0115-V0100-DP.pkg
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/21/f_06da3b33d65c72bc25dac70c5d3c5669addbe50a94e87cc644e5b9471101303f/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0118-V0100-DP.pkg
 
Example of chunks of non-cumulative update PKG:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0114-V0100_0.pkg
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/17/f_2551ac3f2bac6b845f1691279dac779e051ebd2587c64261d0bedc1b120d4667/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0114-V0100_1.pkg
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/18/f_4248951340c7506a173e93c5258dff3b7526105fa4fda3524e1d7203762bf62c/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0115-V0100_0.pkg
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/18/f_4248951340c7506a173e93c5258dff3b7526105fa4fda3524e1d7203762bf62c/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0115-V0100_1.pkg
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/21/f_06da3b33d65c72bc25dac70c5d3c5669addbe50a94e87cc644e5b9471101303f/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0118-V0100_0.pkg
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/21/f_06da3b33d65c72bc25dac70c5d3c5669addbe50a94e87cc644e5b9471101303f/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0118-V0100_1.pkg
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/21/f_06da3b33d65c72bc25dac70c5d3c5669addbe50a94e87cc644e5b9471101303f/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0118-V0100_2.pkg
 
== Additional Content JSON ==
 
Format:
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/<NP Title ID>/<Addcont Revision>/f_<Hash>/f/<Content ID>.json
 
Example:
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA00135_00/312/f_c94f67a31c1380b702bf7afd2ec4e12ba15228414d0b7fb9c10e278cc8a28513/f/EP1018-CUSA00135_00-ETH0000000000079.json
 
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA01633_00/19/f_4176f85e114c462425174e17f4434b7ba201d6af8226a549388552e169b4c85d/f/UP0082-CUSA01633_00-HOLIDAYFREE00001.json
 
== Additional Content PKG ==
 
Format:
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/<NP Title ID>/<Addcont Revision>/f_<Hash>/f/<Content ID>.pkg
 
Example:
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA00135_00/312/f_c94f67a31c1380b702bf7afd2ec4e12ba15228414d0b7fb9c10e278cc8a28513/f/EP1018-CUSA00135_00-ETH0000000000079.pkg
 
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA01633_00/19/f_4176f85e114c462425174e17f4434b7ba201d6af8226a549388552e169b4c85d/f/UP0082-CUSA01633_00-HOLIDAYFREE00001.pkg
 
== Additional Content PKG Digest ==
 
Format:
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/<NP Title ID>/<Addcont Revision>/f_<Hash>/f/<Content ID>.sha
 
Example:
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA00135_00/312/f_c94f67a31c1380b702bf7afd2ec4e12ba15228414d0b7fb9c10e278cc8a28513/f/EP1018-CUSA00135_00-ETH0000000000079.sha
 
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA01633_00/19/f_4176f85e114c462425174e17f4434b7ba201d6af8226a549388552e169b4c85d/f/UP0082-CUSA01633_00-HOLIDAYFREE00001.sha
 
== Planet Side 2 ==
 
The [https://en.wikipedia.org/wiki/PlanetSide_2 Planet Side 2] game on PS4 hosted some files on a server owned by Sony. Most URLs had the prefix
<pre>
http://pls.patch.station.sony.com/patch/sha/
</pre>
 
== Rocket League ==
 
See [[Bugs]].
 
== Final Fantasy XIV: A Realm Reborn ==
 
See also the [https://na.finalfantasyxiv.com/a_realm_reborn official website], [https://na.finalfantasyxiv.com/lodestone/special/patchnote_log/ patchnote logs].
 
=== Free trial ===
 
There exists a free trial of Final Fantasy XIV for PS4 and PS5 on PS Store.
* https://store.playstation.com/en-us/product/UP0082-PPSA02954_00-FFXIVFREETRIAL00
The free trial lets you play for as long as you want for free, but with limitations. You are only being able to play through Stormblood, with social limitations, etc.
 
=== PlayStation Plus ===
 
You do not need a subscription to PlayStation Plus to be able to play FFXIV Online. It does, however, need a subscription to the game itself.
 
You can theoritically get a 30-day trial by registering on Square Enix website:
* https://freetrial.finalfantasyxiv.com/
 
=== Unusual update system ===
 
The game Final Fantasy XIV: A Realm Reborn tries to download an update patch before starting the game, instead of the official PKG way. It is yet to be confirmed which version of the game is affected.
 
It uses HTTP not HTTPS so can be hijacked using a proxy or DNS. The signatures are maybe unverified.
 
=== Example with CUSA00285 ===
 
After inserting for the first CUSA000285 disc in a PS4, information tells that it is version 1.00 and size 107KB.
 
After launching the game without internet connection and under a PSN account without PS Plus, it displays:
<pre>
Unable to complete version check.
[20013][-214323327]
</pre>
Then the game size becomes 38.19GB.
 
After launching the game without internet connection and under a local PS4 account, it displays:
Sign in to PlayStation Network to use network features (NP-31730-4)
 
Official Sony title patch URL:
http://gs-sec.ww.np.dl.playstation.net/plo/np/CUSA00285/164f85d343834aede6b9fec33120cb1fb74289174c65a5f6b689ed8d87130043/CUSA00285-ver.xml
 
Current latest game version is 10.88 and requires PS4 System Software version 12.00. Some older versions can be found on:
* https://orbispatches.com/CUSA00285
* https://psxpatches.com/details/CUSA00285
 
=== Example with CUSA00288 ===
 
Official Sony title patch URL:
http://gs-sec.ww.np.dl.playstation.net/plo/np/CUSA00288/a8511a86e5c175f42c0a476b7bf1487d981bf715d3ffa0bb912ef1ebcac6180c/CUSA00288-ver.xml
 
Current latest game version is 10.88 and requires PS4 System Software version 12.00. Some older versions can be found on:
* https://orbispatches.com/CUSA00288
* https://psxpatches.com/details/CUSA00288
 
=== vercheck.dat ===
 
The game executable downloads a file named vercheck.dat from
<pre>
https://web.archive.org/web/20171226083441/http://patch-bootver.ffxiv.com/http/ps4/ffxivneo_release_boot_eu/2014.04.02.0000.0000/ffxivpatch/02cbcb27/ffxivpatch/02cbcb27/vercheck.dat
</pre>
The content looks like a network transmission header:
<pre>
--477D80B1_38BC_41d4_8B48_5273ADB89CAC
Content-Type: application/octet-stream
Content-Location: ffxivpatch/02cbcb27/metainfo/D2014.04.02.0000.0000.http
X-Patch-Length: 62171712
 
62171712 62915700 3 3 2017.12.06.0000.0001 http://patch-dl.ffxiv.com/boot/02cbcb27/D2017.12.06.0000.0001.patch
--477D80B1_38BC_41d4_8B48_5273ADB89CAC--
</pre>
and from the URL
<pre>
https://web.archive.org/web/20171209090142/http://patch-bootver.ffxiv.com/http/ps4/ffxivneo_release_boot_eu/2014.04.02.0000.0000/?time=2014-04-04-11
</pre>
we have an older version dumped:
<pre>
--477D80B1_38BC_41d4_8B48_5273ADB89CAC
Content-Type: application/octet-stream
Content-Location: ffxivpatch/02cbcb27/metainfo/D2014.04.02.0000.0000.http
X-Patch-Length: 62171712
 
62171712 62915700 3 3 2017.11.24.0000.0001 http://patch-dl.ffxiv.com/boot/02cbcb27/D2017.11.24.0000.0001.patch
--477D80B1_38BC_41d4_8B48_5273ADB89CAC--
</pre>
as well as from
<pre>
https://web.archive.org/web/20170104080948/http://patch-bootver.ffxiv.com/http/ps4/ffxivneo_release_boot_eu/2014.04.02.0000.0000/?time=2014-04-04-11
</pre>
where the version is even older:
<pre>
--477D80B1_38BC_41d4_8B48_5273ADB89CAC
Content-Type: application/octet-stream
Content-Location: ffxivpatch/02cbcb27/metainfo/D2014.04.02.0000.0000.http
X-Patch-Length: 55610720
 
55610720 56493172 3 3 2016.12.08.0000.0001 http://patch-dl.ffxiv.com/boot/02cbcb27/D2016.12.08.0000.0001.patch
--477D80B1_38BC_41d4_8B48_5273ADB89CAC--
</pre>
 
The vercheck.dat file contains the URL to download the .patch file.
 
* https://web.archive.org/web/*/http://patch-bootver.ffxiv.com/*
* http://patch-bootver.ffxiv.com/http/ps4/ffxivneo_release_boot_eu/2014.04.02.0000.0000/?time=2014-04-04-11
* http://patch-bootver.ffxiv.com/http/ps4/ffxivneo_release_boot_eu/2014.04.02.0000.0000/ffxivpatch/02cbcb27/ffxivpatch/02cbcb27/vercheck.dat
* http://patch-bootver.ffxiv.com/http/ps4/ffxivneo_release_boot_eu/2014.04.02.0000.0000/ffxivpatch/02cbcb27/vercheck.dat
 
=== patch file ===
 
The patch is in ZIPATCH format. The patch may be RSA signed, but maybe the downloader executable or the checker is vulnerable to buffer overflows or other vulnerabilities.
 
* https://web.archive.org/web/*/http://patch-dl.ffxiv.com/*
* https://gist.github.com/ztgasdf/ffa9ebd21b8a9eacb5578285e1920813 til 2023
* https://gist.github.com/xx-mage-xx/5d719114a50903b14b672e55336678f5 til 2022
* https://gist.github.com/xx-mage-xx/f69d87a8983cdde5c9e4cc5a87b03ace til 2016
 
=== Tools for patch file download and analysis ===
 
* https://xiv.dev/data-files/zipatch
* http://ffxivclassic.fragmenterworks.com/wiki/index.php/ZiPatch_File_Structure
* https://project-novum.github.io/game-patching/zipatch/
* https://project-novum.github.io/game-files/executables/ffxivboot/
* https://project-novum.github.io/game-patching/patching/
* https://github.com/Project-Novum/NovumZiPatchExplorer
* https://github.com/goatcorp/FFXIVQuickLauncher/blob/19c603de1ec038136bdb14d65924bd525131d3fb/src/XIVLauncher.Common.Tests/PatchAcquisitionTests.cs
* https://github.com/goatcorp/XIVLauncher.Core/issues/23
* https://github.com/CrystallineTools/Thaliak
* https://thaliak.xiv.dev
 
=== Other tools ===
 
* https://github.com/ravahn/machina
* https://gist.github.com/djanatyn/fa57f7d578907b778e8c2f0d9fffe56a
* https://github.com/karashiiro/xiv-resources
 
= TV and Video Service Applications =
 
See also [[Media Services]] and [[Internet Browser]].
 
As on the PS3, [http://www.psdevwiki.com/ps3/Online_Connections#TV.2FVideo_Services TV/Video_Services] can be directly installed to the console, seperately from browsing the PS store.
 
As a side reference, on PlayStation 3 (WebMAF), the user-agent of TV & Video applications used to be mostly <code>"Mozilla/5.0 (PlayStation 3) AppleWebKit/531.3 (KHTML, like Gecko) SCEE/1.0 Nuanti/2.0</code> whilst on PS4 it is mostly <code>Mozilla/5.0 (PlayStation 4) AppleWebKit/531.3 (KHTML, like Gecko) SCEE/1.0 Nuanti/2.0</code>.
 
== SnagFilms ==
 
See [[Bugs]].
 
== VidNow ==
 
See [[Bugs]].
 
= Commerce related =
 
== PS Store Content Icons ==
 
Format:
* https://commerce1.api.np.km.playstation.net/store/api/ps4/00_09_000/container/<PS Store Country>/<PS Store Language>/19/<Content ID>/image<Optional Arguments>
* PS Store Country must be uppercase whilst PS Store Language must be downcase.
* Optional Arguments must be URL-GET-formatted. Supported arguments are: w for width, h for height.
 
Example:
* https://commerce1.api.np.km.playstation.net/store/api/ps4/00_09_000/container/FR/fr/19/EP4389-CUSA08652_00-CAR0050000000000/image
* https://commerce1.api.np.km.playstation.net/store/api/ps4/00_09_000/container/FR/fr/19/EP4389-CUSA08652_00-CAR0050000000000/image?w=240&h=240
 
Remarks:
* 00_09_000 represents the version of the Chihiro/Kamaji PS Store.
 
= Unsorted =
 
== ps4-eb servicelist.xml ==
 
* https://ps4-eb.ww.np.dl.playstation.net/ps4-eb/servicelist/servicelist.xml


It is a white/black list for unknown usage.
=== Network connections by system ===
 
Content:
<source lang=xml>
<?xml version="1.0" encoding="UTF-8"?>
<servicelist version="1.0" platform="ps4">
  <service name="SNS001" default="allow">
  </service>
  <service name="SNS002" default="allow">
  </service>
  <service name="SNS003" default="allow">
  </service>
  <service name="SNS004" default="allow">
  </service>
  <service name="SNS005" default="deny">
    <allow country="jp"/>
  </service>
  <service name="SYS001" default="allow">
    <deny country="de"/>
  </service>
</servicelist>
</source>
 
== ps4-eb applaunchlink.xml ==
 
* https://ps4-eb.ww.np.dl.playstation.net/ps4-eb/applaunchlink/applaunchlink.xml
 
It is a white/black list for unknown usage.
 
Content:
<source lang=xml>
<?xml version="1.0" encoding="UTF-8"?>
<applaunchlink version="1.0">
  <system_info min_system_ver="01.700.000"/>
  <title_black_list>
  </title_black_list>
</applaunchlink>
</source>
 
= Network connections by the System =


{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
! User-agent !! Header !! Host
! useragent !! header !! host
|-
|-
| btest/1.0 libhttp/1.50 (PlayStation 4)  
| btest/1.0 libhttp/1.50 (PlayStation 4)  
Line 592: Line 93:
| ps4updptl.eu.np.community.playstation.net
| ps4updptl.eu.np.community.playstation.net
|-
|-
|
| CONNECT fswitch.dl.playstation.net:443
| fswitch.dl.playstation.net
|}
|}


Line 602: Line 100:
** https://ps4updptl.jp.sp-int.community.playstation.net/updptl/ps4/
** https://ps4updptl.jp.sp-int.community.playstation.net/updptl/ps4/


= Port usage =
=== Useragent of applications under "TV & Video" ===
This should cover all [[Media Services]] useragent:
{| class="wikitable sortable"
|-
! useragent !! version !! vulnerability
|-
|  || [[1.000.051]] ||
|-
|  || [[1.01]] ||
|-
|  || [[1.06]] ||
|-
|  || [[1.07]] ||
|-
|  || [[1.500.000]] ||
|-
|  || [[1.501.000]] ||
|-
|  || [[1.510.000]] ||
|-
|  || [[1.520.000]] ||
|-
|  || [[1.600.000]] ||
|-
|  || [[1.610.000]] ||
|-
|  || [[1.620.000]] ||
|-
| || [[1.700.000]] ||
|-
|  || [[1.710.000]] ||
|-
|  || [[1.720.000]] ||
|-
|  || [[1.740.000]] ||
|-
|  || [[1.750.000]] ||
|-
|  || [[1.760.000]] ||
|-
|  || [[2.000.000]] || ?
|-
|  || [[2.010.000]] || ?
|-
|  || [[2.020.000]] || ?
|-
| Mozilla/5.0 (PlayStation 4) AppleWebKit/531.3 (KHTML, like Gecko) SCEE/1.0 Nuanti/2.0 || [[2.030.000]] || ?
|-
|  || [[2.040.000]] || ?
|-
|  || [[2.501.000]] || ?
|-
|  || [[2.508.000]] || ?
|-
|  || [[2.510.000]] || ?
|-
|  || [[2.550.000]] || ?
|-
|  || [[2.570.000]] || ?
|-
|  || [[3.000.000]] || ?
|-
|  || [[3.008.000]] || ?
|-
|  || [[3.100.000]] || ?
|-
|  || [[3.110.000]] || ?
|-
|  || [[3.150.000]] || ?
|}
side reference: on Playstation 3 (WebMAF), the useragent is <code>"Mozilla/5.0 (PlayStation 3) AppleWebKit/531.3 (KHTML, like Gecko) SCEE/1.0 Nuanti/2.0</code>


''[http://www.psdevwiki.com/ps3/Online_Connections#Port_usage ps3 side reference]''
=== Unsorted ===
==== ps4-eb servicelist.xml ====
* https://ps4-eb.ww.np.dl.playstation.net/ps4-eb/servicelist/servicelist.xml
<source lang=xml>
<?xml version="1.0" encoding="UTF-8"?>
<servicelist version="1.0" platform="ps4">
  <service name="SNS001" default="allow">
  </service>
  <service name="SNS002" default="allow">
  </service>
  <service name="SNS003" default="allow">
  </service>
  <service name="SNS004" default="allow">
  </service>
  <service name="SNS005" default="deny">
    <allow country="jp"/>
  </service>
  <service name="SYS001" default="allow">
    <deny country="de"/>
  </service>
</servicelist>
</source>


== Generic Port usage ==
==== ps4-eb applaunchlink.xml ====
* https://ps4-eb.ww.np.dl.playstation.net/ps4-eb/applaunchlink/applaunchlink.xml
<source lang=xml>
<?xml version="1.0" encoding="UTF-8"?>
<applaunchlink version="1.0">
  <system_info min_system_ver="01.700.000"/>
  <title_black_list>
  </title_black_list>
</applaunchlink>
</source>


== Port usage ==
''[http://www.psdevwiki.com/ps3/Online_Connections#Port_usage ps3 side reference]''
=== Generic Port usage ===
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
Line 646: Line 247:
|}
|}


= PlayStation 4 Discovery and Wake-up Utility =
== PlayStation 4 Discovery and Wake-up Utility ==
{{PlayStation 4 Discovery and Wake-up Utility}}


See [[PlayStation 4 Discovery and Wake-up Utility]].


= Tools =


* [http://www.skfu.xxx/2013/11/release-skfus-pr0xy.html SKFU's Pr0xy]
* [http://www.wireshark.org/ WireShark]
* [http://www.charlesproxy.com/ CharlesProxy]
* Archive.org wayback machine allows to list every file it has archive for a specific subdomain by going to <code>https://web.archive.org/web/*/<DOMAIN>/*</code>. The same can be achieved in command line by installing the [https://github.com/akamhy/waybackpy waybackpy] python library and typing <code>waybackpy --url <DOMAIN> --user_agent "ua" --known_urls > <DOMAIN>.txt</code>.
= Guides =
* http://wololo.net/2013/12/05/howto-use-a-proxy-server-with-your-ps4-to-sniff-psn-traffic-skfu-pr0xy/




Please note that all contributions to PS4 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS4 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)