Jump to content

Recommended Posts

Posted (edited)

Here's a way to unpack Day R if you interested using mobile or windows
The Requirements:
1. Resource.car ( Can be retrieve from the game )
2. Unluac.jar (  souceforge download | GitHub page )
3. Corona-archiver.py (Corona Archiver Github Page)
4. Java and Python
On mobile
Python = can be achieved by installing PyDroid3 (Android, idk bout iOS
Java = Using Termux and installing Jdk package iirc or something like JavaSdk
On windows
Just download Python and Java installer

now the steps
1. You'll need to create a folder called resources ( or anything you desire) and then another called raw inside resources, and another called decompiled inside raw.
2. Put unluac.jar and car.py and resource.car on resources folder after you download them
3. Next,
3.1 if you on mobile open PyDroid and then menu on top left then open terminal, and type and execute ls to see the list of your storage's folder, next see if the resources there, if not try to find it. but if it was there do cd resources and do another ls and there should be unluac.jar, car.py, resource.car, and raw folder.
3.2 if you on windows Just open resources folder (like normal using explorer) then runs Command Prompt on the folder.
4. Now type python corona-archiver.py -u resource.car raw (NOTE: corona-archiver.py is depends with your file name, i named mine car.py so my command will be python car.py -u resource.car raw) and if done correctly the terminal/prompt will inform you if it done with Extraction Done!
5. now exit PyDroid if you on mobile, on Windows exit Command Prompt.
6. copy unluac.jar and paste it inside raw folder, then
(android) open up Termux and install java (find how on youtube) then do lscd till you find the folder again, and go inside raw folder
(Windows) read step 7.2
7. Now this is a script used to decompile them all rather manually
7.1 ANDROID (Bash Script), REMEMBER TO RUN IT AFTER YOUR TERMINAL INSIDE RAW FOLDER
just copy paste this code into your terminal and after it done open decomplied folder

for file in *.lu; do java -jar unluac.jar "$file" > decompiled/"${file/.lu/.lua}"; echo "Unpacking $file"; done

7.2 WINDOWS (Bat file), save this file as name.bat file inside raw folder and then run it

for /r %%i in (*.lu) do (
	echo Unpacking %%~ni
	java -jar 1.jar %%~ni%%~xi > decompiled/%%~ni.lua
)

explanation, this code will do for loops, basically for every file that ends with .lu runs java... command which basically decompile the .lu to be .lua and then put them inside decompiled folder, and also inform you on the terminal/cmd by saying what file is being decompiled.

8. After the script done just close either termux or cmd and open your decompile folder, it should be filled with .lua files. 
9. You're done now, now you can see how the game works and inner working of it. 
Additional Note:
- I still don't know how to recompile the game, probably something to do with license verification, idk
- The decompiled version is not clean, in fact it's quite dirty, can't be mad since it just basically decrypting game files that's basically protected from basic text editor, you can either clean it yourself, or you make script for it, it's up to you, for sake of it, im trying making a website for it, to basically do it for you, but as how it's on lua, i need find a way to make web javascript runs lua in backend. so be patient

 

Edited by AngelWolf
Posted
On 11/27/2022 at 3:23 PM, AngelWolf said:

then Offset them By 40 Type Double

Sorry i don't understand, there was no option for Type Double in pointer search, care to explain ? Only Auto - Dword - and Qword.

Posted (edited)
5 hours ago, Jun891 said:

Sorry i don't understand, there was no option for Type Double in pointer search, care to explain ? Only Auto - Dword - and Qword.

You first pointer search the ID, offset 0
then save the results, then move to saved list, select all, and then find Change Address/Type options, then a pop out will opens, in there, you put the Offset by 40, Type Double
Video Tutorial

NOTE: My phone is x64, so use query option if you use x32 or something

  Edited by AngelWolf
added Video
Posted
8 hours ago, AngelWolf said:

You first pointer search the ID, offset 0
then save the results, then move to saved list, select all, and then find Change Address/Type options, then a pop out will opens, in there, you put the Offset by 40, Type Double
Video Tutorial

NOTE: My phone is x64, so use query option if you use x32 or something

 

Alright, thank you for your kind help with this video.

Posted (edited)
14 hours ago, AngelWolf said:

Primero busca con el puntero el ID, compensa 0,
luego guarda los resultados, luego se mueve a la lista guardada, selecciona todo y luego busca las opciones Cambiar dirección/tipo  , luego se abre una ventana emergente, allí, coloca el Compensación por 40, Tipo
Video tutorial doble

NOTA: Mi teléfono es x64, así que use la opción de consulta si usa x32 o algo 

 

Edited by enriquecor
A question. Is this method safe, does it generate a ban?
Posted
On 2/12/2022 at 9:51, AngelWolf said:

Aquí hay una manera de descomprimir Day R si está interesado usando un dispositivo móvil o Windows
Los requisitos:
1. Resource.car (se puede recuperar del juego)
2. Unluac.jar (  descarga de souceforge  |  página de GitHub )
3. Corona-archiver.py ( Corona Archiver Github Page )
4. Java y Python
En dispositivos móviles
Python = se puede lograr instalando PyDroid3 ( Android , idk sobre iOS
Java = Usando Termux e instalando el paquete Jdk iirc o algo como JavaSdk
En Windows
Simplemente descargue Python y el instalador de Java

ahora los pasos
1. Deberá crear una carpeta llamada recursos.(o cualquier cosa que desee) y luego otro llamado raw inside resources , y otro llamado decompiled inside raw .
2. Coloque  unluac.jar y car.py  y resource.car en la carpeta de recursos después de descargarlos
3. A continuación,
3.1  si está en un  dispositivo móvil ,  abra  PyDroid  y luego el menú en la parte superior izquierda, luego abra la terminal, escriba y ejecute  ls  para ver el lista de la carpeta de su almacenamiento, luego vea si hay recursos allí, si no, intente encontrarlo. pero si estaba allí haz  cd resources  y haz otro  ls y debería haber unluac.jar, car.py, resource.car y la carpeta raw.
3.2 si está en Windows  Simplemente abra la carpeta de recursos (como de costumbre usando el explorador) y luego ejecute el símbolo del sistema en la carpeta.
4. Ahora escriba python corona-archiver.py -u resource.car raw  (NOTA: corona-archiver.py depende de su nombre de archivo, nombré el mío car.py, por lo que mi comando será  python car.py -u resource. car raw ) y, si se hace correctamente, el terminal/indicador le informará si se hizo con Extraction Done!
5. Ahora salga de PyDroid si está en un dispositivo móvil , en Windows, salga del símbolo del sistema.
6. copie unluac.jar y péguelo dentro de la carpeta raw, luego
( android) abre Termux e instala Java (encuentra cómo en youtube) luego haz  lscd  hasta que encuentres la carpeta nuevamente, y ve dentro de la carpeta sin procesar
(Windows) lee el paso 7.2
7. Ahora, este es un script que se usa para descompilarlos todos de forma manual
7.1 ANDROID (Bash Script), RECUERDE EJECUTARLO DESPUÉS DE SU TERMINAL DENTRO DE LA CARPETA SIN PROCESAR
, simplemente copie y pegue este código en su terminal y luego abra la carpeta descompuesta



		

7.2 WINDOWS (archivo Bat),  guarde este archivo con el nombre de archivo .bat  dentro  de la carpeta sin  formato y luego ejecútelo



		

explicación, este código servirá para bucles, básicamente para cada archivo que termina con  .lu  ejecuta  el comando java...  que básicamente descompila el .lu para que sea .lua y luego los coloca dentro  de la carpeta descompilada  , y también le informa en la terminal/ cmd diciendo qué archivo se está descompilando.

8. Después de completar el script, simplemente cierre termux o cmd y abra su carpeta de descompilación, debe estar llena de archivos .lua. 
9. Ya terminaste, ahora puedes ver cómo funciona el juego y su funcionamiento interno. 
Nota adicional:
- Todavía no sé cómo recompilar el juego, probablemente algo relacionado con la verificación de la licencia, no sé.
- La versión descompilada no está limpia, de hecho, está bastante sucia, no puede enojarse ya que básicamente descifra los archivos del juego que básicamente están protegidos del editor de texto básico, puede limpiarlo usted mismo o crear un script para ello, depende para ti, por el bien de eso, estoy tratando de hacer un sitio web para eso, básicamente para hacerlo por ti, pero como está en lua, necesito encontrar una manera de hacer que web javascript ejecute lua en backend. Sé paciente

 

Please can someone provide me with all the codes of the objects that came out in this Halloween event, I would appreciate it. By the way, I have level 3 polar armor but I don't know how to put together the chain of codes so that people who want it can look for it

Posted
4 hours ago, enriquecor said:

Please can someone provide me with all the codes of the objects that came out in this Halloween event, I would appreciate it. By the way, I have level 3 polar armor but I don't know how to put together the chain of codes so that people who want it can look for it

you could just go back a couple of page and find an excel page filled with all ingame ID's, and use it for item swap and that's your answer and if you confused by item swap, just go back and find another comment detailing how it works, most the resources needed is on earlier pages, currently me and perhaps some others trying to bring moderator Tab to be use-able and i think jerome trying to make anti-ban feature.

Posted
Hace 2 horas, AngelWolf dijo:

podrías simplemente regresar un par de páginas y encontrar una página de Excel llena con todas las ID del juego, y usarla para el intercambio de artículos y esa es tu respuesta y si te confundiste con el intercambio de artículos, simplemente regresa y encuentra otro comentario que detalla cómo funciona, la mayoría de los recursos necesarios están en páginas anteriores, actualmente yo y quizás algunos otros tratando de que la pestaña del moderador sea utilizable y creo que Jerome está tratando de hacer una función anti-prohibición.

I have a method to duplicate millions of things without a ban, just as I change the ID I can modify almost everything without a ban, but can you explain to me about the page you mention since I don't know how to build a chain of codes?

Posted (edited)
4 hours ago, enriquecor said:

I have a method to duplicate millions of things without a ban, just as I change the ID I can modify almost everything without a ban, but can you explain to me about the page you mention since I don't know how to build a chain of codes?

i think around page 35 or 37, there's almost all items in game, ready to use, but if you asking for guide to build a script, then perhaps you need search guide EnyBy makes, on the forums
 

@BuJlka_ Here a Lua cleaner i made, it's not special nor can fully automatically decipher most of the code since it coded in Javascript and not lua, and also not to mention missing game's engine itself, atleast it might help 
Dirty DayR Decrypted Lu File Cleaner
Common Errors:
1. Strings =  refer to ingame localization files
2. Main = means the code tries to call game engine.

so far that the most error i got
NOTE: The VM can't decipther methods

Edited by AngelWolf
Posted
45 minutes ago, AngelWolf said:

i think around page 35 or 37, there's almost all items in game, ready to use, but if you asking for guide to build a script, then perhaps you need search guide EnyBy makes, on the forums
 

@BuJlka_ Here a Lua cleaner i made, it's not special nor can fully automatically decipher most of the code since it coded in Javascript and not lua, and also not to mention missing game's engine itself, atleast it might help 
Dirty DayR Decrypted Lu File Cleaner
Common Errors:
1. Strings =  refer to ingame localization files
2. Main = means the code tries to call game engine.

so far that the most error i got
NOTE: The VM can't decipther methods

Brother, could you help me to use this sheet, I don't know how the pointers are built, I also followed your steps in the form where you look for the tank's armor, I unzipped the game, I have access to the names of the elements, but when I search for them, following his way, he begins the search, but in the end he finds nothing. I would really appreciate it if you could teach me how to do it correctly and how to assemble the pointers well, since I don't know how to use the sheet, I don't know how to assemble the pointers on this sheet, much less I can with the names of the articles.

Screenshot_20221031-021350_Chrome.jpg.77c473d0592dd6f487e1dcf47c456323.jpg

Posted

Hi, I was wondering if there currently is a working rep/casino script? I found an older script for raising the reputation which sadly isn't working anymore. It's just so annoying having to grind the same quests over and over again..

If that doesn't work I was wondering if anyone knows if it's possible to reduce the timer of quests?
Another thing I had in mind was the casino thingy.. is it still possible to gain caps? 

Thanks in advance!

Posted
6 hours ago, AngelWolf said:

i think around page 35 or 37, there's almost all items in game, ready to use, but if you asking for guide to build a script, then perhaps you need search guide EnyBy makes, on the forums
 

@BuJlka_ Here a Lua cleaner i made, it's not special nor can fully automatically decipher most of the code since it coded in Javascript and not lua, and also not to mention missing game's engine itself, atleast it might help 
Dirty DayR Decrypted Lu File Cleaner
Common Errors:
1. Strings =  refer to ingame localization files
2. Main = means the code tries to call game engine.

so far that the most error i got
NOTE: The VM can't decipther methods

Good job)

1 hour ago, Wastelandhiker said:

Hi, I was wondering if there currently is a working rep/casino script? I found an older script for raising the reputation which sadly isn't working anymore. It's just so annoying having to grind the same quests over and over again..

If that doesn't work I was wondering if anyone knows if it's possible to reduce the timer of quests?
Another thing I had in mind was the casino thingy.. is it still possible to gain caps? 

Thanks in advance!

as previously written that through the settlement you can get caps

Posted
3 hours ago, Wastelandhiker said:

Hi, I was wondering if there currently is a working rep/casino script? I found an older script for raising the reputation which sadly isn't working anymore. It's just so annoying having to grind the same quests over and over again..

If that doesn't work I was wondering if anyone knows if it's possible to reduce the timer of quests?
Another thing I had in mind was the casino thingy.. is it still possible to gain caps? 

Thanks in advance!

There's no modifier found at the moment for manipulating Rep Gains. but alternatively you can modify the Rep Required and upgrade specialist to the max level then revert it back so now you can buy anything from specialist/trader.

Here's the List of Reputation Required List of Surv Bases Reps on Excel
Guarantee Wheel Jackpot Click Me
Modify Survivor Base Reset Cap Cost Click Me

 

Posted
On 11/1/2022 at 8:43 PM, AngelWolf said:

Here's how i item swap, if anyone interested, i use queries to find item.
p.s
if you don't know how to achieve the Q 'tank_armor'
click HEX , this will show HEX codes
and then click the HEX UTF-8
after you input the item name

 

I tried that method with different articles and can't find any results. Could you please explain if you are so kind and tell me why I can't find any results?

Posted
12 hours ago, enriquecor said:

I tried that method with different articles and can't find any results. Could you please explain if you are so kind and tell me why I can't find any results?

either the item_name not the correct one or something else, here some example of queries
Tank Armor: Q 'tank_armor'
Polar Armor: Q 'polar_armor'
Scrap: Q 'scrap_metal'
Canned Beef: Q 'beef_can'
Tank: Q 't72'

and the item name is located on assets/items on game's apk data, and exclude .png, or alternatively you can use Dword values on a excel that someone gave on earlier post. And if you wondering if it still works, yes queries still work, even go asfar as obtainable items or textureless items such as Blast Furnace (steelmaking_furnace or something)  or oakum
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.