[Request] Slice & Dice
[Request] Slice & Dice
Game Name: Slice & Dice
Game Engine: Java Based
Game Version: dice-beta-202-win.zip or dice-beta-202-android.apk
Options Required: Infinite Mana, Infinite Health, Infinite Rerolls, Unlock Achievements
Website: [Link]
Other Info: Infinite Mana is the most important option. Other options can be skipped if too difficult. My cheat engine crashes when I try to use javaInjectAgent().
Game Engine: Java Based
Game Version: dice-beta-202-win.zip or dice-beta-202-android.apk
Options Required: Infinite Mana, Infinite Health, Infinite Rerolls, Unlock Achievements
Website: [Link]
Other Info: Infinite Mana is the most important option. Other options can be skipped if too difficult. My cheat engine crashes when I try to use javaInjectAgent().
Re: [Request] Slice & Dice
Game has now updated to release version 2.0 and the beta versions are now not downloadable.
Re: [Request] Slice & Dice
I just want infinite mana. Anyone know how to get this to work?
-
- What is cheating?
- Posts: 3
- Joined: Tue Dec 27, 2022 6:01 am
- Reputation: 1
Re: [Request] Slice & Dice
I found these:
CheatEngine can find the dice roll, but it resets on new turn, Cantrips, or randomly. This makes me think each new turn gets allocated a new variable, so pointer scan won't work. This will be a labor intensive approach.
Here's the easy way: the game is Java. Using a decompiler like this: [Link], you can find the source code. I can see where the difficulty scaling, dice roll logic is so I'm sure mana is somewhere in there.
However, I'm too busy with work and life to read all of it. So if you can read the code, then figure out how to recompile java source to the jar file, that'll be a neat hack.
Good luck and please share your findings.
CheatEngine can find the dice roll, but it resets on new turn, Cantrips, or randomly. This makes me think each new turn gets allocated a new variable, so pointer scan won't work. This will be a labor intensive approach.
Here's the easy way: the game is Java. Using a decompiler like this: [Link], you can find the source code. I can see where the difficulty scaling, dice roll logic is so I'm sure mana is somewhere in there.
However, I'm too busy with work and life to read all of it. So if you can read the code, then figure out how to recompile java source to the jar file, that'll be a neat hack.
Good luck and please share your findings.
-
- What is cheating?
- Posts: 3
- Joined: Tue Dec 27, 2022 6:01 am
- Reputation: 1
Re: [Request] Slice & Dice
So I managed to decompile the PC version and edited the hex value for spell. For some reason the exe file doesn't read back the recompiled jar file.
I don't think I can overcome this, so if someone can figure it out, it'll be great.
Here's the step:
1. Decompile the files (jar, dex, apk) - apktool for apk. Jar file is basically a zip file, so 7zip. Bytecode viewer, jadx to read the source code.
2. Go to EntSides.class or EntSides.smali if it's Android. This is the dice sides. You can edit the damage/heal/shield/energy amount here. You need to read the Java bytecode/Dalvik bytecode to change the value. Luckily, it's a constant, not a passed in parameter.
3. Recompile. apktool can recompile, for java, you need Recaf: [Link]
4. If you're on Android, you must create a self-signed certificate with keytool, sign with jarsign, then zipalign (it comes with Android SDK).
5. I'm stuck here. On PC, the exe doesn't recognize the new jar file. I'm guessing it's looking for a hash value. On Android, it managed to install, but crashes.
I don't think I can overcome this, so if someone can figure it out, it'll be great.
Here's the step:
1. Decompile the files (jar, dex, apk) - apktool for apk. Jar file is basically a zip file, so 7zip. Bytecode viewer, jadx to read the source code.
2. Go to EntSides.class or EntSides.smali if it's Android. This is the dice sides. You can edit the damage/heal/shield/energy amount here. You need to read the Java bytecode/Dalvik bytecode to change the value. Luckily, it's a constant, not a passed in parameter.
3. Recompile. apktool can recompile, for java, you need Recaf: [Link]
4. If you're on Android, you must create a self-signed certificate with keytool, sign with jarsign, then zipalign (it comes with Android SDK).
5. I'm stuck here. On PC, the exe doesn't recognize the new jar file. I'm guessing it's looking for a hash value. On Android, it managed to install, but crashes.
Re: [Request] Slice & Dice
I was able to edit the bytecode to change the difficulty parameters.
I simply changed the blessing/curse values from -10/-20 to 20/40 and overwrote the class.
Then I used 7zip to compress it and renamed it to jar
The only thing of note is that you have to zip the file contents (i.e. select all every file and folder for the zip/jar) and not create a zip of a single top level folder
I did not look into other methods, I found this to be sufficient for my wants. Not sure about anything for android, or CE cheating though.
I simply changed the blessing/curse values from -10/-20 to 20/40 and overwrote the class.
Then I used 7zip to compress it and renamed it to jar
The only thing of note is that you have to zip the file contents (i.e. select all every file and folder for the zip/jar) and not create a zip of a single top level folder
I did not look into other methods, I found this to be sufficient for my wants. Not sure about anything for android, or CE cheating though.
Re: [Request] Slice & Dice
Hi teknova, could you explain how you did it more in details? I would like to try this too but it's my first time doing something like this.teknova wrote: ↑Thu Jan 19, 2023 4:44 amI was able to edit the bytecode to change the difficulty parameters.
I simply changed the blessing/curse values from -10/-20 to 20/40 and overwrote the class.
Then I used 7zip to compress it and renamed it to jar
The only thing of note is that you have to zip the file contents (i.e. select all every file and folder for the zip/jar) and not create a zip of a single top level folder
Re: [Request] Slice & Dice
any news?
cant find a value
cant find a value
Re: [Request] Slice & Dice
yeah me to. just rerolls would be nice
Re: [Request] Slice & Dice
A tiny bump to show my support for a table for this game (the game is begging for one), and in hopes there has been some progress someone might want to share?... And as others have said, "rerolls" would be more than enough, "mana" would just be some icing .
Re: [Request] Slice & Dice
Since this is a steam game now, can somebody please take a look?
-
- Noobzor
- Posts: 5
- Joined: Fri Sep 27, 2019 7:29 am
- Reputation: 0
Re: [Request] Slice & Dice
+1 Would love HP, mana, and rerolls if possible on the Steam version, but so far looking like it's not doable.
Re: [Request] Slice & Dice
why do you think developer added anti-cheat code?
you search for rerolls or mana and change rerolls in game, next scan, it jumps code to a different location once you change rerolls or mana, it's effective way to disable next scan.
would a save file with all 472 items and all 71 monsters and all achievements be enough?
you search for rerolls or mana and change rerolls in game, next scan, it jumps code to a different location once you change rerolls or mana, it's effective way to disable next scan.
would a save file with all 472 items and all 71 monsters and all achievements be enough?
Re: [Request] Slice & Dice
To answer my own question why developer tann added protection code to single player game is that you can compete with others with high score win-streak.
if you do break protection and have inf mana and rerolls then high score is meaningless.
My research is that rerolls, rerolls you start with, mana, hp is 4 bytes (int32), rarity is float, rarity like party formation beach 2 blues and the rest 3 are yellow 1 in a 1000 chance, sword formation 2 orange and the rest 3 are greys, CornCob all 5 yellow, Surrounded is random random red random random, DMLS red red grey red red, Sunset blue orange yellow random, green, LampPost random yellow and the rest 3 are greys, rush formation is 1 in 20 chance blue blue orange grey yellow.
research v2, even if you found rerolls access code aob after 1 hour aob will vanish (nature of Java Virtual Machine engine), you would have to find it again in a different memory location and it wouldn't be same opcode.
if you do break protection and have inf mana and rerolls then high score is meaningless.
My research is that rerolls, rerolls you start with, mana, hp is 4 bytes (int32), rarity is float, rarity like party formation beach 2 blues and the rest 3 are yellow 1 in a 1000 chance, sword formation 2 orange and the rest 3 are greys, CornCob all 5 yellow, Surrounded is random random red random random, DMLS red red grey red red, Sunset blue orange yellow random, green, LampPost random yellow and the rest 3 are greys, rush formation is 1 in 20 chance blue blue orange grey yellow.
research v2, even if you found rerolls access code aob after 1 hour aob will vanish (nature of Java Virtual Machine engine), you would have to find it again in a different memory location and it wouldn't be same opcode.
Re: [Request] Slice & Dice
I never got Cheat Engine to work, but I did upload my own edits to the .jar file, as well as instructions on how to edit them yourselves. There are a couple of drag and drop files for people that just want to turn on some easy mode cheats without a lot of effort as well, such as enabling Wish Mode for every mode in the game, which essentially can act as a debug mode.
viewtopic.php?f=10&t=29777
viewtopic.php?f=10&t=29777
Who is online
Users browsing this forum: No registered users