HomeForumsWhat's newResources 
 
 
another sonic homebrew for saturn ?
vbt - Aug 23, 2014

 < Prev  1  2  3  4  Next> 

 vbt Jan 8, 2016

https://youtube.com/R5xiJGWEnpQ


 johannes Jan 9, 2016
Hi TrekkiesUnite118,

Neither

It's software rendered mode7 (software because there is no hardware instruction to do that on the Sega Saturn unlike the Super Nintendo).

You can move in any direction. but I disable rotation recently because it's useless.

Indeed, it's better and faster to use 3D rendering in this case.

 johannes Jan 9, 2016
Hi,

I added PCM audio file support.
You can now play PCM file from CD.

To convert any audio file to PCM under Linux or Windows => http://ffmpeg.org...

Just some restriction due to the Sega Saturn hardware:
  • Compatible Samplerate : 8000 to 44100 Hz (-ar option)
  • Compatible PCM format : s8 (-f option)
  • Compatible mode: 8/16 bit mono/stereo
Some command line:
  • ffmpeg -i A.WAV -f s8 -ar 44100 A.PCM
  • ffmpeg -i A.MP3 -f s8 -ac 1 -ar 8000 A.PCM
Now in Jo Engine:

jo_sound my_snd;
jo_audio_load_pcm("A.PCM", JoSoundMono16Bit, &my_snd);
...
jo_audio_play_sound(&my_snd, 0);

Bye

 vbt Jan 9, 2016
great job ! just a question, how do you handle multi channels and random number of pcms to play ?

 johannes Jan 10, 2016
The channel number is the second param of jo_audio_play_sound();

 vbt Jan 10, 2016

johannes said:

yes i saw that but each time i used multiple PCMs i had some problems with playback and some sfx were lost.
for instance on xrick i had to loop on channels to find which one is available, with hardcoded channel number it never worked or maybe just on emulators.
Code:
  
  if(slSndPCMNum(_Mono)>-1)
   for(i=1;ibuf,sound->len);
       //if(sound->buf!=0x00232000)
         //slSndFlush() ;
         break;
     }     
   }
just for that, i have pushed xrick on github : https://github.com/vbt1/xrick...

 johannes Jan 10, 2016
Interesting, I'll check this more closely

Thx vbt

 johannes Jan 10, 2016
You're right vbt ! I'll make a fix

 johannes Jan 10, 2016
New version updated with VBT audio fix.

I also added the possibility to change printf color and use multiple color at the same time

 vbt Jan 10, 2016

johannes said:

well done blop blop blop

 johannes Jan 20, 2016
Hi,

New update available with a new demo with advanced animation

Download: http://jo-engine.org/download/...


Warning: imagecreatefrompng(): gd-png: fatal libpng error: Read Error: truncated data in /var/www/html/sub/sx/helpers.php on line 361

Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition 3 in /var/www/html/sub/sx/helpers.php on line 361

Warning: imagecreatefrompng(): "https://segaxtreme.net/proxy.php?image=http%3A%2F%2Fwww.jo-engine.org%2Fupload%2Fimages%2Fpublic%2FShooter.png&hash=37c42a80e5d41b3f0986ee045379a21d" is not a valid PNG file in /var/www/html/sub/sx/helpers.php on line 361

Fatal error: Uncaught TypeError: imagecopyresized(): Argument #2 ($src_image) must be of type GdImage, bool given in /var/www/html/sub/sx/helpers.php:363 Stack trace: #0 /var/www/html/sub/sx/helpers.php(363): imagecopyresized() #1 /var/www/html/sub/sx/messageParser.php(163): MakeThumbnails() #2 /var/www/html/sub/sx/messageParser.php(9): ParseNode() #3 /var/www/html/sub/sx/templates/message.php(35): ParseMessageContent() #4 /var/www/html/sub/sx/templating.php(50): include('...') #5 /var/www/html/sub/sx/templating.php(51): Template->{closure}() #6 /var/www/html/sub/sx/templating.php(71): Template->render() #7 /var/www/html/sub/sx/templating.php(41): Stencil->render() #8 /var/www/html/sub/sx/templates/threads.php(55): Template->include() #9 /var/www/html/sub/sx/templating.php(50): include('...') #10 /var/www/html/sub/sx/templating.php(51): Template->{closure}() #11 /var/www/html/sub/sx/templating.php(71): Template->render() #12 /var/www/html/sub/sx/index.php(89): Stencil->render() #13 {main} thrown in /var/www/html/sub/sx/helpers.php on line 363