We're using cookies to ensure you get the best experience on our website. More info
Understood
@danbRegistered September 3, 2003Active 4 years, 9 months ago
420 Replies made

Sure you can play it on a flashboy! It works best on a real VB 🙂

lol @ akumie: horribly blunt as usual…

Cool :thumpup:

The thing is, you are still printing out the text once after you press start, only you change the font so most letters simply get black, except the space character…

Try this to get rid of the “F”:

On line 579, change:

if (message>0) vbTextOut(0, 40, 12,"GOING ");
if (g==1) vbTextOut(0, 40, 13,"FIRST ");
if (g==2) vbTextOut(0, 40, 13,"SECOND");

Into this:

if (message>0) {
        vbTextOut(0, 40, 12,"GOING ");
        if (g==1) vbTextOut(0, 40, 13,"FIRST ");
        if (g==2) vbTextOut(0, 40, 13,"SECOND");
}
else {
        vbTextOut(0, 40, 12,"NOTEXT");
        vbTextOut(0, 40, 13,"NOTEXT");
}

DogP did port a Game Boy emulator to VB a few years ago, but it was extremely slow and unplayable. It could probably be optimized more though…

akumie wrote:
when I think of the vb I just think of a system you can playin the dark so for me I dont care if the vb only has 100 2D games because playing games in the dark that can fit on nes still feels unique and cool (=

ehm… you can play almost any videogame system in the dark, except for the original gameboy/color/advance(pre SP) 😐

The first parameter in your vbSetObject() should probably have been 0 instead of 1 and it would have worked…

And what was wrong with trying out my demo code posted above? 🙁 😛

You could just pause the game regularly during your last life to take a photo, then submit the best photo you managed to get before you died…

There are a couple of problems with your code. First, the “p” parameter in vbSetObject() doesn’t stand for palette, but parallax (for the 3D effect). So you probably just want to pass it a 0 for the time being.

Secondly, you’re trying to use character #4 which you haven’t initialized. You only load chars (the font) to charseg 3, which contains characters #1536-#2047. There are 4 charsegs, each containing 512 characters. Like this:

Charseg0 = 0-511
Charseg1 = 512-1023
Charseg2 = 1024-1535
Charseg3 = 1536-2047

(Since they are back to back in memory, you can just as well use them as one big charseg containing all 2048 possible chars.)

So, either load the same graphics into charseg0 as well, or use char #1540 for your object to get the intended char.

Last, the SPT pointers. If you only want to display a single object, SPT3 should be set to 0 (since it’s a zero based index), and the rest of them to -1 (or 1023 really). Like this:

VIP_REGS[SPT3] = 0;
VIP_REGS[SPT2] = -1;
VIP_REGS[SPT1] = -1;
VIP_REGS[SPT0] = -1;

That should get you something to show up on screen 🙂

  • This reply was modified 15 years, 1 month ago by DanB.
  • This reply was modified 15 years, 1 month ago by DanB.
  • This reply was modified 15 years, 1 month ago by DanB.

You can look at my ManWithBall demo, it includes source code 🙂

It basically involves just copying your object attributes to OAM memory, and then tell the VB how many of the objects you want to display in each world by setting the SPT pointers.

I’m also using a swedish keyboard layout, and haven’t had any problems…

The only bug I’ve found in the virtual boy emulation appears in Yeti3D…

There are often these black jagged parts in the walls when you walk up close. Any idea what would cause this? Maybe an error in the bitstring instructions?

Attachments:

Cool, one more 3D Tetris badge for me then 😉 😛

Fire-WSP wrote:
i have trouble to get the emu started on a 64bit win7 machine.
it is not starting at all when i doubleclick the exe.
any suggestions?

Like reality boy, mednafen has no gui, so you can’t start it by just clicking the exe. You need to start from a command line, or create a shortcut with the rom filename as a param after the exe file.

I use 64-bit Win 7 too, and it works fine.

Wow, awesome emulator! And the sound is better than in rb! Thanks!

Is it possible to display only red instead of the default 3D blue/red ?

You can do that by turning off the color of the right eye in the cfg file, like this:

vb.3dmode anaglyph
vb.anaglyph.preset disabled
vb.anaglyph.lcolor 0xff0000
vb.anaglyph.rcolor 0x000000
vb.disable_parallax 1

Then you get a single red screen, like in rboy 😀

Doesn’t ViBE have a set list of roms that it accepts? And since this is a new game, ViBE has no entry for it and it won’t play.

Ah, sounds great! It’s farther away than Retrogathering was, but it would be cool to go there 🙂

Hi Derek!

Nice to see you dropping by here!
And cool that you approve of my port of your engine 😀

The bosses are still there, they are just invisible… I managed to beat the second boss after a long time of randomly bouncing around 😛

akumie wrote:
sigh, yet again some people have to be like children just because they have a copy mosy people dont have
No wonder the vb scene is so small if people never send stuff to regular people like me

…and some other people have to be like communists, expecting to get everything for free 😉