DC and SDL

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
reaper2k2
DC Developer
DC Developer
Posts: 2648
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Sun Mar 24, 2002 7:48 pm
Has thanked: 0
Been thanked: 0
Contact:

Post by reaper2k2 »

that be great i would like the sscanf routine you did it would help me greatly thanks

you have the output of the printf's problem as well i thought that was just me :o

as you know i might not be around this site much longer so please email it or put it up on your site if you could

thank you kindly your a real champion of the dc scene bluecrab never forget all your help thanks :wink:
http://homebrew.dcemulation.com/dcgames/ *homebrew webbrowser games *

http://r2k2gate.topcities.com *dev site and my releases*
Image
Im' a Commodorian are you?
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5664
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Post by BlueCrab »

Don't leave reaper. Just because some people do not know what the word respect means. I wish you the best, no matter what your decision. Just remember the golden rule (everyone), do unto others as you would have done unto you.

BTW: I'm registered over on TheGatesOfBill's forums too...
User avatar
toastman
Iron Fist of Justice
Iron Fist of Justice
Posts: 4933
Joined: Sat Nov 10, 2001 3:08 am
Location: New Orleans
Has thanked: 0
Been thanked: 0
Contact:

Post by toastman »

MOD MODE: No offense to anyone here, but please let's not turn this thread into a "reaper thread" on any level. This is like our own personal "Hot Girls Thread" ;) I'd hate to have to start editing/deleting stuff in here to keep it on-topic enough.
This isn't against anybody, it's just to .... i guess.... you could say preserve the integrity of the thread. I mean OT (if you want to be public) or PMs are a good place to discuss reaper's plight.

So, uh, with that being said. As you were.
No signature.
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5664
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Post by BlueCrab »

Ok, back on the topic of my surprise....
What do you guys suggest that I use for the font? I'm looking for a nice easy to read font, that is freely available, and is not part of windows. Any suggestions...

PS: Its now loading up ROMs but crashing before I get video....
OneThirty8
Damn Dirty Ape
Damn Dirty Ape
Posts: 5031
Joined: Thu Nov 07, 2002 11:11 pm
Location: Saugerties, NY
Has thanked: 0
Been thanked: 0

Post by OneThirty8 »

by "not part of windows" do you mean doesn't come with windows? Because my favorite font is "Star Vader". It's free as far as I know and available on all the free font download sites...
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5664
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Post by BlueCrab »

I'll look into that one... And I meant doesn't come with windows...
OneThirty8
Damn Dirty Ape
Damn Dirty Ape
Posts: 5031
Joined: Thu Nov 07, 2002 11:11 pm
Location: Saugerties, NY
Has thanked: 0
Been thanked: 0

Post by OneThirty8 »

http://rpg.echostation.com/fonts/fonts.html

found it. they have many others too.
q_006
Mental DCEmu
Mental DCEmu
Posts: 415
Joined: Thu Oct 10, 2002 7:18 pm
Has thanked: 0
Been thanked: 0
Contact:

quick question about current events

Post by q_006 »

does anyone have an idea when KOS 1.2.0? is coming out and what it will entail?
do you have to use kos_init_all with KOS 1.1.9 or 1.2.0?
can anyone drop a little snippet of code for initializing?

that's all i have thanks.

oh i would look myself but my computer is acting up so that's why i asked.

thank you.
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5664
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Post by BlueCrab »

Ok, this is the third time that I've tried to reply, my computer froze up both of the other times :evil:....

I'm pretty sure that the next version of KOS will be 1.1.10, and it probably won't happen for a little while (but I could be wrong)...

As for initialization, there is no more kos_init_all. If you are using pure KOS, all you really need to do is to init the PVR, the easiest way (and what kos_init_all used to do to the TA) is by calling

Code: Select all

pvr_init_defaults();
But if you are using SDL, the call you will need is

Code: Select all

SDL_Init(SDL_INIT_VIDEO);
(I think that is right, I can't check right now, since thats when my computer kept freezing....)
Good luck
reaper2k2
DC Developer
DC Developer
Posts: 2648
Joined: Sun Mar 24, 2002 7:48 pm
Has thanked: 0
Been thanked: 0
Contact:

Post by reaper2k2 »

PLEASE can some one post a step by step way of geting a midi file to play with the sdl mixer with dir structor and list what is needed plus the example ive looked and looked and cant get it to working on the dreamcast yet thanks.....

if you could release the one you did blue crab that would be cool sorry i cant find it on the SDL website


what about mp3 play back have you tryed to get that to work we need some better file formats midi and mp3 are needed for games !
http://homebrew.dcemulation.com/dcgames/ *homebrew webbrowser games *

http://r2k2gate.topcities.com *dev site and my releases*
Image
Im' a Commodorian are you?
reaper2k2
DC Developer
DC Developer
Posts: 2648
Joined: Sun Mar 24, 2002 7:48 pm
Has thanked: 0
Been thanked: 0
Contact:

Post by reaper2k2 »

NO worrys ive got OGG working nicely so dont need midi or MP3 now

ogg sounds great and i can compress it greatly

so i can keep working now

working on a zerowing shooter clone most of the basic's are working

parrallax scrolling is working FX on sprite control rotation spot FX full ALL your BASE intro just like the WEB!

problems nothing to shoot no other ships to attack etc its just a demo ill try get the demo out soon
http://homebrew.dcemulation.com/dcgames/ *homebrew webbrowser games *

http://r2k2gate.topcities.com *dev site and my releases*
Image
Im' a Commodorian are you?
bero
DC Developer
DC Developer
Posts: 27
Joined: Wed Sep 11, 2002 11:35 am
Has thanked: 0
Been thanked: 1 time
Contact:

Post by bero »

SDL_Audio don't work well on KOS-1.1.9
check this patch.

http://sourceforge.net/tracker/index.ph ... tid=379648
reaper2k2
DC Developer
DC Developer
Posts: 2648
Joined: Sun Mar 24, 2002 7:48 pm
Has thanked: 0
Been thanked: 0
Contact:

Post by reaper2k2 »

I have kos1.18cvs and all of blue crabs mods to your port were not geting more the 1 channel sound if we try it makes a bad buzzing sound

any idea's bero
http://homebrew.dcemulation.com/dcgames/ *homebrew webbrowser games *

http://r2k2gate.topcities.com *dev site and my releases*
Image
Im' a Commodorian are you?
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5664
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Post by BlueCrab »

My version works with multiple channels, and no buzzing, unless I'm using SDL_mixer with OGG support, without OGG support, I don't get any buzzing.....
Strange indeed.....
reaper2k2
DC Developer
DC Developer
Posts: 2648
Joined: Sun Mar 24, 2002 7:48 pm
Has thanked: 0
Been thanked: 0
Contact:

Post by reaper2k2 »

mine is working with ogg support check trailblazer DC i released full ogg suport not buzzing as long as i use one channel mine will buzz with or with out ogg support if i use 2 channels
http://homebrew.dcemulation.com/dcgames/ *homebrew webbrowser games *

http://r2k2gate.topcities.com *dev site and my releases*
Image
Im' a Commodorian are you?
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5664
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Post by BlueCrab »

Well, on the subject of my surprise (a few people now know what it is), I'm putting it on hold for a bit.... When I was working on my game, if I'd just stop and let the code sit for a while, I would see the problem right off, I'm hoping that the same happens with my surprise. So, its back to porting my game to SDL...
Post Reply