Author Topic: Need help modifying a .tns file  (Read 4869 times)

0 Members and 1 Guest are viewing this topic.

Offline Guy121952

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Need help modifying a .tns file
« on: December 01, 2018, 03:31:18 am »
One simple thing I'd like to ask for is to please help with changing the source code of NESpire and compiling it back to .tns form
I want to change the default controls of the NESpire but there is no option to change the controls without modifying the code, which I definitely can't do on my own since I probably have the lowest knowledge of coding in this forum :banghead:

If by chance someone here has free time and is willing to help a bit, I've attached the .tns file along with the source code.
*This is what I mainly want to change:
-Game controls:
    Ans/(-)    = B
    ~/Enter   = A
    Sto>/Var = Select
    Clear/Del = Start
*And this is the extra stuff I want to change (not required but would be appreciated if you want to add this too):
-Atleast 1 savestate
(Y to save and Z to load or a savestate menu)
-Sometimes the buttons stop working but the game is still running then when you quit, the calculator completely freezes. Maybe there's something in the code that can easily modified to stop that???

and that's all...  ::)

Original source: http://www.ticalc.org/archives/files/fileinfo/432/43217.html
Original author: Korath_3 ([email protected])
« Last Edit: December 01, 2018, 03:43:20 am by Guy121952 »

Offline Kirbybirb

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: Need help modifying a .tns file
« Reply #1 on: December 26, 2019, 03:06:17 pm »
If you'd like, you can check out this mod to an older version of NESpire: https://github.com/tangrs/nespire-tangrs-mod

This modifies controls a bit, not necessarily to what you want, but if you're right-handed it's a fairly comfortable configuration. It also addresses the issue of save states

But that being said, I'd definitely like to figure out what's up with the control issues. Directional input stops working, but attempting to exit freezes the calculator and forces you to reboot, yeah? The same has happened to me more times than I can count, making it very frustrating to play games which require constant input or RPGs where you can save, but not from the on-screen menu.