Author Topic: Hacking into the .g3p/b format [HALTED]  (Read 29620 times)

0 Members and 2 Guests are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hacking into the .g3p/b format
« Reply #30 on: April 06, 2012, 11:57:05 pm »
I just fear it would backfire at us. FOr example, schools could just plain ban Casio PRIZM calcs from their classes and this would hurt Casio sales considerably, while hurting the PRIZM community big time. And the latter is what we want to prevent.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Hacking into the .g3p/b format
« Reply #31 on: April 06, 2012, 11:59:30 pm »
The thing is though that they may take any use of a tool that converts edited pictures to be usable on a CG-10 as a threat and do their best to prevent it. I know that if I was them I would do my best to prevent that specific bug from appearing even if the community that made it had not released it to the general public. Its to risky that someone else may figure it out and then use it to cheat.
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hacking into the .g3p/b format
« Reply #32 on: April 07, 2012, 12:12:40 am »
Well, then, what idea do you propose, other than releasing it to public? :P

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Hacking into the .g3p/b format
« Reply #33 on: April 07, 2012, 12:17:21 am »
That is what I propose. I say we release it and if casio wants to they can block it. I doubt they would go as far as blocking all dev though. They'd just block the  ability to create custom images on cg-10's. I believe it would be better to allow everyone who wants to use it have it because either way once its made casio will probably try and block it. They wont have much of a choice. Even the limited release would still force them to act. You may release it closed source though to make it harder for them to combat it and have the source put in spam or something

[offtopic]We really should have a forum area where we can discuss real topics for members with 500+ posts or something like that. It would be useful for things like this especially
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hacking into the .g3p/b format
« Reply #34 on: April 07, 2012, 12:30:22 am »
Maybe, but Casio has a long history of failing at programming (eg the Locate glitch and the many bugs in older calcs) and stuff like that, and instead of figuring out how to block images, they might just remove that feature completely or something else worse. Also, there's still the fact that calcs allowing custom images are not allowed in US exams, so the calc would get banned from classes and become less popular. In return, the entire PRIZM community would get much less PRIZM owners and Omnimaga as a whole would be looked upon by people from other places who worked hard at establishing links and trustworthiness with Casio. Your post is rather careless about the community I think. Either you are too young to understand or you are yourself advocating cheating in tests (or even willing to use the tool to do so). Also even 5000 posts would not be enough. Postcount != trustworthy (some people go for quantity over quality so they might reach 5000 quickly then gain access to the tool )

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Re: Hacking into the .g3p/b format
« Reply #35 on: April 07, 2012, 12:58:58 am »
Can someone remind me, what is CASIO's reasoning on why images can be banned?  It can't be for something like typed equations or something because e-Activity lets you do that.  Heck, I put class notes on it, how are images worse?  Just curious.

To weigh in on this, I think that until CASIO makes its position clear on what they will accept from third party sources, like add-ins ranging from games to CASes, images, and mods, the community should be nice to CASIO as they have the power to both help and hurt.

*AHelper looks at the nspire

Also, there is an addin being created that will let you view images (iirc, png images) stored on the prizm.  Don't know much about it, or if it really is going to happen or not.
« Last Edit: April 07, 2012, 12:59:19 am by AHelper »
SDCC tastes like air bags - big output, but fast and safe to run.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Hacking into the .g3p/b format
« Reply #36 on: April 07, 2012, 01:08:30 am »
AHelper who knows why they banned it on tests. they obviously didnt think that you would have note taking on calcs...

and to go with AHelpers post there are already projects for image and video viewers whats the harm in allowing us to do it this way also? It will allow us to have games with the images is about all that will happen. Casio has reason from regular image viewers for the same reason as this so I truthfullly think this is the easiest for them.

@DJ I am able to see that it may hurt the community all I was saying is that either way once this is finished if casio is going to act they will. If it is held to a few people or not so why not release it publicly. The trust thing is important but if we show them we just want to use it for games they'll just toss it in with all the other things we do. also I do not cheat and I do not advocate cheating. I work hard to pass the classes at my school fairly and take offense that you suggest that I am encouraging or advocating cheating by suggest that a tool to convert from CG-20 to CG-10 images should be released publicly. And the thing on putting the source in spam would just be to make it harder for casio to find the method used. Though if you want to build trust you could release it with the program so they could fix it easier if they so chose.
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Re: Hacking into the .g3p/b format
« Reply #37 on: April 07, 2012, 01:14:13 am »
Ah ha! I just remembered, the Prizm has a Reset All Addins (and storage) options.  Maybe that since all third party additions, like addins, can easily be removed before a test.  Since the .g3p/b is an official format used by the OS itself, having it included and wiping out user-made content would not remove these images.  (User content as-in addins and unknown file formats to the OS)

The above reason makes perfect sense... but still doesn't explain what CASIO has against pictures and not a 23KB file full of notes, examples (that add-in is much better than notefolio IMO), and such.
SDCC tastes like air bags - big output, but fast and safe to run.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Hacking into the .g3p/b format
« Reply #38 on: April 07, 2012, 01:19:18 am »
AHelper I'll test in a minute whether that will touch .g3p/b files. Have to backup my prizm first :P
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Re: Hacking into the .g3p/b format
« Reply #39 on: April 07, 2012, 01:34:01 am »
Well, the Addin&Storage only resets the storage memory.  The Main Memory only allows CASIO-approved formats, including the .g3p's, to be copied over USB.
SDCC tastes like air bags - big output, but fast and safe to run.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hacking into the .g3p/b format
« Reply #40 on: April 07, 2012, 01:35:05 am »
AHelper who knows why they banned it on tests. they obviously didnt think that you would have note taking on calcs...

and to go with AHelpers post there are already projects for image and video viewers whats the harm in allowing us to do it this way also? It will allow us to have games with the images is about all that will happen. Casio has reason from regular image viewers for the same reason as this so I truthfullly think this is the easiest for them.

@DJ I am able to see that it may hurt the community all I was saying is that either way once this is finished if casio is going to act they will. If it is held to a few people or not so why not release it publicly. The trust thing is important but if we show them we just want to use it for games they'll just toss it in with all the other things we do. also I do not cheat and I do not advocate cheating. I work hard to pass the classes at my school fairly and take offense that you suggest that I am encouraging or advocating cheating by suggest that a tool to convert from CG-20 to CG-10 images should be released publicly. And the thing on putting the source in spam would just be to make it harder for casio to find the method used. Though if you want to build trust you could release it with the program so they could fix it easier if they so chose.
The problem is the way you worded your arguments and your insisting with it sounds definitively like you don't care if it's used badly and even encourage people to use it for anything,bad or not. Now I'm giving up arguing with you because you seem to think only you is right and everyone else is wrong and that all of your opinions are facts and everyone else's are not. Plus, you always repeat the same arguments over and over anyway, without even bothering reading my new points.

By the way, if we publicly release this and it turns out bad, then an entire group of PRIZM coders will hate us for having been so careless. There's Omnimaga reputation that is under question too, you know! Well, guess what, if you insist so much into getting this publicly released and that everyone else is relunctant, but then the author releases it and something bad happens, then Omni won't be to blame!

Of course, if Casio ever takes a stance against third-party dev even though we have not done anything that might hurt their sales, then of course no one will object at the release of such tool (like what was done with OSLauncher with TI), but unless Casio decides to screw us over like TI did, why not play nice?
« Last Edit: April 07, 2012, 01:54:12 am by DJ_O »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Hacking into the .g3p/b format
« Reply #41 on: April 07, 2012, 08:58:07 am »
I agree with DJ.
For now, the Prizm is not as powerful as the CX but at least it is opened. Releasing such a tool will probably make Casio act like TI and the Prizm community would die (because every calcs would be closed but the CX would be better). Then, the result of the converter thing would be that no game would run on any Prizm, fx-cg10 or fx-cg20.

I don't know anything about files in a Prizm but is there a difference between a game and an image in the file ? If yes, maybe the converter could see if it is an image or a game and convert it only if it is a game (seems impossible to me).

The thing I never understood is why OSLancher for Ndless 3.1 was released. TI was already against us, arguing that Ndless allows cheating and we prove that they were right.

Please don't do the same mistake with Casio.
« Last Edit: April 07, 2012, 10:27:35 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Hacking into the .g3p/b format
« Reply #42 on: April 07, 2012, 09:19:50 am »
I think the usefulness of an image conversion tool would be very small if it isn't released. Being able to use our own images is a very important part of the Prizm, so a publicly released converter would be great - as long as it doesn't hurt anything else, that is. If the creation or release of such a tool would harm the ability to program, it would obviously be the worst thing to happen. However, I do not believe that it will happen. Casio might try to block the ability to use images if we discover a method to create them, but preventing us from writing add-ins doesn't make sense at all. They wouldn't earn anything by doing so, and they probably wouldn't want "revenge" on us for using images. After all, they are a company, and their interest is to make profit. It's not possible to be completely sure about what Casio will think, but I am convinced that the ability to use images wouldn't ban the Prizm from tests. Why not? Because the Nspire series has had the exact same ability for a year, and it's perfectly fine to use those! Even if images weren't allowed, I think actions by the community are too small to have any effect on if the Prizm is allowed. OSLauncher is released, and the non-CAS Nspires are still allowed on tests that don't allow CAS.
Well, the Addin&Storage only resets the storage memory.  The Main Memory only allows CASIO-approved formats, including the .g3p's, to be copied over USB.
.g3p/.g3b files cannot be stored in the main memory, and it would be very impractical anyway because of the size. All data deletion options that delete non-add-in files in storage memory will cause every image to be deleted (unless they're stored inside add-ins, but that's not what this topic is about).
I don't know anything about files in a Prizm but is there a difference between a game and an image in the file ? If yes, maybe the converter could see if it is an image or a game and convert it only if it is a game (seems impossible to me).
No. All images that can be read by the OS are stored in the same way. Even if it was possible, someone could just make a "game" that only consists of an image that would otherwise be forbidden.

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: Hacking into the .g3p/b format
« Reply #43 on: April 07, 2012, 10:17:13 am »
I am one of the Prizm hackers who had been expressing concerns on #cemetech. I've been in various contact with Casio marketing and engineering personnel over the past year or so, and they have made it clear that they're currently turning a blind eye to mature, responsible third-party hacking. Officially, they're supposed to both not support it and potentially disallow it, but that hinges on how we behave. A Prizm coder started discussing creating a fake reset Add-In over at Cemetech, and a large number of us Prizm hackers quickly expressed our opinions on why that would be bad for everyone in terms of getting Casio to look more closely at what we were doing with Add-Ins and think seriously about Add-In security. Bottom line:

We do not want to drive Casio into the same cat-and-mouse game the Nspire developers have to work around.

One of the great advantages of Prizm programming in my view is that our programs and add-ins work on Prizms without jailbreaking, without Ndlessing, without any sort of unlocking tools. If we want to maintain that, we have to code like ethical, mature, grown-up programmers. Undermining the whole reason that there's a different between the CG10 and the CG20, at least with a public tool release, would not be responsible. I can appreciate the ego value of successfully figuring out the format, and even telling people of your technical successes, but just as it wouldn't be ethical to release a tool to the general public that could exploit a glitch in computer systems to steal identities on the assumption that some would use it for good, it's not ethical to release this tool. There's a very good reason that SourceCoder doesn't do such image format conversions, and trust me, it's not technical reasons.

Offline SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: Hacking into the .g3p/b format
« Reply #44 on: April 07, 2012, 02:07:26 pm »
I am one of the Prizm hackers who had been expressing concerns on #cemetech. I've been in various contact with Casio marketing and engineering personnel over the past year or so, and they have made it clear that they're currently turning a blind eye to mature, responsible third-party hacking. Officially, they're supposed to both not support it and potentially disallow it, but that hinges on how we behave. A Prizm coder started discussing creating a fake reset Add-In over at Cemetech, and a large number of us Prizm hackers quickly expressed our opinions on why that would be bad for everyone in terms of getting Casio to look more closely at what we were doing with Add-Ins and think seriously about Add-In security. Bottom line:

We do not want to drive Casio into the same cat-and-mouse game the Nspire developers have to work around.

One of the great advantages of Prizm programming in my view is that our programs and add-ins work on Prizms without jailbreaking, without Ndlessing, without any sort of unlocking tools. If we want to maintain that, we have to code like ethical, mature, grown-up programmers. Undermining the whole reason that there's a different between the CG10 and the CG20, at least with a public tool release, would not be responsible. I can appreciate the ego value of successfully figuring out the format, and even telling people of your technical successes, but just as it wouldn't be ethical to release a tool to the general public that could exploit a glitch in computer systems to steal identities on the assumption that some would use it for good, it's not ethical to release this tool. There's a very good reason that SourceCoder doesn't do such image format conversions, and trust me, it's not technical reasons.
Is it really ethical or necessary to link a discussion about the g3p-fileformat with
"fake reset-addin programming"
or -jeeeeeesh!-
"stealing identities"?
These have never been ideas of this thread.
But nevertheless, interesting rhetorical impact. Congrats. :)
Though. What a pity. I found interesting syscalls during analyzing the g3p-system (f. i. SaveFileDialog or OpenFileDialog; man'o'man, these would save a lot of G3A-space). :'(
I'll be back.