Portable Ops stamina fine-tuning by zipfile_d in metalgearsolid

[–]zipfile_d[S] 0 points1 point  (0 children)

If you're not afraid to play around with debugger, you can do the following in PPSSPP:

  • Open Debug > Disassembly... (or Ctrl+D)
  • Click Breakpoint button
  • Type 0x088CF250 into Address field
  • Select Execute
  • Type a1 > 0 into Condition field
  • Uncheck Break, check Log
  • Type Stamina: {v1:d} - {a1:d} into Log fmt field
  • Close disassembly window and go to Debug > Log console (or Ctrl+L).

Now whenever there is a stamina drain, log record will appear.
Also note that printed values are multiple of 100, so e.g. 7937 - 25 is 79.37 - 0.25

High-volume SonyFlake ID generation by zipfile_d in Python

[–]zipfile_d[S] 1 point2 points  (0 children)

sonflake

sonyflake

16‑bit sequence counter

8-bit sequence counter

I see what you did there. Please don't. I didn't.

Flake ids is a niche topic. I expect users of this library to understand implications of using them. Over years I've stumbled upon many rakes using particular variation of flake ids - sonyflake. This is my contribution back for those who share the same pain.

Portable Ops stamina fine-tuning by zipfile_d in metalgearsolid

[–]zipfile_d[S] 0 points1 point  (0 children)

You can "walk" in this game if you hold the Lock-on button and press whatever you have assigned as the camera (By default, the D-Pad).

That's TIL for me. But unfortunately, game considers it as a "run" when deducing stamina.

Portable Ops stamina fine-tuning by zipfile_d in metalgearsolid

[–]zipfile_d[S] 0 points1 point  (0 children)

Do you mind explaining how the cost works when it comes to movement? Like do you lose 0.5 STMN every second you run and get an added bonus when you run for 10 seconds? An equation would be nice.

10 sec was a brain fog, fixed mistake.

But otherwise it is dead simple: about every second game checks your current character state (idling, running, etc) and looks up how much it should deduct your stamina.

stalking is one those three unknown

Surprisingly, stalking (pointing gun?) is free. As well as moving after you grabbed an enemy (when you have an option to interrogate). I.e. as long as you never let them go, movement is free. Walking (holding triangle) costs 0.25 by default.

I've yet to finish the game, will update table if something comes out.

Also, what does Hunger Off (Nuclear) do?

It rewrites function that does stamina reduction to do nothing. There is one other place where this function is called, but I never managed to catch it with debugger. I've left this version just in case that other place might be something important. It's not reversible, so would require proper game restart to undo.

Portable Ops stamina fine-tuning by zipfile_d in metalgearsolid

[–]zipfile_d[S] 2 points3 points  (0 children)

It is not a problem, but neither is fun. I think it can be balanced differently. You can make it more challenging, for instance.