Bennugd - Dreamcast Port

Started by l1nk3rn3l, November 05, 2011, 03:22:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

l1nk3rn3l

#45
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



MisterN

changed the code to this, the dreamcast resets itself.

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

ok


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

l1nk3rn3l


new release..

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

MisterN

so playing songs dont work anymore?
werg

l1nk3rn3l

#50
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 ...





MisterN

#51
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?
werg

l1nk3rn3l

#52
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..


l1nk3rn3l


MisterN

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

hmm please share and test it.. then   :o




hosting site
mediafire.com

MisterN

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

Could you work on these features for your next release?
*vmu images
*custom save logos with the names in the explorer
werg

l1nk3rn3l

Quote from: DoctorN on April 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

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

VasiliyRS

Quotebut 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?