File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ The YW2 Demo dosen't save progress. This is a joke, ignore this (I refuse to rem
3737* This format affects all non-v1 save files.
3838### Method
3939* Identical to that of v1 saves * but* :
40- * The AESkey is no longer fixed, it is instead loaded from the ` head.yw ` .
40+ * The AESkey is no longer fixed, it is instead loaded from the (encrypted) ` head.yw ` .
4141
4242## YWCipher
4343** Inputs:**
@@ -215,7 +215,8 @@ R.next(10) // always returns a value between 0 and 9
215215## Examples
216216### Togenyan (C++)
217217Note: I am *NOT* togenyan, in the credits page you should find a link to his github and the appropriate license.
218- * AES-CCM:
218+ * AES-CCM:<br/>
219+
219220```cpp
220221static const int TAG_SIZE = 16;
221222
@@ -252,7 +253,8 @@ QByteArray *CCMCipher::decrypt(const QByteArray &in)
252253}
253254```
254255
255- * Version Detection:
256+ * Version Detection:<br/>
257+
256258```cpp
257259setAeskey("5+NI8WVq09V7LI5w"); // test with the hardcoded key used in v1.0 saves
258260if ((status = loadFile(file)) != Error::SUCCESS) { // If that fails, assume Ganso / Honke ver 2.x OR Shin' uchi
@@ -269,7 +271,8 @@ if (status != Error::SUCCESS) { // if it fails
269271}
270272` ` `
271273
272- * General Decryption Process (slightly readjusted from the original):
274+ * General Decryption Process (slightly readjusted from the original):<br/>
275+
273276` ` ` cpp
274277SaveManager:: loadFile (QString path)
275278{
You can’t perform that action at this time.
0 commit comments