Randomizer: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
Battlepedia>Igorseabra4
No edit summary
 
(29 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[File:Industrial Park Randomizer.png|829px|thumb|right|Randomizer tool window]]
This is a guide on using [[Industrial Park (Level Editor)|Industrial Park]]'s '''Randomizer''' function to create a randomized mod for the game.


This is a guide on using [[Industrial Park (Level Editor)|Industrial Park]]'s '''Randomizer''' tool to create a randomized mod for the game.
The randomizer works on all versions (GameCube, Xbox, PS2) of the games (Battle for Bikini Bottom and Scooby-Doo: Night of 100 Frights; it will most likely not work on Movie Game or the Incredibles games yet) as long as you can obtain the game's extracted files from a disc image (and then repack them back into an image after applying the mod, if necessary).


The randomizer works on all versions (GameCube, Xbox, PS2) of Battle for Bikini Bottom, Scooby-Doo: Night of 100 Frights and Movie Game as long as you can obtain the game's extracted files from a disc image (and then repack them back into an image after applying the mod, if necessary).
[[File:Industrial Park Randomizer.png]]

Notes: The randomizer works best on the GameCube version of the games; some functions appear not to work on the other platforms. The tool has not been optimized/prepared for The Incredibles games (you can try it in them using the Movie setting but you'll likely get lots of crashes and softlocks).


==Steps==
==Steps==
# Have your game's extracted files in a folder (you can see [[Setting up Dolphin for modding|this page]] or [https://www.youtube.com/watch?v=GthegXui6eg&list=PLuDjCkCsPEiPtXh4a57HXBZVErwd916SY this video] for a guide on doing this with Dolphin and a GameCube ISO).
# Have your game's extracted files in a folder (you can see [[Setting up Dolphin for modding|this page]] or [https://www.youtube.com/watch?v=GthegXui6eg&list=PLuDjCkCsPEiPtXh4a57HXBZVErwd916SY this video] for a guide on doing this with Dolphin and a GameCube ISO).
# Launch Industrial Park and open Research/Advanced -> Randomizer. Make sure you don't have any Archive Editor windows open before doing this.
# Launch the Randomizer tool (you'll see it in the Industrial Park download).
# Click on ''Choose Root Directory'' and choose your game's root (the files folder), or ''Choose Single File'' if you only want to apply the randomizer to a single [[HIP|HIP/HOP file]].
# Click on ''Choose Game Directory'' button under the ''Game Directory'' menu and select your game's root (the files folder), or ''Choose Single File'' if you only want to apply the randomizer to a single [[HIP|HIP/HOP file]].
# You can also click on ''Choose Backup Directory'' to choose a folder with a copy of the game's files to use as backup. If you do this, the randomizer will load the files from the backup, but still save them over the files you chose on the previous set.
# Choose which randomizer functions you want to be applied. A description of each of them is below.
# Choose the game you are applying the randomizer for from the box.
# Click ''Perform'' to start the randomizer. Applying the mod can take a few seconds and the tool might hang for a bit.
# A default set of randomizer functions and settings is already preset. You can click ''Perform'' to start the randomizer. Applying the mod can take a few seconds and the tool might hang for a bit. If you're doing this on Scooby, a dialog will ask you which platform you're editing (GameCube, PS2 or Xbox) since the tool can't guess for that game.

# You can edit a few of the settings to customize your randomized mod. You can see the description for each method in the box at the bottom.
==Patterns and files to skip==
In this box, you can filter files to be left out of the randomizer. A few of them should always be there (such as the files for menus and characters). The files already there are my recommendation of files to be left alone (hub worlds, some bosses). The "Only randomize these" checkbox will do the opposite: the randomizer will only be applied to the files specified in the filter.

If you have "hb01" on the filter, for example, the hb01 level will be filered out but hb02 won't. If you have "hb", all "hbXX" files will be filtered.

One thing I usually do for BFBB is apply the randomizer first with the default files filtered, then again with "Only randomize these" checked and only "hb01" in the filter. This will apply the randomizer only to hb01 and will not mix it up with the other levels.

==Randomizer functions==
A few of the functions are dependent on each other, and a few of them are under the ''Not Recommended'' section (meaning they might make the game crash, unplayable or have very bad issues).

===Level Files===
Randomizes level files with each other. Warps will be random. I recommend leaving HB01 in the filter if this is on.

It will cause a softlock in the rare case a level replaces one with a warp to itself. For example: JF01 has a warp to JF02. If JF01 replaces JF02, the game will softlock when trying to take the warp to JF02 since you are already in JF02.

===Textures===
Randomizes the contents of all [[RWTX]] assets.

===Sounds===
Randomizes the contents of all [[Sound Format|sound]] assets.

If '''Mix SND SNDS''' (under ''Not Recommended'') is checked, all types of sounds will be mixed and the robots will start speaking the character's lines (it's funny at first but becomes annoying quickly).

===Boulder Settings===
Randomizes the floating point values in [[BOUL]] assets. They will be multiplied by a random factor between 0.5 and 2.

===Pickup Positions===
Randomizes the positions of all [[PKUP]] assets with each other. Shiny objects, spatulas etc will be in random places.

===PLAT Speeds===
This will multiply all PLAT speed or time values by a random factor. If a PLAT has a Speed value, it will be multiplied by a random factor between the min. and max. speed multipliers (set in the randomizer window) and same applies for the PLATs with a time value. Note that most PLATs in the game are Mechanisms and thus use time as the value which controls how fast they move.

===Tiki Types===
Randomizes the types of all tikis with each other. For example, if your level had 3 wooden tikis and 1 thunder tiki before the randomization, it will still do after but their places will be switched.

If '''Tiki Models''' is checked: you will get wooden tikis which behave like thunder tikis, for example.

If '''Tiki Allow Any Type''' is checked: tikis can have any type, even if not originally present in the level. No balance is done.

Floating tikis are not accounted by the randomizer (they are left as they are).

===Enemy Types===
This works similarly to tiki types. All enemies in the level will be interchanged with each other.

'''Enemy Models''' (under ''Not Recommended'') will randomize enemy models. Very high chance of crashing the game.


Alternatively, you can use either [https://youtu.be/g1jqd3BqrRg this tutorial] or [https://youtu.be/U-KJl7_eSVk this slightly older one] to follow through all the steps.
'''Enemy Allow Any Type'''(under ''Not Recommended'') will allow enemies to have any type, even if not originally present in the level. No balance is done. Very high chance of crashing the game.


If you need to rebuild the image afterwards, you can follow [https://www.youtube.com/watch?v=AyldF6AneZk&list=PLuDjCkCsPEiPtXh4a57HXBZVErwd916SY this tutorial] for GameCube. There are methods of rebuilding the image for Xbox and PS2 as well.
===MRKR Positions===
Randomizes the positions of some [[MRKR]] assets, mostly the ones used for warping and checkpoints.


Note that running the randomizer more than once on the same files will cause the modifications to stack on top of each other. You should always start from clean files when running it; the randomizer allows you to choose a backup folder to automatically get files from when randomizing.
'''DYNA Pointers''' will include Pointers (which are basically the same as markers) in this.


If you need any help or have questions about the Randomizer, feel free to join the Modding Discord server from the link on the sidebar External Links area.
===MVPT Positions===
Randomizes the radii (radiuses) of [[MVPT]] assets. They will be multiplied by a random factor between 0.9 and 1.8. This means there's a high chance of enemies being able to move more and see you from further away.


===Cameras===
===AR Codes===
Here are some useful [[AR Codes]] to help reduce softlocks:
Randomizes the positions of all [[CAM]] assets with each other.


{| class="wikitable sortable"
===Timers===
|+
Randomizes the time of all [[TIMR]] assets. They will be multiplied by a random factor between 0.75 and 1.75. This can make timed challenged much more (or much less) challenging.
! Effect
! Code
|-
| Skip Spatula Animations
|| <pre>040634F8 60000000
0406363C 60000000
04076A38 60000000
04076A4C 60000000
040640A0 60000000</pre>
|-
| L+R+Z to reload area
|| <pre>4A292620 00000070
023C1C0B 00000000</pre>
|}


==Settings File==
===Double LODT Distances===
In the ''Settings File'' menu, you can load and save a JSON file containing all of the randomizer's settings. The same settings file, applied to the same set of original game files, will result in the same randomized game, so you can share a settings file with others instead of needing to share the entire game. The following is saved to the settings file:
This will double (not randomize) the distance set to all models in [[LODT]] assets. This should make it easier to see stuff from further away.
* Seed
* Checked methods
* All additional settings


===SIMP Positions===
==Game Directory==
* ''Choose Backup Directory'': allows you to choose a backup files directory.
Randomizes the positions of all [[SIMP]] assets with each other. Not recommended, this might make the game crash or simply make levels unbeatable.
* ''Use Backup Directory'': if this is checked, when applying the randomizer, all files will be loaded from the backup but will overwrite in your selected game directory. The backup files will be left untouched If this is unchecked, the randomizer will be applied directly to the game files you choose.
* ''Choose Game Directory'': chooses the directory with the files that will be randomized. The randomizer will be applied directly to these files if ''Use Backup Directory'' is unchecked.
* ''Choose Single File'': chooses one single file to apply the randomizer to.


===Models===
==Seed==
You can type a number in the seed box to use as a seed or generate one from anything you type. Note that using the same seed won't result in the exact same randomized game; some things might be similar, but all settings which are checked or not, plus the additional settings on the box to the right, will have an influence on the result (sharing the settings files is preferable over sharing just seeds if you're going to play the same game with someone else).
Randomizes the contents of all [[MODL]] assets. Very high change of crashing the game.


[[Category:Modding]] [[Category:Tools]] [[Category:Tutorials]]
[[Category:Tools]] [[Category:Tutorials]]

Latest revision as of 17:55, 29 April 2021

Randomizer tool window

This is a guide on using Industrial Park's Randomizer tool to create a randomized mod for the game.

The randomizer works on all versions (GameCube, Xbox, PS2) of Battle for Bikini Bottom, Scooby-Doo: Night of 100 Frights and Movie Game as long as you can obtain the game's extracted files from a disc image (and then repack them back into an image after applying the mod, if necessary).

Notes: The randomizer works best on the GameCube version of the games; some functions appear not to work on the other platforms. The tool has not been optimized/prepared for The Incredibles games (you can try it in them using the Movie setting but you'll likely get lots of crashes and softlocks).

Steps

  1. Have your game's extracted files in a folder (you can see this page or this video for a guide on doing this with Dolphin and a GameCube ISO).
  2. Launch the Randomizer tool (you'll see it in the Industrial Park download).
  3. Click on Choose Game Directory button under the Game Directory menu and select your game's root (the files folder), or Choose Single File if you only want to apply the randomizer to a single HIP/HOP file.
  4. You can also click on Choose Backup Directory to choose a folder with a copy of the game's files to use as backup. If you do this, the randomizer will load the files from the backup, but still save them over the files you chose on the previous set.
  5. Choose the game you are applying the randomizer for from the box.
  6. A default set of randomizer functions and settings is already preset. You can click Perform to start the randomizer. Applying the mod can take a few seconds and the tool might hang for a bit. If you're doing this on Scooby, a dialog will ask you which platform you're editing (GameCube, PS2 or Xbox) since the tool can't guess for that game.
  7. You can edit a few of the settings to customize your randomized mod. You can see the description for each method in the box at the bottom.

Alternatively, you can use either this tutorial or this slightly older one to follow through all the steps.

If you need to rebuild the image afterwards, you can follow this tutorial for GameCube. There are methods of rebuilding the image for Xbox and PS2 as well.

Note that running the randomizer more than once on the same files will cause the modifications to stack on top of each other. You should always start from clean files when running it; the randomizer allows you to choose a backup folder to automatically get files from when randomizing.

If you need any help or have questions about the Randomizer, feel free to join the Modding Discord server from the link on the sidebar External Links area.

AR Codes

Here are some useful AR Codes to help reduce softlocks:

Effect Code
Skip Spatula Animations
040634F8 60000000
0406363C 60000000
04076A38 60000000
04076A4C 60000000
040640A0 60000000
L+R+Z to reload area
4A292620 00000070
023C1C0B 00000000

Settings File

In the Settings File menu, you can load and save a JSON file containing all of the randomizer's settings. The same settings file, applied to the same set of original game files, will result in the same randomized game, so you can share a settings file with others instead of needing to share the entire game. The following is saved to the settings file:

  • Seed
  • Checked methods
  • All additional settings

Game Directory

  • Choose Backup Directory: allows you to choose a backup files directory.
  • Use Backup Directory: if this is checked, when applying the randomizer, all files will be loaded from the backup but will overwrite in your selected game directory. The backup files will be left untouched If this is unchecked, the randomizer will be applied directly to the game files you choose.
  • Choose Game Directory: chooses the directory with the files that will be randomized. The randomizer will be applied directly to these files if Use Backup Directory is unchecked.
  • Choose Single File: chooses one single file to apply the randomizer to.

Seed

You can type a number in the seed box to use as a seed or generate one from anything you type. Note that using the same seed won't result in the exact same randomized game; some things might be similar, but all settings which are checked or not, plus the additional settings on the box to the right, will have an influence on the result (sharing the settings files is preferable over sharing just seeds if you're going to play the same game with someone else).