Yep, MAINCNTL(ow) and MAINCNTH(igh). You can make 2 variables that hold these values, and then each loop, first examine MAINCNTLH to see if it differs from what you recorded. If the same, then check MAINCNTL.
@IAmAPerson I successfully converted my 1.5 map into 1.7.1 with no crashing and I can build and save Yayyyyyy!!!!!!!! I'm getting so much done today...
If that stream is y*256+x, then my understanding of @Discostew algorithm is correct. Just in case, here is something to try. Replace the core of the program
GPAGE 0
C=GSPOIT((I*64+X*8+XX),(J*64+Y*8+YY))
GPAGE 1
GPSET CX,CY,C
CX=(CX+1)%256
IF CX==0 THEN CY=CY+1
With this straight translation from Discostew code:
@ramstrong@randomous You really want to know where the problem lies? You're going to hit yourselves on the forehead after I tell you this.
Here's the thing about the GRP within PTC. It's "already" in the 8x8,8x8,4x3 format. What you want to do is convert in the "opposite" direction. In the portion where you have the GSPOIT and GSET, swap the location variables/algorithm, so that you're reading with CX/CY, and writing with the other calculation.
The current setup is taking the current format, and applying the 8x8,8x8,4x3 conversion a 2nd time. That's why it looks so screwy. Basically, you were converting into it rather than converting out of it.
@ramstrong@randomous You really want to know where the problem lies? You're going to hit yourselves on the forehead after I tell you this.
Here's the thing about the GRP within PTC. It's "already" in the 8x8,8x8,4x3 format. What you want to do is convert in the "opposite" direction. In the portion where you have the GSPOIT and GSET, swap the location variables/algorithm, so that you're reading with CX/CY, and writing with the other calculation.
The current setup is taking the current format, and applying the 8x8,8x8,4x3 conversion a 2nd time. That's why it looks so screwy. Basically, you were converting into it rather than converting out of it.
Ahahaha, the double encoding problem I've been very careful about! Well, @randomous, you know what to do now. ^_^;
@ShadowGame of course! Why would it be illegal? Its used to manipulate PTC files. Would the hundreds of photo editing programs out there be illegal too since they didn't own the photo file formats?
@randomous If you are making sudoku you should use that NUMRECOG thing in it.
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?
@GraphicGenius Hmm... it's almost like that's what I made it for lol (sarcasm). I'm sorry, I know that was rude. Yes, that's what I'm planning on doing.
@randomous by the way can you do something where it doesn't print any of the data or guesses?
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?
@GraphicGenius I'd like to finish up the Sudoku game first, then I'll release a number recognition tool. I know I'll be adding stuff to it (like saving your handwriting and whatnot), plus I might tweak the recognition function, so I want to wait. I'm sorry!
Ok. I have finished Minecraft DS Beta 1.8 (@Bluerobin2 you are now in the credits under "Terrain Generator"), I will now work on syntax highlights in my THOLITU interpreter! dag nab it...
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.
@Bluerobin2 it is working perfectly. I've changed it to my needs, and it's much faster than my other one. (My other one for a 64x64 map took about 30 tones as long as yours, no exaggeration)
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.
I might not be able to release Minecraft DS Beta 1.8 or the THOLITU interpreter this weekend. Definitely not today. Last night one of my dogs (Maggie) attacked my other dog (Sebastian) and drew blood. She has a history of aggression. Sebastian is in the animal hospital right now getting stitches in his arm. We can no longer keep Maggie; she is too aggressive and territorial. She was a rescue dog, but we can't have her in our house anymore. If we can't find another family with no other pets or children who will be willing to adopt her, she will have to be put down (humanely killed). My grandmother also has a birthday today, so that's going on. So, yea. I can't release anything today. I hope you understand, and sorry for the off-topic.
On the bright side, I have added nice syntax highlighting in THOLITU, and I'm working on FOR loops! (The actual command is about like this: ^*~%{I}>[I^1].0@5{} )
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.
Forums
Topic: Petit Computer
Posts 7,861 to 7,880 of 9,618
Sorry, this topic has been locked.