ROM Hack Suggestion Patch for Octopath Traveler Prologue Demo to remove 3 hour lock?

BelmontSlayer

Pokémon Master
OP
Member
Joined
May 11, 2006
Messages
306
Trophies
1
Age
34
Location
Memememe Island
XP
1,280
Country
Thailand
So the prologue demo for Octopath Traveler just hit the eshop, it's 1.6GB and has a lot of the content from the full game. There is a time lock after you play for 3 hours though, seems like it wouldn't be too hard to remove. It's tied to the time played in your save file apparently. Unfortunately it's beyond my romhacking skills and I'm not too sure where to look, anyone have any experience patching things like this out? I can provide a save dump if needed.
 
Last edited by BelmontSlayer,
  • Like
Reactions: PacPera

scionae

*clicking circles*
Member
Joined
Dec 28, 2016
Messages
667
Trophies
0
XP
2,153
Country
Italy
I would look forward to it!

--------------------- MERGED ---------------------------

LayeredFS is gonna be a thing soon enough, so I hope someone can remove the limit with it!
 
Last edited by scionae,

BelmontSlayer

Pokémon Master
OP
Member
Joined
May 11, 2006
Messages
306
Trophies
1
Age
34
Location
Memememe Island
XP
1,280
Country
Thailand
LayeredFS is gonna be a thing soon enough, so I hope someone can remove the limit with it!
Since the time limit is tied to the save file, I'm hoping there's a way to patch it out from there! LayeredFS will be amazing though. I love your avatar btw, Kang Tae Lee is so gorgeous!
 
Last edited by BelmontSlayer,
  • Like
Reactions: pandavova

ut2k4master

Lord Tourettes
Member
Joined
Feb 20, 2010
Messages
1,723
Trophies
2
XP
3,790
Country
Germany
theres more than just the time limit though that keeps you from progressing, youre still limited to chapter 1 of each character and only a few of the sidequests. traveling outside of the starting area is limited as well
 
  • Like
Reactions: OblivionReign

BelmontSlayer

Pokémon Master
OP
Member
Joined
May 11, 2006
Messages
306
Trophies
1
Age
34
Location
Memememe Island
XP
1,280
Country
Thailand
theres more than just the time limit though that keeps you from progressing, youre still limited to chapter 1 of each character and only a few of the sidequests. traveling outside of the starting area is limited as well
Yep, but being able to play all 8 characters as much as you want for that first chapter of each would be awesome!
 

scionae

*clicking circles*
Member
Joined
Dec 28, 2016
Messages
667
Trophies
0
XP
2,153
Country
Italy
Since the time limit is tied to the save file, I'm hoping there's a way to patch it out from there! LayeredFS will be amazing though. I love your avatar btw, Kang Tae Lee is so gorgeous!
I know, I love her <3
I'm gonna try and see if I can find something with Checkpoint btw, not promising anything! ^^

--------------------- MERGED ---------------------------

theres more than just the time limit though that keeps you from progressing, youre still limited to chapter 1 of each character and only a few of the sidequests. traveling outside of the starting area is limited as well
Well, we can play all the characters! It's a good thing to see if you will get hooked or not, three hours is not enough for a game like that :)
 
  • Like
Reactions: BelmontSlayer

BelmontSlayer

Pokémon Master
OP
Member
Joined
May 11, 2006
Messages
306
Trophies
1
Age
34
Location
Memememe Island
XP
1,280
Country
Thailand
I just had a cool idea! Start the game, make a backup of a save right at the beginning. Play through your chosen character, then once you hit the 3 hour mark inject the save back and choose a different character. Should get us some extra playtime till someone figures this out.

do you have to pre-order to get access to the demo? I can't find it in the eShop....all I see is pre-order
Nope, it's under the new releases section. Octopath Traveler Prologue Demo is the name, it's not listed under the main game.

you could send it to the switch for download from the site, https://www.nintendo.com/games/detail/octopath-traveler-switch
I wonder if that's the first demo or the new one though.
 
Last edited by BelmontSlayer,

cac0714

Active Member
Newcomer
Joined
May 26, 2018
Messages
44
Trophies
0
XP
594
Country
United States
I just had a cool idea! Start the game, make a backup of a save right at the beginning. Play through your chosen character, then once you hit the 3 hour mark inject the save back and choose a different character. Should get us some extra playtime till someone figures this out.


Nope, it's under the new releases section. Octopath Traveler Prologue Demo is the name, it's not listed under the main game.


I wonder if that's the first demo or the new one though.
I hope that works! It would be a nice was to try all the characters. I wonder, can you edit the save time?
 
Last edited by cac0714,

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,628
Country
Germany
In the main: ".text:000000000008F1A4 CheckTrialTimeOver"

At the end, it calls sub_1898C, this function returns a bool, if the trial is over or not.

so, patch this function:
Code:
.text:000000000001898C sub_1898C                               ; CODE XREF: CheckTrialTimeOver+A0↓p
.text:000000000001898C ; __unwind {
.text:000000000001898C                 MOV             W8, #0x2A2F
.text:0000000000018990                 CMP             W1, W8
.text:0000000000018994                 CSET            W0, GT
.text:0000000000018998                 RET
.text:0000000000018998 ; } // starts at 1898C
.text:0000000000018998 ; End of function sub_1898C

bool __fastcall sub_1898C(__int64 a1, signed int a2)
{
  return a2 > 10799; //10800  = 3 hours in seconds
}
or patch the check:
Code:
.text:000000000008F244                 BL              sub_1898C
.text:000000000008F248                 AND             W8, W0, #1
to have an unlimited trial

in short, use nx2elf.exe to get the elf, then use a hex editor to patch the elf:
Code:
0x8F9D0:
change
08 00 00 12 //AND W8, W0, #1
to
08 00 80 52 //MOV W8, 0

Of couse i just used a little bit ida pro, i didn't test if this works and i have no save over 3 hours.
 

Int3

Member
Newcomer
Joined
Jan 29, 2013
Messages
17
Trophies
1
Age
31
XP
319
Country
Canada
"nx2elf" converts a Switch binary to an elf so that it can be analyzed but how did you extract the binary from the game in the first place?
 

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,628
Country
Germany
  • Like
Reactions: Subtle Demise

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Yep, but being able to play all 8 characters as much as you want for that first chapter of each would be awesome!

I know, I love her <3
I'm gonna try and see if I can find something with Checkpoint btw, not promising anything! ^^

--------------------- MERGED ---------------------------


Well, we can play all the characters! It's a good thing to see if you will get hooked or not, three hours is not enough for a game like that :)
Yes, especially since the save data from this demo transfers to the full game.
In the main: ".text:000000000008F1A4 CheckTrialTimeOver"

At the end, it calls sub_1898C, this function returns a bool, if the trial is over or not.

so, patch this function:
Code:
.text:000000000001898C sub_1898C                               ; CODE XREF: CheckTrialTimeOver+A0↓p
.text:000000000001898C ; __unwind {
.text:000000000001898C                 MOV             W8, #0x2A2F
.text:0000000000018990                 CMP             W1, W8
.text:0000000000018994                 CSET            W0, GT
.text:0000000000018998                 RET
.text:0000000000018998 ; } // starts at 1898C
.text:0000000000018998 ; End of function sub_1898C

bool __fastcall sub_1898C(__int64 a1, signed int a2)
{
  return a2 > 10799; //10800  = 3 hours in seconds
}
or patch the check:
Code:
.text:000000000008F244                 BL              sub_1898C
.text:000000000008F248                 AND             W8, W0, #1
to have an unlimited trial

in short, use nx2elf.exe to get the elf, then use a hex editor to patch the elf:
Code:
0x8F9D0:
change
08 00 00 12 //AND W8, W0, #1
to
08 00 80 52 //MOV W8, 0

Of couse i just used a little bit ida pro, i didn't test if this works and i have no save over 3 hours.
Thanks for doing all that! Can likely make an exeFS mod for that.
 
  • Like
Reactions: Type_O_Dev

scionae

*clicking circles*
Member
Joined
Dec 28, 2016
Messages
667
Trophies
0
XP
2,153
Country
Italy
So, we just need to convert the Switch savefile extracted with Checkpoint (homebrew) to this "elf" and then open it with an Hex Editor? seems easy!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    The Real Jdbye @ The Real Jdbye: loved nes remix, but hated having to play Baseball, Tennis and Golf in order to progress