Crosscode Hacking thread

Gamerjin

Well-Known Member
OP
Member
Joined
May 25, 2016
Messages
2,783
Trophies
1
XP
6,461
Country
United States
This will be a dedicated thread for the game crosscode, this is to avoid cluttering up the main request thread.
TID: 0100390058FC000
BID: 2E9C741713634269

it has come to my attention that there is a save editor, and that save editor can do both pc, and switch saves:
https://psrx.github.io/crosscode-save-editor/

and while it doesnt let me see how many of any item you have, it DOES allow you to add items, even items you didnt or (were suppose to yet) have.
oh, did i mention it can convert the save into a new game plus file and enable the hax with it?

[Breeze beta89 CrossCode 1.0.15 TID: 01003D90058FC000 BID: 2E9C741713634269]

[Cp Normal]
580F0000 02F745C8
580F1000 000009E4
580F1000 00000028
580F1000 000000B8
780F0000 00000024
680F0000 405B0000 00000000

[Cp Fire]
580F0000 02F745C8
580F1000 000009E4
580F1000 00000028
580F1000 000000B8
780F0000 0000002C
640F0000 405B0000 00000000

[Cp Cold]
580F0000 02F745C8
580F1000 000009E4
580F1000 00000028
580F1000 000000B8
780F0000 00000034
640F0000 405B0000 00000000

[Cp wave]
580F0000 02F745C8
580F1000 000009E4
580F1000 00000028
580F1000 000000B8
780F0000 0000003C
640F0000 405B0000 00000000

[Cp force]
580F0000 02F745C8
580F1000 000009E4
580F1000 00000028
580F1000 000000B8
780F0000 00000044
640F0000 405B0000 00000000

[sp pointer(asm-backed)]
580F0000 02F72D70
580F1000 000000C8
580F1000 00000080
780F0000 00000048
680F0000 40100000 00000000

[Hp pointer(asm-backed)]
580F0000 02F72D70
580F1000 000000C8
580F1000 00000080
580F1000 00000038
780F0000 00000008
680F0000 40100000 00000000

[exp pointer(asm-backed)]
580F0000 02F72D70
580F1000 000000C8
780F0000 000000A8
680F0000 40100000 00000000

[Remove/fix elemental overheat]
04000000 01D923BC D503201F
[safe to use on elemental overheating]

[sp maxed(level based) on use]
04000000 0171F470 1E684800
04000000 0171F470 FC440280
[while you can use both, the second one is more accessible]

[Inf Sp(asm hack)]
04000000 0172C9AC 6D441261
04000000 0172C9AC 1432DC7D
04000000 023E3BA0 6D441261
04000000 023E3BA4 FD002661
04000000 023E3BA8 FD002A61
04000000 023E3BAC 17CD2381

[disable refill]
04000000 023E3BA4 D503201F

[restore fade timer]
04000000 023E3BA8 D503201F

[dmg factor pointer(asm-backed)*]
580F0000 02F72D70
580F1000 000000C8
580F1000 00000080
780F0000 00000070
680E0000 00000000 00000000
discovered by @dsrules, if you set the value to negative, aka -1, you will be healed, instead of taking damage. this is useful, especially when your health is below 255 when its a decimal number.

scratch work pointers:
maxhp:
[[[[[[main+2F72D70]+C8]+80]+20]+24]+BC]+08 <- baseparams
[[[[[[main+2F72D70]+C8]+80]+28]+78]+BC]+08 <- modifiers

Def:
[[[[[[main+2F72D70]+C8]+80]+20]+24]+64]+08
[[[[[[main+2F72D70]+C8]+80]+28]+78]+64]+08

Focus:
[[[[[[main+2F72D70]+C8]+80]+20]+24]+38]+08
[[[[[[main+2F72D70]+C8]+80]+28]+78]+38]+08

atk:
[[[[[[main+2F72D70]+C8]+80]+20]+24]+90]+08
[[[[[[main+2F72D70]+C8]+80]+28]+78]+90]+08

[inf sp(via devil trigger NG+)]
04000000 0172C94C 360002A0
04000000 0172C94C D503201F

[Sergey Hax]
04000000 017299E0 36000720
04000000 017299E0 D503201F

as more things are uncovered things will be added to this thread.
 
Last edited by Gamerjin,

Gamerjin

Well-Known Member
OP
Member
Joined
May 25, 2016
Messages
2,783
Trophies
1
XP
6,461
Country
United States
just found out that the sp asm codehack will also work for apollo on the duels, so beware, if it become a problem i will post the off code for it.
 

Gamerjin

Well-Known Member
OP
Member
Joined
May 25, 2016
Messages
2,783
Trophies
1
XP
6,461
Country
United States
as i am looking at the memory data, i do keep seeing the value 0x00800020 beside things like hp, atk, def, and focus - all while they are in dbl float form, so if this stay constant, i might be able to use this as a "cross"-checker (no pun intended),
 

Gamerjin

Well-Known Member
OP
Member
Joined
May 25, 2016
Messages
2,783
Trophies
1
XP
6,461
Country
United States
@Gamerjin, could you test these pointers for player2/partner ?
[[[[[main+2F73418]+88]+24]+58]]+68 exp
[[[[[[[main+2F73418]+88]+24]+58]]+38]+38]+08 hp
well, the pointers point to not whoever is my second companion, but emmy only. but they technically do work, i am in ch 9 though, so i would have load my beginner file to test the decimal theory.
 

dsrules

Well-Known Member
Member
Joined
Sep 20, 2005
Messages
8,712
Trophies
2
XP
6,278
Country
well, the pointers point to not whoever is my second companion, but emmy only. but they technically do work, i am in ch 9 though, so i would have load my beginner file to test the decimal theory.
yeah, the first character you get
each character would have their own pointer path
 

Gamerjin

Well-Known Member
OP
Member
Joined
May 25, 2016
Messages
2,783
Trophies
1
XP
6,461
Country
United States
While searching around, someone has made a save editor:
https://psrx.github.io/crosscode-save-editor/
The link is in the OP. This will allow some grinding to be reduced, (when used correctly and honestly).
Post automatically merged:

also, if the pointers i posted at the beginning dont work, i was able to continue using the path labeled "baseparams"
 
Last edited by Gamerjin,

Gamerjin

Well-Known Member
OP
Member
Joined
May 25, 2016
Messages
2,783
Trophies
1
XP
6,461
Country
United States
I'm working on a massive code for hacking the primary stats - atk, Def, and (not sure why it's there but) focus too.

Reason why it's massive is because it sets up the pointers and checks.
 

dsrules

Well-Known Member
Member
Joined
Sep 20, 2005
Messages
8,712
Trophies
2
XP
6,278
Country
wouldn't it be easier to just use breakpoint
enemy dmg rate for atk, player dmg rate for def and affects all players instead of 1
 

Gamerjin

Well-Known Member
OP
Member
Joined
May 25, 2016
Messages
2,783
Trophies
1
XP
6,461
Country
United States
well, im afraid you will need to show me how.
because my attempts at reading the values are routines that are shared between player and enemy.
 

Gamerjin

Well-Known Member
OP
Member
Joined
May 25, 2016
Messages
2,783
Trophies
1
XP
6,461
Country
United States
wouldn't it be easier to just use breakpoint
enemy dmg rate for atk, player dmg rate for def and affects all players instead of 1
ok, i misunderstood what you meant. i was only interesting in hacking the MC stats, not the companions.
also, this might affect the duels with apollo that you will be forced into.

+28 0 enemy, !=0 player
can use read and write bp for each
i guessing this is from the value of atk/def/focus? and does this work when the value is less than or equal to 255?
 

dsrules

Well-Known Member
Member
Joined
Sep 20, 2005
Messages
8,712
Trophies
2
XP
6,278
Country
ok, i misunderstood what you meant. i was only interesting in hacking the MC stats, not the companions.
also, this might affect the duels with apollo that you will be forced into.


i guessing this is from the value of atk/def/focus? and does this work when the value is less than or equal to 255?
it's for memory check
+70 dmg rate, +28 player/enemy
check and see if he counts as enemy (+28=0) when you are in a fight with him
 
Last edited by dsrules,

Gamerjin

Well-Known Member
OP
Member
Joined
May 25, 2016
Messages
2,783
Trophies
1
XP
6,461
Country
United States
it's for memory check
+70 dmg rate, +28 player/enemy
check and see if he counts as enemy (+28=0) when you are in a fight with him
yup, it checks outs, Apollo in that instance is a enemy so, +28 == 0. so using your tip, I can update my sp code.
I suppose the only thing I don't understand is why the +28 pointer doesnt work sometimes. i have been able to highjack the pointer and rewrite it, but the problem is that you HAVE to cycle to an element and back to "read" the changes in the pointer, the other problem is that if you atk is decimal, and you have no element, the code wont "properly" work, your status will say 999, but if you go into combat, its not actually 999+
 

dsrules

Well-Known Member
Member
Joined
Sep 20, 2005
Messages
8,712
Trophies
2
XP
6,278
Country
yup, it checks outs, Apollo in that instance is a enemy so, +28 == 0. so using your tip, I can update my sp code.
I suppose the only thing I don't understand is why the +28 pointer doesnt work sometimes. i have been able to highjack the pointer and rewrite it, but the problem is that you HAVE to cycle to an element and back to "read" the changes in the pointer, the other problem is that if you atk is decimal, and you have no element, the code wont "properly" work, your status will say 999, but if you go into combat, its not actually 999+
yeah, it's strange, +28+78+xx, xx does not always work, not sure what triggers it

Code:
[1 hit ko]
04000000 023E3C70 b9402a67
04000000 023E3C74 35000067
04000000 023E3C78 d503201f
04000000 023E3C7C 17cd09db
04000000 023E3C80 f9401e68
04000000 023E3C84 17cd09d9
04000000 017263E4 1432f623
 
  • Wow
Reactions: Gamerjin

invisiblewall

New Member
Newbie
Joined
Apr 16, 2024
Messages
1
Trophies
0
Age
41
XP
2
Country
United States
I would like to make edits to the sprites and script of the CrossCode NSP.

Can someone tutorial a proof-of-concept that edits one sprite and changes one line in the script (maybe the earliest) and puts these back into the game? I will use the same process to edit other sprites and lines.
 

Gamerjin

Well-Known Member
OP
Member
Joined
May 25, 2016
Messages
2,783
Trophies
1
XP
6,461
Country
United States
I would like to make edits to the sprites and script of the CrossCode NSP.

Can someone tutorial a proof-of-concept that edits one sprite and changes one line in the script (maybe the earliest) and puts these back into the game? I will use the same process to edit other sprites and lines.
im sorry, but i cant help you there.
if i had to guess a starting point, i would suggest looking at the pc version, and seeing how or what files they are modifying....
 
Last edited by Gamerjin,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtu.be/86HNVHp9ts4?si=ZtnzsnhlNxNN-Fnu