Page 44 of 57

Posted: Wed May 28, 2014 4:05 pm
by Stef
New version released !
As usual, you can download it and get changelog on the SGDK download page

Posted: Wed May 28, 2014 4:33 pm
by Manveru
Stef wrote:New version released !
As usual, you can download and get changelog on the SGDK project page
Great job Stef, thanks for it.

Posted: Thu May 29, 2014 3:25 pm
by letoulousain
Stef wrote:New version released !
As usual, you can download it and get changelog on the SGDK download page
Thanks !
:D

Posted: Mon Jun 02, 2014 12:39 pm
by matteus
Does this version fix my issue with Rescomp? :D

Posted: Mon Jun 02, 2014 3:36 pm
by Stef
matteus wrote:Does this version fix my issue with Rescomp? :D
You mean the compression issue ? unfortunately not yet :-/
But don't worry i definitely plan to fix it soon (it just needed more time than expected so i preferred to made a quick version before completing it).

Posted: Mon Jun 02, 2014 6:14 pm
by matteus
Stef wrote:
matteus wrote:Does this version fix my issue with Rescomp? :D
You mean the compression issue ? unfortunately not yet :-/
But don't worry i definitely plan to fix it soon (it just needed more time than expected so i preferred to made a quick version before completing it).
Ahh okay I shall await the compression fix before attempting to make any further progress :)

Posted: Mon Jun 02, 2014 10:19 pm
by Stef
matteus wrote:
Stef wrote:
matteus wrote:Does this version fix my issue with Rescomp? :D
You mean the compression issue ? unfortunately not yet :-/
But don't worry i definitely plan to fix it soon (it just needed more time than expected so i preferred to made a quick version before completing it).
Ahh okay I shall await the compression fix before attempting to make any further progress :)
It should be fixed now, i just uploaded a new version with the fix =)
Unfortunately i think the RLE compression won't be really blazing fast, unpacking code can definitely be optimized !

Posted: Mon Jun 02, 2014 10:58 pm
by matteus
Stef wrote:
matteus wrote:
Stef wrote: You mean the compression issue ? unfortunately not yet :-/
But don't worry i definitely plan to fix it soon (it just needed more time than expected so i preferred to made a quick version before completing it).
Ahh okay I shall await the compression fix before attempting to make any further progress :)
It should be fixed now, i just uploaded a new version with the fix =)
Unfortunately i think the RLE compression won't be really blazing fast, unpacking code can definitely be optimized !
Hi Stef,
I have upgraded but get an issue:

Code: Select all

            VDP_drawImageEx(BPLAN, img, TILE_ATTR_FULL(pal, FALSE, FALSE, FALSE, ind), 7, nextvpos + 4, TRUE, TRUE);
src\main.c|459|error: incompatible type for argument 1 of `VDP_setVerticalScroll'|

Posted: Tue Jun 03, 2014 9:48 am
by matteus
I suppose it would have been good if i'd noticed that the line erroring is VDP_setVerticalScroll and not VDP_drawImageEx

Posted: Tue Jun 03, 2014 12:15 pm
by Stef
Yeah, i was not getting it ;) did you fixed your problem ?

Posted: Tue Jun 03, 2014 12:36 pm
by matteus
Stef wrote:Yeah, i was not getting it ;) did you fixed your problem ?
Haha I'll post later this evening when I've had chance to check to fix the code!

I take it VDP_setVerticalScroll has been altered?

Posted: Tue Jun 03, 2014 5:45 pm
by matteus
Yes this line no longer works!

VDP_setVerticalScroll(BPLAN, nextvpos * 8);

I had to change the BPLAN to PLAN_B and it all works fine now!

Posted: Tue Jun 03, 2014 6:01 pm
by Stef
Ah yeah, i had to do this to avoid a rare bug which could happen when plan A and plan B tilemap share the same address in VRAM ;)

Posted: Tue Jun 03, 2014 6:26 pm
by matteus
Stef wrote:Ah yeah, i had to do this to avoid a rare bug which could happen when plan A and plan B tilemap share the same address in VRAM ;)
ha-ha :D I got a copy of all the frames of the thundercats intro as 16 colour png files and have attempted to put them into my player code uncompressed but they don't seem to work properly :( I shall post a video for you later.

Posted: Tue Jun 03, 2014 6:50 pm
by Stef
Do you tested on SGDK 09.6c ? Does the code was working on previous SGDK version or is it the first time you try it ?