Andibad Posted September 8, 2012 Share Posted September 8, 2012 i think sdat is for bgm table list, and a file is controlling bgm class trainer on a narc.... like on PWT, is have a lot class trainer for champion, gym leader. i think is possible added new code on it since is need 1 byte Link to comment Share on other sites More sharing options...
AlexCraft Posted November 22, 2012 Share Posted November 22, 2012 It's easy to find out the hex value of the music, but how do I know which value the trainer I want to assign the music to has? I for example want to give the Riches in Ondula the Kyurem battle music, which is seq_bgm_vs_rai.sseq as far as I know. Link to comment Share on other sites More sharing options...
Kaphotics Posted November 22, 2012 Share Posted November 22, 2012 It's easy to find out the hex value of the music, but how do I know which value the trainer I want to assign the music to has? I for example want to give the Riches in Ondula the Kyurem battle music, which is seq_bgm_vs_rai.sseq as far as I know. find the text file that sets all the names. for comparison, here's the one for BW2 Link to comment Share on other sites More sharing options...
Mario With Lasers Posted December 1, 2012 Share Posted December 1, 2012 (edited) There're two things I didn't understand here... example replacing champion iris BW2 with WCS...1. replacing "EC04 7F1E" with "7704 5C1E" is on offset : 00021600 These are the "list informations", both inverted, fine. EC04 is VS-IRIS and 7704 is... VS-MOVEPOKE in that list Kaphotics posted. Shouldn't it be 8B04? Besides... the second part, 5C1E, is 092-030, but what does that mean? At first I thought it referred to the character, but that wouldn't make any sense to change. What exactly makes it so that the new song will play against Iris, considering both the path and the list got changed? 2. replacing "4088 2300 8C3D" with "8016 1800 443F" is on offset : 00031EA0it will changing iris champion BGM with WCS XP Yes, but *where* is it changed? Is Iris's battle theme still in the data, just "lost"? ...Ok, I guess I actually didn't understand *anything*. I can perfectly see how one would do it, but I don't understand why. Is it pretty much changing "pointers"? EDIT-- Ooooh, I think I got it now. Iris's battle will always call the VS-IRIS song once it begins; the difference is that now VS-IRIS points to the WCS song. I'm still curious with what happens with the original Iris song, what that 5C1E actually means, and why andibad used 7704 instead of 8B04, however. EDIT2-- ...So apparently VS-WCS does have 7704 as its song number in the .sdat file. Why's that different in Kaphotics's text file? Besides, Kaphotics, I don't think he meant that. He wants to know if it's possible for a single "generic" Trainer class to have a different battle theme, instead of the usual one (basically, how would you do with other trainers what was done for the Elite Four). Edited December 2, 2012 by Mario With Lasers Link to comment Share on other sites More sharing options...
XtaLarge Posted December 10, 2012 Share Posted December 10, 2012 Hey, would anyone mind helping me out a bit? I really want to replace the default trainer battle theme in Black 2 with the Hoenn Trainer Battle theme that's apparently in the game somewhere. I don't know the hex values for either and I'm not experienced enough with this sort of thing to figure it out on my own. Link to comment Share on other sites More sharing options...
Jacusiek Posted December 28, 2012 Author Share Posted December 28, 2012 Hello. I have similar request as XtaLarge but: Trainer named Hiker will have Kanto Gym Leader Music, Youngster - Johto Gym Leader, Worker - Hoenn Gym Leader, Lass - Sinnoh Gym Leader and with champions: Waiter (not Waitress) - Kanto Champion (Blue), Dancer - Johto Champion (Lance), Psychic (man) - Hoenn Champion, I think Sinnoh champion is avaible through BWTE 2.0 and the last music: music which plays, when you fight the last, final battle in world tournament and that music for a Doctor. When I changed someone's trainer class into Brock, Misty or other Gym Leader it was normal trainer music, but with a picture of Brock, Misty, etc... The Best would be if I choose Brock, Misty, Lt. Surge, etc. it will be Kanto Gym Leader, Blue - Kanto Champion, Whitney, Bugsy, Falkner, etc. - Johto Gym Leader, etc., etc., but there are too much of them to set it to everyone, so I think easier is to change just as I wrote on the beginning. The best way to change music also would be to have na Action Replay code which allows You to change music, according to what HEX VALUES do You put in that code - but there is still no code like this for B2W2 (For BW there is a code like that). Thanks in advance! Link to comment Share on other sites More sharing options...
Kaphotics Posted December 29, 2012 Share Posted December 29, 2012 We don't know how to edit what trainer classes dictate at the moment. You can do the same method that Mariktus95 posted to re-assign the index numbers to different tracks; however the trainer classes themselves have to be edited to use a different index number so that any adverse effects don't happen. For the record, this association is most likely (again) in the arm9 binary file. It's definitely compressed, but you can see how it works in this thread: http://projectpokemon.org/forums/showthread.php?22308-Pok%E9mon-Black-and-White-Assigning-different-Trainer-Music&p=145183&viewfull=1#post145183 Now that only edited the eyecatch music, but I'd bet that somewhere in the same file there's the association table for Battle Music. edit: see next post Link to comment Share on other sites More sharing options...
Kaphotics Posted December 29, 2012 Share Posted December 29, 2012 So I looked in a decompressed arm9.bin file and I might as well document what we already know in BW -> BW2 data. At 0x8E3C0-0x8E76F, there's the class -> eyecatch table 00 00 5A 04 01 01 5A 04 02 00 5A 04 03 01 5B 04 04 00 5A 04 05 01 5B 04 06 01 64 04 07 00 64 04 08 00 65 04 09 01 65 04 0A 00 5A 04 0B 00 5A 04 0C 00 5A 04 0D 01 5F 04 0E 01 5C 04 0F 00 5C 04 10 01 5C 04 11 00 5A 04 12 01 5F 04 13 01 5A 04 14 00 5A 04 15 01 5A 04 16 00 5A 04 17 01 5A 04 18 00 5D 04 19 01 5D 04 1A 00 65 04 1B 00 64 04 1C 01 64 04 1D 00 64 04 1E 00 63 04 1F 00 5E 04 20 00 63 04 21 00 66 04 22 01 65 04 23 00 61 04 24 01 61 04 25 00 5A 04 26 01 5A 04 27 00 5A 04 28 00 5A 04 29 00 5A 04 2A 01 5B 04 2B 00 65 04 2C 00 65 04 2D 00 64 04 2E 01 62 04 28 00 5A 04 2F 01 5F 04 30 01 5D 04 31 00 5D 04 32 00 61 04 33 00 62 04 34 00 64 04 35 00 5A 04 36 01 5A 04 37 00 5A 04 38 00 5E 04 39 00 65 04 3A 00 63 04 3B 01 63 04 3C 00 65 04 3D 01 65 04 3E 00 5E 04 3F 01 61 04 40 01 5F 04 41 00 65 04 42 00 65 04 43 00 63 04 44 01 63 04 45 00 5D 04 46 01 5D 04 47 00 61 04 48 00 64 04 49 00 64 04 4A 01 66 04 4B 00 66 04 4C 01 5A 04 4D 01 5A 04 4E 00 5A 04 4F 00 5A 04 50 01 5A 04 51 00 5A 04 52 00 65 04 53 00 60 04 54 01 5F 04 55 00 65 04 56 01 66 04 57 00 5A 04 58 00 5A 04 59 00 60 04 5A 01 60 04 47 00 61 04 04 00 5A 04 46 01 5A 04 4A 01 5A 04 4B 00 5A 04 45 00 5D 04 2A 01 5A 04 29 00 5A 04 5B 01 5A 04 28 00 5A 04 5C 00 5A 04 5D 00 5A 04 33 00 62 04 49 00 64 04 23 00 61 04 24 01 61 04 45 00 5D 04 46 01 5D 04 31 00 5D 04 30 01 5D 04 5E 01 5A 04 5F 00 5A 04 60 01 5A 04 61 00 5A 04 62 01 5A 04 63 00 5A 04 64 00 5A 04 65 00 5A 04 66 00 5A 04 67 01 5A 04 68 00 5A 04 69 01 5A 04 6A 01 5A 04 6B 00 5A 04 6C 00 5A 04 6D 00 5A 04 6E 00 5A 04 6F 01 5A 04 70 00 5A 04 71 00 5A 04 72 01 5A 04 73 00 5A 04 74 01 5A 04 75 01 5A 04 76 01 5A 04 77 00 5A 04 78 00 5A 04 79 01 5A 04 7A 00 5A 04 7B 01 5A 04 7C 00 5A 04 7D 01 5A 04 7E 00 5A 04 7F 00 5A 04 80 01 5E 04 11 00 5A 04 11 00 5A 04 12 01 5F 04 12 01 5F 04 18 00 5D 04 18 00 5D 04 19 01 5D 04 19 01 5D 04 57 00 5A 04 57 00 5A 04 31 00 5D 04 31 00 5D 04 30 01 5D 04 30 01 5D 04 45 00 5D 04 45 00 5D 04 46 01 5D 04 46 01 5D 04 5C 00 5A 04 5C 00 5A 04 81 00 5A 04 82 01 5A 04 83 01 5A 04 84 01 5A 04 85 00 5A 04 86 00 5A 04 87 01 5A 04 88 00 5A 04 89 00 5A 04 8A 00 5A 04 8B 00 5A 04 8C 00 5A 04 8D 01 DB 04 8E 00 5A 04 8F 01 5A 04 90 00 5A 04 91 01 5A 04 92 00 5A 04 93 01 5A 04 94 00 5A 04 95 00 67 04 96 01 67 04 97 00 5A 04 98 00 5A 04 99 00 5A 04 9A 00 5A 04 9B 01 5A 04 9C 00 5A 04 94 00 5A 04 49 00 5A 04 61 00 5A 04 9B 01 5A 04 9D 00 5A 04 9E 01 5A 04 9F 00 5A 04 A0 01 5A 04 A1 00 5A 04 A2 01 5A 04 A3 00 5A 04 A4 01 5A 04 A5 00 5A 04 A6 01 5A 04 A7 00 5A 04 A8 01 5A 04 A9 00 5A 04 AA 00 5A 04 AB 00 5A 04 AC 01 5A 04 AD 01 5A 04 AE 00 5A 04 AF 01 5A 04 B0 00 5A 04 B1 00 5A 04 B2 01 5A 04 B3 01 5A 04 B4 00 5A 04 B5 00 5A 04 B6 01 5A 04 B7 00 5A 04 B8 01 5A 04 B9 00 5A 04 32 00 61 04 3F 01 61 04 2E 01 62 04 2B 00 65 04 BA 00 5A 04 20 00 DC 04 BB 00 5A 04 94 00 5A 04 There's 236 classes, and 236 entries. The first byte is trainer battle sprite (set in a071). These are their static images. Second byte is ???? (not gender...) Third&Fourth (one word) is their eyecatch assignment. Now, for trainer music: can't find anything obvious in the arm9, looking in the overlays now. probably in the arm9 in a different format than the eyecatch table Link to comment Share on other sites More sharing options...
Jacusiek Posted December 29, 2012 Author Share Posted December 29, 2012 (edited) Wow, you really know what you are doing. Well, I can just wait until you will find this, because I completely don't know what to do. I wonder if all trainers have the same music bytes, so eg. XX YY ZZ (I don't know the values of that bytes) are bytes of that music and it is set to every trainer, who isn't special, or if every trainer has its own music bytes which sounds the same, but is different in bytes. In first case it will be able to change music, but it will change music for them all, in the second one it will change music for each trainer separately, so I can do eg. Dancer has Johto Gym Leader and Hiker Hoenn. The second option is better, but the first is still better than nothing. Edited February 25, 2013 by Jacusiek Link to comment Share on other sites More sharing options...
Andibad Posted December 29, 2012 Share Posted December 29, 2012 decompressing overllay and arm using CUE and dscemp is working but the problem compressing back, overllay is have table if compressed overllay is different size, repack rom is need more time , that the problem . but thank you Kaphotics , i was found that but i don't know right to read it :3 Link to comment Share on other sites More sharing options...
Bond697 Posted December 29, 2012 Share Posted December 29, 2012 don't de/compress the arm9 and overlays with anything but blz. http://gbatemp.net/threads/nintendo-ds-gba-compressors.313278/ it's the only thing that does it right both ways. that, or change the overlay table for what you decompress so it won't see them as encrypted anymore. e: like i said, they changed the trainer music system from bw1. there's extra functions and it's very different. this is the one from bw1: http://projectpokemon.org/forums/showthread.php?22308-Pok%E9mon-Black-and-White-Assigning-different-Trainer-Music&p=146770&viewfull=1#post146770 this applies to both kinda of music. Link to comment Share on other sites More sharing options...
Jacusiek Posted January 7, 2013 Author Share Posted January 7, 2013 Did You find out how to change music? Link to comment Share on other sites More sharing options...
YewYewAxew Posted May 26, 2013 Share Posted May 26, 2013 Can someone tell me where to find E4 music? I need to mute it out to add my own music Link to comment Share on other sites More sharing options...
sophist Posted January 30 Share Posted January 30 Does anyone know how to change the background and music to be WCS in Wi-Fi battles? KazoWAR made cheats to change the sprite and music, but WCS is entirely absent and so are backgrounds: Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now