Search found 399 matches

by Chilly Willy
Tue Aug 02, 2016 10:14 am
Forum: Programming Discussion
Topic: Step By Step Guide to Make an Adventure Game with Wintermute
Replies: 10
Views: 2336

Re: Step By Step Guide to Make an Adventure Game with Winter

I'm not familiar with how it handles video or sound, but I can guess - it's probably using software for both, and SDL. :) However, the question here isn't how various games want the video and sound handled, it's how Wintermute wants video and sound handled. If it generates games with a specific way ...
by Chilly Willy
Mon Aug 01, 2016 11:10 pm
Forum: Programming Discussion
Topic: Possible bug?
Replies: 3
Views: 1058

Re: Possible bug?

One change on the code - needed to pull out the bytes variable since it's used later and inside the if statement it's not always evaluated. if(GL_KOS_TEXTURE_UNIT[GL_KOS_ACTIVE_TEXTURE]->data) { /* pre-existing texture - check if changed */ if(GL_KOS_TEXTURE_UNIT[GL_KOS_ACTIVE_TEXTURE]->width != wid...
by Chilly Willy
Mon Aug 01, 2016 3:49 pm
Forum: Programming Discussion
Topic: Suggested change to maple driver
Replies: 18
Views: 2838

Re: Suggested change to maple driver

Okay, I take it back... the Mad Catz controllers DON'T work with official games. I disconnected all the controllers and put the Mad Catz in the first port and booted Sonic Adventure. The controller was acting crazy until I unplugged and plugged it back in. I tried it twice and it was crazy twice. :o...
by Chilly Willy
Mon Aug 01, 2016 10:16 am
Forum: Programming Discussion
Topic: Suggested change to maple driver
Replies: 18
Views: 2838

Re: Suggested change to maple driver

That's... Really hacky. I don't like that solution for what is probably a problem due to the hardware being non-compliant in the first place. :? That certainly should not be the default. Yes, it seems that way to me, too. Which is why I'm asking for suggestions. The way the official SDK inits stick...
by Chilly Willy
Sun Jul 31, 2016 8:13 pm
Forum: Programming Discussion
Topic: Suggested change to maple driver
Replies: 18
Views: 2838

Re: Suggested change to maple driver

Follow up on the Mad Catz init issue. I tried delaying, then doing one reset. Works about one in two tries. Then I tried a delay, a reset, another delay, and another reset. Works about one in three or four tries. I tried just four resets. Works about one in 6 to 8 tries. Then I tried a delay, and th...
by Chilly Willy
Sun Jul 31, 2016 6:48 pm
Forum: Programming Discussion
Topic: Suggested change to maple driver
Replies: 18
Views: 2838

Re: Suggested change to maple driver

Oh, one more thing related to the Mad Catz controller and the maple driver: I had reported that I needed to unplug and replug the controller before it worked right on the DC. That's only under KOS. It works fine with official DC stuff. So that told me there was maybe something wrong with the KOS map...
by Chilly Willy
Sun Jul 31, 2016 6:35 pm
Forum: Programming Discussion
Topic: Step By Step Guide to Make an Adventure Game with Wintermute
Replies: 10
Views: 2336

Re: Step By Step Guide to Make an Adventure Game with Winter

While the DC cannot do 800x600, 640x480 is easy enough. Perhaps an updated ScummVM supporting that would make this easier.
by Chilly Willy
Sun Jul 31, 2016 2:50 pm
Forum: Programming Discussion
Topic: Suggested change to maple driver
Replies: 18
Views: 2838

Suggested change to maple driver

I've mentioned before that the Mad Catz 6-button controller comes up in compatibility mode (4-button mode, with the extra two buttons setting the trigger fields to 255 if pressed). You press a button on the controller to program buttons, or hold the button to switch into 6-button mode. Compatibility...
by Chilly Willy
Fri Jul 29, 2016 11:54 am
Forum: Programming Discussion
Topic: Converting png/jpg to KMG - garbled output when pvr updates
Replies: 46
Views: 4037

Re: Converting png/jpg to KMG - garbled output when pvr upda

That's pretty damn slick! Just shows that even without a special 2D coprocessor, you can still do some slick 2D stuff. Just takes more elbow-grease on the part of the programmer. 8-)
by Chilly Willy
Thu Jul 28, 2016 3:31 pm
Forum: Programming Discussion
Topic: KGL - textures and memory managment
Replies: 3
Views: 1018

Re: KGL - textures and memory managment

You would have run into the fclose problem eventually. As you added more textures, you would have run out of file handles and fopen would start failing. Anywho, this is a good example of the necessity of adding error messages after calls like fopen.
by Chilly Willy
Thu Jul 28, 2016 1:22 pm
Forum: Programming Discussion
Topic: Converting png/jpg to KMG - garbled output when pvr updates
Replies: 46
Views: 4037

Re: Converting png/jpg to KMG - garbled output when pvr upda

If you're running in fake cd mode off the SD, no writing the SD card. If you have either the serial cable or the BBA, you can use dcload/dctool to run the game and get feedback on the PC. If you don't have either, you can print messages to the screen (what I did for a long time), or boot from a cdr ...
by Chilly Willy
Thu Jul 28, 2016 12:06 pm
Forum: Programming Discussion
Topic: KGL - textures and memory managment
Replies: 3
Views: 1018

Re: KGL - textures and memory managment

Well, other than not simply doing

Code: Select all

    glDeleteTextures(6, g_Texture);
you're not closing the texture file after loading it. So you fail on the next pass because it can't open an already opened file.
by Chilly Willy
Thu Jul 28, 2016 11:53 am
Forum: Programming Discussion
Topic: Converting png/jpg to KMG - garbled output when pvr updates
Replies: 46
Views: 4037

Re: Converting png/jpg to KMG - garbled output when pvr upda

Something to think about - rather than try to mimic mid-line color changes, draw everything except the water, then draw the water with alpha. It would actually look more like water that way as well as avoiding palette tricks. Hmm - that would be on a per-layer basis, of course. That way if the wate...
by Chilly Willy
Wed Jul 27, 2016 1:24 pm
Forum: Programming Discussion
Topic: Converting png/jpg to KMG - garbled output when pvr updates
Replies: 46
Views: 4037

Re: Converting png/jpg to KMG - garbled output when pvr upda

Something to think about - rather than try to mimic mid-line color changes, draw everything except the water, then draw the water with alpha. It would actually look more like water that way as well as avoiding palette tricks. Hmm - that would be on a per-layer basis, of course. That way if the water...
by Chilly Willy
Tue Jul 26, 2016 1:01 am
Forum: Gaming Forum
Topic: SEGA handed Taxman the reins to a new Sonic game
Replies: 27
Views: 8471

Re: SEGA handed Taxman the reins to a new Sonic game

The GBA is pretty powerful, but screens at the time were still pretty hit and miss. 240x160 was really good for a handheld. Devs were able to get some good results, but things like conversions of console games were bound to suffer as the smaller screen and lower resolution made it hard to see withou...
by Chilly Willy
Mon Jul 25, 2016 10:46 pm
Forum: Gaming Forum
Topic: SEGA handed Taxman the reins to a new Sonic game
Replies: 27
Views: 8471

Re: SEGA handed Taxman the reins to a new Sonic game

cube_b3 wrote:The graphics are horribly pixelated. I don't quite know why?
Maybe because the GBA only has a max resolution of 240x160? With the screen being so small, they probably had to scale the sprites, which combined with the small resolution made for really pixellated graphics.
by Chilly Willy
Mon Jul 25, 2016 10:42 pm
Forum: Off-Topic Forum
Topic: DCEmu Decides the 2016 Presidential Election
Replies: 69
Views: 11674

Re: DCEmu Decides the 2016 Presidential Election

You're spot on with Hilldog, but Trump's no angel. He's for "law and order" - where his word is law, and you take the orders. He yammered incessantly about beefing up law enforcement, which is already a para-military outfit right now. You can see he wants a police state enforcing his will....
by Chilly Willy
Mon Jul 25, 2016 3:59 pm
Forum: Gaming Forum
Topic: SEGA handed Taxman the reins to a new Sonic game
Replies: 27
Views: 8471

Re: SEGA handed Taxman the reins to a new Sonic game

Specially Cork wrote:Count me out then. Sonic is nothing without the deep and compelling narrative the series is known for.
:lol:

I'm waiting to see how the reviews go.
by Chilly Willy
Sat Jul 23, 2016 11:31 am
Forum: Gaming Forum
Topic: SEGA handed Taxman the reins to a new Sonic game
Replies: 27
Views: 8471

Re: SEGA handed Taxman the reins to a new Sonic game

Well, this will give us an idea of which Sonic people like better. :)