The official website for the open-source compatibility layer fpPS4
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Initial commit

Mr. Snowy 5cd659ba

+2624
+2
.gitattributes
··· 1 + # Auto detect text files and perform LF normalization 2 + * text=auto
+11
.gitignore
··· 1 + /.htpasswd 2 + /.vscode 3 + /config 4 + /logs 5 + /public_ftp 6 + /stats 7 + public_html/beta 8 + public_html/cgi-bin 9 + public_html/.htaccess 10 + public_html/ads.txt 11 + public_html/images/Thumbs.db
+339
LICENSE
··· 1 + GNU GENERAL PUBLIC LICENSE 2 + Version 2, June 1991 3 + 4 + Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 + Everyone is permitted to copy and distribute verbatim copies 7 + of this license document, but changing it is not allowed. 8 + 9 + Preamble 10 + 11 + The licenses for most software are designed to take away your 12 + freedom to share and change it. By contrast, the GNU General Public 13 + License is intended to guarantee your freedom to share and change free 14 + software--to make sure the software is free for all its users. This 15 + General Public License applies to most of the Free Software 16 + Foundation's software and to any other program whose authors commit to 17 + using it. (Some other Free Software Foundation software is covered by 18 + the GNU Lesser General Public License instead.) You can apply it to 19 + your programs, too. 20 + 21 + When we speak of free software, we are referring to freedom, not 22 + price. Our General Public Licenses are designed to make sure that you 23 + have the freedom to distribute copies of free software (and charge for 24 + this service if you wish), that you receive source code or can get it 25 + if you want it, that you can change the software or use pieces of it 26 + in new free programs; and that you know you can do these things. 27 + 28 + To protect your rights, we need to make restrictions that forbid 29 + anyone to deny you these rights or to ask you to surrender the rights. 30 + These restrictions translate to certain responsibilities for you if you 31 + distribute copies of the software, or if you modify it. 32 + 33 + For example, if you distribute copies of such a program, whether 34 + gratis or for a fee, you must give the recipients all the rights that 35 + you have. You must make sure that they, too, receive or can get the 36 + source code. And you must show them these terms so they know their 37 + rights. 38 + 39 + We protect your rights with two steps: (1) copyright the software, and 40 + (2) offer you this license which gives you legal permission to copy, 41 + distribute and/or modify the software. 42 + 43 + Also, for each author's protection and ours, we want to make certain 44 + that everyone understands that there is no warranty for this free 45 + software. If the software is modified by someone else and passed on, we 46 + want its recipients to know that what they have is not the original, so 47 + that any problems introduced by others will not reflect on the original 48 + authors' reputations. 49 + 50 + Finally, any free program is threatened constantly by software 51 + patents. We wish to avoid the danger that redistributors of a free 52 + program will individually obtain patent licenses, in effect making the 53 + program proprietary. To prevent this, we have made it clear that any 54 + patent must be licensed for everyone's free use or not licensed at all. 55 + 56 + The precise terms and conditions for copying, distribution and 57 + modification follow. 58 + 59 + GNU GENERAL PUBLIC LICENSE 60 + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 + 62 + 0. This License applies to any program or other work which contains 63 + a notice placed by the copyright holder saying it may be distributed 64 + under the terms of this General Public License. The "Program", below, 65 + refers to any such program or work, and a "work based on the Program" 66 + means either the Program or any derivative work under copyright law: 67 + that is to say, a work containing the Program or a portion of it, 68 + either verbatim or with modifications and/or translated into another 69 + language. (Hereinafter, translation is included without limitation in 70 + the term "modification".) Each licensee is addressed as "you". 71 + 72 + Activities other than copying, distribution and modification are not 73 + covered by this License; they are outside its scope. The act of 74 + running the Program is not restricted, and the output from the Program 75 + is covered only if its contents constitute a work based on the 76 + Program (independent of having been made by running the Program). 77 + Whether that is true depends on what the Program does. 78 + 79 + 1. You may copy and distribute verbatim copies of the Program's 80 + source code as you receive it, in any medium, provided that you 81 + conspicuously and appropriately publish on each copy an appropriate 82 + copyright notice and disclaimer of warranty; keep intact all the 83 + notices that refer to this License and to the absence of any warranty; 84 + and give any other recipients of the Program a copy of this License 85 + along with the Program. 86 + 87 + You may charge a fee for the physical act of transferring a copy, and 88 + you may at your option offer warranty protection in exchange for a fee. 89 + 90 + 2. You may modify your copy or copies of the Program or any portion 91 + of it, thus forming a work based on the Program, and copy and 92 + distribute such modifications or work under the terms of Section 1 93 + above, provided that you also meet all of these conditions: 94 + 95 + a) You must cause the modified files to carry prominent notices 96 + stating that you changed the files and the date of any change. 97 + 98 + b) You must cause any work that you distribute or publish, that in 99 + whole or in part contains or is derived from the Program or any 100 + part thereof, to be licensed as a whole at no charge to all third 101 + parties under the terms of this License. 102 + 103 + c) If the modified program normally reads commands interactively 104 + when run, you must cause it, when started running for such 105 + interactive use in the most ordinary way, to print or display an 106 + announcement including an appropriate copyright notice and a 107 + notice that there is no warranty (or else, saying that you provide 108 + a warranty) and that users may redistribute the program under 109 + these conditions, and telling the user how to view a copy of this 110 + License. (Exception: if the Program itself is interactive but 111 + does not normally print such an announcement, your work based on 112 + the Program is not required to print an announcement.) 113 + 114 + These requirements apply to the modified work as a whole. If 115 + identifiable sections of that work are not derived from the Program, 116 + and can be reasonably considered independent and separate works in 117 + themselves, then this License, and its terms, do not apply to those 118 + sections when you distribute them as separate works. But when you 119 + distribute the same sections as part of a whole which is a work based 120 + on the Program, the distribution of the whole must be on the terms of 121 + this License, whose permissions for other licensees extend to the 122 + entire whole, and thus to each and every part regardless of who wrote it. 123 + 124 + Thus, it is not the intent of this section to claim rights or contest 125 + your rights to work written entirely by you; rather, the intent is to 126 + exercise the right to control the distribution of derivative or 127 + collective works based on the Program. 128 + 129 + In addition, mere aggregation of another work not based on the Program 130 + with the Program (or with a work based on the Program) on a volume of 131 + a storage or distribution medium does not bring the other work under 132 + the scope of this License. 133 + 134 + 3. You may copy and distribute the Program (or a work based on it, 135 + under Section 2) in object code or executable form under the terms of 136 + Sections 1 and 2 above provided that you also do one of the following: 137 + 138 + a) Accompany it with the complete corresponding machine-readable 139 + source code, which must be distributed under the terms of Sections 140 + 1 and 2 above on a medium customarily used for software interchange; or, 141 + 142 + b) Accompany it with a written offer, valid for at least three 143 + years, to give any third party, for a charge no more than your 144 + cost of physically performing source distribution, a complete 145 + machine-readable copy of the corresponding source code, to be 146 + distributed under the terms of Sections 1 and 2 above on a medium 147 + customarily used for software interchange; or, 148 + 149 + c) Accompany it with the information you received as to the offer 150 + to distribute corresponding source code. (This alternative is 151 + allowed only for noncommercial distribution and only if you 152 + received the program in object code or executable form with such 153 + an offer, in accord with Subsection b above.) 154 + 155 + The source code for a work means the preferred form of the work for 156 + making modifications to it. For an executable work, complete source 157 + code means all the source code for all modules it contains, plus any 158 + associated interface definition files, plus the scripts used to 159 + control compilation and installation of the executable. However, as a 160 + special exception, the source code distributed need not include 161 + anything that is normally distributed (in either source or binary 162 + form) with the major components (compiler, kernel, and so on) of the 163 + operating system on which the executable runs, unless that component 164 + itself accompanies the executable. 165 + 166 + If distribution of executable or object code is made by offering 167 + access to copy from a designated place, then offering equivalent 168 + access to copy the source code from the same place counts as 169 + distribution of the source code, even though third parties are not 170 + compelled to copy the source along with the object code. 171 + 172 + 4. You may not copy, modify, sublicense, or distribute the Program 173 + except as expressly provided under this License. Any attempt 174 + otherwise to copy, modify, sublicense or distribute the Program is 175 + void, and will automatically terminate your rights under this License. 176 + However, parties who have received copies, or rights, from you under 177 + this License will not have their licenses terminated so long as such 178 + parties remain in full compliance. 179 + 180 + 5. You are not required to accept this License, since you have not 181 + signed it. However, nothing else grants you permission to modify or 182 + distribute the Program or its derivative works. These actions are 183 + prohibited by law if you do not accept this License. Therefore, by 184 + modifying or distributing the Program (or any work based on the 185 + Program), you indicate your acceptance of this License to do so, and 186 + all its terms and conditions for copying, distributing or modifying 187 + the Program or works based on it. 188 + 189 + 6. Each time you redistribute the Program (or any work based on the 190 + Program), the recipient automatically receives a license from the 191 + original licensor to copy, distribute or modify the Program subject to 192 + these terms and conditions. You may not impose any further 193 + restrictions on the recipients' exercise of the rights granted herein. 194 + You are not responsible for enforcing compliance by third parties to 195 + this License. 196 + 197 + 7. If, as a consequence of a court judgment or allegation of patent 198 + infringement or for any other reason (not limited to patent issues), 199 + conditions are imposed on you (whether by court order, agreement or 200 + otherwise) that contradict the conditions of this License, they do not 201 + excuse you from the conditions of this License. If you cannot 202 + distribute so as to satisfy simultaneously your obligations under this 203 + License and any other pertinent obligations, then as a consequence you 204 + may not distribute the Program at all. For example, if a patent 205 + license would not permit royalty-free redistribution of the Program by 206 + all those who receive copies directly or indirectly through you, then 207 + the only way you could satisfy both it and this License would be to 208 + refrain entirely from distribution of the Program. 209 + 210 + If any portion of this section is held invalid or unenforceable under 211 + any particular circumstance, the balance of the section is intended to 212 + apply and the section as a whole is intended to apply in other 213 + circumstances. 214 + 215 + It is not the purpose of this section to induce you to infringe any 216 + patents or other property right claims or to contest validity of any 217 + such claims; this section has the sole purpose of protecting the 218 + integrity of the free software distribution system, which is 219 + implemented by public license practices. Many people have made 220 + generous contributions to the wide range of software distributed 221 + through that system in reliance on consistent application of that 222 + system; it is up to the author/donor to decide if he or she is willing 223 + to distribute software through any other system and a licensee cannot 224 + impose that choice. 225 + 226 + This section is intended to make thoroughly clear what is believed to 227 + be a consequence of the rest of this License. 228 + 229 + 8. If the distribution and/or use of the Program is restricted in 230 + certain countries either by patents or by copyrighted interfaces, the 231 + original copyright holder who places the Program under this License 232 + may add an explicit geographical distribution limitation excluding 233 + those countries, so that distribution is permitted only in or among 234 + countries not thus excluded. In such case, this License incorporates 235 + the limitation as if written in the body of this License. 236 + 237 + 9. The Free Software Foundation may publish revised and/or new versions 238 + of the General Public License from time to time. Such new versions will 239 + be similar in spirit to the present version, but may differ in detail to 240 + address new problems or concerns. 241 + 242 + Each version is given a distinguishing version number. If the Program 243 + specifies a version number of this License which applies to it and "any 244 + later version", you have the option of following the terms and conditions 245 + either of that version or of any later version published by the Free 246 + Software Foundation. If the Program does not specify a version number of 247 + this License, you may choose any version ever published by the Free Software 248 + Foundation. 249 + 250 + 10. If you wish to incorporate parts of the Program into other free 251 + programs whose distribution conditions are different, write to the author 252 + to ask for permission. For software which is copyrighted by the Free 253 + Software Foundation, write to the Free Software Foundation; we sometimes 254 + make exceptions for this. Our decision will be guided by the two goals 255 + of preserving the free status of all derivatives of our free software and 256 + of promoting the sharing and reuse of software generally. 257 + 258 + NO WARRANTY 259 + 260 + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 + FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 + OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 + PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 + OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 + TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 + PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 + REPAIR OR CORRECTION. 269 + 270 + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 + WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 + REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 + INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 + OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 + TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 + YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 + PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 + POSSIBILITY OF SUCH DAMAGES. 279 + 280 + END OF TERMS AND CONDITIONS 281 + 282 + How to Apply These Terms to Your New Programs 283 + 284 + If you develop a new program, and you want it to be of the greatest 285 + possible use to the public, the best way to achieve this is to make it 286 + free software which everyone can redistribute and change under these terms. 287 + 288 + To do so, attach the following notices to the program. It is safest 289 + to attach them to the start of each source file to most effectively 290 + convey the exclusion of warranty; and each file should have at least 291 + the "copyright" line and a pointer to where the full notice is found. 292 + 293 + <one line to give the program's name and a brief idea of what it does.> 294 + Copyright (C) <year> <name of author> 295 + 296 + This program is free software; you can redistribute it and/or modify 297 + it under the terms of the GNU General Public License as published by 298 + the Free Software Foundation; either version 2 of the License, or 299 + (at your option) any later version. 300 + 301 + This program is distributed in the hope that it will be useful, 302 + but WITHOUT ANY WARRANTY; without even the implied warranty of 303 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 + GNU General Public License for more details. 305 + 306 + You should have received a copy of the GNU General Public License along 307 + with this program; if not, write to the Free Software Foundation, Inc., 308 + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 + 310 + Also add information on how to contact you by electronic and paper mail. 311 + 312 + If the program is interactive, make it output a short notice like this 313 + when it starts in an interactive mode: 314 + 315 + Gnomovision version 69, Copyright (C) year name of author 316 + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 + This is free software, and you are welcome to redistribute it 318 + under certain conditions; type `show c' for details. 319 + 320 + The hypothetical commands `show w' and `show c' should show the appropriate 321 + parts of the General Public License. Of course, the commands you use may 322 + be called something other than `show w' and `show c'; they could even be 323 + mouse-clicks or menu items--whatever suits your program. 324 + 325 + You should also get your employer (if you work as a programmer) or your 326 + school, if any, to sign a "copyright disclaimer" for the program, if 327 + necessary. Here is a sample; alter the names: 328 + 329 + Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 + `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 + 332 + <signature of Ty Coon>, 1 April 1989 333 + Ty Coon, President of Vice 334 + 335 + This General Public License does not permit incorporating your program into 336 + proprietary programs. If your program is a subroutine library, you may 337 + consider it more useful to permit linking proprietary applications with the 338 + library. If this is what you want to do, use the GNU Lesser General 339 + Public License instead of this License.
+2
README.md
··· 1 + # fpps4.net 2 +
+1
private_html
··· 1 + ./public_html
+301
public_html/400.shtml
··· 1 + <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 2 + <HTML><HEAD> 3 + <TITLE>400 Bad Request</TITLE> 4 + </HEAD><BODY> 5 + <H1>Bad Request</H1> 6 + There was an error in your request. 7 + <HR> 8 + <I><!--#echo var="HTTP_HOST" --></I> 9 + </BODY></HTML> 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 + 100 + 101 + 102 + 103 + 104 + 105 + 106 + 107 + 108 + 109 + 110 + 111 + 112 + 113 + 114 + 115 + 116 + 117 + 118 + 119 + 120 + 121 + 122 + 123 + 124 + 125 + 126 + 127 + 128 + 129 + 130 + 131 + 132 + 133 + 134 + 135 + 136 + 137 + 138 + 139 + 140 + 141 + 142 + 143 + 144 + 145 + 146 + 147 + 148 + 149 + 150 + 151 + 152 + 153 + 154 + 155 + 156 + 157 + 158 + 159 + 160 + 161 + 162 + 163 + 164 + 165 + 166 + 167 + 168 + 169 + 170 + 171 + 172 + 173 + 174 + 175 + 176 + 177 + 178 + 179 + 180 + 181 + 182 + 183 + 184 + 185 + 186 + 187 + 188 + 189 + 190 + 191 + 192 + 193 + 194 + 195 + 196 + 197 + 198 + 199 + 200 + 201 + 202 + 203 + 204 + 205 + 206 + 207 + 208 + 209 + 210 + 211 + 212 + 213 + 214 + 215 + 216 + 217 + 218 + 219 + 220 + 221 + 222 + 223 + 224 + 225 + 226 + 227 + 228 + 229 + 230 + 231 + 232 + 233 + 234 + 235 + 236 + 237 + 238 + 239 + 240 + 241 + 242 + 243 + 244 + 245 + 246 + 247 + 248 + 249 + 250 + 251 + 252 + 253 + 254 + 255 + 256 + 257 + 258 + 259 + 260 + 261 + 262 + 263 + 264 + 265 + 266 + 267 + 268 + 269 + 270 + 271 + 272 + 273 + 274 + 275 + 276 + 277 + 278 + 279 + 280 + 281 + 282 + 283 + 284 + 285 + 286 + 287 + 288 + 289 + 290 + 291 + 292 + 293 + 294 + 295 + 296 + 297 + 298 + 299 + 300 + 301 +
+89
public_html/401.shtml
··· 1 + <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 2 + <HTML><HEAD> 3 + <TITLE>401 Authorization Required</TITLE> 4 + </HEAD><BODY> 5 + <H1>Authorization Required</H1> 6 + This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. 7 + <HR> 8 + <I><!--#echo var="HTTP_HOST" --></I> 9 + </BODY></HTML> 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 +
+257
public_html/403.shtml
··· 1 + <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 2 + <HTML><HEAD> 3 + <TITLE>403 Forbidden</TITLE> 4 + </HEAD><BODY> 5 + <H1>Forbidden</H1> 6 + You don't have permission to access <!--#echo var="REQUEST_URI" --> on this server. 7 + <HR> 8 + <I><!--#echo var="HTTP_HOST" --></I> 9 + </BODY></HTML> 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 + 100 + 101 + 102 + 103 + 104 + 105 + 106 + 107 + 108 + 109 + 110 + 111 + 112 + 113 + 114 + 115 + 116 + 117 + 118 + 119 + 120 + 121 + 122 + 123 + 124 + 125 + 126 + 127 + 128 + 129 + 130 + 131 + 132 + 133 + 134 + 135 + 136 + 137 + 138 + 139 + 140 + 141 + 142 + 143 + 144 + 145 + 146 + 147 + 148 + 149 + 150 + 151 + 152 + 153 + 154 + 155 + 156 + 157 + 158 + 159 + 160 + 161 + 162 + 163 + 164 + 165 + 166 + 167 + 168 + 169 + 170 + 171 + 172 + 173 + 174 + 175 + 176 + 177 + 178 + 179 + 180 + 181 + 182 + 183 + 184 + 185 + 186 + 187 + 188 + 189 + 190 + 191 + 192 + 193 + 194 + 195 + 196 + 197 + 198 + 199 + 200 + 201 + 202 + 203 + 204 + 205 + 206 + 207 + 208 + 209 + 210 + 211 + 212 + 213 + 214 + 215 + 216 + 217 + 218 + 219 + 220 + 221 + 222 + 223 + 224 + 225 + 226 + 227 + 228 + 229 + 230 + 231 + 232 + 233 + 234 + 235 + 236 + 237 + 238 + 239 + 240 + 241 + 242 + 243 + 244 + 245 + 246 + 247 + 248 + 249 + 250 + 251 + 252 + 253 + 254 + 255 + 256 + 257 +
+12
public_html/404.php
··· 1 + <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 2 + <HTML><HEAD> 3 + <TITLE>404 :/</TITLE> 4 + <style>@import url('https://fonts.googleapis.com/css2?family=Montserrat');</style> 5 + <link rel="icon" href="https://fpps4.net/images/fpPS4-icon.png" type="image/png"> 6 + <meta name="robots" content="noindex"> 7 + </HEAD><BODY style="background-color: #0e141b; color: white; font-family: 'Montserrat', sans-serif; text-align: center;"> 8 + <H1>404: Not Found :/</H1> 9 + <pr style="font-size: medium;">The requested URL <span style="color: #f0e74a"><?php echo htmlspecialchars($_SERVER['REQUEST_URI'], ENT_QUOTES); ?></span> was not found on this server.</pre> 10 + <HR> 11 + <h1><span style="color: #f0e74a;">fp</span>PS4.net</h1> 12 + </BODY></HTML>
+216
public_html/500.shtml
··· 1 + <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 2 + <HTML><HEAD> 3 + <TITLE>500 Internal Server Error</TITLE> 4 + </HEAD><BODY> 5 + <H1>Internal Server Error</H1> 6 + The server encountered an internal error or misconfiguration and was unable to complete your request 7 + <HR> 8 + <I><!--#echo var="HTTP_HOST" --></I> 9 + </BODY></HTML> 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 + 100 + 101 + 102 + 103 + 104 + 105 + 106 + 107 + 108 + 109 + 110 + 111 + 112 + 113 + 114 + 115 + 116 + 117 + 118 + 119 + 120 + 121 + 122 + 123 + 124 + 125 + 126 + 127 + 128 + 129 + 130 + 131 + 132 + 133 + 134 + 135 + 136 + 137 + 138 + 139 + 140 + 141 + 142 + 143 + 144 + 145 + 146 + 147 + 148 + 149 + 150 + 151 + 152 + 153 + 154 + 155 + 156 + 157 + 158 + 159 + 160 + 161 + 162 + 163 + 164 + 165 + 166 + 167 + 168 + 169 + 170 + 171 + 172 + 173 + 174 + 175 + 176 + 177 + 178 + 179 + 180 + 181 + 182 + 183 + 184 + 185 + 186 + 187 + 188 + 189 + 190 + 191 + 192 + 193 + 194 + 195 + 196 + 197 + 198 + 199 + 200 + 201 + 202 + 203 + 204 + 205 + 206 + 207 + 208 + 209 + 210 + 211 + 212 + 213 + 214 + 215 + 216 +
+15
public_html/app.js
··· 1 + window.onload = function() { // fixes stupid scrollbar jumping if it happens 2 + setTimeout(function() { 3 + document.documentElement.scrollTop = 0; 4 + document.body.scrollTop = 0; 5 + }, 30); 6 + }; 7 + 8 + function scrollToElement(event, learnmore) { 9 + event.preventDefault(); 10 + const targetElement = document.getElementById(learnmore); 11 + if (targetElement) { 12 + targetElement.scrollIntoView({ behavior: 'smooth' }); 13 + history.replaceState({}, document.title, window.location.href.split('#')[0]); 14 + } 15 + }
+15
public_html/compatibility/app.js
··· 1 + function adjustSizes() { 2 + var screenWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; 3 + var referenceFontSize = 16; 4 + var phoneReferenceWidth = 560; 5 + 6 + if (screenWidth >= phoneReferenceWidth) { 7 + document.documentElement.style.fontSize = referenceFontSize + 'px'; 8 + } else { 9 + var fontSize = (screenWidth / phoneReferenceWidth) * referenceFontSize; 10 + document.documentElement.style.fontSize = fontSize + 'px'; 11 + } 12 + } 13 + 14 + window.addEventListener('DOMContentLoaded', adjustSizes); 15 + window.addEventListener('resize', adjustSizes);
+55
public_html/compatibility/index.html
··· 1 + <!DOCTYPE html> 2 + <html lang="en"> 3 + <head> 4 + <meta charset="UTF-8"> 5 + <meta http-equiv="X-UA-Compatible" content="IE=edge"> 6 + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> 7 + <title>fpPS4 - Compatibility List</title> 8 + <meta property="title" content="Game Compatibility List"> 9 + <meta property="og:title" content="fpPS4 - Game Compatibility List"> 10 + <meta property="og:description" content="These are the games that have been tested with fpPS4"> 11 + <meta property="og:image" content="https://fpps4.net/images/fpPS4-icon.png"> 12 + <meta property="og:url" content="https://fpps4.net/compatibility"> 13 + <meta name="description" content="These are the games that have been tested with fpPS4"> 14 + <meta name="theme-color" content="#4C566A"> 15 + <meta name="copyright" content="fpPS4"> 16 + <meta name="keywords" content="fpPS4, playstation, ps4, playstation 4, emulator, windows, open source, free pascal, compatibility layer, red-prig, compatibility list, compatibility"> 17 + <meta name="robots" content="index,follow"> 18 + <meta name="author" content="Mr. Snowy"> 19 + <link rel="stylesheet" href="./styles.css"> 20 + <link rel="icon" href="https://fpps4.net/images/fpPS4-icon.png" type="image/png"> 21 + </head> 22 + <body> 23 + <div class="main"> 24 + <h1 class="mainText">Game Compatibility List</h1> 25 + <h1 class="smolMainText">Soon</h1> 26 + <div class=progressContainer> 27 + <div class="progressWrap"></div> 28 + <div class="progressRow"> 29 + <div class="progressWrap"></div> 30 + <div class="progressWrap"></div> 31 + </div> 32 + <div class="progressRow"> 33 + <div class="progressWrap"></div> 34 + <div class="progressWrap"></div> 35 + </div></div> 36 + <div class="searchContainer"> 37 + <input type="text" name="fpps4" class="searchBar"> 38 + <div class="optionButtons"> 39 + <div class="optionButton"></div> 40 + <div class="optionButton"></div> 41 + <div class="optionButton"></div> 42 + </div> 43 + </div> 44 + <div class="gameWrapper"> 45 + <div class="gameContainer skeletonAnimation"></div> 46 + <div class="gameContainer skeletonAnimation"></div> 47 + <div class="gameContainer skeletonAnimation"></div> 48 + <div class="gameContainer skeletonAnimation"></div> 49 + <div class="gameContainer skeletonAnimation"></div> 50 + <div class="gameContainer skeletonAnimation"></div> 51 + </div> 52 + </div> 53 + <script defer src="app.js"></script> 54 + </body> 55 + </html>
+184
public_html/compatibility/styles.css
··· 1 + @import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap'); 2 + 3 + /*+ scrollbar */ 4 + ::-webkit-scrollbar { 5 + width: 9px;} 6 + 7 + ::-webkit-scrollbar-thumb { 8 + background: var(--main0); 9 + border-radius: 2px;} 10 + 11 + ::-webkit-scrollbar-thumb:hover { 12 + background: var(--main1); } 13 + /*- scrollbar */ 14 + .skeletonAnimation { 15 + background-image: linear-gradient(90deg, var(--border), var(--main1), var(--border)) !important; 16 + background-size: 200% 100% !important; 17 + animation: skeletonLoading 2s ease-in-out infinite; 18 + } 19 + @keyframes skeletonLoading { 20 + 0% {background-position: -100% 0;} 21 + 100% {background-position: 100% 0;} 22 + } 23 + 24 + :root { 25 + --text: #eceff4; 26 + --border: #e1e1e10d; 27 + --solidBorder: #393b3e; 28 + --background: #101112; 29 + --main0: #26272a; 30 + --main1: #2f3134; 31 + --hover: #393b3e; 32 + } 33 + 34 + * { 35 + margin: 0; 36 + padding: 0; 37 + font-family: 'Rubik', sans-serif; 38 + scrollbar-color: var(--main1) #ffffff00; /* - FF scrollbar */ 39 + color: var(--text); 40 + text-decoration: none; 41 + font-weight: 400; 42 + } 43 + 44 + html { 45 + font-size: 16px; 46 + } 47 + 48 + body{ 49 + background: var(--background); 50 + overflow-x: hidden; 51 + display: flex; 52 + flex-direction: column; 53 + align-items: center; 54 + overflow-y: scroll; 55 + } 56 + 57 + .main { 58 + display: flex; 59 + flex-direction: column; 60 + position: absolute; 61 + align-items: center; 62 + box-shadow: 0 0.3rem 0.7rem 0 rgba(0, 0, 0, 0.5); 63 + background: var(--main0); 64 + border-radius: 6px; 65 + margin-top: 90px; 66 + padding: 2rem 0 0; 67 + width: 40rem; 68 + border: 0.2rem solid var(--main0); 69 + } 70 + 71 + .mainText {font-weight: 500;} 72 + 73 + .smolMainText { 74 + width: 600px; 75 + padding: 4% 2% 3%; 76 + text-align: center; 77 + font-size: 1.1rem; 78 + } 79 + 80 + /*+ PROGRESS BAR*/ 81 + .progressContainer {width: 28rem;} 82 + 83 + .progressRow { 84 + display: flex; 85 + gap: 1rem; 86 + } 87 + 88 + .progressWrap { 89 + border: 0.05rem solid var(--border); 90 + background: var(--main1); 91 + position: relative; 92 + overflow: hidden; 93 + margin: 1.1% 0; 94 + border-radius: 0.5rem; 95 + box-sizing: border-box; 96 + height: 2rem; 97 + width: 100%; 98 + display: flex; 99 + align-items: center; 100 + transition: background 0.1s ease-in-out; 101 + cursor: pointer; 102 + user-select: none; 103 + } 104 + .progressWrap:hover {background: var(--hover);} 105 + /*- PROGRESS BAR*/ 106 + 107 + .searchBar { 108 + padding-left: 1rem; 109 + width: 19.4rem; 110 + height: 2.15rem; 111 + margin: 1.9rem 0 0.3rem; 112 + background: var(--main1); 113 + border: 0.05rem solid var(--border); 114 + border-radius: 0.6rem; 115 + } 116 + .searchBar:focus {outline: none; background: var(--hover); transition: background 0.1s ease-in-out;} 117 + .searchBar::placeholder {color: #8C8C8C; font-weight: 500; font-size: 0.8rem;} 118 + .searchBar:hover {background-color: var(--hover);} 119 + 120 + .optionButtons { 121 + display: flex; 122 + justify-content: space-between; 123 + padding: 0.25rem 0; 124 + width: 100%; 125 + } 126 + 127 + .optionButton { 128 + cursor: pointer; 129 + width: 6rem; 130 + user-select: none; 131 + height: 1.3rem; 132 + background: var(--main1); 133 + padding: 0.3rem 0; 134 + text-align: center; 135 + border-radius: 0.4rem; 136 + border: 0.05rem solid var(--border); 137 + font-weight: 500; 138 + } 139 + .optionButton:hover {background: var(--hover);} 140 + 141 + /*+ GAME CARDS*/ 142 + .gameWrapper {width: 95%;} 143 + 144 + .gameContainer { 145 + position: relative; 146 + display: flex; 147 + width: 100%; 148 + height: 5.3rem; 149 + margin: 1rem 0; 150 + text-decoration: none; 151 + background: var(--main1); 152 + border-radius: 0.5rem; 153 + transition: background-color 0.1s ease-in-out; 154 + cursor: default; 155 + } 156 + 157 + .gameContainer::before { 158 + content: ''; 159 + position: absolute; 160 + top: 0; 161 + left: 0; 162 + width: 100%; 163 + height: 100%; 164 + box-sizing: border-box; 165 + border: 0.05rem solid var(--solidBorder); 166 + border-radius: 0.5rem; 167 + pointer-events: none; 168 + z-index: 2; 169 + } 170 + .gameContainer:hover {background: var(--hover);} 171 + /*- GAME CARDS*/ 172 + 173 + @media screen and (max-width: 750px) { 174 + .main { 175 + width: 35rem; 176 + border-radius: 1rem; 177 + } 178 + .gameName { 179 + width: 18.5rem; 180 + } 181 + .gameName:hover { 182 + width: 24rem; 183 + } 184 + }
public_html/images/fpPS4-icon.png

This is a binary file and will not be displayed.

+68
public_html/index.html
··· 1 + <!-- 2 + _ __ __ __ 3 + | | / /__ / /________ ____ ___ ___ / /_____ _ 4 + | | /| / / _ \/ / ___/ __ \/ __ `__ \/ _ \ / __/ __ \ (_) 5 + | |/ |/ / __/ / /__/ /_/ / / / / / / __/ / /_/ /_/ / _ 6 + |__/|__/\___/_/\___/\____/_/ /_/ /_/\___/ \__/\____/ (_) 7 + ____ ____ _____ __ __ 8 + / __/___ / __ \/ ___// // / 9 + / /_/ __ \/ /_/ /\__ \/ // /_ 10 + / __/ /_/ / ____/___/ /__ __/ 11 + /_/ / .___/_/ /____/ /_/ 12 + /_/ 13 + --> 14 + <!DOCTYPE html> 15 + <html lang="en"> 16 + <head> 17 + <meta charset="UTF-8"> 18 + <meta http-equiv="X-UA-Compatible" content="IE=edge"> 19 + <meta name="viewport" content="width=device-width, initial-scale=1"> 20 + <title>fpPS4</title> 21 + <meta name="description" content="fpPS4 is an open source PS4 compatibility layer (emulator) written with Free Pascal for Windows."> 22 + <meta name="keywords" content="fpPS4, playstation, ps4, playstation 4, emulator, windows, open source, free pascal, compatibility layer, red-prig"> 23 + <meta name="robots" content="index,follow"> 24 + <meta name="author" content="Mr. Snowy"> 25 + <meta name="copyright" content="fpPS4"> 26 + <meta name="theme-color" content="#4C566A"> 27 + <meta property="og:title" content="fpPS4 - An open source PS4 compatibility layer"> 28 + <meta property="og:description" content="fpPS4 is an open source PS4 compatibility layer written in Free Pascal for Windows."> 29 + <meta property="og:image" content="https://fpps4.net/images/fpPS4-icon.png"> 30 + <meta property="og:url" content="https://fpps4.net"> 31 + <link rel="stylesheet" href="./style.css"> 32 + <link rel="stylesheet" href="./sizes.css"> 33 + <link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet"> 34 + <link rel="icon" href="./images/fpPS4-icon.png" type="image/png"> 35 + <!-- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5258598655913445" 36 + crossorigin="anonymous"></script> --> 37 + </head> 38 + <body> 39 + <div class="top"> 40 + <div class="top-text-container"> 41 + <h1 class="coming-soon">Coming soon...</h1> 42 + <h1 class="main-text"><span style="color: #f0e74a;">fp</span>PS4.net</h1> 43 + <p class="progress-text">The offical website for the open-source<br>compatibility layer fpPS4</p> 44 + <a href="#learnmore" onclick="scrollToElement(event, 'learnmore')" class="button learnmore-button">Learn more</a> 45 + </div> 46 + </div> 47 + <div class="bottom-container" id="learnmore"> 48 + <div class="bottom-left"> 49 + <h1 class="bottom-top-text"><span style="color: #f0e74a;">fp</span>PS4</h1> 50 + <p class="bottom-desc-text">An open-source PS4 compatibility layer (emulator) written with Free Pascal</p> 51 + <div class="buttons-container"> 52 + <a href="https://github.com/red-prig/fpPS4" target="_blank" class="button">Github</a> 53 + <a href="https://discord.gg/up9qatpX7M" target="_blank" class="button">Discord</a> 54 + </div> 55 + </div> 56 + <div class="bottom-right"> 57 + <h1 class="bottom-top-text">Special thanks to:</h1> 58 + <div class="thank-user-container"> 59 + <a href="https://github.com/red-prig" target="_blank"><b>Red-Prig</b> - For developing <span style="color: #f0e74a;">fp</span>PS4</a> 60 + <a href="https://github.com/georgemoralis" target="_blank"><b>georgemoralis</b> - For donating the domain</a> 61 + <a href="https://github.com/KimieStar" target="_blank"><b>KimieStar</b> - For helping with the website</a> 62 + <a href="https://github.com/MrSn0wy" target="_blank"><b>Mr. Snowy</b> - For making the website</a> 63 + </div> 64 + </div> 65 + </div> 66 + </body> 67 + <script src="app.js"></script> 68 + </html>
+74
public_html/parts/footer.html
··· 1 + <style> 2 + footer { 3 + box-sizing: border-box; 4 + display: flex; 5 + position: relative; 6 + align-items: center; 7 + justify-content: space-between; 8 + width: 100%; 9 + height: 3.65rem; 10 + margin-top: 3rem; 11 + background-color: var(--main1); 12 + border: 0.05rem solid var(--border); 13 + border-radius: 0.6rem 0.6rem 0 0; 14 + box-shadow: 0 0.31rem 0.63rem 0 rgba(0, 0, 0, 0.5); 15 + transition: all ease 0.2s; 16 + bottom: 0; 17 + } 18 + 19 + .footerLeft, 20 + .footerRight { 21 + display: flex; 22 + flex-direction: row; 23 + align-items: center; 24 + } 25 + 26 + .footerLeft{padding-left: 1rem;} 27 + .footerRight{padding-right: 1rem;} 28 + 29 + .footerContent { 30 + display: flex; 31 + flex-direction: row; 32 + gap: 0.4rem; 33 + border-radius: 0.4rem; 34 + align-items: center; 35 + padding: 0.2rem; 36 + text-align: center; 37 + overflow: hidden; 38 + } 39 + 40 + .footerImage { 41 + width: 2.5rem; 42 + height: 2.5rem; 43 + border-radius: 0.3rem; 44 + } 45 + 46 + .footerText { 47 + font-size: 1rem; 48 + } 49 + 50 + .footerSeparator { 51 + display: none; 52 + height: 2.4rem; 53 + border-right: 0.25rem solid var(--selected); 54 + border-radius: 0.25rem; 55 + } 56 + 57 + .footerContent:hover {background-color: #ffffff14;} 58 + .lightMode .footerContent:hover {background-color: #00000014;} 59 + 60 + footer:hover {box-shadow: 0 0.31rem 0.94rem 0.31rem rgba(0, 0, 0, 0.5);} 61 + </style> 62 + <div class="footerLeft"> 63 + <a class="footerContent" href="https://github.com/red-prig" target="_blank"> 64 + <img class="footerImage" src="https://avatars.githubusercontent.com/u/68122101" alt="red-prig github icon"> 65 + <h3 class="footerText" >red-prig: Developer of <span style="color: #f0e74a;">fp</span>PS4</h3> 66 + </a> 67 + </div> 68 + <div class="footerSeparator"></div> 69 + <div class="footerRight"> 70 + <a class="footerContent" href="https://github.com/MrSn0wy" target="_blank"> 71 + <h3 class="footerText" >Website by: Mr. Snowy © 2023</h3> 72 + <img class="footerImage" src="https://avatars.githubusercontent.com/u/61592704" alt="Mr.Snowy github icon"> 73 + </a> 74 + </div>
+1
public_html/parts/images/close.svg
··· 1 + <svg xmlns="http://www.w3.org/2000/svg" height="48" viewBox="0 -960 960 960" width="48"><path d="M480-414 282-216q-14 14-33 14t-33-14q-14-14-14-33t14-33l198-198-198-198q-14-14-14-33t14-33q14-14 33-14t33 14l198 198 198-198q14-14 33-14t33 14q14 14 14 33t-14 33L546-480l198 198q14 14 14 33t-14 33q-14 14-33 14t-33-14L480-414Z"/></svg>
+1
public_html/parts/images/dark_mode.svg
··· 1 + <svg xmlns="http://www.w3.org/2000/svg" height="48" viewBox="0 -960 960 960" width="48"><path d="M482.308-160q-133.077 0-226.539-93.461Q162.307-346.923 162.307-480q0-97.308 51.808-176.693 51.808-79.384 150.039-120.23 31.769-11.077 44.846 4 13.077 15.077 5.539 42.307-4.385 17.616-6.308 35.077-1.923 17.462-1.923 35.539 0 106.923 74.538 181.461Q555.385-404 662.308-404q25 0 45.038-3.731 20.039-3.731 35.116-4.039 27.615-4.461 37.461 8.424 9.847 12.884.616 38.73-34.693 90.231-113.693 147.424Q587.846-160 482.308-160Z"/></svg>
+1
public_html/parts/images/discord.svg
··· 1 + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127.14 96.36"><g id="图层_2" data-name="图层 2"><g id="Discord_Logos" data-name="Discord Logos"><g id="Discord_Logo_-_Large_-_White" data-name="Discord Logo - Large - White"><path d="M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"/></g></g></g></svg>
+1
public_html/parts/images/github.svg
··· 1 + <svg width="98" height="98" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"/></svg>
+39
public_html/parts/images/light_mode.svg
··· 1 + <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 + <svg 3 + height="48" 4 + viewBox="0 -960 960 960" 5 + width="48" 6 + version="1.1" 7 + id="svg11" 8 + sodipodi:docname="light_mode.svg" 9 + inkscape:version="1.2.2 (b0a8486541, 2022-12-01)" 10 + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 11 + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 + xmlns="http://www.w3.org/2000/svg" 13 + xmlns:svg="http://www.w3.org/2000/svg"> 14 + <defs 15 + id="defs15" /> 16 + <sodipodi:namedview 17 + id="namedview13" 18 + pagecolor="#505050" 19 + bordercolor="#ffffff" 20 + borderopacity="1" 21 + inkscape:showpageshadow="0" 22 + inkscape:pageopacity="0" 23 + inkscape:pagecheckerboard="1" 24 + inkscape:deskcolor="#505050" 25 + showgrid="false" 26 + inkscape:zoom="16.791667" 27 + inkscape:cx="15.692308" 28 + inkscape:cy="24.774194" 29 + inkscape:window-width="1920" 30 + inkscape:window-height="1012" 31 + inkscape:window-x="1920" 32 + inkscape:window-y="0" 33 + inkscape:window-maximized="1" 34 + inkscape:current-layer="svg11" /> 35 + <path 36 + d="m 480,-304.94531 q -72.64771,0 -123.8512,-51.20349 -51.20349,-51.20349 -51.20349,-123.8512 0,-72.64771 51.20349,-123.8512 51.20349,-51.20349 123.8512,-51.20349 72.64771,0 123.8512,51.20349 51.20349,51.20349 51.20349,123.8512 0,72.64771 -51.20349,123.8512 Q 552.64771,-304.94531 480,-304.94531 Z M 121.13786,-438.86216 q -17.28666,0 -29.212258,-11.96934 Q 80,-462.80177 80,-480.15317 q 0,-17.35228 11.925602,-29.1685 11.925598,-11.81617 29.212258,-11.81617 h 87.52735 q 17.28663,0 29.21223,11.96934 11.92561,11.97027 11.92561,29.32167 0,17.35228 -11.92561,29.1685 -11.9256,11.81617 -29.21223,11.81617 z m 630.19693,0 q -17.28663,0 -29.21223,-11.96934 -11.92561,-11.97027 -11.92561,-29.32167 0,-17.35228 11.92561,-29.1685 11.9256,-11.81617 29.21223,-11.81617 h 87.52737 q 17.28664,0 29.21224,11.96934 11.9256,11.97027 11.9256,29.32167 0,17.35228 -11.9256,29.1685 -11.9256,11.81617 -29.21224,11.81617 z M 479.84683,-710.19695 q -17.35228,0 -29.1685,-11.92561 -11.81617,-11.9256 -11.81617,-29.21223 v -87.52737 q 0,-17.28664 11.96934,-29.21224 Q 462.80177,-880 480.15317,-880 q 17.35228,0 29.1685,11.9256 11.81617,11.9256 11.81617,29.21224 v 87.52737 q 0,17.28663 -11.96934,29.21223 -11.97027,11.92561 -29.32167,11.92561 z m 0,630.19695 q -17.35228,0 -29.1685,-11.9256 -11.81617,-11.9256 -11.81617,-29.21225 v -87.52736 q 0,-17.28663 11.96934,-29.21223 11.97027,-11.92561 29.32167,-11.92561 17.35228,0 29.1685,11.92561 11.81617,11.9256 11.81617,29.21223 v 87.52736 q 0,17.28665 -11.96934,29.21225 Q 497.19823,-80 479.84683,-80 Z m -220.41577,-561.9256 -49.89057,-49.01533 q -12.25386,-12.25381 -11.92909,-29.4118 0.32383,-17.15887 11.83892,-30.19695 12.1628,-12.16369 28.88403,-12.16369 16.72034,0 29.84945,12.25386 l 49.8906,49.89057 q 11.37857,12.25385 11.37857,28.88403 0,16.63022 -11.37857,28.44638 -12.25381,11.81622 -29.32167,12.6915 -17.06782,0.87524 -29.32167,-11.37857 z m 432.38514,432.38511 -49.8906,-49.89057 q -11.37857,-12.25385 -11.37857,-28.77464 0,-16.52079 11.81621,-28.99342 11.81617,-12.25385 28.88403,-12.25385 17.06782,0 29.32167,12.25385 l 49.89057,48.14005 q 12.25386,12.25381 11.92909,29.4118 -0.32383,17.15887 -11.83892,30.19695 -12.1628,12.16369 -28.88403,12.16369 -16.72034,0 -29.84945,-12.25386 z M 642.80088,-641.9256 q -12.25385,-12.25381 -12.25385,-29.32167 0,-17.06782 12.25385,-29.32167 l 48.14005,-49.89057 q 12.25381,-12.25386 29.4118,-11.92909 17.15887,0.32383 30.19695,11.83892 12.16369,12.1628 12.16369,28.88403 0,16.72034 -12.25386,29.84945 l -49.89057,49.8906 q -11.37857,11.37857 -28.32737,11.37857 -16.94791,0 -29.44069,-11.37857 z m -433.35056,432.47528 q -12.16369,-12.1628 -12.16369,-28.88403 0,-16.72034 12.25386,-29.84945 l 49.89057,-49.8906 q 12.07877,-12.25381 28.35887,-12.25381 16.28009,0 29.06697,12.25381 12.59607,12.25381 12.59607,29.32167 0,17.06782 -12.25385,29.32167 l -48.14005,49.89057 q -12.25381,12.25386 -29.4118,11.92909 -17.15887,-0.32383 -30.19695,-11.83892 z" 37 + id="path9" 38 + style="stroke-width:0.875273" /> 39 + </svg>
+1
public_html/parts/images/menu.svg
··· 1 + <svg xmlns="http://www.w3.org/2000/svg" height="48" viewBox="0 -960 960 960" width="48"><path d="M150-212q-19.75 0-33.375-13.675Q103-239.351 103-259.175 103-279 116.625-292.5 130.25-306 150-306h660q19.75 0 33.375 13.675Q857-278.649 857-258.825 857-239 843.375-225.5 829.75-212 810-212H150Zm0-221q-19.75 0-33.375-13.675Q103-460.351 103-480.175 103-500 116.625-513.5 130.25-527 150-527h660q19.75 0 33.375 13.675Q857-499.649 857-479.825 857-460 843.375-446.5 829.75-433 810-433H150Zm0-221q-19.75 0-33.375-13.675Q103-681.351 103-701.175 103-721 116.625-735 130.25-749 150-749h660q19.75 0 33.375 14.175 13.625 14.176 13.625 34Q857-681 843.375-667.5 829.75-654 810-654H150Z"/></svg>
+1
public_html/parts/images/unused/close.svg
··· 1 + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
+1
public_html/parts/images/unused/dark_mode.svg
··· 1 + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.37 5.51A7.35 7.35 0 0 0 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27A7.014 7.014 0 0 1 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49zM12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26 5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>
+1
public_html/parts/images/unused/discord-mark-black-crop-opti.svg
··· 1 + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="matrix(.189 0 0 .189 7.79e-5 3)" data-name="图层 2"><g data-name="Discord Logos"><g data-name="Discord Logo - Large - White"><path d="m108 8.07a105 105 0 0 0-26.2-8.07 72.1 72.1 0 0 0-3.36 6.83 97.7 97.7 0 0 0-29.1 0 72.4 72.4 0 0 0-3.36-6.83 106 106 0 0 0-26.2 8.09c-16.6 24.6-21.1 48.5-18.8 72.1a106 106 0 0 0 32.2 16.2 77.7 77.7 0 0 0 6.89-11.1 68.4 68.4 0 0 1-10.8-5.18c0.91-0.66 1.8-1.34 2.66-2a75.6 75.6 0 0 0 64.3 0c0.87 0.71 1.76 1.39 2.66 2a68.7 68.7 0 0 1-10.9 5.19 77 77 0 0 0 6.89 11.1 105 105 0 0 0 32.2-16.1c2.64-27.4-4.51-51.1-18.9-72.2zm-65.2 57.6c-6.27 0-11.4-5.69-11.4-12.7s5-12.7 11.4-12.7 11.6 5.74 11.5 12.7-5.05 12.7-11.4 12.7zm42.2 0c-6.28 0-11.4-5.69-11.4-12.7s5-12.7 11.4-12.7 11.5 5.74 11.4 12.7-5.04 12.7-11.4 12.7z"/></g></g></g></svg>
+1
public_html/parts/images/unused/github-mark-black.svg
··· 1 + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 98 98"><path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" fill="#000000"/></svg>
+1
public_html/parts/images/unused/menu.svg
··· 1 + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>
+72
public_html/parts/navbar.html
··· 1 + <style> 2 + header { 3 + box-sizing: border-box; 4 + display: flex; 5 + position: fixed; 6 + align-items: center; 7 + justify-content: space-between; 8 + width: 100%; 9 + height: 3rem; 10 + /* margin-top: 1.5rem; */ 11 + background-color: var(--main1); 12 + border: 0.05rem solid var(--border); 13 + border-radius: 0 0 0.5rem 0.5rem; 14 + box-shadow: 0 0.31rem 0.63rem 0 rgba(0, 0, 0, 0.5); 15 + z-index: 6; 16 + transition: all ease 0.2s; 17 + } 18 + header:hover {box-shadow: 0 0.31rem 0.94rem 0.31rem rgba(0, 0, 0, 0.5);} 19 + 20 + .logo { 21 + margin: 0 3.5vw; 22 + padding: 1.25rem 0.94rem !important; 23 + text-decoration: none; 24 + font-size: 1.5rem; 25 + color: var(--text); 26 + line-height: 0%; 27 + filter: invert(1); 28 + } 29 + .logo span {filter: invert(1);} /* fix text color */ 30 + 31 + .navbar-right { 32 + display: flex; 33 + justify-content: flex-end; 34 + align-items: center; 35 + line-height: 0%; 36 + margin: 0 3.5vw; 37 + gap: 0.5vw; 38 + filter: invert(1); 39 + } 40 + 41 + .gh-logo, .dc-logo, .menu-icon, .lightModeButton, .logo { 42 + cursor: pointer; 43 + border-radius: 0.5rem; 44 + } 45 + .smolImage {height: 1.5rem; width: 1.5rem;} 46 + .bigImage {height: 2.5rem; width: 2.5rem;} 47 + .gh-logo, .dc-logo {padding: 0.38rem;} /* fix icon hover */ 48 + .dc-logo {margin-right: 1.2vw;} 49 + 50 + .lightMode .navbar-right, .lightMode .logo {filter: invert(0);} /* light mode */ 51 + .lightMode .logo span {filter: invert(0);} /* light mode */ 52 + .menu-icon:hover, .gh-logo:hover, .dc-logo:hover, .lightModeButton:hover, .logo:hover {background-color: #00000014;}/* hover effect */ 53 + </style> 54 + <a href="https://fpps4.net" class="logo"> 55 + <span style="color: #fff53c; font-weight: 500;">fp</span><span style="font-weight: 500;">PS4</span> 56 + </a> 57 + <div class="navbar-right"> 58 + <a href="https://github.com/red-prig/fpPS4" class="gh-logo"> 59 + <img src="https://fpps4.net/parts/images/github.svg" class="smolImage" alt="Github logo"> 60 + </a> 61 + <a href="https://discord.com/invite/up9qatpX7M" target="_blank" class="dc-logo"> 62 + <img src="https://fpps4.net/parts/images/discord.svg" class="smolImage" alt="Discord logo"> 63 + </a> 64 + <div onclick="toggleMenu()" class="menu-icon"> 65 + <img src="https://fpps4.net/parts/images/menu.svg" id="menu-icon" class="bigImage" alt="Menu button"> 66 + <img src="https://fpps4.net/parts/images/close.svg" id="close-icon" style="display: none;" class="bigImage" alt="Close Menu button"> 67 + </div> 68 + <div onclick="toggleLightMode()" class="lightModeButton"> 69 + <img src="https://fpps4.net/parts/images/dark_mode.svg" id="darkModeIcon" style="opacity: 0;" class="bigImage" alt="Dark mode toggle"> 70 + <img src="https://fpps4.net/parts/images/light_mode.svg" id="lightModeIcon" style="display: none;" class="bigImage" alt="Light mode toggle"> 71 + </div> 72 + </div>
+72
public_html/parts/navbar_old.html
··· 1 + <style> 2 + header { 3 + display: flex; 4 + position: fixed; 5 + align-items: center; 6 + justify-content: space-between; 7 + width: 97vw; 8 + height: 3rem; 9 + margin-top: 0.5rem; 10 + background-color: var(--main1); 11 + border: 0.05rem solid var(--border); 12 + border-radius: 0.5rem; 13 + box-shadow: 0 0.31rem 0.63rem 0 rgba(0, 0, 0, 0.5); 14 + z-index: 6; 15 + transition: all ease 0.2s; 16 + } 17 + 18 + header:hover {box-shadow: 0 0.31rem 0.94rem 0.31rem rgba(0, 0, 0, 0.5);} 19 + 20 + .logo { 21 + margin: 0 3.5vw; 22 + padding: 1.25rem 0.94rem !important; 23 + text-decoration: none; 24 + font-size: 1.5rem; 25 + color: var(--text); 26 + line-height: 0%; 27 + filter: invert(1); 28 + } 29 + .logo span {filter: invert(1);} /* fix text color */ 30 + 31 + .navbar-right { 32 + display: flex; 33 + justify-content: flex-end; 34 + align-items: center; 35 + line-height: 0%; 36 + margin: 0 3.5vw; 37 + gap: 0.5vw; 38 + filter: invert(1); 39 + } 40 + 41 + .gh-logo, .dc-logo, .menu-icon, .lightModeButton, .logo { 42 + cursor: pointer; 43 + border-radius: 0.5rem; 44 + } 45 + .smolImage {height: 1.5rem; width: 1.5rem;} 46 + .bigImage {height: 2.5rem; width: 2.5rem;} 47 + .gh-logo, .dc-logo {padding: 0.38rem;} /* fix icon hover */ 48 + .dc-logo {margin-right: 1.2vw;} 49 + 50 + .lightMode .navbar-right, .lightMode .logo {filter: invert(0);} /* light mode */ 51 + .lightMode .logo span {filter: invert(0);} /* light mode */ 52 + .menu-icon:hover, .gh-logo:hover, .dc-logo:hover, .lightModeButton:hover, .logo:hover {background-color: #00000014;}/* hover effect */ 53 + </style> 54 + <a href="https://fpps4.net" class="logo"> 55 + <span style="color: #fff53c; font-weight: 500;">fp</span><span style="font-weight: 500;">PS4</span> 56 + </a> 57 + <div class="navbar-right"> 58 + <a href="https://github.com/red-prig/fpPS4" class="gh-logo"> 59 + <img src="https://fpps4.net/parts/images/github.svg" class="smolImage" alt="Github logo"> 60 + </a> 61 + <a href="https://discord.com/invite/up9qatpX7M" target="_blank" class="dc-logo"> 62 + <img src="https://fpps4.net/parts/images/discord.svg" class="smolImage" alt="Discord logo"> 63 + </a> 64 + <div onclick="toggleMenu()" class="menu-icon"> 65 + <img src="https://fpps4.net/parts/images/menu.svg" id="menu-icon" class="bigImage" alt="Menu button"> 66 + <img src="https://fpps4.net/parts/images/close.svg" id="close-icon" style="display: none;" class="bigImage" alt="Close Menu button"> 67 + </div> 68 + <div onclick="toggleLightMode()" class="lightModeButton"> 69 + <img src="https://fpps4.net/parts/images/dark_mode.svg" id="darkModeIcon" style="opacity: 0;" class="bigImage" alt="Dark mode toggle"> 70 + <img src="https://fpps4.net/parts/images/light_mode.svg" id="lightModeIcon" style="display: none;" class="bigImage" alt="Light mode toggle"> 71 + </div> 72 + </div>
+3
public_html/robots.txt
··· 1 + User-agent: * 2 + Allow: / 3 + Sitemap: https://fpps4.net/sitemap.xml
+13
public_html/scripts/bot.php
··· 1 + <?php 2 + $serverUsername = getenv('USERNAME'); 3 + require_once "/home/{$serverUsername}/domains/fpps4.net/config/config.php"; // import config file 4 + $validSecret = BOT_ACCESS_SECRET; 5 + $validArgument = BOT_ARGUMENT_SECRET; 6 + 7 + // The secret query parameter is provided and matches the valid secret 8 + if ((isset($_GET[$validArgument]) && $_GET[$validArgument] === $validSecret) || (isset($argv[1]) && $argv[1] === $validSecret)) { 9 + echo "you got the password right, nice!"; 10 + } else { 11 + http_response_code(404); 12 + include("/home/{$serverUsername}/domains/fpps4.net/public_html/404.php"); 13 + }?>
+321
public_html/scripts/issue_fetcher.php
··· 1 + <?php 2 + $serverUsername = getenv('USERNAME'); 3 + require_once "/home/{$serverUsername}/domains/fpps4.net/config/config.php"; // import config file 4 + $validSecret = ACCESS_SECRET; 5 + $validArgument = ARGUMENT_SECRET; 6 + 7 + // The secret query parameter is provided and matches the valid secret 8 + if ((isset($_GET[$validArgument]) && $_GET[$validArgument] === $validSecret) || (isset($argv[1]) && $argv[1] === $validSecret)) { 9 + 10 + $host = DATABASE_HOST; 11 + $username = DATABASE_USERNAME; 12 + $password = DATABASE_PASSWORD; 13 + $database = DATABASE_NAME; 14 + $githubToken = GITHUB_TOKEN; 15 + $tmdbHash = TMDB_HASH; 16 + 17 + try { 18 + $conn = new PDO("mysql:host=$host;dbname=$database", $username, $password); 19 + $conn->query("DROP TABLE IF EXISTS newIssues"); 20 + 21 + // creating tables 22 + $sqlOld = "CREATE TABLE IF NOT EXISTS issues ( 23 + id INT(5) PRIMARY KEY, 24 + cusaCode VARCHAR(10), 25 + title VARCHAR(130), 26 + tags VARCHAR(12), 27 + updatedDate VARCHAR(12) 28 + )"; 29 + 30 + $sqlNew = "CREATE TABLE IF NOT EXISTS newIssues ( 31 + id INT(5) PRIMARY KEY, 32 + cusaCode VARCHAR(10), 33 + title VARCHAR(130), 34 + tags VARCHAR(12), 35 + updatedDate VARCHAR(12) 36 + )"; 37 + 38 + $sqlSkips = "CREATE TABLE IF NOT EXISTS GameSkips ( 39 + cusaCode VARCHAR(10) PRIMARY KEY 40 + )"; 41 + 42 + $conn->exec($sqlOld); 43 + $conn->exec($sqlNew); 44 + $conn->exec($sqlSkips); 45 + echo "Tables created successfully.<br>"; 46 + 47 + } catch (PDOException $e) { 48 + die("Error creating tables: " . $e->getMessage()); 49 + } 50 + //- creating tables 51 + 52 + function get_open_issues_count() { 53 + global $githubToken; 54 + global $gh_api_total; 55 + 56 + $curl_handle = curl_init(); 57 + curl_setopt($curl_handle, CURLOPT_URL, 'https://api.github.com/repos/red-prig/fpps4-game-compatibility'); 58 + curl_setopt($curl_handle, CURLOPT_HTTPHEADER, array('Accept: application/vnd.github+json', 'Authorization: Bearer '.$githubToken)); 59 + curl_setopt($curl_handle, CURLOPT_USERAGENT, "php/curl"); 60 + curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2); 61 + curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1); 62 + $buffer = curl_exec($curl_handle); 63 + curl_close($curl_handle); 64 + $data = json_decode($buffer, true); 65 + 66 + $gh_api_total++; 67 + echo "Open issues counted successfully.<br>"; 68 + return $data['open_issues_count']; 69 + } 70 + 71 + function get_open_issues($page) { 72 + global $githubToken; 73 + global $gh_api_total; 74 + 75 + $curl_handle = curl_init(); 76 + curl_setopt($curl_handle, CURLOPT_URL, 'https://api.github.com/repos/red-prig/fpps4-game-compatibility/issues?page='.$page.'&per_page=100&state=open&direction=ASC'); 77 + curl_setopt($curl_handle, CURLOPT_HTTPHEADER, array('Accept: application/vnd.github+json', 'Authorization: Bearer '.$githubToken)); 78 + curl_setopt($curl_handle, CURLOPT_USERAGENT, "php/curl"); 79 + curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2); 80 + curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1); 81 + $buffer = curl_exec($curl_handle); 82 + curl_close($curl_handle); 83 + 84 + // echo "processed page $page.<br>"; 85 + $gh_api_total++; 86 + return $buffer; 87 + } 88 + 89 + function insert_issue($issue, $conn) { 90 + $id = $issue['number']; 91 + $title = $issue['title']; 92 + $cusaCode = extract_cusaCode($title); 93 + $tags = implode(', ', array_column($issue['labels'], 'name')); 94 + $updatedDate = date('d/m/Y', strtotime($issue['updated_at'])); 95 + 96 + // Remove CUSA code from the title 97 + $clean_title = preg_replace('/\b' . preg_quote($cusaCode, '/') . '\b/', '', $title); 98 + $clean_title = preg_replace('/\s+-\s+/', ' - ', $clean_title); 99 + $clean_title = rtrim($clean_title, '- '); 100 + $clean_title = rtrim($clean_title, ' '); 101 + $clean_title = rtrim($clean_title, '[]'); 102 + 103 + // Filter labels and give them the correct names 104 + $filteredTags = array_filter($issue['labels'], function ($label) { 105 + return in_array($label['name'], ['status-nothing', 'status-boots', 'status-ingame', 'status-menus', 'status-playable']); 106 + }); 107 + 108 + $tagNames = array_map(function ($label) { 109 + return ucwords(str_replace('status-', '', $label['name'])); 110 + }, $filteredTags); 111 + 112 + if (empty($tagNames)) { 113 + $tagNames = ['N/A']; 114 + } else { 115 + // Define the order of preference for tags 116 + $tagOrder = [ 117 + 'status-playable', 118 + 'status-ingame', 119 + 'status-menus', 120 + 'status-boots', 121 + 'status-nothing' 122 + ]; 123 + 124 + // Sort the tags based on their preference 125 + usort($tagNames, function ($a, $b) use ($tagOrder) { 126 + return array_search($a, $tagOrder) <=> array_search($b, $tagOrder); 127 + }); 128 + 129 + // Take the first (best) tag 130 + $tagNames = array_slice($tagNames, 0, 1); 131 + } 132 + 133 + $tags = implode(', ', $tagNames); 134 + 135 + // Use prepared statement to insert data into the database 136 + $insert_query = "INSERT INTO newIssues (id, cusaCode, title, tags, updatedDate) VALUES (:id, :cusaCode, :clean_title, :tags, :updatedDate)"; 137 + $stmt = $conn->prepare($insert_query); 138 + $stmt->bindParam(':id', $id, PDO::PARAM_INT); 139 + $stmt->bindParam(':cusaCode', $cusaCode, PDO::PARAM_STR); 140 + $stmt->bindParam(':clean_title', $clean_title, PDO::PARAM_STR); 141 + $stmt->bindParam(':tags', $tags, PDO::PARAM_STR); 142 + $stmt->bindParam(':updatedDate', $updatedDate, PDO::PARAM_STR); 143 + 144 + if (!$stmt->execute()) { 145 + die("Error inserting issue: " . $stmt->errorInfo()[2]); 146 + } 147 + } 148 + 149 + function extract_cusaCode($title) { 150 + preg_match('/CUSA[0-9]{5,}/', $title, $matches); 151 + if (!empty($matches)) { 152 + return $matches[0]; 153 + } 154 + 155 + return null; 156 + } 157 + 158 + // Images logic 159 + function get_image($cusaCode, $conn, $serverUsername) { 160 + global $tmdbHash; 161 + $key = hex2bin($tmdbHash); 162 + $hashme = $cusaCode . '_00'; 163 + $hash = strtoupper(hash_hmac('sha1', $hashme, $key)); 164 + $url = "https://tmdb.np.dl.playstation.net/tmdb2/{$cusaCode}_00_{$hash}/{$cusaCode}_00.json"; 165 + 166 + $headers = get_headers($url); 167 + if ($headers !== false && strpos($headers[0], '200') !== false) { 168 + $response = file_get_contents($url); 169 + if ($response !== false) { 170 + $data = json_decode($response, true); 171 + if (isset($data['icons']) && is_array($data['icons']) && count($data['icons']) > 0) { 172 + $iconUrl = $data['icons'][0]['icon']; 173 + $httpsIconUrl = str_replace('http://', 'https://', $iconUrl); 174 + $imagick = new Imagick(); 175 + 176 + $avifIconURL = "/home/{$serverUsername}/domains/fpps4.net/public_html/beta/images/CUSA/{$cusaCode}.avif"; 177 + $result = null; 178 + if ($imagick->readImage($httpsIconUrl)) { 179 + $imageFormat = $imagick->getImageFormat(); 180 + if ($imageFormat == 'JPEG' || $imageFormat == 'PNG') { 181 + $imagick->setImageFormat('avif'); 182 + $imagick->setCompressionQuality(75); 183 + $imagick->setImageProperty('avif:effort', '10'); 184 + $imagick->setImageProperty('avif:speed', '8'); 185 + $imagick->thumbnailImage(128, 128, true); 186 + $imagick->setImageProperty('avif:strip', ''); 187 + // Compress and save the image 188 + if ($imagick->writeImage($avifIconURL)) { 189 + $result = $avifIconURL; 190 + } else { 191 + $result = null; 192 + } 193 + } else { 194 + $result = null; 195 + } 196 + } else { 197 + $result = null; 198 + } 199 + $imagick->clear(); 200 + $imagick->destroy(); 201 + return $result; 202 + } 203 + } 204 + } 205 + // Write the skipped $cusaCode to the database 206 + $skippedCode = $conn->quote($cusaCode); 207 + $insertQuery = "INSERT INTO gameSkips (cusaCode) VALUES ($skippedCode)"; 208 + $conn->exec($insertQuery); 209 + return null; 210 + } 211 + //- Images logic 212 + 213 + $gh_api_total = 0; 214 + $open_issues_count = get_open_issues_count($gh_api_total); 215 + $total_pages = ceil($open_issues_count / 100); 216 + $total_processed = 0; 217 + $total_skipped = 0; 218 + $CUSA_total_skipped = 0; 219 + $images_downloaded = 0; 220 + $images_skiped = 0; 221 + 222 + for ($page = 1; $page <= $total_pages; $page++) { 223 + $issues_data = get_open_issues($page); 224 + $issues_array = json_decode($issues_data, true); 225 + 226 + foreach ($issues_array as $issue) { 227 + $title = $issue['title']; 228 + $cusaCode = extract_cusaCode($title); 229 + $avifIconURL = "/home/{$serverUsername}/domains/fpps4.net/public_html/beta/images/CUSA/{$cusaCode}.avif"; 230 + 231 + // Check if cusa code is empty 232 + if ($cusaCode) { 233 + $query = "SELECT cusaCode FROM newIssues WHERE cusaCode = :cusaCode"; 234 + $stmt = $conn->prepare($query); 235 + $stmt->bindParam(':cusaCode', $cusaCode, PDO::PARAM_STR); 236 + $stmt->execute(); 237 + $check_result = $stmt->fetchAll(PDO::FETCH_ASSOC); 238 + 239 + if (count($check_result) > 0) { 240 + $total_skipped++; 241 + // echo "Duplicate found: " . $cusaCode . "<br>"; // echo duplicates 242 + continue; 243 + } 244 + $total_processed++; 245 + insert_issue($issue, $conn); 246 + 247 + if (!file_exists($avifIconURL)) { // check for images 248 + $query = "SELECT cusaCode FROM GameSkips WHERE cusaCode = :cusaCode"; 249 + $stmt = $conn->prepare($query); 250 + $stmt->bindParam(':cusaCode', $cusaCode, PDO::PARAM_STR); 251 + $stmt->execute(); 252 + 253 + if ($stmt->rowCount() > 0) { 254 + $images_skiped++; 255 + continue; 256 + } else { 257 + get_image($cusaCode, $conn, $serverUsername); // Download image 258 + $images_downloaded++; 259 + } 260 + } else { 261 + $images_skiped++; 262 + } 263 + 264 + } else { 265 + $CUSA_total_skipped++; 266 + continue; 267 + } 268 + } 269 + } 270 + 271 + // Check if newIssues table is empty 272 + $result = $conn->query("SELECT COUNT(*) as count FROM newIssues"); 273 + if ($result === false) { 274 + die("Error checking table: " . $conn->errorInfo()[2]); 275 + } 276 + echo "newIssues checked succesfully<br>"; 277 + 278 + $data_count = $result->fetchColumn(); 279 + if ($data_count > 0) { 280 + echo "newIssues is full<br>"; 281 + 282 + $dropOldTable = $conn->query("DELETE FROM issues"); 283 + if ($dropOldTable === false) { 284 + die("Error dropping table: " . $conn->errorInfo()[2]); 285 + } 286 + echo "oldIssues emptied succesfully<br>"; 287 + 288 + // move new issues to old issues + cleanup 289 + $moveResult = $conn->query("INSERT INTO issues (id, cusaCode, title, tags, updatedDate) SELECT id, cusaCode, title, tags, updatedDate FROM newIssues"); 290 + if ($moveResult === false) { 291 + die("Error moving data to issues table: " . $conn->errorInfo()[2]); 292 + } 293 + echo "Moved all issues succesfully<br>"; 294 + 295 + // drop newIssues table 296 + $dropNewTable = $conn->query("DROP TABLE IF EXISTS newIssues"); 297 + if ($dropNewTable === false) { 298 + die("Error dropping table: " . $conn->errorInfo()[2]); 299 + } 300 + echo "newIssues emptied succesfully<br>"; 301 + } else { 302 + print "<br>error: No issues found in newIssues. "; 303 + } 304 + $conn = null; 305 + 306 + // print debug stuff 307 + print "<br>done :D"; 308 + print "<br>Total pages: " . $total_pages; 309 + print "<br>Total open issues: " . $open_issues_count; 310 + print "<br>Total issues without CUSA: " . $CUSA_total_skipped; 311 + print "<br>Total issues processed: " . $total_processed; 312 + print "<br>Total duplicates: " . $total_skipped; 313 + print "<br>Total images downloaded: " . $images_downloaded; 314 + print "<br>Total images skipped: " . $images_skiped; 315 + print "<br>Total github api requests: " . $gh_api_total; 316 + 317 + // Fake 404 page vv 318 + } else { 319 + http_response_code(404); 320 + include("/home/{$serverUsername}/domains/fpps4.net/public_html/404.php"); 321 + }?>
+11
public_html/sitemap.xml
··· 1 + <?xml version="1.0" encoding="UTF-8"?> 2 + <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> 3 + <url> 4 + <loc>https://fpps4.net/</loc> 5 + <priority>1.0</priority> 6 + </url> 7 + <url> 8 + <loc>https://fpps4.net/compatibility/</loc> 9 + <priority>1.0</priority> 10 + </url> 11 + </urlset>
+268
public_html/sizes.css
··· 1 + @media screen and (min-width: 3830px) { 2 + .coming-soon { 3 + font-size: 84px; 4 + } 5 + 6 + .main-text { 7 + font-size: 94px; 8 + } 9 + 10 + .progress-text { 11 + font-size: 50px; 12 + } 13 + 14 + .button { 15 + padding: 27px 0; 16 + width: 316px; 17 + height: 122px; 18 + font-size: 40px; 19 + border-radius: 20px; 20 + border: 6px solid rgba(255, 255, 255, 0.4); 21 + } 22 + 23 + .bottom-top-text { 24 + font-size: 94px; 25 + } 26 + 27 + .bottom-desc-text { 28 + font-size: 48px; 29 + } 30 + 31 + .buttons-container { 32 + gap: 126px; 33 + } 34 + 35 + .thank-user-container { 36 + font-size: 40px; 37 + gap: 54px; 38 + } 39 + .button:hover {border: 6px solid var(--txt-color);} 40 + 41 + } 42 + 43 + @media screen and (min-width: 2560px) { 44 + .coming-soon { 45 + font-size: 51px; 46 + } 47 + 48 + .main-text { 49 + font-size: 65px; 50 + } 51 + 52 + .progress-text { 53 + font-size: 27px; 54 + } 55 + 56 + .button { 57 + padding: 16px 0; 58 + width: 173px; 59 + height: 66px; 60 + font-size: 22px; 61 + border-radius: 16px; 62 + border: 3px solid rgba(255, 255, 255, 0.4); 63 + } 64 + 65 + .bottom-top-text { 66 + font-size: 52px; 67 + } 68 + 69 + .bottom-desc-text { 70 + font-size: 30px; 71 + } 72 + 73 + .buttons-container { 74 + gap: 80px; 75 + } 76 + 77 + .thank-user-container { 78 + font-size: 24px; 79 + gap: 32px; 80 + } 81 + .button:hover {border: 3px solid var(--txt-color);} 82 + 83 + } 84 + 85 + @media screen and (max-width: 1280px) { 86 + .button { 87 + padding: 9px 0; 88 + width: 116px; 89 + height: 42px; 90 + font-size: 14px; 91 + } 92 + 93 + .bottom-top-text { 94 + font-size: 28px; 95 + } 96 + 97 + .bottom-desc-text { 98 + font-size: 18px; 99 + } 100 + 101 + .thank-user-container { 102 + font-size: 16px; 103 + left: 17%; 104 + } 105 + } 106 + 107 + @media screen and (max-width: 1024px) { 108 + .top-text-container { 109 + width: 65%; 110 + height: 50%; 111 + } 112 + 113 + .coming-soon { 114 + font-size: 30px; 115 + } 116 + 117 + .main-text { 118 + font-size: 40px; 119 + } 120 + 121 + 122 + .bottom-top-text { 123 + font-size: 25px; 124 + } 125 + 126 + .bottom-desc-text { 127 + font-size: 17px; 128 + margin: 0 15%; 129 + } 130 + 131 + .thank-user-container { 132 + font-size: 15px; 133 + left: 18%; 134 + gap: 14px; 135 + left: 9%; 136 + } 137 + } 138 + 139 + @media screen and (max-width: 770px) { 140 + .coming-soon { 141 + font-size: 28px; 142 + } 143 + 144 + .main-text { 145 + font-size: 38px; 146 + } 147 + 148 + .progress-text { 149 + font-size: 17px; 150 + margin: 0 10%; 151 + } 152 + 153 + .buttons-container { 154 + gap: 40px; 155 + } 156 + 157 + .bottom-left { 158 + left: 50%; 159 + width: 80% !important; 160 + height: 55%; 161 + top: 16%; 162 + } 163 + 164 + .bottom-right { 165 + top: 95%; 166 + left: 50%; 167 + width: 80% !important; 168 + height: 55%; 169 + } 170 + 171 + .top-text-container { 172 + width: 80% !important; 173 + } 174 + 175 + .bottom-container { 176 + height: 60vh !important; 177 + } 178 + 179 + .thank-user-container{ 180 + left: 17%; 181 + } 182 + 183 + } 184 + 185 + @media screen and (max-width: 600px) { 186 + .top-text-container { 187 + height: 40%; 188 + } 189 + 190 + .coming-soon { 191 + font-size: 22px; 192 + } 193 + 194 + .main-text { 195 + font-size: 28px; 196 + } 197 + 198 + .progress-text { 199 + font-size: 14px; 200 + } 201 + 202 + .bottom-top-text { 203 + font-size: 26px; 204 + } 205 + 206 + .button { 207 + padding: 7px 0; 208 + width: 100px; 209 + height: 34px; 210 + font-size: 12px; 211 + } 212 + 213 + .bottom-desc-text { 214 + font-size: 14px; 215 + } 216 + 217 + .thank-user-container { 218 + font-size: 13px; 219 + gap: 14px; 220 + } 221 + 222 + .buttons-container { 223 + gap: 16px; 224 + } 225 + } 226 + 227 + @media screen and (max-width: 460px) { 228 + .top-text-container { 229 + height: 35%; 230 + width: 70%; 231 + } 232 + 233 + .main-text { 234 + font-size: 26px; 235 + } 236 + 237 + .progress-text { 238 + font-size: 13.5px; 239 + margin: 0 1%; 240 + } 241 + 242 + .bottom-desc-text { 243 + font-size: 13.5px; 244 + margin: 0 4%; 245 + } 246 + 247 + .thank-user-container { 248 + left: 8%; 249 + font-size: 12px; 250 + gap: 12px; 251 + } 252 + } 253 + 254 + @media screen and (max-width: 360px) { 255 + .progress-text { 256 + font-size: 12.5px; 257 + } 258 + 259 + .bottom-desc-text { 260 + font-size: 12.5px; 261 + } 262 + 263 + .thank-user-container { 264 + left: 7%; 265 + font-size: 12px; 266 + gap: 12px; 267 + } 268 + }
+174
public_html/style.css
··· 1 + 2 + 3 + /* + scrollbar */ 4 + ::-webkit-scrollbar { 5 + width: 9px;} 6 + 7 + ::-webkit-scrollbar-thumb { 8 + background: #2a3136; 9 + border-radius: 2px;} 10 + 11 + ::-webkit-scrollbar-thumb:hover { 12 + background: #383e45; } 13 + /* - scrollbar */ 14 + 15 + * { 16 + margin: 0; 17 + padding: 0; 18 + box-sizing: border-box; 19 + font-family: 'Montserrat', sans-serif; 20 + color: white; 21 + text-decoration: none; 22 + scrollbar-color: #2a3136 #ffffff00; /* - FF scrollbar */ 23 + text-rendering: optimizeLegibility; 24 + } 25 + 26 + html {scroll-behavior: smooth; transition: all ease 0.4s;} 27 + 28 + body{ 29 + background-color: #0e141b; 30 + overflow-x: hidden; 31 + height: 180vh !important; 32 + } 33 + 34 + .top { 35 + display: flex; 36 + justify-content: center; 37 + height: 100vh; 38 + } 39 + 40 + .top-text-container { 41 + transform: translate(-50%, -50%); 42 + display: flex; 43 + flex-direction: column; 44 + position: absolute; 45 + align-items: center; 46 + text-align: center; 47 + top: 50%; 48 + left: 50%; 49 + width: 50%; 50 + height: 50%; 51 + background-color: #242830; 52 + border: 1px solid rgba(225, 225, 225, 0.05); 53 + border-radius: 8px; 54 + box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5); 55 + } 56 + 57 + .coming-soon { 58 + transform: translatey(-50%); 59 + position: absolute; 60 + top: 16%; 61 + font-size:32px; 62 + } 63 + 64 + .main-text { 65 + transform: translatey(-50%); 66 + position: absolute; 67 + top: 35%; 68 + font-size: 42px; 69 + } 70 + 71 + 72 + .progress-text { 73 + position: absolute; 74 + top: 52%; 75 + margin: 0 12%; 76 + font-size: 20px; 77 + } 78 + 79 + .button { 80 + cursor: pointer; 81 + position: relative; 82 + width: 130px; 83 + height: 50px; 84 + padding: 12px 0; 85 + text-align: center; 86 + border-radius: 8px; 87 + font-size: 16px; 88 + border: 2px solid rgba(255, 255, 255, 0.4); 89 + } 90 + 91 + .learnmore-button { 92 + top: 72%; 93 + } 94 + 95 + .bottom-container { 96 + display: flex; 97 + position: relative; 98 + height: 80vh; 99 + } 100 + 101 + .bottom-left { 102 + transform: translate(-50%, -50%); 103 + display: flex; 104 + position: absolute; 105 + top: 45%; 106 + left: 30%; 107 + width: 50%; 108 + height: 62%; 109 + flex-direction: column; 110 + align-items: center; 111 + text-align: center; 112 + background-color: #252a33; 113 + border: 1px solid rgba(225, 225, 225, 0.05); 114 + border-radius: 8px; 115 + box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5); 116 + } 117 + 118 + .bottom-right { 119 + transform: translate(-50%, -50%); 120 + display: flex; 121 + position: absolute; 122 + top: 45%; 123 + left: 78%; 124 + width: 35%; 125 + height: 62%; 126 + flex-direction: column; 127 + align-items: center; 128 + background-color: #252a33; 129 + border: 1px solid rgba(225, 225, 225, 0.05); 130 + border-radius: 8px; 131 + box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5); 132 + } 133 + 134 + .bottom-top-text { 135 + transform: translatey(-50%); 136 + position: absolute; 137 + top: 20%; 138 + font-size: 39px; 139 + } 140 + 141 + .bottom-desc-text { 142 + transform: translatey(-50%); 143 + position: absolute; 144 + font-size: 22px; 145 + top: 38%; 146 + margin: 0 22%; 147 + } 148 + 149 + .buttons-container { 150 + transform: translate(-50%, -50%); 151 + position: absolute; 152 + display: flex; 153 + top: 65%; 154 + left: 50%; 155 + gap: 60px; 156 + } 157 + 158 + .thank-user-container { 159 + display: flex; 160 + position: absolute; 161 + flex-wrap: wrap; 162 + top: 38%; 163 + left: 17%; 164 + font-size: 18px; 165 + gap: 24px; 166 + } 167 + 168 + .top-text-container:hover {box-shadow: 0px 6px 15px 2px rgba(0, 0, 0, 0.5);} 169 + 170 + .button:hover {border: 2px solid white;} 171 + 172 + .bottom-right:hover {box-shadow: 0px 6px 15px 2px rgba(0, 0, 0, 0.5);} 173 + 174 + .bottom-left:hover {box-shadow: 0px 6px 15px 2px rgba(0, 0, 0, 0.5);}