Dead Rising 2 Randomizer (sort of)
Feb 2, 2023 1:16:25 GMT -5
Mel, UndeadFrankie, and 3 more like this
Post by PKHacker1337 on Feb 2, 2023 1:16:25 GMT -5
Hi everyone! I hope you all are doing well. I tried to make a randomizer for this game after seeing that one existed for the first game, but not this one. It's honestly in beta at this point, although I'm not sure how much I'll work on it, seeing as I've been running into problems.
Here's a download link.
Inside, I have included a Python script that I made that is designed to look at .txt files extracted from the game using gibbed (included). Alternatively, you may use UndeadFrankie's mod (also included) that allows running the game from an unpacked datafile.big. I assume that if you are here, you know how to use one of the 2. Place the .txt files of the ones you'd like to randomize in the same directory that you extracted the .zip. Once you open the Python script, it will ask you to type the name of the .txt file. Type it in exactly, including the file extension. It will then spit out a file called output.txt. Put it into your datafile.big and rename it respectively. Make sure you keep backups as well.
Unfortunately, I have ran into problems with this. Part of them is due to my limitations of Python and programming knowledge, and the other part is because I'm not really sure how to do some specific things with modding.Randomizing larger areas like malls or casinos and trying to enter them usually will result in a game crash. However, it seems to work just fine with some smaller areas like the safe house. I honestly would love to have a hand with fixing it, as I'm still on the newer end. Edit: fixed
Another note is that some items may have weird properties. I included a file called listofitems.txt which is what the script draws from. I tried my best to go through the items and delete everything that would be useless or could cause problems. Despite that, I've still seen unused and buggy items appearing like missingprop boxes come up. Also, take caution if you try to interact with items that are stuck in walls or objects. In one attempt, I got some motorcycles stuck in safe house walls, and in another, I got a hamster ball stuck in a wall in the Yucatan casino, and when I tried to enter the ball, it ended up making me fly out of bounds out of control, so, be careful about that and save often.
Also, I know that it replaces the doors with other objects. I've tried for a long time to make it so it would skip anything related to doors, but I never managed to pull it off.
I'd love to work on this further, but I spent an absurd amount of time just getting randomization to work properly with the safe house, I'm not really sure how to improve it from there without help from others who know the game better than I do.
Other than that, I hope you all enjoy :-). If you'd like, you can test some of my personal results, where I got things like 2 slicecycles in the safehouse and a blambow on the safehouse rooftop. Thank you for your time, and I hope you all have a nice day :-).
Edit: Here it is in action:

As you can see, I managed to get onto a security cart while in the safe house. Unfortunately, I'm actually trapped in this state and I can't even get off. There's also a porta-mower on the ground, which happened to spawn there. This has a lot of improvement to be done, and I'd love a hand one of these days.
Edit: Thank you UndeadFrankie for giving me a hand with this! He helped me with my item list and helped remove some of the buggy items. It still has some bugs though, but it works great. I'd recommend though keeping a copy of the original files so if you plan on doing a full playthrough of this to switch between them in case something breaks.
Here's a download link.
Inside, I have included a Python script that I made that is designed to look at .txt files extracted from the game using gibbed (included). Alternatively, you may use UndeadFrankie's mod (also included) that allows running the game from an unpacked datafile.big. I assume that if you are here, you know how to use one of the 2. Place the .txt files of the ones you'd like to randomize in the same directory that you extracted the .zip. Once you open the Python script, it will ask you to type the name of the .txt file. Type it in exactly, including the file extension. It will then spit out a file called output.txt. Put it into your datafile.big and rename it respectively. Make sure you keep backups as well.
Unfortunately, I have ran into problems with this. Part of them is due to my limitations of Python and programming knowledge, and the other part is because I'm not really sure how to do some specific things with modding.
Another note is that some items may have weird properties. I included a file called listofitems.txt which is what the script draws from. I tried my best to go through the items and delete everything that would be useless or could cause problems. Despite that, I've still seen unused and buggy items appearing like missingprop boxes come up. Also, take caution if you try to interact with items that are stuck in walls or objects. In one attempt, I got some motorcycles stuck in safe house walls, and in another, I got a hamster ball stuck in a wall in the Yucatan casino, and when I tried to enter the ball, it ended up making me fly out of bounds out of control, so, be careful about that and save often.
Also, I know that it replaces the doors with other objects. I've tried for a long time to make it so it would skip anything related to doors, but I never managed to pull it off.
I'd love to work on this further, but I spent an absurd amount of time just getting randomization to work properly with the safe house, I'm not really sure how to improve it from there without help from others who know the game better than I do.
Other than that, I hope you all enjoy :-). If you'd like, you can test some of my personal results, where I got things like 2 slicecycles in the safehouse and a blambow on the safehouse rooftop. Thank you for your time, and I hope you all have a nice day :-).
Edit: Here it is in action:

As you can see, I managed to get onto a security cart while in the safe house. Unfortunately, I'm actually trapped in this state and I can't even get off. There's also a porta-mower on the ground, which happened to spawn there. This has a lot of improvement to be done, and I'd love a hand one of these days.
Edit: Thank you UndeadFrankie for giving me a hand with this! He helped me with my item list and helped remove some of the buggy items. It still has some bugs though, but it works great. I'd recommend though keeping a copy of the original files so if you plan on doing a full playthrough of this to switch between them in case something breaks.