Sekiban for Satellawave - I am so close but hit a bug.

Go down

Sekiban for Satellawave - I am so close but hit a bug. Empty Sekiban for Satellawave - I am so close but hit a bug.

Post by KiddoCabbusses on Wed 8 May 2019 - 6:59

I've made a thread for this on the BS Zelda Homepage forum as well, but I figured I'd post this here in case it gets it a bit more attention.



If you're not familiar, Satellawave is LuigiBlood's tool to make emulated Satellaview servers with downloads and customized events - essentially, a key component of of the prospect of reviving the Satellaview as a service.

I've been experimenting with it for some time, mostly to report to LuigiBlood my findings. At some point we discussed PSRAM, and SNES9XPP XE's documentation, and he told me something interesting: XPP XE can read a file for Sekiban as "Fake PSRAM". Said "Fake PSRAM" file, incidentally, is currently generated from Con's patched Sekiban ROMs - that is, everything from the first expansion, where indoor locations were added.

As-is, the Sekiban ROM dumps do not "work" with Satellawave per se, because they need to read data from PSRAM that is absent and long-since unrecoverable. But I thought if I could transfer the "fake PSRAM" idea over from XPP XE to Satellawave I might be able to make something workable.

Wondering if I could use this logic in Satellawave, I took whatever I could fit from the "fake PSRAM" and made it into a file as a Satellawave download (a 512kb file consisting of the area where the indoor maps are), then see what happened when I did the download process as shown in the video.

On my first test, a base Sekiban ROM would show the indoor tiles,- but still crash after leaving the first room. A few tests later, I made this video after applying ast_sfc.ips to the ROM (and then fixing the checksum so I don't get an Error 09.)
I would like to hope I could figure out how to not need ast_sfc.ips in the future (since the eventual end-goal would probably be a "PSRAM" ROM that not only fully works with the base ROMs but, once Satellaview download documentation is improved, can download and boot up the base ROM like the original broadcast), but aw, well, it'll do for now.

There's quite a few things I'd like to do with this at some point, but for the time being I want to figure out what's going on with the bug where pots and chests (and probably other things) are invisible until interacted with.

Any help with this would be appreciated - and apologies if I sound unclear or such.

KiddoCabbusses
Cucumber
Cucumber

Since : 2015-08-20

Back to top Go down

Sekiban for Satellawave - I am so close but hit a bug. Empty Re: Sekiban for Satellawave - I am so close but hit a bug.

Post by Conn on Thu 9 May 2019 - 5:59

I'm sorry to tell you that I am out hacking this game. It took me 15 years, and my stomach wants to vomit thinking to ever touch this rom again Wink

As for the rom working with the sfx patch, I assume it tries to talk to the apu via audio ports $2140-$2143 and does not get a ready command.

The pots being invisible should depend on your bg layer. I do not know how you managed the indoors appearing but maybe it sheds some light if you load your rom with Euclid's editor:
[You must be registered and logged in to see this link.]

It is possible that your indoors layers are drawn above the pots /chests and thus rendering them invisible. I briefly checked and in the prepatched official version pots/chests use the same bg layer. Maybe your indoors are on bg2 and pots on bg1 or so.

Your work looks indeed very promising! I cross my fingers that you succeed!
Conn
Conn

Sekiban for Satellawave - I am so close but hit a bug. Image212

Since : 2013-06-30

Back to top Go down

Sekiban for Satellawave - I am so close but hit a bug. Empty Re: Sekiban for Satellawave - I am so close but hit a bug.

Post by KiddoCabbusses on Mon 20 May 2019 - 6:11

Conn wrote:The pots being invisible should depend on your bg layer. I do not know how you managed the indoors appearing but maybe it sheds some light if you load your rom with Euclid's editor:
[You must be registered and logged in to see this link.]

I don't know if opening the fake PSRAM would work on that but I'll see if that helps (EDIT: Oh, duh, I can just edit the ROM and then make the fake PSRAM from what afterward durhurhurhuruhur). As for how they appear, it's probably a psuedo-miracle of several circumstances, starting with the fact that the PSRAM area could be read like that at all, which even LuigiBlood didn't expect at first. And for the"fake PSRAM" generation to work that well from the onset the indoor locations would had to have been placed precisely where the ROM would have had to look for them in PSRAM to begin with.

I highly suspect it's possible to make a full-on "Fake PSRAM" that could get the game to play "correctly" without any patches at all - it may even be possible to set it up as a downloader application, although recreating the original cutscene would be way too ambitious for me.

EDIT: Alright, checking now. Current things I tried:

1) Changing pots and chests to BG2 - seems to do nothing.
2) Moving floors and whatever else EXCEPT pots and chests into BG2. Test result:

[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this image.]

Slightly darker tiles floor tiles to denote that they're a bg layer below..
I guess that lets me know it seems to be reading the BG layers "as intended"...? One thing I do notice, at least, is that the invisible pots and chests, which I left on BG1, seem to show up as a lighter tile when I do this, which... yeah, I'm really confused. There's no other floor data there, no? It's almost like the engine is screwing with me here...

3) Selectively moving the floor below the pots and chests, which I just figured out how to do.
[You must be registered and logged in to see this image.]

[You must be registered and logged in to see this image.]

So now it's showing a darkened floor tile there... Just to double check, yeah, BG2 doesn't have anything, that's... supposed to kinda show nothing, no?

BONUS: Here's something that can happen if you screw up the PSRAM. In this example, I forgot I was using a headered ROM for a moment and...

[You must be registered and logged in to see this image.]


EDIT 3: SOLVED

After several different configuration attempts, I tried setting pots and chests tiles with no floor underneath them on BG1 AND BG2, and FINALLY I got a result looking like what I wanted.

[You must be registered and logged in to see this image.]
I was so excited about it I just started throwing the pots around.

Of course, now I gotta do this for every, single, indoor area.... oh jeez~

EDIT: Huh, uh oh...

[You must be registered and logged in to see this image.]

I don't seem to have the tiles for this one. (EDIT: on second thought, if it's a chest that spawns, I might not need the tiles. I'm gonna need to test this. And I might also need to make sure I'm not accidentally forcing chests that are supposed to be invisible to be visible. Hrm...)

EDIT again: I also have become aware that there's probably some areas where I should not put in BG1 because then the lighting quirkiness would happen. Hrm....

MORE EDITING:


Good news: Looks like I figured something out

bad news: I broke something in the process. Gotta fix~

EDIT: Okay, I might have this. A few more tests....

EDIT ONCE MORE: The progress so far.


I have a feeling I should not put a pot tile on BG1 if it's meant for BG2, lol.
There's also some areas I missed, but otherwise, damn, I'm near "this is a releasable thing" territory here.

KiddoCabbusses
Cucumber
Cucumber

Since : 2015-08-20

Back to top Go down

Sekiban for Satellawave - I am so close but hit a bug. Empty Re: Sekiban for Satellawave - I am so close but hit a bug.

Post by KiddoCabbusses Today at 4:29

Alright, I'm far enough along in this now that I am willing to share a file. This is episode 1's "fake PSRAM" indoors data.

[You must be registered and logged in to see this link.]

Load it up on Satellawave with a Sekiban 1 ROM with ast_sfx.ips applied (and checksum fixed) and it should play just like the videos. If I did everything correctly, this should show all the indoor areas properly, but I would like some bugtesting in that regard.

I'm working on the others right now - it seems each successive episode gets more and more complicated in regards to tiles used. In fact, currently I'm having problems trying to locate the tiles I need for certain chests and stairs in episode 3, making me wonder if I should dare try just adding them myself, or if that's unsafe.

KiddoCabbusses
Cucumber
Cucumber

Since : 2015-08-20

Back to top Go down

Sekiban for Satellawave - I am so close but hit a bug. Empty Re: Sekiban for Satellawave - I am so close but hit a bug.

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum