Talk:Oni 2 (Angel Studios)

From OniGalore
Revision as of 21:44, 25 March 2020 by Iritscen (talk | contribs)
Jump to navigation Jump to search

Password field

What is that Password field for, on the game's Options screen? It's only four characters, and rather than allowing you to select A-Z for each space, each slot has a different selection of numberscharacters that is allowed:

  1. A-F and S
  2. A-F and W
  3. A-F and Y
  4. Only A-F

The "A-F" business seems to be a reference to hexadecimal. The fact that the only characters outside of that range which are allowed for the first three slots are S, W, and Y implies to me that at least one password is "SWY_", where the '_' is something from A to F. However, I tried all those permutations and didn't see any result in the game. I cannot find a string anywhere in the game data that is of the form "SWY", nor "YWS" if written little-endian like Oni's tag codes. So I may be arriving at a wrong conclusion based on the allowed characters. --Iritscen (talk) 04:28, 12 December 2016 (CET)

Wrong conclusion indeed. The allowed sets of characters do not imply that any of the six combinations SWY[ABCDEF] must work as a valid password. The can very well be passwords like SAAA, BWBB, CCYC or even DDDD. So ultimately you need to test the whole bunch [ABCDEFS][ABCDEFW][ABCDEFY][ABCDEF]. The good news is that it's "only" 2058 combinations. --geyser (talk) 22:24, 25 March 2020 (CET)
Yes, I see your point. It would be faster to just disassemble the binary to figure out what password(s) are allowed. I believe I attempted this in 2016, since I had just learned MIPS32 asm, but I apparently wasn't good enough to figure out what the password function wanted by reading the asm. --Iritscen (talk) 22:44, 25 March 2020 (CET)


Perhaps the Password field is where cheat codes are entered? There's a single reference to cheats in the engine, a portion that reads "End Cheat Flying Mode [...] Start Cheat Flying Mode". Perhaps the mystery "SWY_" code above is the flying cheat? --Iritscen (talk) 04:28, 12 December 2016 (CET)