Kneesnap / deltarune-circuit-sword

A port that allows running Deltarune Chapter 1 on the Circuit Sword raspberry-pi based console.
5 stars 0 forks source link

Undertale controller inputs #2

Closed TheOneAnthony closed 3 years ago

TheOneAnthony commented 3 years ago

Deltarune works perfectly but loading it with Undertale (while it works) only allows keyboard input while the controller is ignored. i know I have to edit the data to fix this (which I'm guessing is why you cant distribute it) s, but do you have the code you used for Undertale (the gml scrips that you changed for the controls) that you used with this for the controller inputs?

by the way amazing work.

TheOneAnthony commented 3 years ago

actually i just realized. could you just make a patch file like .bps patch to turn existing Undertale Data file into the one needed to have working controls?

TheOneAnthony commented 3 years ago

that way you would need to worry about any copyright since a .bps would require someone to already have the data file for the game.

Kneesnap commented 3 years ago

Unfortunately, UTMT isn't byte-accurate, meaning this patchn would be as large as the game itself

On Sat, Feb 13, 2021, 12:28 PM TheOneAnthony notifications@github.com wrote:

actually i just realized. could you just make a patch file like .bps patch to turn existing Undertale Data file into the one needed to have working controls?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Kneesnap/deltarune-circuit-sword/issues/2#issuecomment-778673726, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSCIYIFI4WLKSIAQQFXY63S63OHLANCNFSM4WXRBNJQ .

TheOneAnthony commented 3 years ago

ah. I see. makes sense. how did you get the controls for undertale working then? I was able to find and modify the ones in deltarune easy, but i cant find anything for undertale's file.

Kneesnap commented 3 years ago

If I recall, I made functions/scripts and replaced all calls to input functions with my own functions. It sas annoying, but doable. What I did was make it check what key it was looking for, and so it would do the normal keyboard check in the function, but also the gamepad check. That way I could plug in a keyboard and it would work, but it would also work if I used the controls. If you prefer, you can also DM me on discord. Kneesnap#7540

On Sat, Feb 13, 2021, 12:48 PM TheOneAnthony notifications@github.com wrote:

ah. I see. makes sense. how did you get the controls for undertale working then? I was able to find and modify the ones in deltarune easy, but i cant find anything for undertale's file.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Kneesnap/deltarune-circuit-sword/issues/2#issuecomment-778676287, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSCIYLLTIOL6J7IML6QSQDS63QS7ANCNFSM4WXRBNJQ .

TheOneAnthony commented 3 years ago

Thanks. I'll message you when I get home On Sat, Feb 13, 2021, 5:08 PM Kneesnap notifications@github.com wrote:

If I recall, I made functions/scripts and replaced all calls to input functions with my own functions. It sas annoying, but doable. What I did was make it check what key it was looking for, and so it would do the normal keyboard check in the function, but also the gamepad check. That way I could plug in a keyboard and it would work, but it would also work if I used the controls. If you prefer, you can also DM me on discord. Kneesnap#7540

On Sat, Feb 13, 2021, 12:48 PM TheOneAnthony notifications@github.com wrote:

ah. I see. makes sense. how did you get the controls for undertale working then? I was able to find and modify the ones in deltarune easy, but i cant find anything for undertale's file.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/Kneesnap/deltarune-circuit-sword/issues/2#issuecomment-778676287 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABSCIYLLTIOL6J7IML6QSQDS63QS7ANCNFSM4WXRBNJQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Kneesnap/deltarune-circuit-sword/issues/2#issuecomment-778684914, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ2F7JWHNY4CVINUZNES3IDS63Z6LANCNFSM4WXRBNJQ .