865

(9 replies, posted in Bugs and Requests)

Well no it's not. I don't think you understand the concept of the browser's cache. If you would have clicked that link and then hit refresh, you would have seen your new avatar.

866

(135 replies, posted in Nintendo Handhelds)

This happened during the development of this week's project, but this is not this week's project.

http://soundcloud.com/nitro2k01-gameboy … esey-sound

867

(135 replies, posted in Nintendo Handhelds)

Ok, brief explanation on how to do it, but then you're on your own. Create a file that is a 1 bar loop. Convert it to 8 bit unsigned mono and 32768 samples long. Hint on the last part, making it exactly 1 second long and then converting it to 32678 Hz sample rate should at least get you close. You might need to manually trim or add a couple of samples with a hex editor. If you're adding samples, repeat the last sample value in the file or so. (Who ever said this was supposed to easy?)
Run the following Python script. It will convert the file you've created to the 4-bit format the Gameboy so much craves and create a new ROM with your sample.

def fourbit(x):
    return ord(x) & 0xf0

def fatconv(fn):
    f = open(fn + ".raw", "rb")
    x = f.read()
    f.close()

    if len(x) != 32768:
        print "File should be 32768 samples long, yo. 8-bit unsigned mono is where it's at, dawg. Raw with no header. (That's what bshe said.)"
        return

    g = open("amenizer.gb", "rb")
    gb = g.read(16384)
    g.close()


    y=map(fourbit,x)
    y=zip(y[0::2],y[1::2])

    #f = open(fn + "-conv.bin", "wb")
    g = open(fn + "-rom.gb", "wb")
    g.write(gb)

    for i in y:
        #f.write(chr(i[0] | i[1]>>4))
        g.write(chr(i[0] | i[1]>>4))

    f.close()

fatconv("filenamehere")

However, the final version of this application, when it comes out, will surely blow your minds. Just a prediction.

868

(9 replies, posted in Bugs and Requests)

Quick hack engaged. This should work better now.

869

(9 replies, posted in Bugs and Requests)

The avatar, it's just that your browser aggressively refuses to load the new avatar. You could always go to the avatar directly and hit refresh. Next time you refresh a page with your avatar, you should now see the new avatar there as well.

http://chipmusic.org/forums/img/avatars/1942.png

Of course, this affects only yourself, not anyone else. Let me see if I can make a quick hack to fix it.

I'm currently on the lookout for a Gameboy micro for science. I guess I can buy one, but I thought I'd check with my friendly chip community first. I need the GB micro for an experiment I want to do. The experiment involves taking the unit apart and possibly damaging it. For this reason I don't mind a unit with almost any defect, as long as it can boot. This includes weak/broken/missing battery, missing/broken buttons, driven over by a car, broken screen or backlight (though I'd prefer if at least any small portion of the screen is legible.) If the experiment is successful and the unit is undamaged you can have it back.
So, if you have a GB micro you can spare feel free to contact me.

871

(135 replies, posted in Nintendo Handhelds)

This code does not exist yet. That's why I'm trying to explain that it's a big project. tongue

872

(135 replies, posted in Nintendo Handhelds)

That would be for non-LSDj stuff. So for example when you load mGB, its configuration is loaded, and then saved again when you quit mGB or on the next power cycle. This way, other programs won't overwrite LSDj's currently open song.

873

(135 replies, posted in Nintendo Handhelds)

However, the offer to make a ROM with a return mechanism for your other ROMs for you is still open. Of course, this already works in LSDj by default. (sel+start+B+A.)

874

(135 replies, posted in Nintendo Handhelds)

stargazer wrote:

Yeah, now that I have all roms together on both banks it's really not a big deal to power cycle. I would be cool if you built everything into the java application to patch and combine all roms. A simple cat command can't be too hard to implement in java could it?

There are two problems.
1) The ROMs need to be aligned. With a cat command you have to take care of this manually, or unaligned ROMs will simply fail to load. This is not very hard to add to patcher application.
2) For the menu return function, you need to find the button read procedure, some free space in the ROM and patch it for the button detection and then do a sequence of writes to the cartridge to restore it to its original state and jump back. This is a little more difficult, but not super difficult. And different ROMs may need slightly different treatment.
However I still need to spend the time doing it, including making a sensible GUI and so on. With a cat command, all the "error handling" is the task of the user, not the code. Together with save data handling, which I want to finish together with this, it becomes a bigger project.

875

(135 replies, posted in Nintendo Handhelds)

stargazer wrote:

Just gave it a shot. This is amazing! I'm on linux (easier drivers!) and I love that I can now use multirom again! Some suggestions I had were:

Any way you could make the multirom part work without a copy of LSDJ in the rom? It seems like most of the code is already there. I'd just like to be able to fit more stuff onto bank 2.

Absolutely. I just added it to LittleFM because it seemed natural. The plan is to eventually release a standalone menu ROM and patcher. Ideally, I want to wait until I've made a ROM which handles SRAM management properly. What I have in mind is a to store sav for games/other software in an LSDj type file system, so LSDj could share a cartridge with other thing using SRAM, and so that the standalone version will use SRAM more efficiently than current menus.

However do you really need a version without LSDj? You've still got 3 MB of free space. Do you need the extra 1 MB for other ROMs? If not I'd just put the same big multi-ROM on both "pages" so you don't have to worry about switching/being stuck on page 2.

stargazer wrote:

Ability to return back to the menu via some kind of button combo? This isn't a big deal I just thought it would be cool.

I already have a way of doing this. However, this currently requires manual patching of each ROM to add a bootstrap for the return trip. I've actually already done this to a number of ROMs for testing. If you tell me which extra ROMs you want, I can prepare a ROM for you.

876

(135 replies, posted in Nintendo Handhelds)

Oh oops! New version here:
http://blog.gg8.se/gameboyprojects/week … apon02.zip

877

(4 replies, posted in Past Events)

Holy Konni wrote:

zabutom heart heart heart heart nordloef heart heart

Is that the ratings?
Z = 4 heart but n = only 2 heart

878

(21 replies, posted in Nintendo Handhelds)

The different types of GBA have traditionally gotten a bad rap because wave playback kind of sucked. However, now there's a fix for that makes it sounds not completely terrible. (Thanks self for discovering this!)

I know this wasn't in the question, but avoid the original GBA. The button layout sucks for LSDj and there are no good and widely available options for backlighting it.  (actually frontlighting, technically speaking.)

There are two models of GBA SP, and one has less background noise than the other. Other people will know more about that. And as mentioned above, GBA SP is a small neat device, though original GB cartridges will stick out a fair bit, which takes away some of the neatness, if you want to carry it in your pocket, say.

879

(12 replies, posted in Motion Graphics)

basspuddle wrote:

i have a feeling that most people are going to post the video games that they've written the music for.

› Show Spoiler

Interest peeked... Go ahead.

880

(3 replies, posted in Trading Post)

Things that are for sale should be in the trading post section. Thread moved. And the rules state that a price must be indicated for items that are for sale.