"The Question" ported to 32X
Moderator: BigEvilCorporation
-
- Very interested
- Posts: 160
- Joined: Sun Apr 29, 2007 10:04 pm
- Location: Belo Horizonte, MG, Brazil
"The Question" ported to 32X
Hello, again,
I have just ported the Ren'py sample script named "The Question" to BlocklyVN32X.
ROM version 0.1.0: https://github.com/haroldo-ok/the-quest ... .0.1.0.32x
Project source: https://github.com/haroldo-ok/the-question-vn32x
It has some input lag problems, but seems to be running fine otherwise.
I have just ported the Ren'py sample script named "The Question" to BlocklyVN32X.
ROM version 0.1.0: https://github.com/haroldo-ok/the-quest ... .0.1.0.32x
Project source: https://github.com/haroldo-ok/the-question-vn32x
It has some input lag problems, but seems to be running fine otherwise.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Re: "The Question" ported to 32X
How did you test this? It doesn't work in Fusion or on real hardware for me.
-
- Very interested
- Posts: 160
- Joined: Sun Apr 29, 2007 10:04 pm
- Location: Belo Horizonte, MG, Brazil
Re: "The Question" ported to 32X
I had tested it on Fusion, primarily. It *does* have an invalid checksum, though.Chilly Willy wrote: ↑Mon Oct 23, 2017 4:24 pmHow did you test this? It doesn't work in Fusion or on real hardware for me.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Re: "The Question" ported to 32X
It's a 32X game - set the checksum to 0 and forget about it. Checksumming data on carts was pretty stupid in any case. Not sure why they bothered.
-
- Very interested
- Posts: 160
- Joined: Sun Apr 29, 2007 10:04 pm
- Location: Belo Horizonte, MG, Brazil
Re: "The Question" ported to 32X
I decided to test the ROM on a few emulators, to see how it behaves:
- Fusion 3.5: Complains about the checksum, but runs okay;
- Fusion 3.3: Complains about the checksum, then gives a black screen;
- Gens KMod 01: Runs okay;
- Gens KMod 05: Runs okay (strange, this one used to fail... );
- Gens Plus! 0.0.3.38: Runs okay;
- Gens/GS r7: Runs okay.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Re: "The Question" ported to 32X
Fusion 3.64 DOES run it, but you have to turn off Fast Timing. So my guess is there is some kind of timing/sync bug that is keeping it from working on real hardware.
And yes, the time it waits between inputs is a bit silly. It's certainly much longer than it should be.
Actually, trying it a bit more, it's not a wait between inputs, it's the debounce. If you press and HOLD the button, it recognizes it right away. It's just tapping the button that doesn't work well. It ACTS like a wait, but it's actually not registering the button press immediately if just tapped.
And yes, the time it waits between inputs is a bit silly. It's certainly much longer than it should be.
Actually, trying it a bit more, it's not a wait between inputs, it's the debounce. If you press and HOLD the button, it recognizes it right away. It's just tapping the button that doesn't work well. It ACTS like a wait, but it's actually not registering the button press immediately if just tapped.
-
- Very interested
- Posts: 160
- Joined: Sun Apr 29, 2007 10:04 pm
- Location: Belo Horizonte, MG, Brazil
Re: "The Question" ported to 32X
Taking a quick peek at the source, it seems to be due to the fact that the program is waiting for the images to render before reading the joypad; when the render takes too long, the input becomes less responsive. I guess I will have to either optimize the image rendering, or do the rendering less often. It would also be possible to use the secondary CPU, but that would be like using a rocket launcher on a fly.Chilly Willy wrote: ↑Mon Oct 23, 2017 11:14 pmAnd yes, the time it waits between inputs is a bit silly. It's certainly much longer than it should be.
Actually, trying it a bit more, it's not a wait between inputs, it's the debounce. If you press and HOLD the button, it recognizes it right away. It's just tapping the button that doesn't work well. It ACTS like a wait, but it's actually not registering the button press immediately if just tapped.
-
- Very interested
- Posts: 160
- Joined: Sun Apr 29, 2007 10:04 pm
- Location: Belo Horizonte, MG, Brazil
Re: "The Question" ported to 32X
Okay, the input lag problem has been considerably reduced by preparing the frames in advance.
ROM version 0.1.1: https://github.com/haroldo-ok/the-quest ... -0.1.1.32x
ROM version 0.1.1: https://github.com/haroldo-ok/the-quest ... -0.1.1.32x
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Re: "The Question" ported to 32X
Hmm - since updating my nvidia driver, FUSION no longer runs. It also doesn't run on real hardware - you get a green screen with a $ in the upper left corner.
EDIT: Forgot to restart after installing new nvidia driver. Weird that it doesn't REQUIRE a restart like a new kernel, but doesn't work on everything until you actually DO restart. Anywho, FUSION is working again. Much better on the input response.
EDIT: Forgot to restart after installing new nvidia driver. Weird that it doesn't REQUIRE a restart like a new kernel, but doesn't work on everything until you actually DO restart. Anywho, FUSION is working again. Much better on the input response.
Re: "The Question" ported to 32X
Well it works fine with Mega Everdrive X7 and US model 1 with US 32X on top so either its a minor issue or Mega Everdrive is magic
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Re: "The Question" ported to 32X
That's a good point. I'm using the NeoMyth. If I can find my MED, I'll try it on that and see if it's the flash cart or the 32X that's the issue. Also, I'm using it on a Model 2 Genesis + Model 2 CD + Launch 32X. It's possible the CD might be an issue here as well.
Re: "The Question" ported to 32X
I'm using Mega Everdrive X7 and it's work even with CD addon.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Re: "The Question" ported to 32X
Dug out my MED (older model, not a new X series), and it works fine. So the issue is why it fails on the NeoMyth. This is literally the ONLY thing that works on MED and fails on NeoMyth, and that will drive me crazy until I figure it out.
On the NeoMyth, you get a green screen and a '$' in the top left... that must mean something. I should grab the code and look at the init routines.
EDIT: Figured out how to make it work - the rom needs to be padded. I padded the file from 297.1 KB to 512KB and it works on the NeoMyth. I guess I really should make another update to the NeoMyth menu that automatically pads "weird" size files.
EDIT2: The current NeoMyth menu mirrors rom data to make certain games work that expect mirroring. This mirroring of the data is probably what's making the original file fail - maybe the engine sees the extra data as game data that's corrupted or something. Not sure how I should distinguish games that need mirroring vs ones that need padding...
On the NeoMyth, you get a green screen and a '$' in the top left... that must mean something. I should grab the code and look at the init routines.
EDIT: Figured out how to make it work - the rom needs to be padded. I padded the file from 297.1 KB to 512KB and it works on the NeoMyth. I guess I really should make another update to the NeoMyth menu that automatically pads "weird" size files.
EDIT2: The current NeoMyth menu mirrors rom data to make certain games work that expect mirroring. This mirroring of the data is probably what's making the original file fail - maybe the engine sees the extra data as game data that's corrupted or something. Not sure how I should distinguish games that need mirroring vs ones that need padding...
Re: "The Question" ported to 32X
So far the patterns I've spotted on ROMs that were released on actual cartridges:Chilly Willy wrote: ↑Sun Nov 05, 2017 5:50 pmEDIT2: The current NeoMyth menu mirrors rom data to make certain games work that expect mirroring. This mirroring of the data is probably what's making the original file fail - maybe the engine sees the extra data as game data that's corrupted or something. Not sure how I should distinguish games that need mirroring vs ones that need padding...
- x
- x + ½x
- x + ¼x
The amount of possible combinations for up to 4MB cartridge are pretty limited, so you can probably just try all possible combinations against the filesize to decide of a ROM needs mirroring (and what kind of mirroring), if there isn't a match then assume the ROM doesn't rely on mirroring and proceed to pad instead.
That won't account for SMD files but honestly, just check the extension for those if you really want =P (I haven't seen a SMD ROM in ages though)
Sik is pronounced as "seek", not as "sick".
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Re: "The Question" ported to 32X
Okay, you can tell it's been awhile since I worked on the NeoMyth menu. I already solved this problem. When hovering over the game in the menu, press A to pull up the options, then move down one option to ROM Aliasing. Change it from HW to OFF (press C to change the setting) and you're good to go - press B to run.