Shadak Posted July 6, 2015 Share Posted July 6, 2015 (edited) Hello, I've got a problem with MIDI insertion using Blazer's tutorial.When i copy data from song.gba and set the pointers like in this tutorial, set the pointer to 0x8000000+adress and launch the game it freezes.P.S. I've tried to open the track in sappy, but it shows more than 100 tracks.What have I done wrong? What can I do to fix this? Edited July 11, 2015 by Ghatsu! Quote Link to comment Share on other sites More sharing options...
CT075 Posted July 6, 2015 Share Posted July 6, 2015 I could tell you what you did wrong if you tell me what you did Quote Link to comment Share on other sites More sharing options...
Shadak Posted July 6, 2015 Author Share Posted July 6, 2015 I could tell you what you did wrong if you tell me what you did 1)Ripped part of code containing music (offset said in Blazer's tutorial, 0x1B3BB8) from song.gba with my midi 2)Copied this part of code to the end of ROM in HxD 3)Made the tracks repeating by replacing B1 to B2*track pointer*B100000 4)Set the pointer in music array to 0x8000000+adress Quote Link to comment Share on other sites More sharing options...
CT075 Posted July 6, 2015 Share Posted July 6, 2015 More specific How did you set the track pointer? Where did you copy the song into? Quote Link to comment Share on other sites More sharing options...
Shadak Posted July 6, 2015 Author Share Posted July 6, 2015 More specific How did you set the track pointer? Where did you copy the song into? 1) B2 00 DD CC BB AA+8 00 B1 00 00 00 (For 0xAABBCCDD adress) 2) to the end of rom Quote Link to comment Share on other sites More sharing options...
CT075 Posted July 6, 2015 Share Posted July 6, 2015 give me the numbers Quote Link to comment Share on other sites More sharing options...
Shadak Posted July 6, 2015 Author Share Posted July 6, 2015 (edited) give me the numbers 0x102b1b3 - location of song data Edited July 6, 2015 by aleximusmk Quote Link to comment Share on other sites More sharing options...
CT075 Posted July 7, 2015 Share Posted July 7, 2015 i'm not entirely sure how you're expecting me to somehow deduce what you did wrong from that explanation Quote Link to comment Share on other sites More sharing options...
Shadak Posted July 7, 2015 Author Share Posted July 7, 2015 i'm not entirely sure how you're expecting me to somehow deduce what you did wrong from that explanation Just tell me how do you insert midis step-by-step, it can be more helpful for me now Quote Link to comment Share on other sites More sharing options...
Agro Posted July 7, 2015 Share Posted July 7, 2015 the location of the song data needs to be 4-aligned I.e. end in 0, 4 8 or C Quote Link to comment Share on other sites More sharing options...
Shadak Posted July 7, 2015 Author Share Posted July 7, 2015 the location of the song data needs to be 4-aligned I.e. end in 0, 4 8 or C Thanks, it helped Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.