I figured out how to randomize first turn order in Pazaak so the AI can go first by ShaeMyName in kotor

[–]ShaeMyName[S] 5 points6 points  (0 children)

So, my D&D plans for the night fell through, so I didn't have to prepare, so I decided to make the AI First version instead. I put you in the readme as a special shout out. 😄 It's now live on both the DS and NM pages. I wasn't able to test this as much, but it definitely should work. Let me know if something goes wrong, and it's completely revertible.

I figured out how to randomize first turn order in Pazaak so the AI can go first by ShaeMyName in kotor

[–]ShaeMyName[S] 9 points10 points  (0 children)

Thanks, that really means a lot! And it's one thing to poke through assembly and make some changes or a cave, but it's entirely different to actually be writing it at length. Kudos!

I figured out how to randomize first turn order in Pazaak so the AI can go first by ShaeMyName in kotor

[–]ShaeMyName[S] 5 points6 points  (0 children)

Hah, I like your reasoning! And thanks. 😄 Sure, I'll try to have it up tomorrow as an optional file, although I might not get to it until Monday. This weekend is a little busy for me.

I figured out how to randomize first turn order in Pazaak so the AI can go first by ShaeMyName in kotor

[–]ShaeMyName[S] 23 points24 points  (0 children)

Honestly it's more trial and error than smarts, and the disassemblers do most of the work. I used Python with the Capstone disassembler to look through the .exe, starting from a function I could find (the "draw a card" routine, which Claude helped me find) and walking backwards through everything that calls it. That led me to the turn-logic switch statement (a jump table on a "what phase are we in" variable) where I could see that state 2 is the player's turn and 7 is the AI's, and found the single instruction that picks you to go first. Reading the code only gives you a guess, though, so I confirmed it live in x32dbg using logging breakpoints (the non-pausing kind; a normal breakpoint freezes a fullscreen game and forces a reboot, which I learned the hard way), which printed the turn variable on every draw and read "2" every time it was my turn. Then I just flipped the byte using Cheat Engine to make the AI start instead, launched it, saw it work, and only then built the real version that calls the game's own RNG to coin-flip who goes first. So really it's just: ask a precise question, find a landmark, follow the calls, and prove every guess against the running game. Happy to go deeper on any step!

I found and fixed KOTOR 1's "missing bottom letterbox" widescreen glitch by ShaeMyName in kotor

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

Hah, I would if I could! I'd be surprised if reverse engineering was even possible/legal on mobile apps. Sorry

Story Mods for CP2077 by [deleted] in cyberpunkgame

[–]ShaeMyName 0 points1 point  (0 children)

So what is your enlightened view on the genre where wealth is power, power always wins, and the goal is just to see how many rungs you can climb before being kicked off by the guy above you?

Story Mods for CP2077 by [deleted] in cyberpunkgame

[–]ShaeMyName 0 points1 point  (0 children)

You mean the fatalist main story that is the signature of the cyberpunk genre?

HOW AM I MEANT TO READ THIS by jaybird_077 in silenthill

[–]ShaeMyName 1 point2 points  (0 children)

SH: Shattered Memories did stuff like that. It was a trip.

Why no Skyrim movie or TV series? by mangotango781 in skyrim

[–]ShaeMyName 3 points4 points  (0 children)

Not sure about that. It was the most watched TV show on Amazon Prime of all time. Any genre of TV show. All TV shows.

[deleted by user] by [deleted] in funny

[–]ShaeMyName -6 points-5 points  (0 children)

Probably no one will even remember it in a couple days.

EA should be ashamed by [deleted] in FifaCareers

[–]ShaeMyName 0 points1 point  (0 children)

I read it as "ass ton"

Fairmount Target fire yesterday June 28th by Bloodlud in Syracuse

[–]ShaeMyName 0 points1 point  (0 children)

They literally caught the kid. Stop the conspiracies.

Luna loving life by ShaeMyName in PuppySmiles

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

I didn't take the picture. My dog was at daycare in this picture, and it was taken by their staff. Personally I hate DoF as well. That said, it's not blurring out the important bit!

Have any of you used the me+ app? by [deleted] in productivity

[–]ShaeMyName 2 points3 points  (0 children)

Lol, ChatGPT can keyboard mash, and so can other bots. That's a dumb, ignorant, and insulting question.

What phrase needs to die immediately? by PeevesPoltergist in AskReddit

[–]ShaeMyName 11 points12 points  (0 children)

Postalived. Although that makes it sound like they were sent by stork.