Autor Tema: Bennugd - Dreamcast Port  (Leído 32170 veces)

l1nk3rn3l

  • Hero Member
  • *****
  • Mensajes: 1999
  • Karma: 257
Re:Bennugd - Dreamcast Port
« Respuesta #45 en: Febrero 07, 2012, 12:41:59 am »
inclkude cd tracks with bootdreams (choose A120% icon and enable CDDA tracks in menu)
remember convert music a MP3 format and copy in C:\BootDreams\cdda ... before use in bootdreams


and play tracks with..


http://wiki.bennugd.org/index.php?title=Mod_cd


« última modificación: Febrero 07, 2012, 03:04:35 am por l1nk3rn3l »

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re:Bennugd - Dreamcast Port
« Respuesta #46 en: Febrero 07, 2012, 04:26:27 am »
changed the code to this, the dreamcast resets itself.
Código: [Seleccionar]
import "mod_video"
import "mod_text"
import "mod_sound";
import "mod_key";
import "mod_dream";
import "mod_mem";
import "mod_cd";


global
 volumen;
 md;
 memBYTE;
 memMB;
end;



Process main()
Begin
  set_fps(0,0);

  //write(0, 20, 10, 0, "Loading s3m - song.. ");
  write_int(0, 20, 20, 0, &FPS);
 

   //md = DC_S3MPLAY("/cd/game.s3m"); 
  /* md= load_song("/cd/game.s3m");   //  "/cd/game.s3m") ;
   play_song (md,-1) ; 
   */
    //if (md)
    //  write(0, 20, 30, 0, "Loading OK..   (P)lay    (S)top");     
    //else
    //  write(0, 20, 30, 0, "Error: Loading song.. ");
    //end; 
   
   
  write(0,10,90,3 ,"Free mem in BYTE:");
  write(0,10,110,3,"Free mem in MB: ");
  write_int(0,160,90,3,&memBYTE);
  write_int(0,160,110,3,&memMB);

 
  DC_PLAYROQ("/cd/video.roq",true);   //(videopath, loop)
  cd_play(1,1,1);
 
 
  set_mode(320,240,16);//fix bennu video
     write(0, 10, 150, 0, "Press (d) to repeat video/ Press (start) to stop.. ");
 
  loop /*
    if (key(_p))
      DC_S3MPLAY("/cd/game.s3m");
    end 
    if (key(_s))
      DC_S3MSTOP();
    end 
*/
    if (key(_d))
       DC_PLAYROQ("/cd/video.roq",true);
       set_mode(320,240,16);//fix bennu video
       
       while (key(_d)) frame; end;             
    end;

    memBYTE=memory_free();
    memMB=memory_free()/1024/1024;
   
    frame;   
  end
 
end;
werg

l1nk3rn3l

  • Hero Member
  • *****
  • Mensajes: 1999
  • Karma: 257
Re:Bennugd - Dreamcast Port
« Respuesta #47 en: Febrero 07, 2012, 02:30:13 pm »
ok


we have a emulator ..  but check us.. this error.. anyway

l1nk3rn3l

  • Hero Member
  • *****
  • Mensajes: 1999
  • Karma: 257
Re:Bennugd - Dreamcast Port
« Respuesta #48 en: Febrero 17, 2012, 05:19:39 pm »

new release..

- load png images - error fixed..
- remove play songs code - now dll haves 100k less

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re:Bennugd - Dreamcast Port
« Respuesta #49 en: Febrero 17, 2012, 11:16:00 pm »
so playing songs dont work anymore?
werg

l1nk3rn3l

  • Hero Member
  • *****
  • Mensajes: 1999
  • Karma: 257
Re:Bennugd - Dreamcast Port
« Respuesta #50 en: Febrero 18, 2012, 04:08:43 am »
play songs with fast play_s3m function in mod_dream.dll


http://www.dcee.net/Files/Music/S3m/

http://modarchive.org/index.php?request=view_by_list&query=A


why sdl_mixer haves any errors ...




« última modificación: Febrero 18, 2012, 04:17:48 am por l1nk3rn3l »

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re:Bennugd - Dreamcast Port
« Respuesta #51 en: Febrero 18, 2012, 03:57:52 pm »
are there specific load and unload and play and pause commands? could you by any chance get the game i uploaded (that uses the level editor) working on the dc?
« última modificación: Febrero 18, 2012, 08:35:24 pm por DoctorN »
werg

l1nk3rn3l

  • Hero Member
  • *****
  • Mensajes: 1999
  • Karma: 257
Re:Bennugd - Dreamcast Port
« Respuesta #52 en: Febrero 23, 2012, 01:58:15 pm »
are there specific load and unload and play and pause commands?
nop , only play and stop commands



could you by any chance get the game i uploaded?
nop change the code, all works ok, load_song always returns zero.. and not runtime errors happen.


 :) 




new fixes now mod_cd works ok..  please test in real hardware and comment results..
cdda music in dreamcast work ok..  please test in real dreamcast and upload video please..


thx..

« última modificación: Febrero 23, 2012, 04:14:42 pm por l1nk3rn3l »

l1nk3rn3l

  • Hero Member
  • *****
  • Mensajes: 1999
  • Karma: 257
Re:Bennugd - Dreamcast Port
« Respuesta #53 en: Marzo 02, 2012, 01:39:49 pm »
New examples available now


 8)

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re:Bennugd - Dreamcast Port
« Respuesta #54 en: Marzo 12, 2012, 05:51:08 pm »
Cool! My game will not run on the dreamcast even though ive followed everything you said, and it only uses 11mb of ram. Can I send it to you so you can get it working?
werg

l1nk3rn3l

  • Hero Member
  • *****
  • Mensajes: 1999
  • Karma: 257
Re:Bennugd - Dreamcast Port
« Respuesta #55 en: Marzo 12, 2012, 07:35:34 pm »
hmm please share and test it.. then   :o




hosting site
mediafire.com

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re:Bennugd - Dreamcast Port
« Respuesta #56 en: Marzo 12, 2012, 08:48:14 pm »
i'll upload it here XD.
It comes with the source (which has already been edited to use the /cd/ directory). It doesnt have mod_dream (if that is what is needed). The controls should work with just the joy itself (cause that is the code that is in there). If you can get it to work, can you upload the source and stuff? thanks
werg

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re:Bennugd - Dreamcast Port
« Respuesta #57 en: Abril 08, 2012, 07:30:09 pm »
Could you work on these features for your next release?
*vmu images
*custom save logos with the names in the explorer
werg

l1nk3rn3l

  • Hero Member
  • *****
  • Mensajes: 1999
  • Karma: 257
Re:Bennugd - Dreamcast Port
« Respuesta #58 en: Abril 11, 2012, 04:02:57 pm »
Could you work on these features for your next release?
*vmu images
*custom save logos with the names in the explorer

sorry, time not available , but team is working in a new 3d hw accelerated engine  for DC and PS2

VasiliyRS

  • Newbie
  • *
  • Mensajes: 3
  • Karma: 0
  • Dreamcast supporter
Re:Bennugd - Dreamcast Port
« Respuesta #59 en: Abril 20, 2012, 01:40:46 pm »
Citar
but team is working in a new 3d hw accelerated engine  for DC and PS2
Wow! Awesome news! Are there will be tools (map editors etc) for creating our own games? When approximatly you can show us first screenshots? Are you going to accept donations for your engine?