Tecmonster 199 Posted July 28, 2016 Does anyone know how to properly change St. Louis to Los Angeles in the code? I can use L.A. since it uses less space than St. Louis, but Los Angeles takes up more space, so naturally it causes problems. 2 SBlueman and gojiphen malor reacted to this Share this post Link to post Share on other sites
Baron von Lector 402 Posted July 28, 2016 I don't know how to change start and end points for names, but if you have to be creative, maybe try "L.A. Rams." 1 SBlueman reacted to this Share this post Link to post Share on other sites
Tecmonster 199 Posted July 28, 2016 Yeah, that's the way I have it right now. It works fine, but just looks a little weird with the extra space. 1 SBlueman reacted to this Share this post Link to post Share on other sites
buck 2,051 Posted July 28, 2016 (edited) it's just simple pointers.  with trial and error (and code logger) I figured it out.  don't you hack plays and stuff?  this is like a lot easier than that, it's just tedious.  you're gonna have to shift everything (all the sets of pointers) by the same amount that you add the extra letters, for anything that comes after LOS ANGELES.  how about you give it a shot and see what you can do? if you can't figure it out I will post the code. Edited July 28, 2016 by buck 1 SBlueman reacted to this Share this post Link to post Share on other sites
Tecmonster 199 Posted July 28, 2016 Yeah, I've tried and feel stupid, but it just ain't working for me. I read a pambazos thread about it but it seems like it might only apply to the 28-team rom. Maybe because it's the NFC West, the pointers locations are off? It's confusing because, for instance, I move the pointers and SEATTLE checks out fine, but ARIZONA gets messed up, even though I moved its pointer by the same distance as Seattle's.  I don't know. Don't worry about posting the code. I'll either figure it out, or I'll just use "L.A."  I only asked because I figured someone had already done it and had it readily available. 1 SBlueman reacted to this Share this post Link to post Share on other sites
bruddog 2,943 Posted July 28, 2016 Pm me your rom... Share this post Link to post Share on other sites
bruddog 2,943 Posted July 29, 2016 Here is a faster way to do it.  1. Save team_text.asm attached to folder. 2. Copy asm6.exe to folder with source 3. Modify team_text.asm to suit your needs. (Can be opened with any old text editor (notepad++, etc) 3. Open CMD prompt and navigate to folder 4. Type asm6 team_text.asm   5. Open resulting bin file with hex editor. 6. Copy and paste entire contents of .bin file to location at 0x1FC10. Because who wants to be manually adjusting every pointer. Very tedious as buck said.  The attached team_tex.bin has the changes you need.  team_text.asm asm6.exe team_text.bin 2 buck and SBlueman reacted to this Share this post Link to post Share on other sites
Tecmonster 199 Posted July 29, 2016 Awesome, thanks bruddog. Share this post Link to post Share on other sites
gojiphen malor 488 Posted October 3, 2017 On 7/28/2016 at 8:24 PM, bruddog said: Here is a faster way to do it.  1. Save team_text.asm attached to folder. 2. Copy asm6.exe to folder with source 3. Modify team_text.asm to suit your needs. (Can be opened with any old text editor (notepad++, etc) 3. Open CMD prompt and navigate to folder 4. Type asm6 team_text.asm   5. Open resulting bin file with hex editor. 6. Copy and paste entire contents of .bin file to location at 0x1FC10. Because who wants to be manually adjusting every pointer. Very tedious as buck said.  The attached team_tex.bin has the changes you need.  team_text.asm asm6.exe team_text.bin  my .bin looks like this : what I do wrong? lol  Share this post Link to post Share on other sites
bruddog 2,943 Posted October 3, 2017 It looks like you just renamed the .txt file as a bin file... Share this post Link to post Share on other sites
gojiphen malor 488 Posted October 3, 2017 1 minute ago, bruddog said: It looks like you just renamed the .txt file as a bin file... Going to re-trace my steps : Using this .asm team_text.asm 1) Start > CMD> asm6 team_text.asm bin team_text.bin (all files are in C\User) 2) Open resulting bin in Hex Editor.  maybe I am editing the text incorrectly?  Share this post Link to post Share on other sites
bruddog 2,943 Posted October 3, 2017 maybe... Â at the command prompt all you need to type is asm6 team_text.asm. It creates the bin automatically Share this post Link to post Share on other sites
gojiphen malor 488 Posted October 3, 2017 12 minutes ago, bruddog said: at the command prompt all you need to type is asm6 team_text.asm. It creates the bin automatically  i'm getting an error still. But I did manage to create a .bin this time with just the command you gave. Does the .asm need to be made from my own base rom?  Share this post Link to post Share on other sites
bruddog 2,943 Posted October 3, 2017 The asm file is just a text file. Looks like you have some errora with labels.        1 gojiphen malor reacted to this Share this post Link to post Share on other sites
gojiphen malor 488 Posted October 3, 2017 (edited) 2 hours ago, bruddog said: The asm file is just a text file. Looks like you have some errora with labels.  I got it now!! I appreciate your help, bruddog! This has been racking my brain lol.  Edited October 3, 2017 by gojiphen malor Share this post Link to post Share on other sites
gojiphen malor 488 Posted October 3, 2017 (edited) I didn't realize that you only edit the names in quotations in the asm file. I was editing every instance of SAN_DIEGO to LOS_ANGELES. Thanks again, bruddog! Â Edited October 3, 2017 by gojiphen malor 1 bruddog reacted to this Share this post Link to post Share on other sites
buck 2,051 Posted October 3, 2017 dang, somehow this slipped through the cracks! thanks bruddog. I will be trying to use this soon. 2 gojiphen malor and bruddog reacted to this Share this post Link to post Share on other sites
bruddog 2,943 Posted October 3, 2017 One thing to be careful of is i think if too many team names are too long you would run over into another section.  Like team initials start at location  XXXX  Team citys at YYYY  Team mascots at  ZZZZ   or something like that... not near computer. You want to make sure each thing still starts at the same location or youd have tp adjust all the reference locations in code. 1 1 SBlueman and gojiphen malor reacted to this Share this post Link to post Share on other sites
gojiphen malor 488 Posted October 3, 2017 2 minutes ago, bruddog said: One thing to be careful of is i think if too many team names are too long you would run over into another section.  Like team initials start at location  XXXX  Team citys at YYYY  Team mascots at  ZZZZ   or something like that... not near computer. You want to make sure each thing still starts at the same location or youd have tp adjust all the reference locations in code.  I noticed this yes. Jumbled graphics when I did some changes, but was able to get the changes I needed in. Very grateful! Share this post Link to post Share on other sites
SBlueman 184 Posted October 8, 2017 (edited) Thanks for the instructions @bruddog worked like a charm! Here's an .ips patch people can use for this if the command prompt and hex editing is a bit intimidating:  la-name-fix.ips  Edited October 8, 2017 by SBlueman 1 gojiphen malor reacted to this Share this post Link to post Share on other sites
fgqb#19nyj 14 Posted January 12, 2018 Hey, SBlueman, can you make another patch for the Las Vegas Raiders? I would appreciate it. Â By the way, the Los Angeles Chargers are listed as Sos Angeles Chargers in the team data screen. just fyi. Share this post Link to post Share on other sites