Kid Icarus Uprising false JSON file parsing

Master Knight DH

Member
OP
Newcomer
Joined
Oct 19, 2014
Messages
17
Trophies
0
Age
39
XP
163
Country
United States
Hi. I've been wanting to extract data from Kid Icarus Uprising for documentation and discussion, especially with Kid Icarus Uprising's still shaky balancing that a remaster could stand to improve upon. I am able to dig up any relevant values, but it's a completely inefficient process. Here's a sample pic of what I am talking about:
Screenshot 2024-01-02 14.25.30.png


This displays an example where I have the keyboard highlight on the 4 bytes for Float value 127.72, which is the base damage of Skyscraper Club's Forward Shot. It is marked with a 03 right before to indicate that it would be using a Float value. I will state that the 02 marker would be marking an Integer value, I assume int32, as would be indicated by "thrustLevel" being $00000014, or 20, and then the 01 marker would be a String value starting with the length in 4 bytes and then the string text. Of course, I can tell that this is the sort of thing that should get to be handled more efficiently.

I talked to a user on the Super Mario RPG speedrun Discord, Echocolat about this, but I don't know how things would go with this. At the very least, she did tell me that this is false JSON and that there would need to be parsing to make this readable on Notepad++ rather than Hex Workshop. But since she is likely handling Super Mario RPG for the Switch (solid remaster, by the way), I may as well ask around at this point, and see if I can get something going.

Is anybody able to help with this, perhaps with creation of a program that can parse this stuff? If so, please let me know. I wouldn't have a hard time sending a sample file or two if prompted, just that I'm not attaching anything directly in case it's clashing with the rules.
 
Solution
Git gud, sir. :ha:
I stopped reading right there. If you're going to tell me to "git gud" over a subject that confuses me, then I'll just take my query elsewhere. You're throwing hostility toward me over a subject that should have been covered years ago, and I can guess it's the same brand of hostility that bothers Hextator for one, after what he went through with the Fire Emblem community, the same community that promoted Mangs and everything that implies.

Kwyjor

Well-Known Member
Member
Joined
May 23, 2018
Messages
4,736
Trophies
1
XP
4,854
Country
Canada
Are you quite sure no one's doing this already? If it's actually that easy, I would be surprised if no one's touched it. How did you get the file you're looking at? Did you extract it from the game somehow, or generate it some other way?

In any case, why not create a program yourself..? Are you not familiar with coding? I suggest Python if you're just starting out.
 

Master Knight DH

Member
OP
Newcomer
Joined
Oct 19, 2014
Messages
17
Trophies
0
Age
39
XP
163
Country
United States
Are you quite sure no one's doing this already? If it's actually that easy, I would be surprised if no one's touched it. How did you get the file you're looking at? Did you extract it from the game somehow, or generate it some other way?

In any case, why not create a program yourself..? Are you not familiar with coding? I suggest Python if you're just starting out.
The files are pretty much directly from the game. And yeah, I would think that somebody would have done something already, but that hasn't happened. The closest is somebody making true JSON files for Eyetrack Orbitars' data, but they haven't shared how they did that.

As for creating a program myself, if I could, I would. And per your suggestion, I DLed Python, but it looks like Command Line involvement, which just bugs me in general.
 

Kwyjor

Well-Known Member
Member
Joined
May 23, 2018
Messages
4,736
Trophies
1
XP
4,854
Country
Canada
I DLed Python, but it looks like Command Line involvement, which just bugs me in general.
Git gud, sir. :ha: There's no shortage of excellent Python tutorials out there. Many of them make use of IDLE, which is included with Python and isn't really the command line.

(I imagine you could even ask ChatGPT to get you started, but that might be a little too fanciful.)
 

Master Knight DH

Member
OP
Newcomer
Joined
Oct 19, 2014
Messages
17
Trophies
0
Age
39
XP
163
Country
United States
Git gud, sir. :ha:
I stopped reading right there. If you're going to tell me to "git gud" over a subject that confuses me, then I'll just take my query elsewhere. You're throwing hostility toward me over a subject that should have been covered years ago, and I can guess it's the same brand of hostility that bothers Hextator for one, after what he went through with the Fire Emblem community, the same community that promoted Mangs and everything that implies.
 
Solution

lone_wolf323

Well-Known Member
Member
Joined
May 27, 2011
Messages
5,628
Trophies
2
XP
5,329
Country
Canada
The solution rather is if you're wanting someone to make this. Are you willing to pay someone good money to make it happen. Your request is like many others that have some whacked idea. have no clue how to make. and basically saying. someone make this for me with no innocentive to make it.

It dont work. and it dont go over that well.
 
  • Like
Reactions: ack

kanuki

Member
Newcomer
Joined
Jun 26, 2024
Messages
10
Trophies
0
Age
24
XP
89
Country
Finland
Hi,
I'm also interested in modding KIU and specifically cracking open the rom to access the raw assembly code somehow. Any tips on how I could dig deeper into the game's ROM?
I've managed to dump the rom using the citra emulator and peeked into the darc files with binwalk, but thats about it.
I remember using someones darctool on the .arc files and was able to extract all kinds of things, but the tool didn't work on the .zrc files :(
 

Attachments

  • Screenshot_20240627_012402.png
    Screenshot_20240627_012402.png
    647.1 KB · Views: 16

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv3 @ K3Nv3:
    I like how restaurants treat people that want to pay in cash now days like they're about to rob the place heard one say oh you have cash let me get the manager really just to pay in cash lol
  • BigOnYa @ BigOnYa:
    If Trump does the proposed tarrifs it means a $449 Switch2 will now cost $569 plus tax.
  • Veho @ Veho:
    Just tell them to keep the change.
  • K3Nv3 @ K3Nv3:
    Give me your change so I can rob you while I pay you
  • BigOnYa @ BigOnYa:
    When I owned my pizza place many years ago, we didn't have a cash register at all, every employee was given a "bank" of small bills at start of shift. Then everyone pocketed the money and made change, and I'd cash everyone out at end of shift. One time we had a gunman come in to rob me and wanted to know where's the cash register. I told him we don't take cash, only credit, and he left with nothing. Cops caught him even.
  • K3Nv3 @ K3Nv3:
    I like to carry $20 cash but rest 100% on card or in my safe
    +1
  • K3Nv3 @ K3Nv3:
    I don't really like having it all in the bank because you never know when systems go down or information gets stolen
    +1
  • BigOnYa @ BigOnYa:
    Yea I'm same, carry little cash anymore. I do keep an emergency $50 bill hidden in my wallet, under license tho.
  • K3Nv3 @ K3Nv3:
    And dehydrated cat jerky
    +1
  • BigOnYa @ BigOnYa:
    My wifeys aunt gave her some gold coins in her will when she passed last year, and the tax man was gonna tax her a gift tax on it, but our accountant said if she sells the gold and put that money into a 5 year CD, it will be untaxable. So she did, and now IRS saying they want a income tax on the gold coin sale. Damn taxman always greedy.
  • K3Nv3 @ K3Nv3:
    Might need to get some injection shots for tmj so that's lovely still bothering me
  • BigOnYa @ BigOnYa:
    That sucks, sorry to hear.
  • perspex @ perspex:
    can i get a job in game dev by learning on my own online or do I need like a 3 yr degree or something for it?
  • perspex @ perspex:
    also im 29, not the youngest student thats for sure...
  • Veho @ Veho:
    Sure.
    +1
  • Veho @ Veho:
    You have to have something to show, like a portfolio.
    +1
  • perspex @ perspex:
    makes sense...
  • K3Nv3 @ K3Nv3:
    That's one erotic bug
  • Veho @ Veho:
    Ribbed.
  • RedColoredStars @ RedColoredStars:
    Hard pass. Princess is WAY too extra. lol
  • RedColoredStars @ RedColoredStars:
    Drunk women are gross. Well, drunk anyone is gross. So unattractive.
  • Veho @ Veho:
    And yet you were so focused on her you missed the key part of the video.
  • Veho @ Veho:
    THE SLAP
    Veho @ Veho: THE SLAP