• Welcome to Dark Bit Factory & Gravity.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - KrazyK

#1
General chat / Re: Test
November 09, 2026
Thanks for your time and effort in getting this site back up and running again Shockwave.:clap:
#2
Projects / Skrull cracktro remake
October 20, 2026
This one is about as accurate as I can get it.
Almost 1:1 after ripping the sinewaves, movements, rasters etc and figuring out how it all went together.  Nightmare!
Spaghetti coding at it's best. :-[  but it looks really nice  now.
Press F1-F4 in the cracktro to change screen sizes.
#3
Quote from: padman on December 20, 2022
Ho ho ho guys!  :xmas:

For once I managed to finish a complete game. 50 levels of pressie shoving fun in a Christmas setting. The exe is Windows only, but has also been tested successfully in Wine on Linux.

This game is so addictive, well done mate.  It's driving me mad!  :clap:
#4
Quote from: va!n on October 08, 2026
ufff.... complete YM plaYer in PureBasic? Respect! ;-)

It's been a colaboration, I'm not going to lie,  between me and some AI to decode some of the difficult stuff that I wouldn't have been able to do on my own. ::)
Attached here is the 1st release to replay YM files only.  The CPC player is nearly done and will be posted later. ;)
Windows only due to WaveOut but i'm sure someone will be able to convert it for linux using ASLA
Please report any errors/improvements etc.


#5
A busy time has been had developing this music player.
Written entirely in Purebasic.  No external .dll's, .lib's or other libraries.
Unlike .SNDH that needs 68000 emulation code to play music the .YM format is already a register dump from that machine that just needs decoding and wave rendering to play.
At the moment it plays all .YM files that I can find on modland.com for Atari ST/e and all CPC .YM files from genesis8bit.fr.
Screenshots attached.
It's almost finished but work always gets in the way.   ::)  So when I'm about done I'll post the code here for people to adapt and use in their prods.
#6
Thanks for the code ttemper.
For some reason the intro opens in the top left corner of the window at normal size (using pb 5.73) so I had to add these 2 lines to get it to the right size after HideWindow(#WINDOW,#False).
SetWindowState(#WINDOW,#PB_Window_Maximize)
SetWindowState(#WINDOW,#PB_Window_Normal)
I tried with DPI aware on and off.

I like the ConvertImageColorToTransparent() routine.  I may have to add that one to my snippet collection.   ;)  I'll do some comparisons with my old intros soon.

On another note.  I've made the Spiceboys intro a bit smaller after finding the sndh tunes on the Atari-Forum.  I had originally saved as wav then converted to ogg as I couldn't find the tunes.  It works fine on my PC and my crappy old laptop too.

#7
Nice work mate. Good to see another version of this.    :clap:
Could you post your code so I can check out the transparent blit method etc?  I'm always keen to add new routines to my library.
I've moved from 5.73 x86 to 6.41 x64 as my new AtariAudio music library works with x64 so I doubt i'll use OSME now as it was 20+ years old C and would sometime crash out with memory errors.  It served me well though and was great for many years.  AtariAudio adds an additional 300k to the exe compared OSME but I can live with it!
#8
Projects / Re: DBF Header 2026
September 18, 2026
Nice conversion mate. Good to see you're progressing with PB and thanks for the greet.
I may have a go myself if I have time. In the meantime I'll try to fix the Spice boys intro. Again, time permitting.
#9
Projects / Re: DBF Header 2026
September 03, 2026
I'll try this when I get back from my hols.   :)
#10
The scroller should move in the bottom 20 pixel border at about 4 pixels every frame.
The MP3D library is pretty new to me so I might have to create the scroller as a single strip instead of multiple calls to the library and see how that goes.  I'll master it at some point!

[Edit]
Finally got around to fixing this one.  Now uses the MP3D library and my own sndh native replay code.  No OSME, AtariAudio or other external replay libraries.
#11
Thanks for testing it mate.
I used the MP3D opengl library and I had to modify it a bit as sometime it was scroller but no torus.
I'll take another look at it.  :cheers:

[Edit]
Version 2 here.  Changed a bit in the MP3D opengl library.
See how this one works for you.
#12
I had to finish this one before I go on holiday as it's been on the very long to finish list for ages.

#13
After a lot of hard work and head scratching I've finally knocked OSME on the head and brought SNDH replay into the 21st century for Purebasic   ;D
@ttemper - yes it has finally happened !
I've been using AtariAudio and have compiled a x64 dll, static library and User Library for use with Purebasic.  This works with x64 versions v6.x, not with anything lower than this.
There are 17 functions in the dll and static lib but 49 custom functions in the user library.
Examples in the zip.
Some pics here from the SNDH replay, commented code attached too.
Also in the zip is the latest BiTDiS! demo using the YMPlay library. Read the .nfo for the keys etc.

[Edit]
Forgot to include the MIT license for the AtariAudio by Arnaud Carre.  Done now




#14
Here's the Vectronix cracktro code including userlibraries for PB x86 5.73+
Feel free to use/abuse/improve.
I've also posted the updated vis demo exe in the projects section after getting back from Scotland this week.
https://www.dbfinteractive.com/forum/index.php?topic=7030.0
#15
Projects / Another 3D vis demo!
July 25, 2026
Been doing a lot of reading up on how the ST sound chip actually works passing bits around to the various registers and have come up with an exploded board showing the links between them when a tune is being played through the Yamaha YM2149 chip.
Now I have my OSME library that dumps the register data out I've got a working demo. As close as possible to the actual bus processing.   Tone generator, volume ,mixer, noise and envelope generator all working together.
Control are in the .nfo  but here they are anyway.

SPACE  . . . . . . .  take / release the camera                           
â•'                        board glow turns BLUE when you have it             
â•'                                                                           
â•'    W / S  . . . . . .  move toward / away from the board centre           
â•'    A / D  . . . . . .  orbit left / right                                 
â•'    R / F  . . . . . .  raise / lower the eye                               
â•'                                                                           
â•'  LEFT / RIGHT . . . .  trim the passive orbit speed                       
â•'  UP / DOWN  . . . . .  next / previous tune                               
â•'                                                                           
â•'  F1 / F2  . . . . . .  windowed / maximised   (in demo)                             
â•'  F3 . . . . . . . . .  toggle signal view:  on-board copper tracks         
â•'                        <-> flying arcs above the board                     
â•'  ESC  . . . . . . . .  exit     

Posting zip later as Bitdefender keeps bitching about infections!
[EDIT]
Just got back from Scotland and tried again compiling the exe.  Bitdefender moaned about a machine learning trojan.  Really weird.  Tried a few more times then re-arranged some procedures around and re-compiled.  No warnings, nothing. Scanned the folder for virues etc, nothing.  Everythiog is normal.
Must have been the way some of the code was compiled that it didn't like.  Never had that before.
Also changed the way the tone registers were displayed from a waveform to a octave scale. F4 toggles the note display
Demo v1 attached, read the nfo for details.
Might add a small intro before the loader when I get a chance.

#16
Quote from: ttemper on July 20, 2026
KrazyK still at it... nice :)

Nice remake.

Yes mate, still at it whenever I get the time.  ;)
#17
Quote from: Shockwave on July 19, 2026

Do you want me to put it on Retro-Remakes?

Thanks Shockwave, that would be good to get it on there.
#18
I started off doing a 2D physics test in Purebasic for a new intro but it somehow morphed into a screensaver!
After a few weeks on and off coding/working/diy-ing it is here.
Full monitor spanning and you can choose between a black background or your desktop background in the settings.
Purebasic Code available if anyone is interested in taking it further.
@STos - Linux version?
#19
This one didn't look too bad to remake when I first started to rip it apart, but it was way more complicated than I thought it would be.
Head=battered.  ;D
Press F1/F2 for windowed/fullscreen when running
#20
=== --- Playing The (bit) Field ---===

A long time in the making this one....

Keys:
F1:          Fullscreen windowed mode
F2:           Normal window
Space:       Toggle Autopilot
W,A,S,D       Forward, Left, Back, Right
UP/Down Arrow: Increase / Decrease Altitude
Left/Right Arrow:Change music
C:          Change shapes
Esc:            Quit