Game no longer shows save data when I Edit the save files - General Questions and Answers

The Game is "Day R Survival"
I just tried to edit the save file to add some resources but when I run the game after editing the file the game no longer shows my data and starts a new game instead
Fortunately I had backup but I still want to find a way to edit the save file instead of searching for mods for the game

Question
A quick question about that... where did you go in the directory to edit the save file?
I'm curious, because I've tried to do the same twice now to no effect.

mousalam said:
The Game is "Day R Survival"
I just tried to edit the save file to add some resources but when I run the game after editing the file the game no longer shows my data and starts a new game instead
Fortunately I had backup but I still want to find a way to edit the save file instead of searching for mods for the game
Click to expand...
Click to collapse
Maybe the data pertaining to your resources is not saved in the save file, maybe it is actually stored in the game server somewhere and the data in your save merely has markers for your resources, maybe editing your save file creates a conflict between the data on the device and the data in the server, causing a rejection of the save file, resulting in starting a new game.
Sent from my SM-S767VL using Tapatalk

Droidriven said:
Maybe the data pertaining to your resources is not saved in the save file, maybe it is actually stored in the game server somewhere and the data in your save merely has markers for your resources, maybe editing your save file creates a conflict between the data on the device and the data in the server, causing a rejection of the save file, resulting in starting a new game.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Day R saves are not server-side, they keep information regarding the inventory, quest, vehicles, caps, all of it in two locations, on your phone (or PC if using an emulator) and the cloud. If they're using the right directory (under data/data) then there are 6 profile files (3 main, 3 backups) to work with. Unfortunately, it seems the Day R devs don't want us modded players tweaking our goods, so each save profile has a checksum the game looks for when loading the file. If they don't math out, it loads the backup. If the backup has the same checksum conflict, it wipes both and forces you to restart. The only modified saves I've seen so far appear to predate the removal of the BelAZ from the in-game market and come in a modified APK of the game.

Onikage056 said:
Day R saves are not server-side, they keep information regarding the inventory, quest, vehicles, caps, all of it in two locations, on your phone (or PC if using an emulator) and the cloud. If they're using the right directory (under data/data) then there are 6 profile files (3 main, 3 backups) to work with. Unfortunately, it seems the Day R devs don't want us modded players tweaking our goods, so each save profile has a checksum the game looks for when loading the file. If they don't math out, it loads the backup. If the backup has the same checksum conflict, it wipes both and forces you to restart. The only modified saves I've seen so far appear to predate the removal of the BelAZ from the in-game market and come in a modified APK of the game.
Click to expand...
Click to collapse
The cloud IS server side, when storing data in the "cloud", it is being stored non-locally on a server somewhere, that is why it is called "cloud".
And the checksum is the "marker" that I was referring to, comparing the save files checksum(marker) to the data in the cloud(server), rejecting the save if it doesn't match the data in the cloud(server) and force starting a new game, is also exactly what I was referring to.
So, basically, you pretty much repeated what I was saying, you were just more "specific" with the terminology.
Sent from my SM-S767VL using Tapatalk

Droidriven said:
The cloud IS server side, when storing data in the "cloud", it is being stored non-locally on a server somewhere, that is why it is called "cloud".
And the checksum is the "marker" that I was referring to, comparing the save files checksum(marker) to the data in the cloud(server), rejecting the save if it doesn't match the data in the cloud(server) and force starting a new game, is also exactly what I was referring to.
So, basically, you pretty much repeated what I was saying, you were just more "specific" with the terminology.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Okay, that's entirely my bad... though, I'm curious how that works with an emulator and a modded APK, since the game doesn't connect to the cloud server in this scenario, yet the checksum still works. (Save data is kept locally.)

Onikage056 said:
Okay, that's entirely my bad... though, I'm curious how that works with an emulator and a modded APK, since the game doesn't connect to the cloud server in this scenario, yet the checksum still works. (Save data is kept locally.)
Click to expand...
Click to collapse
PC or not, your data is still being stored in the cloud, if the data on your system doesn't match the data in the cloud, it's still a no-go.
Sent from my SM-S767VL using Tapatalk

Related

Android file management idea

I have noticed that android apps are horrible with file management. When you install an app on the phone it installs a whole new file hierarchy.
Example... when you install Meme Generator it creates a memegenerator folder within that folder it caches Favorites, Instances, Generators, and shares
when you delete the app it doesn't remove this folder or any of its contents​
My idea is an app that would scan folders and mark if the folder is useless or not. Especially the unknown data folders that say something like com.fatsecret.android and have nothing but random .dat files or a .nomedia folder/file. Almost like a registry checker for a PC.
Another idea is to have an app that scans the SD card and locates all media. It would tell you how many of what type of file you have on your phone, and allow you to mass move to selected folders (Not copy or transfer but actually move th file to its new location)
im no programer but these would be great apps if they were to be developed
It would be really great man, unfortunately, I'm not able to develop things like this, but let me know about if it's ready.
Sent from my Boston using XDA App Slovakia
Lmfao i neglected to mention I am only beginning to learn the android programming. So im in no position to even comprehend programming this ... but im researching the possibility.
Smells like WINNING from my T-959 xda premium app
File management is very messy at the moment. Something needs to give!
I agree, I've been looking for a decent file manager, but haven't found anything yet!
theblacknight said:
I agree, I've been looking for a decent file manager, but haven't found anything yet!
Click to expand...
Click to collapse
There are quite a few but 'Astro' seems to be the most popular. Give it a try!
I use Astro and i'm quite happy with it.
The question would be how to determine useless folders.
Dark3n said:
The question would be how to determine useless folders.
Click to expand...
Click to collapse
My initial idea was to use a system similar to a windows registry. Once the app starts for the first time it will create a database that stores folder data, which then it tries to match to an app that installed it. If the folder shows that the app that created it has been deleted it shows a red folder or has a negative mark next to it, if its still installed it shows a positive or green folder. This way you can get rid of the bad folders.
My second idea was to have an app create a drop folder for certain file types. For instance a folder like MY DOCUMENTS that has the folders MUSIC, PICTURES, AND VIDEOS. When the app starts it has you select a folder to drop a specific file type (example .MP3 files into MY DOCUMENTS/MUSIC). The all then media scans the phone and locate all matching file types and MOVES the file not COPYS.
Smells like WINNING from my T-959 xda premium app
Something kinda similar to what you want was introduced in FroYo. It gives each app a directory (on the SD card I don't know about onboard memory) that is automatically deleted by the system when the app is installed. Currently it has a few fairly big bugs but hopefully they will get fixed and developers will start to use it.
coreyja said:
Something kinda similar to what you want was introduced in FroYo. It gives each app a directory (on the SD card I don't know about onboard memory) that is automatically deleted by the system when the app is installed. Currently it has a few fairly big bugs but hopefully they will get fixed and developers will start to use it.
Click to expand...
Click to collapse
That sounds liie it will be excellent once its implemented. I'm sure as most new things take time to catch on this will probably take a little while for it to happen. Maybe Google is going to make it mandatory for devs to do this.
Smells like WINNING from my T-959 xda premium app
It wouldn't necessarily have to be an app but some process that would make create or add to (create a sub-directory) default folders. I'm not saying it has to be a window like system but as simple as it gets Music, Images, Documents, Downloads maybe a spare folder for necessary background files (Hidden) But accessible when needed. The biggest problem here is that I don't think too many people that want this solution are programmers. because if you know how to program then you spend all day sorting throu this stuff anyway.
Well i'm on 2.2.1 and the system still keeps the settings folders in /dbdata/databases/*packagename* after you uninstalled it.
I usually resort to deleting the folders in adb shell when programming and testing apps.
So it seems there is need for this and there is no such tool yet?
I might start on it then, do you think there is enough intrest in something like that?
Help me with the most difficult and important step, invent a name for such an app !
Sounds like a useful tool. Great idea.
I'm constantly searching through my sd card and trying to figure out what can be deleted.
Sent from my PC36100 using XDA App
mobbeel said:
I use Astro and i'm quite happy with it.
Click to expand...
Click to collapse
Have you tried file expert? So much functionality for free.
Sent from my PC36100 using XDA App
Dark3n said:
Well i'm on 2.2.1 and the system still keeps the settings folders in /dbdata/databases/*packagename* after you uninstalled it.
I usually resort to deleting the folders in adb shell when programming and testing apps.
So it seems there is need for this and there is no such tool yet?
I might start on it then, do you think there is enough intrest in something like that?
Help me with the most difficult and important step, invent a name for such an app !
Click to expand...
Click to collapse
Name ideas
-sd looter
-Datei Objekts (file objects in German)
-file euphoria
-Zen management
-SD filed or SDefiled
Just a few to spark interest.
Smells like WINNING from my T-959 xda premium app
Allright, here we go:
http://forum.xda-developers.com/showthread.php?t=1013063
First version is out, please help me test it.
This needs to be created. I'm just sorry I can't do any of the programming.
Just Incredible

Paradise Island editing apk, but game crashes

Hi
i try to manipulate a game for Android, called Paradise Island.
Does it work, when i backup the game apk with Titanium Backup, open the apk with WinRar, edit e.g. achievements.plist (xml style, i edited here some values), save the achievemnts.plist back into the apk with compressionmode normal (still Winrar) and sign the apk with Singapk.jar and transfer it to my mobilephone?
I just did so and the game loads, but after 1 or 2 seconds the game quits without any errors or notifications. I can hear the ingame music for these few seonds.
What did i do wrong? Is there anything that i must pay attention to?
Thx for answers and maybe there is someone else out there trying to hack that game
i guess your achievements are also stored on the server (i think you can visit other players islands, so there must be some data from each of them available) and so they might notice it when you "cheat"
Yeah, but i never had my Internet connection turned on, so there can't be a possibility, that it was checked by the server
imo checksum verification
Shushero said:
imo checksum verification
Click to expand...
Click to collapse
Yeah, that was my first thought but then i tried to imagine how it would work. Assuming that it creates a checksum. The question is, where does it save it?
There is only one apk and when it saves its checksum in itself it changes its checksum. Get it?^^ I have no connection to the Internet, there is no way to communicate with other Servers.
ChEeTaH182 said:
Yeah, that was my first thought but then i tried to imagine how it would work. Assuming that it creates a checksum. The question is, where does it save it?
There is only one apk and when it saves its checksum in itself it changes its checksum. Get it?^^ I have no connection to the Internet, there is no way to communicate with other Servers.
Click to expand...
Click to collapse
I think, while loading game, there is a calculation of checksums of all plists and then just verification of them with constants in source code, without any connection to the internet.

Can I extract sms messages from a complete physical memory dump?

So a while ago I grabbed a Motorola G2, made a complete physical memory dump to file “Full_Phone_Backup.image” I also have a .vhd which will not mount, but I remember very clearly extracting the contacts list from it.
I didn’t keep records of how I went about doing it, but I’m sure it was some busybox or cygwin and I’m very sure the file contains all the partitions. Don’t know what happened to .vhd, but I also can’t make a new one either, so bad luck I guess. Anyway, now I need to extract SMS messages from it, and so I turned to Foremost. With the following in a foremost-db.conf:
Code:
db n 4000000 \x53\x51\x4c\x69\x74\x65\x20\x66\x6f\x72\x6d\x61\x74\x20\x33\x00
I hoped to get a good rundown of the databases and extract from there. Now, I don’t need deleted messages or anything, I need to find the SMS messages that would be there as if the phone was on right now. Well, that and search them.
So, Foremost carved a whooping 36 GiB of .db files, which I think suggests that the file header is actually not for SQLite 3 file as much as for a part of SQLite3 file, and one file may contain many. Secondary evidence of that is that massive number of files contain the same data shifted a more or less uniform number of lines (like an entire block shifted 1k lines down across 10 files before it completely disappears).
Anyway, from the carved DB files I got meaningful e-mail messages, from the carved photos and videos, I got meaningful pictures (ones which would be on this phone), so I am sure data is there. Problem is, I could not find the messages I’m looking for. I was unable to find a single SMS message, I was unable to browse any of the recovered databases with sqlite database browsers, and the most useful thing I was able to do was to use Ransack in windows to search for relevant text in those recovered files.
What am I doing wrong that I’m not finding SMS messages or any relevant text in this mess?
KYKYLLIKA said:
So a while ago I grabbed a Motorola G2, made a complete physical memory dump to file “Full_Phone_Backup.image” I also have a .vhd which will not mount, but I remember very clearly extracting the contacts list from it.
I didn’t keep records of how I went about doing it, but I’m sure it was some busybox or cygwin and I’m very sure the file contains all the partitions. Don’t know what happened to .vhd, but I also can’t make a new one either, so bad luck I guess. Anyway, now I need to extract SMS messages from it, and so I turned to Foremost. With the following in a foremost-db.conf:
Code:
dbn 4000000\x53\x51\x4c\x69\x74\x65\x20\x66\x6f\x72\x6d\x61\x74\x20\x33\x00
I hoped to get a good rundown of the databases and extract from there. Now, I don’t need deleted messages or anything, I need to find the SMS messages that would be there as if the phone was on right now. Well, that and search them.
So, Foremost carved a whooping 36 GiB of .db files, which I think suggests that the file header is actually not for SQLite 3 file as much as for a part of SQLite3 file, and one file may contain many. Secondary evidence of that is that massive number of files contain the same data shifted a more or less uniform number of lines (like an entire block shifted 1k lines down across 10 files before it completely disappears).
Anyway, from the carved DB files I got meaningful e-mail messages, from the carved photos and videos, I got meaningful pictures (ones which would be on this phone), so I am sure data is there. Problem is, I could not find the messages I’m looking for. I was unable to find a single SMS message, I was unable to browse any of the recovered databases with sqlite database browsers, and the most useful thing I was able to do was to use Ransack in windows to search for relevant text in those recovered files.
What am I doing wrong that I’m not finding SMS messages or any relevant text in this mess?
Click to expand...
Click to collapse
You can't get into the phone and use SMS backup app or PC to backup your SMS? Can you back them up to your Google account and then recover them from there?
There are several ways to recover SMS from a device, is this method the only one you've tried?
Are you recovering your SMS or someone else's?
Sent from my SM-S903VL using Tapatalk
KYKYLLIKA said:
So a while ago I grabbed a Motorola G2, made a complete physical memory dump to file “Full_Phone_Backup.image”
.
.
and I’m very sure the file contains all the partitions.
Click to expand...
Click to collapse
How did you make this Backup.image? In my question over here I dreamt of something like 'dd if=/dev/sda of=/image.bak' for a really complete backup. Did you make your complete memory dump in such a way and would i be possible to write it back to the phone?
Thanks!
Droidriven said:
You can't get into the phone and use SMS backup app or PC to backup your SMS? Can you back them up to your Google account and then recover them from there?
There are several ways to recover SMS from a device, is this method the only one you've tried?
Are you recovering your SMS or someone else's?
Sent from my SM-S903VL using Tapatalk
Click to expand...
Click to collapse
This is my sister’s phone. The backup is from 16 months back or so. I can’t go search the SMS it has now, because updates been around since then, including a new version of android, and all that. It does not have the old messages.
What I tried is a sqlite forensics utility called “sqlite forensics reporter”, but no luck with that either. Piriform recuva did not work, and I was unable to mount it as a virtual hard drive or find a part of it that I could mount as a virtual hard drive.
andy_ross said:
How did you make this Backup.image? In my question over here I dreamt of something like 'dd if=/dev/sda of=/image.bak' for a really complete backup. Did you make your complete memory dump in such a way and would i be possible to write it back to the phone?
Thanks!
Click to expand...
Click to collapse
This is entirely possible. However, I cannot find the boot record in there or a partition table, which is very strange. I do remember dumping all the partitions in that file, though. It’s been over a year now, so details kind of gone fuzzy. I am sure I could write it back to a phone and use like that, but I don’t have a suitable surrogate phone or a virtual machine to try that on. I will not do it on the device itself, seeing as how it’s in use and all that. I just want to find the text of some messages.

Keeping Files When Updating An App

I'm very new to all this so koala bear with me.
What I think I understand is that, for android/APKs/google play is that each app has a folder containing it's files and source, and when an app is updated, all of it's files get replaced except for the "private app data". I don't know what private app data is but I'm guessing it's data that the app produces when ran rather than downloaded from google play, such as game saves, downloaded images, etc.
My main concern is that (in the far future) when I publish an update for my app, any gamesave files will be deleted. I'm a right about private app data or should save files be placed in a special folder or something?

Need an efficient method to extract all of my memos.

I have an old Samsung A3 using Android 7 and over the years I've journaled on the default Memo app, now that I have a new phone I want to extract all of these memos and have them saved somewhere on my PC before I factory reset. The issue is that you can only share one memo at a time and I have over 1100 entries. This would take forever. Is there a way to extract all of them in a convenient way that wouldn't involve tediously sharing each and every one of them to my drive?? Are they all located somewhere in a folder?
Youb could try using SmartSwitch for just that.
Android 11 will likely puke all over it though unless there's an updated version of that app.
It probably won't work as R doesn't like to share databases... you feeling secure?
Be careful you don't lose all of it...
It's stored in it's own folder or in the Android folder in the data folder. It may be encoded for just that app... if so danger Will Robinson, danger!
Sometimes the only way is the hard way
I use ColorNote, it automatically backs up to my SD card. For the cardless victim users it offers cloud backup.
blackhawk said:
Youb could try using SmartSwitch for just that.
Android 11 will likely puke all over it though unless there's an updated version of that app.
It probably won't work as R doesn't like to share databases... you feeling secure?
Be careful you don't lose all of it...
It's stored in it's own folder or in the Android folder in the data folder. It may be encoded for just that app... if so danger Will Robinson, danger!
Sometimes the only way is the hard way
I use ColorNote, it automatically backs up to my SD card. For the cardless victim users it offers cloud backup.
Click to expand...
Click to collapse
I downloaded SmartSwitch and backed up memos and this was what I got.
I'm assuming it's encrypted. Is there a way to decrypt this so I'm able to have all of them in a readable format. I feel like I should theoretically have 1100 files but it's just one?
That's a great question and I have no clue.
I see 2 options.
If you can load that app on your new phone then inject that folder data into it's new folder you may get lucky.
Or you have a day or two of work ahead...
With ColorNote you can use hyperlinks that open directly from the "note" in the browser. No cut and paste needed. I use it for bookmarks too.
I also use an old free copy of WPS to create word documents to avoid this kind of fubar.
I doubt that app copy would even load on R however it did install on Q.
Android has screwed up their platform so badly with R that I will be running on Q for at least 2 more years. I simply won't tolerate R trashing my trusted apps... and I have other better options.
@eu7tFeTyT7vfPy
Rename the file memo.nmmm to memo.zip and then extract the ZIP-file.
You'll get a file named memo.bk wherein all the memos are stored. Take not that this file may be encrpyted unless you opted for "No encryption" in Smart Switch app's settings.
jwoegerbauer said:
@eu7tFeTyT7vfPy
Rename the file memo.nmmm to memo.zip and then extract the ZIP-file.
You'll get a file named memo.bk wherein all the memos are stored. Take not that this file may be encrpyted unless you opted for "No encryption" in Smart Switch app's settings.
Click to expand...
Click to collapse
I have it in .bk but how would I read it?
IIRC then the contents of memo.bk is a SQlite (version 3) database, filename is mmssms.db.
Use this to read db: DB Browser for SQLite 3.12.0
jwoegerbauer said:
IIRC then the contents of memo.bk is a SQlite (version 3) database, filename is mmssms.db.
Use this to read db: DB Browser for SQLite 3.12.0
Click to expand...
Click to collapse
I'm not familiar with this type of stuff but I've downloaded it and tried "open new database" and then selecting memo.bk which tells me isn't a database. Am I doing something wrong?

Categories

Resources