Re: Another World (Out of this World) port for the CX16
Posted: Thu Oct 24, 2024 2:36 am
Hey all, for those following, a small update:
The intro now plays 100% through to the first level, it's 99% accurate. Only bug is polygon scaling - it's an issue with wrapping on the Y-axis and I've spent hours/days trying to fix it, I'm really struggling. I'm reconsidering re-writing the graphics from scratch (again
)
I now have sound working in the game with minimal performance loss. Only issue is that it's 2 channel (stereo), whereas the original audio is 4 channels. The program just picks the next available channel left or right and doesn't play the sample if nothing is free. Mixing might take up too much processing time, but I'm considering it.
Music will not work - simply not enough channels for audio (at least nothing that will sound decent). I am considering redoing it all in midi for the YM2151 (similar to what the 2nd reality demo did). I might check what some other system ports did.
I started writing a decompression routine in assembly (I have a working C version). The game will decompress all the data files before starting and store them on the SD card.
All that's left is the Keyboard/Joystick control, and fixing more bugs and optimisations. I'd say I'm about 70% done. If anyone who is a wiz at 65c02 assembly wants to help me fix the scaling bug I'd be willing to share my code. When the game is finished, I'll be releasing all the source. Something that absolutely astounds me is the .prg file is only 7kb lol.
The intro now plays 100% through to the first level, it's 99% accurate. Only bug is polygon scaling - it's an issue with wrapping on the Y-axis and I've spent hours/days trying to fix it, I'm really struggling. I'm reconsidering re-writing the graphics from scratch (again

I now have sound working in the game with minimal performance loss. Only issue is that it's 2 channel (stereo), whereas the original audio is 4 channels. The program just picks the next available channel left or right and doesn't play the sample if nothing is free. Mixing might take up too much processing time, but I'm considering it.
Music will not work - simply not enough channels for audio (at least nothing that will sound decent). I am considering redoing it all in midi for the YM2151 (similar to what the 2nd reality demo did). I might check what some other system ports did.
I started writing a decompression routine in assembly (I have a working C version). The game will decompress all the data files before starting and store them on the SD card.
All that's left is the Keyboard/Joystick control, and fixing more bugs and optimisations. I'd say I'm about 70% done. If anyone who is a wiz at 65c02 assembly wants to help me fix the scaling bug I'd be willing to share my code. When the game is finished, I'll be releasing all the source. Something that absolutely astounds me is the .prg file is only 7kb lol.