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");
}
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)
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:
(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:
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.
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?
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.
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