Forum posts

Forum: Ogre Battle: The March of the Black Queen

Thread: RNG Research

Started by: KrayzarKrayzar

Jokers, items from towns, and items from units are all on my list to figure out! And if you (or anyone) have any other ideas of things for me to test, please feel free to mention!

I'm having some fun relearning lua. Used to use it and vbs all the time 15 years ago, but I'm more than a little rusty.

I'm growing increasingly suspicious that - at least in the original - the leader name + save slot is a large part of the RNG.

There may be other factors, but basically to fit the game into the cart, it looks like they made some serious compromises compared to the Nintendo power version. It's relatively clear they meant to use Timer 2, which exists in the original, to provide more variability, but so far it doesn't seem to have a role in anything I've tested.

 

Forum: The Site

Thread: Why is @Jaypin88 banned?

Started by: JubileeJubilee

My watermark is I mostly play incredibly stupid things. No one wants to steal an hour and 15 minute run of Castlevania Amiga. =P

FelipeNascimento83FelipeNascimento83, MrMonshMrMonsh and 5 others like this. 

Forum: Marvel Super Heroes

Thread: Quanto tempo demora para aceitarem a speedrun?

Started by: Magaiver041Magaiver041

Ei!

Peço desculpas, só sei um pouco de espanhol e estou usando a tradução para preencher as lacunas do meu português

Sim, apenas o melhor horário será mostrado, mas não há problema em enviar os dois.

Este é uma joia!

----

Hey!

I apologize, I only know a bit of Spanish and am using translate to fill the gaps for my Portuguese

Yes only the best time will show, but it's fine to submit both.

This one is a gem!

NerdyNesterNerdyNester and Magaiver041Magaiver041 like this. 

Forum: Marvel Super Heroes

Thread: 1st place run is not using the correct settings.

Started by: KrayzarKrayzar

(edited: )

Well, since there's some new mods... I didn't want to be nitpicky, but the current 4th place run doesn't use the correct settings. I don't think any of that guy's run's ever did, but I think that's the last one. =P

@NerdyNesterNerdyNester
@TenkaTenka

Magaiver041Magaiver041, NerdyNesterNerdyNester and 2 others like this. 

Forum: Marvel Super Heroes

Thread: O primeiro lugar ta todo errado!

Started by: Magaiver041Magaiver041

O que há de errado nisso?

 

Forum: Ogre Battle: The March of the Black Queen

Thread: RNG Research

Started by: KrayzarKrayzar

(edited: )

I recently started doing deep dives into all versions of the games, initially focusing on differences, but my goal is to gain a complete understanding of RNG across all versions.

I'll try to update this thread with information as I confirm more.
Information will also be posted here.

Currently I'm working on: Mapping initial Tarot RNG
DONE - Preliminary search for time counters.
DONE - Found Tarot locations in Memory for ALL versions.
DONE - Find Leader Name Memory locations.
NEXT - Scripting a bot to play through and find all possible card sets per version:

1. DONE - SNES
Beta version here: https://github.com/Krayzar/OgreBattle-MotBQ-TarotMapper
See it in action here:

2. DONE - Nintendo Power SNES - still being tested - Beta coming.
3. NEXT - PS1 - nearly finished.
4. NEXT - Saturn - not started

SNES USA and JPN
Both versions use a 256 counter for initial card RNG. @DragondarchDragondarch 's RNG manipulations for the name "!" will work well on all original versions of SNES. The documented card sets may be off by a single digit compared to hardware perhaps due to recent accuracy improvements in emulation or issues with the BSNES core in recent bizhawk versions that make replicating accurate to hardware results impossible, but in practice it doesn't change how anything works. I'll probably need to test with save states on real hardware to figure what the discrepancy really is with the SD2SNES, assuming I can get save states working on my older model.

Time Counter stored at WRAM:
0x51

Secondary Time Counter stored at WRAM:
0x52

Tarot Cards stored at WRAM:
0xDBE - 0xDCC

Leader name stored at WRAM:
0x7A4 - 0x7AB
0x87B - 0x882

Nintendo Power Kiosk version
Nintendo Power SNES ROM uses a 256 counter for initial card RNG but has a vastly different algorithm that seems very similar to the PSX version. Current Manipulations for "!" do not work. 0x52 is a secondary time counter that resets to 0 once it gets to FF (255). 256 x 256 = a 32bit counter (65,536) and this timer seems to have involvement with the cards, so it may be the exact same system used for PS1 and Saturn.

Hopefully scripting the card RNG will illuminate just how close it is - 3600 iterations and counting!

Time Counter stored at WRAM:
0x51

Secondary Time Counter stored at WRAM:
0x52

Tarot Cards stored at WRAM:
0xDBE - 0xDCC

Leader name stored at WRAM:
0x7A4 - 0x7AB
0x87B - 0x882

PS1
Seem to have RNG based on program start - there is a main counter that counts up indefinitely and initial card RNG seems entirely based on it. That appears to be a full 32bit counter and does reset to 0 once it reaches the limit. There are semi frequent areas of lag frames on PS1. This essentially means that there are small 2 to 4 frame windows where it's very likely you will get a specific set of cards, but the card sets are based solely on the timer and algorithm and the periods of lag being inconsistent can make things tricky. There is also a 0 to 64 counter I'm aware of that doesn't seem involved in card RNG, but may have a role in other types of RNG.

Tarot Cards stored at PSX MainRAM:
1C6B85 - 1C6B93

Leader name stored at PSX MainRAM:
1C6C14 - 1C6C1B

Time Counters stored at PSX MainRAM:

T1:
13C8FC

T2:
13C8FD

Other counters:
00E20C
13C910
135104
14188C

Unknow why there's so many on slightly different offsets/starting positions.

Saturn
Seems to have RNG based on program start - there is a main counter that counts up indefinitely and initial card RNG seems entirely based on it. That appears to be a full 32bit counter and could take over a year to figure out if there's any interesting effects if it maxes out. Tarot cards are stored odd/even in the address range - only version that does this.

Time Counter stored at SAT work ram high:
0F9670

Secondary Time Counter stored at SAT work ram high:
0F9671

Another time counter (Realtime) stored at SAT work ram high:
0C63F8

Tarot Cards stored at SAT work ram high:
0CD46C - 0CD479

Slot 01 = 0CD46D
Slot 02 = 0CD46C
Slot 03 = 0CD46F
Slot 04 = 0CD46E
Slot 05 = 0CD471
Slot 06 = 0CD470
Slot 07 = 0CD473
Slot 08 = 0CD472
Slot 09 = 0CD475
Slot 10 = 0CD474
Slot 11 = 0CD477
Slot 12 = 0CD476
Slot 13 = 0CD479
Slot 14 = 0CD478

No idea why Saturn does this. Cards are reordered shortly after final pick too.

Leader Name stored at SAT work ram high:
0F9674 - 0F967B

Same odd/even storage pattern.

These games are incredibly different under the hood though - that much is clear.

SheexSheex likes this. 

Forum: The Site

Thread: My opinions on the new changes

Started by: DarQ_MassacresDarQ_Massacres

I'll just reiterate again that the very fact that folks keep popping in to by proxy defend ELO's lack of communication is literally the worst part about all of this, and contains no upsides. That speaks to how much you care about the community, which while noble, does not help the situation or address concerns. That's not your fault though. ELO should be here in this thread instead of DarQ and you @Lieutenant_BooLieutenant_Boo.

They should have taken more care with the ad rollout and made sure they - at the very least - didn't have constantly shifting layouts when ads reload. Full stop. That's pretty basic usability stuff and they're better than that. We SHOULD hold them to a higher standard as they do this successfully elsewhere. I'd rather not use an add blocker and give them the ad revenue after all, because I do want them to succeed, a feeling I'm sure many share here. I think we can all agree the new features seem great, but this is definitely a misstep, and the promise of new features and fixes shouldn't immunize them from criticism.

Are some folks here are a bit off base with threats of leaving the site (and general tone) at this point? Sure, but it only goes to show how little goodwill towards SRC there was in the first place. The danger of souring larger communities is real, and they need to step up and make sure they have the basics down before that happens.

That's all I'll say for now. Let's all submit feedback and see what happens in the coming weeks.

ImaproshamanImaproshaman, NotTheJohnNotTheJohn and 13 others like this. 

Forum: The Site

Thread: My opinions on the new changes

Started by: DarQ_MassacresDarQ_Massacres

(edited: )

I mean no disrespect @DarQ_MassacresDarQ_Massacres and @StarlightStarlight, but clearly the fact that you feel the need to jump in here and explain in ELO's place DOES mean that they have failed significantly in this instance.

We as users and invested parties have the right to hold them accountable for misteps and sub par communication.

ELO also needs to understand that SRC is a monolith that could easily topple and be replaced with a few badly placed mistakes and miscommunications. There is no special love or loyalty for the site. Speedrunning has existed long before SRC and will exist after it, should they fail here.

They are the ones that are expendable to us, simply put.

EDIT: Oh and I actually really like the news articles by the way! Felt there should have been a community news section for a long time. That's one thing they've done very right IMO.

DelekatesDelekates, StarlightStarlight and Merl_Merl_ like this. 

Forum: Talk

Thread: Why Do People Speedrun?

Started by: PEOFNPEOFN

I was in and out of hospitals a lot as a kid and some kind soul donated an incredible amount of NES stuff to the hospital I was in a lot. There wasn't much variety of games, so eventually the kids in the ward started keeping track of times and competing for fastest times to certain levels and things. Made for a ton of replayability. It kinda became a natural part of the way I played games after that, weirdly enough.

I was very excited to see with the advent of SDA back in 2004 that it was a thing! Took 15 years, but I finally decided to give it a real try and record stuff for some of my favorites.

luigidasonicluigidasonic, ThanksdudeThanksdude and 4 others like this. 

Forum: The Site

Thread: My opinions on the new changes

Started by: DarQ_MassacresDarQ_Massacres

It's 2021. If an ad can change and disturb the page layout enough that the entire site moves down, you're doing something very wrong. I'm fine with the ads, but stuff like this is amateurish and rightfully gives the new management a black eye.

Start course correcting now. Start fixing stuff like this and communicating better. Start taking changes seriously, or there will eventually be a better run competitor that will make it it's goal to run SRC into the ground. SRC is a monolith because of low barrier to entry, not because it can't be replicated, and you're actively damaging that reputation.

I like the new management and the general direction - don't start digging your graves now.

ImaproshamanImaproshaman, MiPMiP and 12 others like this. 

Forum: Castlevania Chronicles

Thread: Save Glitch runs are possible

Started by: KrayzarKrayzar

So after hearing about some arbitrary code execution possibilities in Castlevania Chronicles via the Tonyhax research, I took a look at some possibilities! (if you're wondering what Tonyhax is, look here: https://orca.pet/tonyhax/)

Chronicles allows you to name your save and it turns out that the game doesn't actually have any checks for that field. You could potentially write whatever you'd want there and have it call code to warp you Dracula.

Unfortunately, there's no way to go beyond the character limit in the save name that I can find from within the game, and thus there's no way to do anything cool beyond manually writing save exploits with external tools. That's just plain hacking, and if we're going to do that, we might as well take a look at how the save system is structured and try to exploit it instead.

Turns out, the save system is extremely basic. There's no checksums like in other PS1 games, and absolutely no sanity checks, so you can use some hardware quirks and other games to doctor a glitched save that warps you to Dracula, all from within a PS1 or PS2, like so:

Make no mistake - this is a parlor trick or meme run at best, and a poor consolation prize to the fact that this game could have easily had arbitrary code execution zaniness with a bit longer of a name option!

I don't think it needs a category or anything as I doubt anyone would ever be seriously interested in running the game this way - but it is possible.

 

Forum: Master of Orion (2016)

Thread: More Category ideas

Started by: KrayzarKrayzar

(edited: )

Hi Runners and potential runners!

If anyone has any category ideas, feel free to suggest here. Everything is a bit barebones at the moment, and I haven't been terribly active due to some work related craziness.

I apologize @SpaceColonizerSpaceColonizer - I know my initial run wasn't much competition but I was worried a run with Wormhole tech would get the game rejected for being too short. There's obviously much longer ideas for runs available within the confines of this game's engine. Work limited my ability to route them though and I have this crazy rule, I'm only allowed to speedrun 4x games during the month of February.

Also, personally, I like the idea of being able to choose the specific seed for runs, but if any one would prefer a true RNG based run, we could add a sub category option that limits the advanced settings options and forces a random seed, though honestly with the ability to always see the seed, I don't see much of a point. There's already a decent amount of RNG even with choosing your seed!

 

Forum: Master of Magic

Thread: "Master of" series

Started by: KrayzarKrayzar

Very true, totally forgot about the sub game options now! Also, thanks for promoting me - I'll try to be a good mod!

Sorry, work got the better of me for a while there. After asking around, it seems like the consensus is a "Master of" series is too general to be approved, so I ended up just putting in for Master of Orion.

I still hold out hope for a remake though. While the new MoO wasn't perfect, it's better than nothing and was at least faithful, and if anyone could do Master of Magic proud, it would be Slitherine.

EinoEino likes this. 

Forum: Ogre Battle: The March of the Black Queen

Thread: Side by Side recordings of PSX Ogre Battle being faster than SNES

Started by: NewSchoolBoxerNewSchoolBoxer

(edited: )

Well, this is surprising. PS1 Ogre Battle seems to have an entirely different system for the initial Tarot RNG. There may be less RNG in general. Your name and gender choice doesn't seem to affect the cards at all, and neither does skipping or not skipping initial Logo FMVs. The frame you leave the Title screen and the Frame you select your gender are the only variables.

Still testing, but damn, I wasn't expecting this. Tomorrow I'll map the Initial Card RNG if this holds up.

Oh, also, I did a few tests with a PlayStation ODE recently and one of the games was Ogre Battle. The ODE came in last for most of these due to the PS1s pitiful bus speeds, but it's interesting to see what the fastest possible speeds on PS1 are compared to the PS2 and Vita. In general this illustrates just how swingy what the best platform for PS1 games is in reality:

 

Forum: Master of Orion

Thread: Master of Orion series

Started by: KrayzarKrayzar

(edited: )

Hey All,

Just want to get everyone's feelings on putting in for a Master of Orion series. My request for Master of Orion (2016) was recently accepted, and we now have enough (3) Master of Orion games for one.

Additionally, I asked the Mod and community of Master of Magic if they'd like to be a part of this as well. The idea would be to make it a more general "Master of" series if they want to join, since the early games are designed by the same folks and have a similar older 4x style and are arguably part of the same series.

Either way, my understanding is that nothing would change for the individual boards and the mods of the current boards would now also have series mods permissions, and be able to create new game boards in the series. There's also the added bonus of being able to see the whole series in an organized fashion on the site I should add. That's the nice feature I really like.

What does everyone think?

 

Forum: Master of Magic

Thread: "Master of" series

Started by: KrayzarKrayzar

(edited: )

Hi All,

I recently got the Master of Orion (2016) remake approved on SRC, and we now have enough Master of Orion games to make a game series. But...

I wanted to see if the community here would like to be involved in that though, since MoM, while unique in it's own right, is fundamentally by the same designers and is a 4x "Master of" game. So instead of just a Master of Orion series, we could make it a more general "Master of" series and include MoM.

My understanding is that nothing will change for individual boards that become a part of a series, it's just that the current game board mods would also be promoted to series mods and be able to create game boards in the series.

Figured since the Caster of Magic Mod is being actively developed and there are rumblings of the new IP owner possibly looking to rebuild or remake the game from scratch, it might be useful for the community to have series control.

Let me know what you think either way! I'm fine with just seeing if folks want to do a MoO series, I just didn't want to exclude folks.

 

Forum: Master of Magic

Thread: Masters of Magic on Playstation 1!

Started by: KrayzarKrayzar

Yeah, I doubt there will be any interest in the PS1 version, considering the language barrier for western players, and there's very little interest in the game in general outside of western spaces.

I did this more just to show it exists and see how close it is in mechanics, so it can live untracked for now.

 

Forum: Master of Magic

Thread: Masters of Magic on Playstation 1!

Started by: KrayzarKrayzar

(edited: )

This exists, but it's only in Japanese:

I decided to do a speedrun of it last weekend for fun. It's Japanese name is Civizard - Majutsu no Keifu. Pretty faithful with improved graphics in some places. Very, very slow to play. Doesn't appear to have mouse support in my tests. The menus are 1 to 1 with the PC version, making it pretty easy to mess around with. Only light use of google translate was needed!

There's surprisingly little footage of it on the internet, and even less of it being beaten.

There's a PC-98 version as well, but I haven't been able to find a copy of it, legit or otherwise. Seems pretty close to the DOS version.

 

Forum: Master of Orion 2

Thread: Patches for Earlier versions of the game.

Started by: KrayzarKrayzar

Hi @BeliazBeliaz, just added a variable for this.