Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Xtremehobo

A big long string of data

This topic is 5564 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Im attempting to make a music-player for my gameboy in C, but I''ve run into a big problem. My code looks like this:
  
#include <gb/gb.h>
#include <gb/sample.h>
#include <stdio.h>


const char *data="SOUND DATA HERE";

void main()
{


  printf("gameboy!\n");
  waitpad(J_START);
  play_sample(data,10);
}
  
but I wan''t to put this in for the data variable:
  
TD{ TTfr   A A    fg  K fvK ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ‡‡‡‡ˆxxxxxxxxxˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ‡‡‡‰ÏýÌû¾ýr£{k¬ÎǝÞîïþꌧ[‚xUëk什u©`  ÂmÅ8¹2a3 ''WtŽË—V9b  g–†cº¸.§6d4gEšŠºëÞÊ{zœî¨i–ͨïíßíªÜºS‡EŠ«ßþÿÿÊÉ£\–iCVh{þ½ÎÉ¿Æ™ƒfTCt''DtYzfeWP5S  B69$†STcD1DT„VjˆDsFx†gefŠyªˆË«¸‹ªh·ˆ›œÛÎÞ©Ü뉫ø¬ÊŠ›Ì¿Þþûïü‰½–X¨Fy¹‰ºÊ˜Êg¨VVTSCU†x%V•ECYT''S 0WCEdC3FQ 20$54hˆgvsD5‡eg‡¬ì«¯¹™¨«š¸›º·|ÍÌíÞÎê©ŠªÊª«™ºÝÌÍíÏß™ª§x‡˜—‹¹™ª™˜ˆvw†#F#fvVUuuDT#4CS#5C2FtDE3C234''FxfW—fxduTVfGˆ‹»Ëܺ¹¨xš¨›¼«¾ÜÜïÝþÌË˺ª¼©¼ÍÙ¬ÜÌÜˬ¨ˆwehˆ˜šš«˜˜eeEETCfuWfwDUC#!C2#US3DET3DC3FDDVwˆ†x‰wughuvvy™™º¬ÌË»—ˆx‡w‰«ÝÜÜÞܼ«º™™™ºª½îܼ»º©ˆ‰©‰™˜x‰‰™˜wˆ†feDS45guUWfCUDB343UxvfeT''2''''3CWw‡xfWUUUEfgxw‰™™›Ûªº¼Ìº©º©‰½íÌÍÝÜ̼̩™ª™©»¼»»º˜x‡‰™™ªª«º™‰‡veTUeVwfgxedDU1''''#!#fwfdVU!233Ufgšª¨ˆˆuEUUfwxŠ»»Ëª©˜™‰ˆ™º«»¼ÝÝÝÌÜÛ»»«¼»ªš«ÍÝÜÜ»©™wUUgwxšª˜˜‰ˆuDC###DTgwˆffffTCC''#EVgwvffe32#DUVVfˆ‰ª«¨ˆ‡xˆš©™ªª««¼ÝÍÛº™ªªªª™›«¼ÝÝÝíÌ˪˜‡wˆy˜š»««º™™©ˆwdDUTDTD324DUVeUTC''##3''23DEUUEfvvgveUDUFegwwˆ‰™ª©ˆww‰™™šË««»»»»»»ËÍîííÝÌ»ºª™˜‰™ª»»ªªºª™‰™‡eUUfgffffgfgvUTDDDDVVUUTC3''$UDEffffUeUUVewwwˆˆˆ‡‰ªªªªªª«»ªª»»º«»»ªªªªª»ÜÌ»»»¼Êª˜™ªºº«ªš™‡wwfgwefvwwweTEVeTDDDD3334UDDUEUeUEEffeUTUUeUUVvgwyˆ™™˜ˆˆˆ™™™™š«¼Ì˺ª«ª™š»ÌÝÝÜÜËË©ˆ‰™™©ˆgx‰ª»»»©©™wVeTUgfwwˆfTFVVvwvffwvUETB22!''#EUV‰©‡dUTCWzˆgg†‡‡š«™›ª˜vfveˆ›Ì̼º‡vy™†wš»›¬Ì¹ª»©˜˜ª¼ŠŠº§š«Ëªˆw…gyxfUeVSDguE6ffeeUDFgeDcD3#''''#Vw†wiih‡—dUiv†gg—Ww‡DEWˆ™Ê¼ÌÎÏþÜÞÝ˪ª»‡‡wˆª¼ÍìÌ©ªš™ª˜u‰ªš˜˜˜‰˜w—vWxwVv‡vxfDC''DVeW†UFVECCSE563CCCUfx™‰ˆgVfv‡vyx‡ˆ˜šª™™˜ˆvhˆª»¼ÍÍÜÊÊ©™›¼ËË˼»ˆ¨‡ˆ—z‰ˆ™˜¬¬»Ûªº¨WfTTdVfTEDEe6ffwvEUCUUehUeB''#C5UGefvVvvgvWwxfUewhš©ªªºª©‰ˆ©«¨Š—Šº¼¼ÝÝÜÜ̪š‰ˆÊÌʬ˜‡vffˆ™ªºª«»©˜©‡uFC''CEUVg†UffUSDffu5C2334EEvgvvgUUUvUDSDgwˆyª»ª¨Šª™ˆ™ªºš©‡vwgx™»»ÊÌÍÝÌÜÜÌ©—ew™»š›Ü»»™˜—wˆ™šxˆufwUeVg‡uVFfTTDD3C#3FVUfhvveEUDVfxufe35CDTW™šª˜›ª«©º˜ˆfVx™©Š»»Ëºª«ª«º¼Ì¼¼¨™¨‰‰‰«»¹©z©™¨‡xwUdU†xgx™™©‡fdVehhVvB''''!5fxhg‡wwvUTC3#FVF‡ˆ™˜˜w†wx™Šª«¹˜˜ˆˆwj«»»©º™Š«ªËªª©«»¹Ššªºªª™›˜ª¹š»©vEUTD$fx‡xy™ˆˆvvfTC2E454fgveU3DTfVY—x†UuUCEfghvw‡ww‡h˜x‰‰™™™ªš¹ª©»ª¼¼ÌËÝË™‡wxvyšÌË©š‰©§vTXhvŠº½Ü¼ËÝܧg1C3''#S!#fEˆŠ¼ÌÜìÝÌ«—eTC    !#''Fy¼ÝîîïïíÊ™ˆ‰«ÍíÜÍÝìË©‡wfxwTTUDDTE34Whª«ÌÎîîÝ̺ºˆww‡ˆfUDfevWg‰¹ª™‰ˆ‡ˆªˆvSDUT3''''C#''Efxyˆ‡‡veC23D44T‡w‰™š««»îÿÿÿÿÿÿÿþ˘fVVwvTDVxfVgx¼Ëººšºš©‰‡wWˆ™‡wf†ˆVCB4CEgˆ‡xˆ‡gvewfeUDdEUVT32DUfwx‰¬½Ë¹‡vUffgwˆŠšª˜‡˜š©˜gwŠ‰™™©˜˜‰ªª™ªš¼¹ªweffvx‰š™wwvfdUhˆŠ™šªªªªª—x‡™™™™š½Ë»¹vTC3434CCED32#DeC3#CDUEvfefxxvvw‰˜ˆˆ‡gwxx™ªË¼ÞÍíÌÌÞîîÍËÌÌ»ª»˜‡wx˜‡wy¬ÝÜܺ—uD3DDfgˆwwfegvvT3D4UUgffUgwwUUV‡vgeeTDEVfgw‰ˆvTUewxx‰«ÌÍÌÌÊ™‡xŠšªš¼Þþí컪‡gVgfvˆ˜˜ˆwxy™wvUVgˆwwˆvwvfdS44VVweUUfUffUUgeVVewx—wgfvwfffUFwgxwg‰œÜÌËË«¹™™ª™‰™™™¨˜™ª¬»ª˜ˆˆˆˆ‡‡wŠ‰©ˆ†eVh™‡wfx‰‡‰‡vw†vVVDUVh‡™xwweUC35vVUgx‰ª¼Üº˜feDUUDDgˆˆˆ‡ˆ¨™ª‰™˜™ˆš©™ˆ‰wuUUUg‰›©ªª»ªš¨ˆvWef†‡vhˆš©™˜xwfvVw‰˜wwwˆy™ªËª‰xˆ˜weUTUSD3UEef‰‰˜‡vvywxww‡weVfvwx‡wvwwgwfeVwx˜x‰©«¬ÜË»©™ˆ‡ˆ˜ˆ‰‡ˆwˆ‰ª«Í˪©‰vvUVUEeffwwwx‰—fUEUUVegw†VUFfUfgˆxˆ‡ˆˆxfvfwffgˆˆš«Íº¹†ffVvfwxˆˆw™™š«¬º©™wwwuffVwfwwxx™«¹š¨‡yˆ™ˆš˜vwvWvVˆxª™™ˆxwvUvfffg‡x‡ˆš»™˜efffeg‡fVffwfx˜›º™˜wgfeVeffwˆ‰™šªªºª‡gvwˆˆªª˜ª™˜†gxˆª™ª™˜˜ˆˆˆgefwvwgˆš»ª˜fUTUDVfeUgˆ˜w‰ª«¹™‡fTTVVfwwx™™˜ˆ‰š©™‡wˆ‰™‰©˜‡fwfTDVh™‰©vffwffefv‰™«ª«ÌÝ̺‡wfgfx‡w‡Šª™ˆ‰©»©š—eUVfUTDTEwxvfw‰ˆ‡vfgvwxˆ‡ffxwfewŠ™ª©‡wwwˆwwww‰ªº™™¬ºª˜weUUVfffgxª©™ª¼º©˜vTEffefffw‰™wvi‡‰˜x†wwx‰™—ffhvgeh‡™™‡vfgfeVwx™¬íÌ˫ʪ‡C    #UUgŠÌÍîïþïþìË™ˆvd2!   DVˆˆš«ÌÝïÿÿîÞîîÜË™«‰˜vfUDB''''#''EUUTGfweECEVg‰«»»¼ÎíÝˬʻ©™‡ffVUUUVfgˆ™˜x©™—vvUUUfgfTVf˜ˆwgšˆ™ˆxuVTTDUUUfšš™˜­Ü̪ª©ªº«¼Ì˪©ª©‡eEeVfTT4DDDDUTEgˆ‡ww›™˜vfUUffvwfx™š˜ˆ™šª»º«˜ˆ‡wˆxwfx‰©ˆˆŠ¹ˆ‡efeVfˆˆˆˆš™ºˆˆˆªªª˜ˆ‡‡egeUDETVUVf‰‡ˆwwvgwx‡wvxwxvUfh™™—wvfvfwwwxªª»ª¼ÌÝ»º™™ˆ‰˜™ˆˆˆˆ‡ˆvffz—ˆvUUUUUTDDFeWeEVx˜‰ˆw‡x™‰—‡xˆ‡wvVwŠÍ¼Ëº™˜ˆˆˆvgw™ˆ˜ˆˆ˜Š‡†C32Efx‰‰™š˜ˆvfx›Û»ª˜˜‡wxvfvx˜ˆˆwwwšš˜ˆˆx‡wweUTC#''#F¬Ìܹ™‡Vwgfw‰»¸™˜™ˆy¨˜yx«Ëܽܬ«©–”B''''U''4CEfY¸»íßïÿÿÿîìËÍ—t''     36VšÝÿÿÿÞÞÛ©™¨vhwŠŠªÉ™˜š¨vC4B!!2CEwfw‡›¾ÿîíÜÝ»»—‡T4#33C35g¬¬Êº¼¼«©›ªº˜˜vu43#42''!3TVVx™«¼ÝÜ̹œÊ™uETDVW˜™ª«ÌÍì½ÞÝþîýÍÊ«©‡u31   54eEWxˆ™»ªª˜‰˜wwx˜Š¹š‡weUC333Ufx›»¬»½þÞÛª»«¼»Ë»©‰©‡ˆfwfyw‡eUDC2''4DDUgvxw‹È˜wwwwxˆwvfffVvVxg¹‰—veUTCDFffˆ™»º¼ÌîËË»½ÌíÌ˪©ˆˆww‡y˜«Ê¼™‰‡‡UEUUTEUEUDTUd42''3#C''''!''''33VwŠªÍ˺˜ˆˆ‡ˆš«¼¼ÞîÿÿÿþÞÜÊ©™ˆ‡vfTT4DCEEgwŠº»˜ˆ‡vfgefEUUWvffUefTVfwwˆˆ‰˜ˆ™™ª½ÝÝí͹†T3!#EVgf‡y˜šª¼ÌÌÝÌÌ»»º»¼ÝÞÿÝ캗weVfTD334TUVegVvfwwwwˆ™˜wfUffg‡šˆ†TD333EUffgx™«¼Ë̺»ª«ªª©™™˜veTDUf‰›ËÌ»»ª©˜™©™‡wwxw‡ˆˆ†fUTDC''''''422#4Efx›Ê«©˜ˆ‰ˆx™š©˜ˆš™«»«Êª˜˜ˆˆ‡gvgvffEfgˆšÌ»º‰‡veCDDD3DEfh‰šÌªº™™™˜ˆ‡wˆwvefgx™«ª©wwwwwxxˆffeeDUUWeVUVfwww‡ˆ‡ˆvgx™š¬Ü͹™™š˜w‡wvfeUfx‰š»š©™ˆwwgwgwwfUfgwˆ‰vvTUTUUgwwwwwwww‰‰¨‰ˆ™™™ˆˆ‡ˆˆvUVx‰›»Ü»¹™˜weUUVfeTUgx™ª«ª»©˜wwfVegeUEVwˆ™™¨ˆ‡wwx‡ˆˆ‰˜ˆwwwx™©©™ªš©ˆvfgw‡eTUgx™šª¹š˜‡uUDDTVUDVgˆ™š»¼»º™™x†fwx†eUUfgx‡ˆ‡‰ˆ‰˜™™š«»™ˆwwˆˆˆˆ›ªª˜vfTUUUTDEfgˆˆ™‰¹™‡feUUEgfwfwx™©«©»ªªˆ‡vwˆ™ˆ‡ww‡‰‡ˆ˜Šºª©™ˆˆxˆ‡vfefVwg‰™«™¨wvUUVfUUVgx˜™šª«©™wvUUVwwwwwx‰™š»»Û«©ˆ‡wwwwvfffvvgˆx‰‡˜wfUfgwfwffwx™ªª¼Êª‡wvgfgwgvxˆ‰‰«º»Ê«¨wffgvwgvVfgwwˆˆ©ˆ‡gvgvgwffegefw‰™»ªºˆ‡xˆˆˆˆ‡fgfwwx˜›©ª‡‡gwwwwwwx‡x‰šº¬¹©vUDUfffeDDUVgxš¬ºº˜ˆvwgfwfUUfw‰š›¼ºªwgv‡ˆˆˆ‰‡x•GÉtlš™šlT''xayÈV''1i›ïïÿÿûbB#@E7IYVÖD½½ËÜÔ‰ˆFe›¹h›’†¦øFÛ—Š­x¸—•Ü;1d˜Š¬¼«× a8Aw€j¦Zª­¼»Ø…6Åk«SwX™¦E™C{¦z¸~È©‰vé4ØGXÃxg†l‹t¼ÔfXgwUgEx˜K…ub8¸˜¨˜I†x¨YsF­eTdš¦íÊÝÚi»©eXƒ5–6§YuªÉ—ÜZÇfw7eT‰uxh†ity¹[˜W‡UW˜…F›†h‡Š†ˆ‡«yzŠ¶§¨e†fŠFjVhUtzœÇ™ª“š§{TXEUVGi‡vfŠ«–wšˆ†vgg«¹Š˜†‰gg©H™iD‰˜Š©g˜yi…‡‡u‡wwwz…gŠcffxvv†iSV‰Šš¹™gX†wvvvUwf‹˜†z‡É©y–‰™Š¨x©šx˜©—j†g©†uˆUxyˆ‡hW††E‡x–VWˆx‡g‡wˆyeV—uUhVwy‰«©¨ˆ˜©ˆ—vgv‡‰x©w˜‡«™™w‡‰hwg—‡†gwUgdVxvi‡Vx™™gˆx†fgwfffh™‰©˜‰™˜ˆVxw‡gˆwx™šš¨ª˜ˆ‰‰–gfWwefwfghwˆ—y¨ˆˆ‰x‡ˆˆv†wwfwx˜ˆwx™™˜xwwvvvgVwwxª™©˜™Šˆ‡gwxuvffxˆˆšŠ§w‡x™‡egvwfwwx‰‡™Š¨˜xx‰˜ˆ‡ˆwVwvww‰©‰—ˆ‰ˆš¹‰˜wueVwfgh©š—‡wwgwfwgwfffw‰š¹»˜ˆx‰‰˜‰‡vwegfxˆš˜©ˆ¨eWguggfhv‰«ÍËïÝÛ¨uu4#''A  GS¨¼ïîÿÿÿÿÿÞÊÉ—B   ''''2EW©¬ÞÿîÞË̺›Êš—ˆxˆˆ™™º©›‡‡e3EDUT1#''3DVgw™™»»¼Ííͺ©weCDeDGEx‡‰˜©½ÎýíÌ»¹™ˆx†S5#34d5…hwgfXw‡‡—¨šxˆhvwUUfwfy‡wŠ˜šªºŠºª¼ÝìꪙxEe34D3EDSWvf–xx§vwwvXwg—‡gˆˆšÌª¸‡eED3DDEevššËÌÍýîË«»»¹¨˜y†TD2BDEVˆ‡™§hz˜‰™y˜™ˆ›¹š©˜˜—uUD2C''44E43DUVhšªÜ™¨†wwUveffvxŠ›¬»«Ë›©š©«Êº¼ËË™ª—™˜™©¬ªº™x‡eXTDC!3CDTUUgSfDTTTEUeWUEeV‡g‰‰šˆ‡…w…fˆx›‰Œª¾ÝÝíÍÜË«‰‡‡—…‡fv6UDgwgˆxšzˆxˆxvuEuDFUWg‡‰—©y¨ixxx‡vwdVGUggf–˜‡—ugufheweFVWj‰‰y©˜©§©É©»ªªÉ˜¨¨Š™™{œªËš©™†xuedC2B%Ufgx—‰hxxffufeUTEEvxww™š—¹‰x‰z™™¨˜—wˆwwij‰™·™¦‰—yhhWedƒ†vyŠ‹½ÌÍÊ«¨˜ˆgUVDEedf†˜‹«œ«†††TeV7FVWuTu†j–Šš˜˜xw‡‡uwgiyVw˜˜¼¬Ü̺ªˆw•†v…ghgx™‰«ºÊ»ŠheUDCRdUuWWfy‰¹»É©xhVfWWuv…vfXXy¨ŠÚª¸¨ˆ‡xggefV4FVW™Š»º¨ˆvvfw‡vw‡‡ˆ‰š»»Ì̺©ˆwVfvVFuVVu†‰™šŠ˜‡vuuwwxgWffetgfˆww†vefgv†whgwy‰ºËÌ̺ªxgfuvwwxxx‰‰šªº©¨™˜wgxxvvfvUVwˆˆ‡x†geUUDVfxvwwwx˜‰©™˜˜ˆˆ‰‰šˆ˜wwugy¨š˜™™˜xxx‡x‡‰ˆwˆwx‡ˆw†Vfffgwxwfvegw‰™˜‰‡‡wwwwgfwy˜˜‰©ªªˆˆx†wwˆ‰™˜™‰‰ˆˆ™‰©ˆvwwx‡‡xw†fvxwxˆxwfeeVfgwˆˆˆwvfwz™™˜‡wfggˆ‡ˆwvx‰š»Ì½Ê©†fUeVwx‰‰‰ˆ˜˜™™šˆ‡UTDUUgˆx‡vffxš™¨—‡gTEVwˆ˜™™˜‡xxª«ª©˜‡fffgˆ™™‡‡ww˜ª»º¨fdD34DEVgwwwxŠšª©¨‡vVfgx‰š«º˜ˆw‰š«™—wvefvwˆˆ‰™ˆ‡w‡ˆ—ˆvfUUUeVeww‡wghˆšºº©‡fUEUffwˆ™šª«»¼ººˆvUTDUvfx‰™™¨‰©™™™ˆvUUUVwgwwxˆˆˆ™™™˜‡vfeVVgvfwˆ‡ˆˆ™ªª«ª™‡wvegfVggˆ‰šªºªª˜‡fUDUVffwxˆˆ‰™™ˆˆ‡veUVfgwwwwww‰‰™ˆˆ‡wwvwwˆˆˆˆ™™šªª©˜xuw2#D4Tfg‰š¼Íïÿÿí¹ˆSC#33EFvxˆ‰™«ÍÞîîÿÿÿí˘d1        ''4TfWw‰™™ªªºº¼¼Ì¼º™‡dC1          EgxŠ©ªº»»ÌÌÝîïÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿþíÌÌ»ª©‡fUDD3''!                       #Eh‰»ÍßÿÿÿÿÿííÌÌ»º™‡eDDDEVw‰‰š«ÌÝÞîÿÿÿþí˺ª™ˆvT3!       ''3DDUUUUUUgx‰™šª««¼ÍÝÝÝÝÝÝÝÝÝÝÝÜË»»»¼¼¼ÌÌÌÍÝÝÝÝÞÞîîííÝÞÝÝÝÌÌÌÌË»©ˆveUC2''''''       ''4Vgˆˆˆ‰««ÌË»ªšššª©ªªª©™ˆ‰™ˆˆ‡wUTDDDDDDDC2''3334DDEgˆ‰™™ªª™©«½ÝÞîÝܺ™ˆ‡ˆˆˆ˜ˆˆwwwxx‡‡wvvgweVVeUUUUfwx‡‰Šœë—vUTT   $‰ÌÞîþßßÿýüšxS43''    cEg4¨ºÏÿÿÿÿþݽÍÛëxªŠ™g–UBˆšÉÎÿÿÿþ̧2!              DjÝßÿÿÿÿÿÿïîÝÊ©–f2!      35UV™¬Þ̽ËÌÜîïÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿßÜ»©™ˆ‰w‡xx§ˆvdUD#!  2BDDB         ''#CVfvyi—†wvVCB!     #35e‹šÌÍßííË›«¹¨¼½ÍÍÝÜÌÌʹ©™›¬½ÜÌ»ÌÜÍÝþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿíÜʘy‰wfeTTD3''''           ''4C4$EVWuSTd423Uwfxˆ‡uTEVgx©«ÍïÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿíÜÊ—eDD3''!                           3DEUVffvUfwx‡gVfvwx™«ÌÝÝÝܽ½ÝíîÿÿÿÿÿÿÿÿîïÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿîÝ̼ÜËÍÝÍÝÎÝ»º˜‡vB                      ''3C3''''!!  $Ufxwx—eUVVy™©¨šª«»»ÍîÜÌÌÌÍîÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿþïïÿÿÿÿÿî̹‡egxwwfUUS21                      4exš»ßîìʘgx˜Š»ÝÞîÿïïþí˺ܼÍ̼ʩ‰ˆx‰™«ªª¹™‰ˆhˆ˜ˆˆxvwwufUD2     EVUTS2Evy‡vddED6hˆ«©ª©ªª«ª«½íÿÿÿÿÿÿÜÝÛ½îîÿííÞíÝÞÞì¼Ü̼¼ÍÌîýÝ̹ˆ‡‰˜‡†vveVDTC2!           1''!!''3FDEUfeVvxxš˜‰™º¼ËݬÌïïÿÿÿÿÿí̪š¼ÞïÿÿÿÿÿÿÿÿýíîíÞîíýÎí¼ªª«º¼¨™w‡vT5eeUVC4DB22                 ''5V32''2#3ThŠš»»ËÍÝÌÎïÿÿÿÿÿÿÿÿþïÿÿÿÿÿÿÿÿÿÿÿÿîÜ̪©™ˆ‰˜˜xvDDD232''''''          33EgfVdDDUfgwˆŠ«ªªªª»»ËÌÞÝÝÝÛÜÝÞÝÞÞÝïÿÿÿÿý˪š˜™š«»¼ÜÜ»»»šªª™‰™˜ˆ‡‡fUUDDUfeUeUDD4DD3''''3!!!''#DUUfx‰‰†vfUTDUVy«»ªª™™ˆ‡‰›»»»»»Ê»««»ÍîîÞÍÜʺ™šªª«¼ÌÍÌ˺ºšª©™wˆˆw‡‡ˆ‡wwvVTDC''334DDT3#''4DDEUD3!  $Ux‰ª»©™™‰ˆ‰ªª«¼«ªºª»ºª«»¼»ªª»Ë»»»™«ª»ªšª©¨‡xxwxˆ‰™ªºº©ˆwT1 ''34UUTD4DC33C33DD5DTUeVgwgwwwwvw‡xwˆ™˜™›»ÌÜÝÞÍ˻˼ÝßîíÝÌ̺ªªªª›ª«ªº«ª™™™™™™˜ˆ‡eTDDUFfUVg‡–hˆvwfTEC3DCC44UUEUUTDDDUh‰ˆ‡‡geUDEefVTDDDDUUex‰™š™˜‡wvgwgˆššªˆ™ˆˆ™™™ˆ™ªššº¼»ËÌÌÝÝÌÍÌÌÌ»º©º«»©™š«»»»»Ë»©™wxx‡wwgwfVUUeUTUfgfvDUUDC3''33''''!''''34CDUVfgwwfvgwfvˆˆš™™™™˜‰™˜šª»»ÍÍÌ»»»Ì̺ª»Ëº™˜‡‰™˜ˆgwˆwvVVefTEfUTT334D3CDED334Uhgwˆ™˜ˆwffgxˆ‰ˆ˜x‡‰‰™ª»ÍÝÝÜ̻̼ÍÌÝÞíܺ»»»ºªªª»»«ª««º™˜™«©‡ffweEDDVfvTDEUTDDDUC!!''!''33D4UUTUUfUVfUUfgffwˆx˜‰šªªª¼ÍÝÝÞÝÞÞïþíÞîîÝÜÌÌ»»«»¼Ì¼ÌÌÍÝÌ©©ª¹™™ˆ‰ˆfUUVgwwfefTC#3DCCCC32''''3433#3DC33Fgwˆˆˆˆ‡wfevfffgwwfhˆ™™ªª«»Ëªªš«»»º«»Ìº™™š™š»ªªª˜ˆšª»»ªªªª©ˆwxˆˆ‡vffwfeUUeffUffeUUVUDDDDD333EVUUTVxˆˆ‡ˆˆ‡wfVeVfwwˆ™˜ˆ™™©˜‰š»ÜÌË»«¼»»»¼ÌÌË«ª©‰™˜™©šº«»»ª©‡ˆˆ˜vUffffeVfwwveDDUDDTEC3333''233EUTC444DCEgwx˜˜‡wxwwxxˆ‰™™™™ˆ™™š©›¼ÝîÞÝÜÌÍÜÌË˼»»ªªª™™™šªªªªª»»©wgffeDDUfUUUDUUDCDDTDD34DCD3D43D3CDDC34EUefw‰šª©™ˆˆˆ‡‡wˆˆ‰šªª™ªªªº«¼ÍÝÜÝÜËÌÌ»»¼Ýí̼º™™ˆwx™‰‰™˜™™—vVwwfUUDEUT3DDDET4DUUCDDDCD3334DDUUffeUfgeg‰ª«»»©˜š˜ˆˆˆ‰ªªªªªˆ‰ª»»»ÍÝÝÍÌ»»«»»º»»Ëº™™™ˆw‡‡‡wxxˆˆ‡weVffeC4UUUUTC3ED334EfeTDD33DUDEfffffUUVUVww‰«»º»»ªª«º˜ˆˆ™™ªªª«¼ÌÌÌ˼ÝÝÜÌ»ªªªª˜™«»»»º©˜‡eTVVfw‡wwwuVffUDD3#32''''34UUEUVfeUT3DETD34UVw‡ˆ˜ˆˆ‡ffgˆ™ª¼ÍÝÜÌ»©™™™š»»Ëºššš©ª«¼ÍÍÌ˸ššš™‡wˆ™©™™™ˆˆˆwvvVgeFUUVfefTC$ 1‚hDVka''“D8Ì[Q0$Xx˜«½Í˜CW‘iCM7zÅØj®êïÞÏÌÚËyÞ˜{†Í¸vçÜÿþŒþííí½È«†©%tJ¥ükêi¸B#S!ª‹0(dQj—@3ut2BhtiaSe%G54™¡›„Gew—w¹yzºº‡¶Š¿ÞÙ¬¬Ì›ë»ÜÉŒ¼Ùj¸«»ºË›Íۜ݇íªÉy™†}Ƈ©‰Íz©gvgHqS&1fuUeu%heVC''!0A''3C5dVcVGTUve&4W‡e†ww†y˜‹Ê‹–™¨lª»Û­¼¼ªŠ¼Úª¾¨»¹Ê˹ʜ½ºÿú­ý§ºš›—™ivg†Hthˆhˆ…UU&1T4…DFS9A$S$  ''S26DSTTfffU4UY¨xª‡š§†¨yšxÌ­ªÌ¼©»«ÞÝìïÛÌÌ»ª™ºšª»»ª¹ËÚŒ¬ªº«¼©šwwvhw‡Vw„FwVUDfFWTEcDD42SDVC4! #DDfeg†VGUFˆW˜w—†‰˜‰ˆ‰™›«º©«ª«º©¼¼Ìì½Ü¼¼ÍÌ»ì¼Ëª˜šª›»©»ªº˜x™ˆˆ™‰˜y™w…UU34UDeD3$d33$4efVTDECDC3C''3C$EVFgUx˜x‡‡xy™‡xˆš©ª¨‡‰‰ª««»ÝÝÜ̪»ºËÌ»¼Ì»Ëº»Ë©™©š«ª™™šª‡ˆˆ‰ˆ™‰weeeUuuUVTCCD''D4D4TDDDTDCTDEVUDDDC4DUvVvfg‡wvh‰ª©ª˜Šª«ª©ª™«»º«»»»»«ÌÝÝÝ̼º»šªªª»©ˆ©ˆ™ˆˆšª©™˜ˆ‡wgffTVfUeUDC4EDTT4DDD3#DDFCDC5VeEUUUVVUffffxwh™˜ˆ™ª©ˆ‰™›»Ëº««Ì»»Ë»Ì¼»»ÌÌÌ»»»Ë»ª«»»º™˜˜ˆ‰˜w‰©‡gewxwfUUTDEDTDTCC3DD3D4CUTC4EUUETDEUVUffvfeffgxˆx™™šªººª©™ª»»º»º»»»»ÌÍÝܼ̻«ªºª»»™™š©ªª©˜™ª˜‡wwgvfTUfgeUDCDEC4DUTCB''#333DEUUCEUUUUDEffvgfwxˆvww‰˜‰™™ªª«»»º©šªª«»»¼ÌÌ»»Ë¼ÌÌËÌ̺ªª™˜ˆxˆ‰šª™ˆ™‰ˆ‡uEVfUTDEUVUDDTTDEEETDC33DDDDEffeVeVTTCEVwwx™ªªª™ˆ™™™ª™™©š»»»»ËÌÍÝÝÝÌÌ»ºªªšªªª»»»»ª©™™ˆwxˆ™™‡ˆwgfeTDEVeUUVeVeDDDDDDD433#3DTEEVfwwvfUfeeUVgˆ‰™™ª©ªª©™šª©©™šªªº»««¼ÍÝÜÜË˪ª©™™šªª»»«ª™™ˆ‡vffwxx‡wvwwvUUegwffffvgUDETTCD3#''3DEVx˜™—ˆ‡fUUeTTEVXyšº»ªªº©©šššª˜‡wˆ˜©©ª‹Ì»»««ª©˜ˆ‡ˆxˆˆ˜˜˜‰˜ªš‰‡vfˆ™ˆ‡xveD3'' ''D#EdfVfVvwUEETDDC!#24fš«ª¹™š‰™xwffgfuvˆ™›¼ÜìüÜ«ººš˜ˆ›«Ì»¹šª›»º»ÛÌ˺™ªšª«ºº©wfTC43#Ux‰™˜‡˜‡gUCDDE42''$Vw˜‰˜‡—wgfUffUC#EWg‰™ª¼»»˜‡fTUVvˆª¼¼¼ÌÜÌÌÝÍÌ˺«º«¬ÌËÌÌ«¨‡w‡ffxˆ™™««©™…eVfgfUC44C5Evww‡veEUD3442''2#4UTTwggfgUUTD3Fw™š»ººº«ª›º©˜˜˜ˆ‰©««ÍÍÌ»¹˜™ˆˆw™«¼ÍÝÝÌ˪™š¬¹º©‡vfUVgw‡ˆˆwUfuUUUUEEEDUTTEVeUVUDC2!4gx‰¨—‡fVVVgfffwx™™™ª«ººªšš©‡uVx™«¼ÞÝÍܺ©ªºªš©—‰˜x‰š»«»ª©Šº˜vefVvwvw‡vUUfUffUDD3''3FefxwffUDDES4CDDGx‡wx‡ˆˆˆwx‡uUV‰‰«º»«Í˪©»«ª©˜‡ˆˆˆ™«»¼Ë»º«ÝÊ©™©ª»ºªªš‡ffwxˆeTDFTDTgwxˆvUUTCCDEUUUEWˆfeUUfgfTCD2#Uxšª™‰ª©—xˆ™™©˜x‰˜˜‰ª¼ÌÌ˪½Û©ˆ‰™ªÌ»»›Ë©†w‰™™‡eX™ˆ–ˆ‰š›ª˜w˜‡uUUffVUUgvvUDD5eTC4C3#3EVx‡eWˆˆvfffwvVFwxx‰‰©©©‡w™‰˜ˆx™›ÌÌËË˺ª©šš™˜w‰©©©™š©º©†gg†wy­ÍîíìÌÌ»xt$!!     U{¼ÜÍßïî쪩ˆv2     !''!4WŠ«ËÞÞÿÿÿÿÿíÛ¹šªª«©ˆ™«ª™xˆˆwweUUDD4Vfx©©«½Í˺º«ºª™ˆˆ‡fTVwˆˆwyš»º™ˆ‰˜feTEdUC''''43! DUUVgy˜™˜wwwd''! ''5Wˆ‰«Ýþÿÿÿÿÿÿÿïþþ캙ˆ‡veUVwfvgwˆ™˜‰š«»©ˆ˜™˜‡fwx‡veTVefTEWwvdUFfveVgˆˆ‡vVffS''3D34Egx‡wˆš«»ªˆ™ˆ˜‡ˆ‰©ªª™™ˆˆwfhˆ‰˜˜™™ª˜x‰ª©™«»»ª©˜ˆ™xwwfggwfgwˆ‡hxˆš©©š«ÌÌ»ªªº©‡fVfUCEUUfvUEUfUTDCDUT3UUUVfUUVTCUVffwwwxˆˆˆˆˆyª«»»ÌÝÞîîþÞÝ˼»»»»»©™ˆ‡ffff‰šª™™ª˜‡veUUUUfwfgvUfVwefUTVVeUfwwwfdEeUEUvugwgVVUTfWwˆ‰—‰‰™©Ë¼Í½Í»º»ª¹šªº«»»ª«ªª©ªšˆˆ‰ˆˆ—wedUUgffVvvffwfeUeVffeUWggeeTVCDUUfVgVefffVVgh‡‡wgwˆ‹ª«©™˜™™ª«ªªºº«ª»™ª™©«‰ª™¹™x†wfWUg™™—efx‡gvœª™ufiš‡gV‹¨™dT4e234y‡xDew‡VeW©‰šx†w‡Udhˆ™†Vew‡g…z¹Š™‰˜¨‡x†‹Ê«¨xww†Uuh—‡‡‰ˆˆ†w‡‹©š©‰xˆ‡xˆš©™˜‰xˆuVvi‰©¨xfwtUf{˜©˜y‡‡…Vgi¨©ˆVSTT5FW—‰xfuew6FV¨«ª˜…eVD4Uˆy™—†whef‡œª»Ë™‰™¨‰šœÊÌÌ›™ˆ†UUV©«¬˜—ˆgETvš›ª§˜xfcR47v†u64TTE%U‡šŠv…wWUBdz›¼ÇˆxwvUGH™©©ifvvfES˜›»©¹››™§—jª»ºšwefUEU‰š™—†TUedVYšºÌ«˜‡‡gFu˜Š«©·wigsvYx˜¨g5eefHwº«œ‡…fgeTuYyªÈwVed45Uˆ«¬˜†‡‰fevi«Ë¸hfx†gWuš¬ªuuhˆx†ˆîþÚ‰w‡vUEf¼Í»‡—wxvcEIª¹ˆWev†WEfª«™uuEFCBEkº©§WDDeVGˆÜÝ̪§xˆve‡»Ë¸xUeeD6W§‰‰gtufFf—»›ª¦†WWv‡‰ËÜ욉†dEGx¹«¬©—‡xVf‡ªšš·ˆfEBDwiˆ˜–VUTc4Wi©™ºx‡dd5Gwª©›‡—†f$4f‰š¬º»©xuf˜šªˆ¨‰ˆweUg‰š™©‰ˆedDWyš©ªªª™†UUx‰ˆˆˆ‡eT4Dgwˆxˆ‰˜‡fwy™ªªš™
  
Problem is though, the compiler doens''t like having that in when I try to set the data variable. Could it be some characters in it that could be messing it up? Ive tried replacing all the quotation marks w/ different characters and it stilll doesn''t work. Any idea how I can load this data into a variable in C? (I can''t use any file reading functions because this is for a gameboy. Im using the GBDK c compiler) Thanks

Share this post


Link to post
Share on other sites
Advertisement
Search Google for BIN2C and/or BIN2H.

Those will take a binary data file and create C code (an array of the values rather than the ASCII representations) for the data rather than trying to represent it as an immediate string.

--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!