You are not logged in.

#1 2008-10-06 21:07:06

JyCet
Member

data corrumption with GRRLIB_DrawTile

Hi all,

Dear GRRLIB team, I've offen some data corruption with GRRLIB_DrawTile function sometimes bad screen place or zoom value ... :-(
I cant find the bug in GRRLib.c or what I do wrong (I'm not a C expert :-/)

If  GRRLib team are interested I can give you a link with my bin and source code to resolve or understand.

I really like to use your lib, it's very simple to use, but these strange data corruption slow down my coding :-(

Thanks in advance ;-)

Offline

 

#2 2008-10-07 05:20:46

_CONEJO
Member

Re: data corrumption with GRRLIB_DrawTile

I think you're trying to access data that is not avaible, But with that amount of information few or nothign i could do.
Try to paste the full error code and/or upload your source.

Offline

 

#3 2008-10-07 19:52:46

JyCet
Member

Re: data corrumption with GRRLIB_DrawTile

Thank you for your help I've uploaded the full source (11MB) here:

http hmm/ rapidshare.com/files/151797326/arkwiinoid.rar.html

(sorry for the host I didnt have any personnal space)

In this source if you look line 1523 I display a tile from spr_TUX_MAXI at x=480 and y=192 but on the TV this tile is display at a false place. I've tested the void ss_prg_tux ( void ); in one alone program but the tile is displayed in another place (not the good one). It's really strange.

PS: for all people if you download the file please do not spread the link it's an unfinished alpha game with many bugs and I didnt ask yet the gfx authors to use all "tux"

Thanks

EDIT: link remove

Last edited by JyCet (2008-10-09 20:51:46)

Offline

 

#4 2008-10-09 18:55:05

NoNameNo
Administrator

Re: data corrumption with GRRLIB_DrawTile

can you test it with the latest CVS of libogc ?? i had that kind of strange stuff, i was sure grrlib was buggy, then shagkur release a cvs version of libogc that fix all my trouble wink so try it and tell us.

Offline

 

#5 2008-10-09 19:31:27

JyCet
Member

Re: data corrumption with GRRLIB_DrawTile

I never used CVS and I dont know how to use it :-(
I'll look if I can find an example to use CVS

Offline

 

#6 2008-10-09 19:41:27

Crayon
Bad Mother Fucker

Re: data corrumption with GRRLIB_DrawTile

Just used those two commands in your CVS app:

cvs -d:pserver:anonymous@devkitpro.cvs.sourceforge.net:/cvsroot/devkitpro login

cvs -z3 -d:pserver:anonymous@devkitpro.cvs.sourceforge.net:/cvsroot/devkitpro co -P libogc

When prompted for a password for anonymous, simply press the Enter key.

Offline

 

#7 2008-10-09 20:48:15

JyCet
Member

Re: data corrumption with GRRLIB_DrawTile

Nice
Thanks to all for your help
The same source compiled with the last libogc CVS the bug is solve

:-)

Offline

 

#8 2008-10-09 21:02:21

NoNameNo
Administrator

Re: data corrumption with GRRLIB_DrawTile

so i am happy to show you that GRRLIB is bug free wink and even big masta coder like shagkur can improve their code wink

btw know that i spent 3 months nights to hunt this bug in grrlib, i was so sad to release it with bug, then i gave up, i asked help to shagkur, then he provide this CVS and yeahhhhhhhhhhhhhhhh at this moment i didn't know if i had to kiss him or kill him wink
bug was in libogc !!!!!!!!!!! wink

Offline

 

#9 2008-10-16 03:47:22

_CONEJO
Member

Re: data corrumption with GRRLIB_DrawTile

maybe kiss him and take pics, it will be very funny (maybe not for you)

Codeback Mountain hahaha

Last edited by _CONEJO (2008-10-16 03:47:49)

Offline

 

#10 2008-10-27 09:46:52

RedShade
Member

Re: data corrumption with GRRLIB_DrawTile

I was worried too :-/

Offline

 

#11 2008-10-29 06:15:46

Crayon
Bad Mother Fucker

Re: data corrumption with GRRLIB_DrawTile

The CVS right now is not working well, the file wiilaunch.c is missing. If you need to get it, it could be downloaded at git://hackmii.com/home/ogcgit/libogc with a tool like msysgit under Windows.

Offline

 

Board footer

Powered by FluxBB