wget http://theironknuckle.com/CVS/unlock_camera.c
step 2
copy unlock_camera.c into your pv2tool-for-linux folder
step 3
change into your pv2tool-linux directory and make
step 4
now pv2tool for linux will read your challenge to you for easy unlocking!fopen("output.txt","a");
printf(challenge);
fclose("output.txt);
As far as I read, this should just spit the variable challenge to output.txt right?
Then I get this when I try to compile (even an unmodified source for Ceres):
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland saturn2.c: Error E2451 saturn2.c 68: Undefined symbol 'cam' in function saturn_open Warning W8057 saturn2.c 195: Parameter 'imgsizex' is never used in function satu rn_process_cfa Warning W8057 saturn2.c 195: Parameter 'datalen' is never used in function satur n_process_cfa Warning W8057 saturn2.c 195: Parameter 'image' is never used in function saturn_ process_cfa Error E2451 saturn2.c 257: Undefined symbol 'cam' in function saturn_bulkread Error E2451 saturn2.c 269: Undefined symbol 'cam' in function saturn_bulkwrite Error E2451 saturn2.c 280: Undefined symbol 'cam' in function saturn_controlmess ageread Error E2451 saturn2.c 292: Undefined symbol 'cam' in function saturn_controlmess agewrite Error E2451 saturn2.c 328: Undefined symbol 'keyfile' in function saturn_getkey Error E2451 saturn2.c 329: Undefined symbol 'keyfound' in function saturn_getkey Warning W8057 saturn2.c 374: Parameter 'offset' is never used in function saturn _putkey *** 7 errors in Compile ***This is the free compiler from Borland. Can I use this or do I have to use something else? (When I poked around, it mentioned something about Microsoft) Thanks
gcc -o nameofexecutable *.c -lusb
http://www.google.com/search?q=gcc+for+windows&start=0&ie=utf-8&oe=utf-8&client=firefox&rls=Swiftfox:en-US:unofficial
please tell me your aim/msn so i can check your source, and try to imlement new stuff, as I am kind of stuckpFile = fopen ("output.txt","w");
fprintf(pFile, "%s\n", challenge);
fclose(pFile);
and I had to add this to the top in when it is initalizing everything:
FILE * pFile;
Of course, I couldn't explain to you what half of the flags in there do, but I'm learning!
I uploded my source here, saturn.c. Here is the compiled version of it, Ceres.exe. Finally this is what an output looks like, output.txt. Its in Hex, so it will look wierd in Notepad (sorry BillW, I cannot make sense of those annoying boxes and squibblys :D ). Is there a better location I can dump the challenge, or will cronus be able to read the Hex?
Next Step: Strip out the opening and mass storage mode of Ceres.