The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page [Pt/HGSS] Reusable tm and deletable hm?

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old March 7th, 2019 (6:25 PM).
PokeCTR PokeCTR is offline
 
Join Date: Feb 2019
Posts: 11
Hi guys. Not sure if this is the right place to ask about this. Is it possible to make tm reusable? And hm deletable? Like what is possible for Fire Red.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old March 8th, 2019 (12:52 AM).
Delta231's Avatar
Delta231 Delta231 is offline
A noob
 
Join Date: May 2016
Location: India
Gender: Male
Nature: Bold
Posts: 682
Mind Crystal a Soul Silver hack did it but the source code is private currently.
__________________
HGSS OWs in FR Style
Fire Red NSE Bookmarks


A supporter of


Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old March 8th, 2019 (7:42 AM).
PokeCTR PokeCTR is offline
 
Join Date: Feb 2019
Posts: 11
Quote:
Originally Posted by Delta231 View Post
Mind Crystal a Soul Silver hack did it but the source code is private currently.
Yes Indeed, it's because I played a bit this game that I was wondering if there was a tutorial how to do it.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old March 8th, 2019 (6:10 PM).
Buffel Saft's Avatar
Buffel Saft Buffel Saft is offline
 
Join Date: Sep 2013
Gender: Male
Posts: 1,550
Meromero did actually release the source code for most of Mind Crystal's ASM changes, including the reusable TMs routine - it's all included in the download. There's a post in one of the Mind Crystal threads (either the one here or the Project Pokemon one) that hints at how to use the routines. IIRC to use it you need both a modified version of NSMBe, which is linked in that post, and the "arena offset" which is the RAM address that contains a pointer to the start of HGSS's variable RAM area (which is where the overlay files are loaded to when in use). The latter is very hard to find unless you're familiar with ASM.
__________________
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old March 9th, 2019 (8:21 AM).
PokeCTR PokeCTR is offline
 
Join Date: Feb 2019
Posts: 11
Quote:
Originally Posted by Buffel Saft View Post
Meromero did actually release the source code for most of Mind Crystal's ASM changes, including the reusable TMs routine - it's all included in the download. There's a post in one of the Mind Crystal threads (either the one here or the Project Pokemon one) that hints at how to use the routines. IIRC to use it you need both a modified version of NSMBe, which is linked in that post, and the "arena offset" which is the RAM address that contains a pointer to the start of HGSS's variable RAM area (which is where the overlay files are loaded to when in use). The latter is very hard to find unless you're familiar with ASM.
Thanks! I will check this out. But I guess I will probably not be able to do it since I'm not really familiar with ASM.
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old March 9th, 2019 (4:02 PM).
Buffel Saft's Avatar
Buffel Saft Buffel Saft is offline
 
Join Date: Sep 2013
Gender: Male
Posts: 1,550
Quote:
Originally Posted by PokeCTR View Post
Thanks! I will check this out. But I guess I will probably not be able to do it since I'm not really familiar with ASM.
No problem! Also it turns out the post I was referring to was actually here rather than in a Mind Crystal thread. Hope it helps!
__________________
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old March 10th, 2019 (4:56 PM). Edited March 10th, 2019 by PokeCTR.
PokeCTR PokeCTR is offline
 
Join Date: Feb 2019
Posts: 11
Quote:
Originally Posted by Buffel Saft View Post
No problem! Also it turns out the post I was referring to was actually here rather than in a Mind Crystal thread. Hope it helps!
Yes thank you so much! But I have a problem running NSMB Editor :/ The same problem as this guy I think: https://nsmbhd.net/thread/4649-makefile-122-build-error-2/ I probably just don't do things right... (it's the error I have when trying to run "make and insert"
EDIT: nevermind I found it: https://nsmbhd.net/thread/4505-devkitpro-error/ (thanks to MeroMero again :D ).
At line 69 in the Makefile, you should see
ASFLAGS := -g $(ARCH)


Then replace
$(ARCH)

with
-march=armv5te -mtune=arm946e-s

and BLX instructions will be taken into account again.
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old March 11th, 2019 (9:45 AM). Edited March 11th, 2019 by PokeCTR.
PokeCTR PokeCTR is offline
 
Join Date: Feb 2019
Posts: 11
Ok so I tried to insert a asm routine (the 60fps from MindCrystal to be exact) into a french version of SoulSilver. I put the .s file into the source folder (of ASMPatch template-master) and when I try to make and insert, it looks like it worked BUT when I try to open the rom with a emulator, I have a white screen.. I found this: https://nsmbhd.net/thread/3723-solved-asm-hacks-crashes-my-game-lol/ the solution might be to delete nonintendo.cpp. That's what I did and I don't have anymore a white screen BUT a black screen instead hahahaha. I tried to delete the others files into the source folder to only have the 60fps.s file and the result is the same: black screen.
There is probably something I don't do right... Or did I miss a step? I didn't think it would be that hard to insert an asm routine :/ Maybe It's just to complicated for a noob and I should just give up haha.
EDIT: The thing I forgot about is the arena starting address I think (like mentioned above). I found this ( https://nsmbhd.net/thread/3023-how-to-find-arenaoffs/ ) but it's problably too complex for a noob like me.
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old July 17th, 2019 (12:18 PM). Edited July 17th, 2019 by BlazingMagmar.
BlazingMagmar's Avatar
BlazingMagmar BlazingMagmar is offline
 
Join Date: Feb 2009
Gender:
Posts: 115
Got the patch working on a french SS rom, but Mero didnt mention that u need to edit the "arenaoffs.txt" in the ASM patchtemplate and change it to '020D2C5C'.

Now we just need the english offsets.
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:22 AM.