- Oct 10, 2017
- 1,797
- 3,731
Now we are talking, I was bored with all that girl photos, this is hotter. Marketing division strikes again, attack of the shop merchandise. :tf:
Now we are talking, I was bored with all that girl photos, this is hotter. Marketing division strikes again, attack of the shop merchandise. :tf:
[Serializable]public class LoginResponse
{
public void UpdatePlayerPrefs()
{
PlayerPrefs.SetInt("patron", patron ? 1 : 0);
PlayerPrefs.SetInt("pledge", pledge);
}
}
Awesome news, Maim Lain. So you mean to change the settings into actually update and we get the current version of Glamour? Unbelievable but if it works ...So I looked into the game files a bit and I searched this thread and no one has mentioned any of this so it might be useful.
Just a heads up, this douche bag hides all of the downloaded game files outside of the actual game folder without telling you. Even if you delete the game folder, the files will still be taking up 1GB of space on your C: drive forever unless you delete it manually. It's at: "C:\Users\Name\AppData\LocalLow\Sandlust Games Ltd"
I'd assume he put the files there instead of the game folder so that people wouldn't be looking through the game folder to figure out how his game works. Some people have said that all the game's code is on his server but that's not true. All the game's code is in the scripts dll at: "\LocalLow\Sandlust Games Ltd\Glamour\scripts.dll" The game still sends requests and receives responses from his server for data, but all the code for how that works is in the scripts dll.
Setting whether or not the player is a patron and what tier they are is done in the LoginResponse class with the UpdatePlayerPrefs method.
Setting the "patreon" playerprefs setting to 1 and "pledge" to 50 or whatever the highest tier is would mean that you get the latest version/extra content. I think to recompile the dll you need to add references from the game folder, but I've lost interest in investigating it further.Code:[Serializable]public class LoginResponse { public void UpdatePlayerPrefs() { PlayerPrefs.SetInt("patron", patron ? 1 : 0); PlayerPrefs.SetInt("pledge", pledge); } }
If someone is able to add the dependencies and recompile the dll, then yes those 2 lines should be the only thing that needs to be changed to get the latest version.Awesome news, Maim Lain. So you mean to change the settings into actually update and we get the current version of Glamour? Unbelievable but if it works ...
How did you get that code from the dll?So I looked into the game files a bit and I searched this thread and no one has mentioned any of this so it might be useful.
Just a heads up, this douche bag hides all of the downloaded game files outside of the actual game folder without telling you. Even if you delete the game folder, the files will still be taking up 1GB of space on your C: drive forever unless you delete it manually. It's at: "C:\Users\Name\AppData\LocalLow\Sandlust Games Ltd"
I'd assume he put the files there instead of the game folder so that people wouldn't be looking through the game folder to figure out how his game works. Some people have said that all the game's code is on his server but that's not true. All the game's code is in the scripts dll at: "\LocalLow\Sandlust Games Ltd\Glamour\scripts.dll" The game still sends requests and receives responses from his server for data, but all the code for how that works is in the scripts dll.
Setting whether or not the player is a patron and what tier they are is done in the LoginResponse class with the UpdatePlayerPrefs method.
Setting the "patreon" playerprefs setting to 1 and "pledge" to 50 or whatever the highest tier is would mean that you get the latest version/extra content. I think to recompile the dll you need to add references from the game folder, but I've lost interest in investigating it further.Code:[Serializable]public class LoginResponse { public void UpdatePlayerPrefs() { PlayerPrefs.SetInt("patron", patron ? 1 : 0); PlayerPrefs.SetInt("pledge", pledge); } }
It can be opened with a decompiler. I used ILSpy.How did you get that code from the dll?
I find it interesting that it can get class and variable names. Does he ship glamour with the pdbs?It can be opened with a decompiler. I used ILSpy.
All of the game's code is viewable, all classes, members, etc. And idk I deleted the game lol.I find it interesting that it can get class and variable names. Does he ship glamour with the pdbs?
What dll was the LoginResponse class in? scripts.dll?All of the game's code is viewable, all classes, members, etc. And idk I deleted the game lol.
Yes all the code is in scripts.dllWhat dll was the LoginResponse class in? scripts.dll?
The Mac data directory is in ~/Library/Application Support/com.Company.ProductName .
That last bit looks like the default name, which should be changed to the real company and product names, for example com.cdprojektred.TheWitcher .
x'D That‘s fucking mad! Lain our hacking god! Sleep well.Alright I hacked this stupid game. It wasn't even worth the fucking effort though. And still need to change a couple things before I upload a crack, ughhh. I'm going to bed.
View attachment 139830
Awesome effort! Thanks for your research, let's hope it works!Alright I hacked this stupid game. It wasn't even worth the fucking effort though. And still need to change a couple things before I upload a crack, ughhh. I'm going to bed.
View attachment 139830
The game will still need to connect to the server to get the data for what dialog/scene/images to show, but that isn't that big of a deal.Not all heroes use capes. Thanks a lot @Maim Lain . But will it still need connection to DS server?
I get your point but to be honest, this game was so easy to modify in the first place that anyone who said that this game was uncrackable doesn't know anything or never even tried. Someone who knows what they are doing could have had this cracked in 20 minutes probably. It's only taken me a lot longer because I've never even cracked anything before lol.I think you shouldn't give DS any hints about these crack details to prevent future fixes.