Edit: OK, I've just put the whole thing into byte form instead. All header data and output data are saved as bytes. The data section is read from a file as a string, then converted into bytes. Next, it is restructured using your code (all working with bytes). Finally, the md5 is generated from the formatted data (not including the header) and it's all written to a file as bytes. The total size of the file and the individual bytes in the header (minus the name and md5) match PTC generated files exactly. PTC Utilities will load it just fine into its editor, but SmileBoom rejects it. Am I missing something else? Here's an example file I generated (which doesn't load into SmileBoom's converter): RGRP004.ptc
I'm sorry if I'm bugging you too much with this, I'm just completely stumped.
Edit2: I've now narrowed it down to exactly the MD5 hash. I went on Petit Computer and generated the exact same file, and the entire file was identical to mine except for the MD5 part. I guess I just don't understand how MD5 could produce different hashes unless the data isn't the same, but in this case, the data is EXACTLY the same. Is the MD5 hash supposed to be performed over the whole file (header included), or just the formatted data section?
@randomous I know nothing of this, but will caps make a difference? (.PTC). Or maybe the file needs some sort of special properties (Like apps have publisher info). That seems to be the only explanation I could come up with. :/
@Bluerobin2 No, I've already tried that. I've found out that my MD5 hash is just different than what PTC generates, and I have absolutely no idea why. I don't know if I'm just giving it the wrong portion of the file or what... it's very upsetting.
@randomous: I've messed with this some myself and I think I know how to do it. You take the ASCII sequence PETITCOM and append it to the front of the data section of your GRP (the data section being only the PETC0100RGRP plus the pixel data), and take the MD5 hash of that. Confusing, I know.
@calc84maniac Wha... PFFF... ARRGHGHAHAHAAA thank you so much! Oh my goodness.... how ABSOLUTELY evil and horrifying. And useless... let's not forget useless. How did you come up with that? It worked, by the way.
@randomous I found it after some painstaking research online (I think the original source I traced it back to was some Japanese hacker documentation or something). I had to use this to generate GRPs for Steins;Gate 8-bit, so this was a while ago. Glad I could save you the trouble
@IAmAPerson my vote is the one that says my vote at the top (sorry i don't have an account)
If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens. Wait was that just a joke?
3DS Friend Code: 1478-3545-5136 | Nintendo Network ID: GreatGamer123
@ShadowGame@GraphicGenius I've posted input and advanced output for SimpleC on my Petit Computer Blog. Also, current standings for Minecraft DS Beta 2.0 testing: @Leviceljir - 4 votes @Randomous - 1 vote
Remember: I need 3 people to help test!
@Calc84maniac First: you haven't been on in a while! Second: do you wanna help test? This couldn't have been done without you, and I think it'd be unfair to withhold the biggest update ever from you.
If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.
If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.
What are those? But either way, Awesome! Plus, can you post the SimpleC tutorials on the forums? When I look at the blog it says this:
Here's the input command:
That's it for today!
I guess my computer just really hates SimpleC.
If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens. Wait was that just a joke?
3DS Friend Code: 1478-3545-5136 | Nintendo Network ID: GreatGamer123
@ShadowGame@GraphicGenius I've posted input and advanced output for SimpleC on my Petit Computer Blog. Also, current standings for Minecraft DS Beta 2.0 testing: @Leviceljir - 4 votes @Randomous - 1 vote
Remember: I need 3 people to help test!
Why not release it to everybody? Everybody has been waiting for this and most of us don't even get to do it. I don't think that's fair
Also, anybody need tutorials? Sorry I haven't started my work on my game. My sister has been hogging my 3DS all week.
If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens. Wait was that just a joke?
3DS Friend Code: 1478-3545-5136 | Nintendo Network ID: GreatGamer123
@GraphicGenius that's the sun and clouds. I improved on it to make the clouds show depth instead of just square since that last pic. Second, click on the blog post itself instead of looking at just the preview. Third, I'm not releasing B2.0 it to everyone because the update won't be official until it's complete, and I need people to test. They need to be good at bug finding (trying to break the game). Beta 2.0 is not being made for enjoyment, it's purely developmental and for testing. The official release is when I'll release the final QRs to the public.
If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.
@JLMan Well, @Leviceljir found the bug first, and no one found it before him. Everyone I knew of had the same version; I'd released it to the public.
If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.
If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.
Okay guys. For Pixelli I am having a small problem. I have resorted to hard coding with a graphic grid for the TCH commands because placing BG's with TCH does not work in my favor. when using TCH to place BG's the BG placement draws somewhere else because TCH coordinates and BG coordinates a very different (TCH using the same system as graphic commands and BG's using the same system as text with locate and pnlstr that sorta thing) does anyone have a solution to placing BG's where the user touches the screen? what i used a while back
x=tchx:y=tchy:s=tchst
bgput 1,x,y,c(block),3,0,0 and that was in a loop
Forums
Topic: Petit Computer
Posts 7,501 to 7,520 of 9,620
Please login or sign up to reply to this topic