Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Old invader game
#11
(08-16-2023, 11:18 PM)mnrvovrfc Wrote: File types self-styled for a 16-bit program. Have to study the source code to know precisely how a file type goes.

.SPR is a sprite. Likely this could be replicated into DATA statements with simple hexadecimal numbers, or like what the TheBob did. LOL.
.FNT is a font.
.SFX is a sound to be loaded into the Sound Blaster FM chip or alike hardware.
.SCR is probably a BSAVE screen image or something analogous to a BMP or PCX or something else.

Ahhhh OK. thanks.

Just arbitrary stuff then perhaps I get you. Was this BSAVE SCR a common thing? Curious about the formats will dig more with your hints.
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply
#12
I was not able to successfully build the sound version. I put all the sounds and files from that archive in the same dir as the original zip, is this how it should work @Steffan-68 ?
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply
#13
I can get the FM emulation to work.

I recently got FM based MIDI working using the OPL3 core from ymfm (aaronsgiles/ymfm: BSD-licensed Yamaha FM sound cores (OPM, OPN, OPL, and others) (github.com)).

a740g/MIDI-Player-64: A MIDI player & library for QB64-PE (github.com)

Hopefully over the next weekend... let's see.
Reply
#14
(08-17-2023, 03:51 AM)a740g Wrote: I can get the FM emulation to work.

I recently got FM based MIDI working using the OPL3 core from ymfm (aaronsgiles/ymfm: BSD-licensed Yamaha FM sound cores (OPM, OPN, OPL, and others) (github.com)).

a740g/MIDI-Player-64: A MIDI player & library for QB64-PE (github.com)

Hopefully over the next weekend... let's see.

Jesus! Man I am glad you're on our side Smile  Do you work mainly in Linux?
b = b + ...
Reply
#15
(08-17-2023, 08:42 AM)bplus Wrote:
(08-17-2023, 03:51 AM)a740g Wrote: I can get the FM emulation to work.

I recently got FM based MIDI working using the OPL3 core from ymfm (aaronsgiles/ymfm: BSD-licensed Yamaha FM sound cores (OPM, OPN, OPL, and others) (github.com)).

a740g/MIDI-Player-64: A MIDI player & library for QB64-PE (github.com)

Hopefully over the next weekend... let's see.

Jesus! Man I am glad you're on our side Smile  Do you work mainly in Linux?
Big Grin No. I usually do all my dev work on Windows. But I do test on Linux (WSL2 & Ubuntu) and occasionally on macOS.
Reply
#16
(08-16-2023, 11:18 PM)mnrvovrfc Wrote: File types self-styled for a 16-bit program. Have to study the source code to know precisely how a file type goes.
.SPR is a sprite. Likely this could be replicated into DATA statements with simple hexadecimal numbers, or like what the TheBob did. LOL.
.FNT is a font.
.SFX is a sound to be loaded into the Sound Blaster FM chip or alike hardware.
.SCR is probably a BSAVE screen image or something analogous to a BMP or PCX or something else.

Yes, so far everything is correct
.SCR is the high score file. This is also regenerated by the program if it is deleted. Anything dated 1997 just looks weird
Reply
#17
(08-16-2023, 11:50 PM)grymmjack Wrote: I was not able to successfully build the sound version. I put all the sounds and files from that archive in the same dir as the original zip, is this how it should work @Steffan-68 ?

That's right, and that's how it works for me.
I just didn't put the changed BAS file in the zip archive, which is posted in my post.
Reply
#18
Alright folks. Here it is, with complete FM/OPL3 emulation. I used the Nuked OPL3 emulator from nukeykt/Nuked-OPL3: Highly accurate Yamaha OPL3 (YMF262, CT1747) emulator (github.com)

I also found and fixed quite a few bugs and typos in the original code. There may be more. If I find more, I'll fix and update those on my GitHub: https://github.com/a740g/QB64-Museum/tre...B-Invaders

Cheers!


Attached Files
.zip   QB-Invaders.zip (Size: 30.47 KB / Downloads: 29)
Reply
#19
(08-20-2023, 06:41 PM)a740g Wrote: Alright folks. Here it is, with complete FM/OPL3 emulation. I used the Nuked OPL3 emulator from nukeykt/Nuked-OPL3: Highly accurate Yamaha OPL3 (YMF262, CT1747) emulator (github.com)
I also found and fixed quite a few bugs and typos in the original code. There may be more. If I find more, I'll fix and update those on my GitHub: https://github.com/a740g/QB64-Museum/tre...B-Invaders
Cheers!
Hey great job. Heart
I couldn't have done that, thanks.
It sounds different to me than the original, but it's good.
The original was running in the DOSBOX and I tried to record the sound as best as I could and it sounds somehow different.
I had attached the sound further up in the 7zip file.

There is still an error, the top right is still missing the display of how much life you still have. Don't know how I fixed it at the moment.
And the pallet rolling is also missing. I had fixed that, but probably exaggerated a bit.

I'll take a closer look at your changes and hopefully learn something from them.
Now I'm going to sleep first, I have to work again tomorrow.
Reply
#20
(08-20-2023, 07:59 PM)Steffan-68 Wrote:
(08-20-2023, 06:41 PM)a740g Wrote: Alright folks. Here it is, with complete FM/OPL3 emulation. I used the Nuked OPL3 emulator from nukeykt/Nuked-OPL3: Highly accurate Yamaha OPL3 (YMF262, CT1747) emulator (github.com)
I also found and fixed quite a few bugs and typos in the original code. There may be more. If I find more, I'll fix and update those on my GitHub: https://github.com/a740g/QB64-Museum/tre...B-Invaders
Cheers!
Hey great job. Heart
I couldn't have done that, thanks.
It sounds different to me than the original, but it's good.
The original was running in the DOSBOX and I tried to record the sound as best as I could and it sounds somehow different.
I had attached the sound further up in the 7zip file.

There is still an error, the top right is still missing the display of how much life you still have. Don't know how I fixed it at the moment.
And the pallet rolling is also missing. I had fixed that, but probably exaggerated a bit.

I'll take a closer look at your changes and hopefully learn something from them.
Now I'm going to sleep first, I have to work again tomorrow.
Thanks!
Yeah. I may have missed the palette and health stuff because I worked on the original sources. I'll try and look at both our changes and combine those.
Reply




Users browsing this thread: 9 Guest(s)