Search found 23 matches

by camous
Mon Jan 20, 2014 4:09 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

Aha, wonderful. I'll have to look into that.
by camous
Mon Jan 20, 2014 1:58 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

We'll see. I'll try my hand with the graphics gale resource code and dll this week and if I can get it to work I'll just bite the bullet and do my own .ani importer. At least I'll be able to get it to do exactly what I need.

But I still would like to know how you are supposed to add raw assets to a ...
by camous
Mon Jan 20, 2014 12:24 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

Well, I am just about ready to call it quits on genres. The .ani file import function seems to be broken in the version of genres included in the sdk and I cannot find any way of salvaging it.

I am tempted to try my hand at just writing my own .ani importer but the thought of having to reinvent the ...
by camous
Fri Jan 17, 2014 1:58 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

Did you get my second email with the files?
by camous
Wed Jan 15, 2014 2:58 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

Kaneda, did you get a chance to take a look at the .ani files that I sent you?
by camous
Sat Jan 11, 2014 9:24 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

Ah, didnt know I had to enable debug in kmod.

As for the .ani files, I can certainly send them to you. Do you have an email address that I can forward them to?
by camous
Sat Jan 11, 2014 8:12 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

Is KDebug_AlertNumber() supposed to cause numbers to appear in Gens Kmod debug messages window?

If so it is not working because nothing is printed there no matter how many KDebug_AlertNumber calls I put in the code.

In any regard I wrote my own print function capable of printing a text string and ...
by camous
Fri Jan 10, 2014 12:24 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

Not a stupid question at all. C pointers are always hard to wrap ones mind around. I think I am using the address and not the value, here look at the code below and tell me whether I am doing it right?

test.ani is a simple 32x32 one frame animation with colour index 1 filling the whole screen. So ...
by camous
Thu Jan 09, 2014 6:07 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

The tile data for the animation certainly seems to be in the ROM but sprite_data is not pointing to them.
by camous
Thu Jan 09, 2014 5:43 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

Ah, yes, that is also what I guessed before I wrote the question.

Problem is though the value of sprite_data is 0, which is to say it points to the start of the rom. However when I dump the rom and look for the tile data using a hex editor I see that it is in fact stored somewhere else.

All other ...
by camous
Thu Jan 09, 2014 4:46 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

I see. But what I really want to know is how I can figure out where genres loads the tiles for an ani.

Lets say I have a file called test.ani and I put this line in data.rc:

ANI test "data/test.ani"

Then in the code I do this:

extern struct genresAnimation test;

However looking at the ...
by camous
Wed Jan 08, 2014 8:39 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

Kaneda, could you tell me what the idx property in the struct below is supposed to be used for?

Is it an index into a "(animation name)_sprite" property in the data.o?

struct animSpriteInfo{
u16 idx;
u8 x,y; // upon frame upper left
};
by camous
Wed Jan 08, 2014 5:07 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

Is there an ETA on the next version of SGDK? I have a feeling that once I get started on this stuff I am going be very reluctant to switch it out for something else halfway through.

That is why I want to start on a solid foundation. Changes at a later stage are always a source of trouble in bigger ...
by camous
Wed Jan 08, 2014 2:50 pm
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

Yeah I know how to export ani. I just cannot find amy information on in which form that ani is imported into my project.

If you could release the source code for the ani example where you imort the felicia animation I could figure it out on my own.

By the way, that felicia ani in the example is ...
by camous
Wed Jan 08, 2014 11:17 am
Forum: SGDK
Topic: Need help planting this MD project on a solid foundation
Replies: 49
Views: 31440

Yeah, I kind of figured about using a bitmap to load max 32 pixel dimension animations.

There are two problems with that though. The sprites animations I want to load are over 32 pixels in height. Furthermore doing it that way does not get you timing information which forces you to hard code that ...