forked from BoKKeR/PS4RaspberryPi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
190 lines (174 loc) · 10 KB
/
index.html
1
2
3
4
5
6
7
8
9
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
<!DOCTYPE html>
<html manifest="trainer.cache">
<head>
<meta charset="UTF-8">
<title>PS4 Offline Trainer (TylerMods) by Kameleon</title>
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="font-awesome.min.css">
<link rel="stylesheet" href="main.css">
<script>
//Offline Method By Kameleon...... Fucking SALT STOLE IT -_-
window.applicationCache.ondownloading = function()
{
document.getElementById("progress").innerHTML="<h3>Caching started...</h3>";
};
window.applicationCache.onprogress = function(a)
{
document.getElementById("progress").style.textAlign='center';
document.getElementById("progress").style.color='orange';
document.getElementById("progress").innerHTML="<h3>Caching Status: "+(Math.round(100*(a.loaded/a.total)))+"% Completed</h3>";
};
window.applicationCache.oncached = window.applicationCache.onupdateready = function()
{
document.getElementById("progress").style.color='green';
document.getElementById("progress").innerHTML="<h3>Page Cached, Please Close Broser and Turn Off Internet!</h3>";
};
</script>
<script src="jquery.min.js"></script>
<script src="bootstrap.js"></script>
<script src="lazyload.min.js"></script>
<script src="BigInteger.min.js"></script>
<script src="loadingoverlay.min.js"></script>
<script src="main.js"></script>
</head>
<body class="bg-darker"><br>
<div id="progress" style="color:white; align-content: center;"></div>
<br>
<h1 style='font-size:20px;text-align:center;color:white'>PS4 Offline Trainer (TylerMods) Update 01-06-2022</h1>
<h1 style='font-size:20px;text-align:center;color:green'>Offline Method Version By Kameleon!!!</h1>
<button onclick="topFunction()" id="myBtn" class="top" title="Go to top">Top</button>
<script>
//Get the button
var mybutton = document.getElementById("myBtn");
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
mybutton.style.display = "block";
} else {
mybutton.style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
function updatetrainer(){
$.ajax({url:"updatetrainer.php",
context: document.body,
success: function(){
alert('Trainer-Update finished!'),
location.reload();}
})
}
</script>
<div class="jumbotron transparent" style="margin: auto;height: 50%; width: 50%; border-radius: 10px; border: 5px black solid; border-color: yellow; background-position: center;background-repeat: no-repeat; background-size: 100%;backdrop-filter: blur(10px);">
<div class="d-flex justify-content-center">
<input id="ip" class="form-control" type="text" placeholder="localhost or 127.0.0.1" style="max-width :320px">
</div>
<p></p>
<div class="d-flex justify-content-center">
<input class="form-control" id="search-input" type="text" placeholder="Search Game..." style="max-width :280px">
<button id="search-button" class="btn btn-primary" style="color: white;" ><img src="search-icon.png" width="16px" height="16px"/></button>
</div>
<p></p>
<div class="d-flex justify-content-center btn-toolbar">
<button class="btn btn-primary mr-2" data-toggle="modal" data-target="#credits-dialog">Credits</button>
<button class="btn btn-primary ml-2" data-toggle="modal" data-target="#instructions-dialog">Instructions</button>
<button class="btn btn-primary ml-2" data-toggle="modal" data-target="#tips-dialog">Tips</button>
<button class="btn btn-primary ml-2" data-toggle="modal" data-target="#update-dialog" onclick="updatetrainer()">Update</button>
</div>
</div>
<div class="modal fade" id="credits-dialog">
<div class="modal-dialog" id="credits-dialog-size">
<div class="modal-content">
<div class="modal-header bg-darker">
<h4 class="modal-title">Credits</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<a href="https://github.com/jogolden" target="_blank">golden</a><br>
<a href="https://github.com/ChendoChap/" target="_blank">ChendoChap<br>
<a href="https://twitter.com/TylerMods" target="_blank">TylerMods</a><br>
<a href="https://github.com/LightningMods" target="_blank">LightningMods</a><br>
<a href="https://twitter.com/KameleonRe" target="_blank">KameleonRE</a><br>
</div>
</div>
</div>
</div>
<div class="modal fade" id="tips-dialog">
<div class="modal-dialog" id="tips-dialog-size">
<div class="modal-content">
<div class="modal-header bg-darker">
<h4 class="modal-title">Tips</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<p>For Days Gone cheat |Infinite Ammo and/or Infinite Bandages| please be aware it may cause issues with crafting Molotovs. However... if you cannot craft them, get caught in a trap and it will fix this.</p></br>
<p>If you see a cheat that increases a value such as money when you make a purhcase, DISABLE the cheat BEFORE your money goes negative.</p>
</div>
</div>
</div>
</div>
<div class="modal fade" id="instructions-dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header bg-darker">
<h4 class="modal-title">Instructions</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
1)Enable HEN / GOLDHEN / MIRA if necessary.<br>
2)Enable/Inject the WebRTE payload for you current PS4 Firmware.<br>
3)Cache Trainer (Go to Trainer Offline Link).<br>
4)After Cache 100% Successfully. Close Browser and Re-Open it.<br>
5)Launch your game on the PS4.<br>
6)Click your game(with the matching CUSA/version) in the trainer.<br>
7)If the trainer message says "Trainer Attached.", you can start cheating.<br>
</div>
</div>
</div>
</div>
<div class="modal fade" id="update-dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header bg-darker">
<h4 class="modal-title">Update</h4>
</div>
<div class="modal-body">
Update takes approximately 30-60 seconds to finish. Wait for notification.<br>
</div>
</div>
</div>
</div>
<br><br>
<div id="container" class="center-block d-flex flex-wrap justify-content-center" style="padding-bottom: 5%; padding-top: 5%;background-size: 100%;background-repeat: no-repeat;margin: auto;height: 90%; width: 90%; border-radius: 10px; border: 5px black solid; border-color: yellow; background-position: center;backdrop-filter: blur(10px);">
</div>
<div id="trainer-dialog" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<div class="d-flex flex-wrap rounded m-1 bg-darker" style="min-height: 128px;">
<div class="bg-black">
<img id="cover" class="coverholder m-1 rounded lazy" onerror="if (this.src !== 'error.png') this.src = 'error.png';" style="width :118px">
</div>
<div class="GInfo bg-black">
<h5><small id="game"></small></h5>
<h5><small id="cusa"></small></h5>
<h5><small id="version"></small></h5>
<h5><small id="credits" class="font-weight-light"></small></h5>
</div>
</div>
<div id="mods">
</div>
</div>
<div class="modal-footer">
<h6 class="mr-auto">Status : <small id="Message" class=" font-weight-light"></small></h6>
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</body>
</html>