The Warp Room
Crate Editing - Printable Version

+- The Warp Room (https://thewarproom.com)
+-- Forum: Crash Bandicoot Modding (https://thewarproom.com/forumdisplay.php?fid=5)
+--- Forum: Modding Discussion (https://thewarproom.com/forumdisplay.php?fid=9)
+--- Thread: Crate Editing (/showthread.php?tid=191)



Crate Editing - Shadow - 27-06-2022

Trying to figure out how to do crate editing in the pc version of n sane trilogy using Alchemist.
To explain what I mean, I don't want to move the crates location, I just want to change the type of crate. as I was originally writing this I thought of something and figured it out mostly. I cant figure out how to make a crate something that isn't supposed to be in that level. for example put a nitro crate in n sanity beach. if anyone knows how to do this and can explain it i would appreciate it because i want to create a mod similar to ards all nitro mod just a lot more reasonable to play casually making some akuaku crates, more life crates, tnt crates, or other changes needed that dont require you to lag the game) how reasonable it is to manually edit every single crate in every single level is something that will be decided by how complicated the answer to my question is.
Thank you for reading this expect a short demo within a week (assuming doing this is possible)


RE: Crate Editing - BlaZeMaN - 22-10-2022

I frankly don't know how Alchemist handles things, but I can answer your question a bit, if you manually modify the Crates.igz file for the level of choice, using a Hex Editor to open the file.

Now to answer your question proper, as long as you change the string code of the igz file with one that contains the same total number of letters, you are able to change certain crate types to your heart's content.
A few examples include:
Bounce to AkuAku or Random
Basic to Nitro or Arrow
The game is able to recognise some of these combinations since you don't change the code too much, but one particular part called Crate_"Insert crate name here"_Spawned_gen.
For example) As demonstrated, you can change any of the above strings in the code and the game won't crash at all (from the crate modifications at least).
Crate_Arrow_Spawned_gen. or Crate_Nitro_Spawned_gen. or Crate_Basic_Spawned_gen.
Crate_Bounce_Spawned_gen. or Crate_AkuAku_Spawned_gen. or Crate_Random_Spawned_gen.

I'll test for more possibilities going forward but for now, I hope this clears things up a bit.