Reset-to-Menu function and automating it with GDEMU?
Moderators: pcwzrd13, deluxux, VasiliyRS
-
- lithium
- Posts: 36
- Joined: Wed Nov 06, 2019 8:49 pm
- Dreamcast Games you play Online: Quake 3 Arena
Reset-to-Menu function and automating it with GDEMU?
I have a DC inside of my arcade cabinet and I love it to death.
You know how you could press the facebuttons+start to reset to the main menu so that it rolls the intro scenes (much like a normal cab after 0 credits)? I'm trying to see if it's possible to automatically "press" those buttons if the system is untouched/idle for 5 minutes.
I know that GDEMU contains a text file for some functions (like boot to gdmenu or directly to game). If someone can point me in the right direction, I would love to know if it would be possible to leverage GDEMU by building that script file to include some kind of timed reset-on-idle feature?
You know how you could press the facebuttons+start to reset to the main menu so that it rolls the intro scenes (much like a normal cab after 0 credits)? I'm trying to see if it's possible to automatically "press" those buttons if the system is untouched/idle for 5 minutes.
I know that GDEMU contains a text file for some functions (like boot to gdmenu or directly to game). If someone can point me in the right direction, I would love to know if it would be possible to leverage GDEMU by building that script file to include some kind of timed reset-on-idle feature?
Last edited by ZTylerDurden on Thu Apr 28, 2022 1:12 pm, edited 1 time in total.
- dubcity
- Super Sonic
- Posts: 1578
- Joined: Sun May 03, 2020 2:01 pm
Re: Reset-to-Menu function and automating it with GDEMU?
As far as I know this isn't possible. I think it would have to be in gdemu firmware. There is also talk of adding reset code into homebrew also.
-
- lithium
- Posts: 36
- Joined: Wed Nov 06, 2019 8:49 pm
- Dreamcast Games you play Online: Quake 3 Arena
Re: Reset-to-Menu function and automating it with GDEMU?
dubcity wrote:As far as I know this isn't possible. I think it would have to be in gdemu firmware. There is also talk of adding reset code into homebrew also.
Appreciate the reply. Do you have any advice on how to possibly get in contact with the gdemu folks (Deunan?) to add it to a list of possible enhancements like a git request? The ini file has time-related functions already so it wouldn't hurt to ask.
Also, what do you mean by adding reset into homebrew? Like homebrew games where you inject the .gdi with some reset code or?
Last edited by ZTylerDurden on Thu Apr 28, 2022 12:36 pm, edited 1 time in total.
- Ian Micheal
- Developer
- Posts: 6009
- Joined: Wed Dec 19, 2018 5:23 am
- Location: USA
- Contact:
Re: Reset-to-Menu function and automating it with GDEMU?
No where you rebuild from source and add it to homebrew all of mine will have it going forward and be updated it with it.. NO injecting it's rebuild from source for homebrew adding the coded needed..
-
- lithium
- Posts: 36
- Joined: Wed Nov 06, 2019 8:49 pm
- Dreamcast Games you play Online: Quake 3 Arena
Re: Reset-to-Menu function and automating it with GDEMU?
Ian Micheal wrote:No where you rebuild from source and add it to homebrew all of mine will have it going forward and be updated it with it.. NO injecting it's rebuild from source for homebrew adding the coded needed..
What's up Ian?! Thanks for the reply and appreciate your work.
Honestly I've done a bit of tinkering with DC but haven't delved into homebrew for DC. If you got a link to the project, I'll play catch up. In other words, it sounds like this is something I can use in the future so it's definitely valuable to me.
- Ian Micheal
- Developer
- Posts: 6009
- Joined: Wed Dec 19, 2018 5:23 am
- Location: USA
- Contact:
Re: Reset-to-Menu function and automating it with GDEMU?
Add this under your int mainZTylerDurden wrote:Ian Micheal wrote:No where you rebuild from source and add it to homebrew all of mine will have it going forward and be updated it with it.. NO injecting it's rebuild from source for homebrew adding the coded needed..
What's up Ian?! Thanks for the reply and appreciate your work.
Honestly I've done a bit of tinkering with DC but haven't delved into homebrew for DC. If you got a link to the project, I'll play catch up. In other words, it sounds like this is something I can use in the future so it's definitely valuable to me.
Code: Select all
cont_btn_callback(0, CONT_START | CONT_A | CONT_B | CONT_X | CONT_Y, (cont_btn_callback_t)arch_reboot);
-
- lithium
- Posts: 36
- Joined: Wed Nov 06, 2019 8:49 pm
- Dreamcast Games you play Online: Quake 3 Arena
Re: Reset-to-Menu function and automating it with GDEMU?
Holy shit, thanks. I got a DC with gdemu, that's it. I don't know much else about DC modding. You have a link to a monkey-see-monkey-do hombrew101 link for me to implement that line of code?Ian Micheal wrote:Add this under your int mainZTylerDurden wrote:Ian Micheal wrote:No where you rebuild from source and add it to homebrew all of mine will have it going forward and be updated it with it.. NO injecting it's rebuild from source for homebrew adding the coded needed..
What's up Ian?! Thanks for the reply and appreciate your work.
Honestly I've done a bit of tinkering with DC but haven't delved into homebrew for DC. If you got a link to the project, I'll play catch up. In other words, it sounds like this is something I can use in the future so it's definitely valuable to me.
Code: Select all
cont_btn_callback(0, CONT_START | CONT_A | CONT_B | CONT_X | CONT_Y, (cont_btn_callback_t)arch_reboot);
- Ian Micheal
- Developer
- Posts: 6009
- Joined: Wed Dec 19, 2018 5:23 am
- Location: USA
- Contact:
Re: Reset-to-Menu function and automating it with GDEMU?
I dont have any links to anything ?ZTylerDurden wrote:Holy shit, thanks. I got a DC with gdemu, that's it. I don't know much else about DC modding. You have a link to a monkey-see-monkey-do hombrew101 link for me to implement that line of code?Ian Micheal wrote:Add this under your int mainZTylerDurden wrote:
What's up Ian?! Thanks for the reply and appreciate your work.
Honestly I've done a bit of tinkering with DC but haven't delved into homebrew for DC. If you got a link to the project, I'll play catch up. In other words, it sounds like this is something I can use in the future so it's definitely valuable to me.
Code: Select all
cont_btn_callback(0, CONT_START | CONT_A | CONT_B | CONT_X | CONT_Y, (cont_btn_callback_t)arch_reboot);
-
- lithium
- Posts: 36
- Joined: Wed Nov 06, 2019 8:49 pm
- Dreamcast Games you play Online: Quake 3 Arena
Re: Reset-to-Menu function and automating it with GDEMU?
Ian Micheal wrote:I dont have any links to anything ?ZTylerDurden wrote:Holy shit, thanks. I got a DC with gdemu, that's it. I don't know much else about DC modding. You have a link to a monkey-see-monkey-do hombrew101 link for me to implement that line of code?Ian Micheal wrote:
Add this under your int main
Code: Select all
cont_btn_callback(0, CONT_START | CONT_A | CONT_B | CONT_X | CONT_Y, (cont_btn_callback_t)arch_reboot);
Say no more my dude. I'm on it.
-
- Black Mesa
- Posts: 1497
- Joined: Sat Aug 02, 2008 7:31 am
Re: Reset-to-Menu function and automating it with GDEMU?
if you guys solved it already, cool.
more than likely ian got it.
what if you made a small .cdi with incorrect lba? this would force reset.
or build a cdi using only ginreset.bin or ginxfer.bin?
ginxfer(transfer to menu) ginreset(reset console)
ginxfer basically does this : CONT_START | CONT_A | CONT_B | CONT_X | CONT_Y (that button combo reset thingy)
well ginxfer transfers to the loader menu but i'm sure you could mod it to work?
then maybe a script to load this .cdi after idle?
idk lol
can you not reset gdemu from menu? (sry idk i'm getting a gdemu next month)
if not building these cdis should do the trick?
or i could be wrong and if so oh well.
lmk.
more than likely ian got it.
what if you made a small .cdi with incorrect lba? this would force reset.
or build a cdi using only ginreset.bin or ginxfer.bin?
ginxfer(transfer to menu) ginreset(reset console)
ginxfer basically does this : CONT_START | CONT_A | CONT_B | CONT_X | CONT_Y (that button combo reset thingy)
well ginxfer transfers to the loader menu but i'm sure you could mod it to work?
then maybe a script to load this .cdi after idle?
idk lol
can you not reset gdemu from menu? (sry idk i'm getting a gdemu next month)
if not building these cdis should do the trick?
or i could be wrong and if so oh well.
lmk.