• How to edit JNLP files / Hack Cog Tutor?
    6 replies, posted
[B] I Want to hack the Cognitive Tutor program that runs on java, but i haven't found a good editor just yet. So how in the world do i edit a java file that is in a jnlp form? I'm aware of what is in the jnlp file but it appears that it "Downloads" the needed files to open the tutor. [U]But where do i find those files and how do i edit it? [/U] Here's what the file looks like:[/B] [QUOTE]<?xml version="1.0" encoding="utf-8"?> <jnlp spec="1.0+" codebase="http://webstart-data.carnegielearning.com/2011" href="http://webstart-data.carnegielearning.com/jnlp/ct/bel_air_hs-21014.jnlp"> <information> <title>Cognitive Tutor</title> <vendor>Carnegie Learning, Inc.</vendor> <homepage href="http://www.carnegielearning.com"/> <description kind="short">Cognitive Tutor</description> <icon href="141777/branches/2011-Q2/jars/ct/cllogo64.gif"/> </information> <security> <all-permissions/> </security> <resources> <property name="apple.laf.useScreenMenuBar" value="true"/> <property name="com.apple.mrj.application.growbox.intrudes" value="true"/> <j2se version="1.6*" initial-heap-size="256m" max-heap-size="512m"/> <j2se version="1.5*" initial-heap-size="256m" max-heap-size="512m"/> </resources> <resources os="Linux"> <property name="USE_DEFAULT_LAF" value="true"/> </resources> <resources> <jar href="141777/branches/2011-Q2/jars/ct/launcher.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/TableLayout.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/activation.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/annotations.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/core-renderer.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/dataobjs.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/diagram-core.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/findbugs.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/forms.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/google-collections.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/html.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/html_es.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/htmlcleaner.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/infr.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/javahelp.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/jaxb-api.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/jaxb-impl.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/jazzy.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/jcmdline.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/jdom.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/jsr305.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/jzlib.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/lms-bridge.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/lms-client.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/lms-core.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/lms-server-core.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/lms-server-fs.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/mrjadapter.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/quaqua-combobox.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/relativelayout.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/sdk-ap.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/sdk-be.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/session.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/sm.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/solver-core.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/stax-api.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/swingx-combobox.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/swingx-prompt.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/swingx.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/testabletutor.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/tre.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/trust.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/ui.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/utils.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/version.jar" version="1" download="eager"/> <jar href="141777/branches/2011-Q2/jars/ct/webeq.jar" version="1" download="eager"/> <property name="allowedLoginAttempts" value="99"/> <property name="schoolID" value="bel air hs-21014"/> <property name="USE_HTTP_TUNNEL" value="true"/> <property name="bin_path" value="./"/> <property name="launcherPort" value="6543"/> <property name="dontReadLauncherConfig" value="true"/> <property name="USE_GZIP_COMPRESSION" value="true"/> <property name="lmsHost" value="2011r1.lms.carnegielearning.com"/> <property name="defaultLmsHost" value="2011r1.lms.carnegielearning.com"/> <property name="lmsPort" value="80"/> <property name="lmsBackupPort" value="57011"/> <property name="CL_BaseUrl" value="http://webstart-data.carnegielearning.com/2011/141777/branches/2011-Q2/images/"/> <property name="CL_CTWebHelpBase" value="http://webstart-data.carnegielearning.com/2011/141777/branches/2011-Q2/cthelp/"/> <property name="CL_TTWebHelpBase" value="http://webstart-data.carnegielearning.com/2011/141777/branches/2011-Q2/tthelp/"/> <property name="CL_WebGlossaryBase" value="http://webstart-data.carnegielearning.com/2011/141777/branches/2011-Q2/glossary/"/> <property name="NextMessageDelay" value="3000"/> <property name="IMAGELOADERTIMEOUT" value="15000"/> <property name="launcherPort" value="6543"/> <property name="is_web_start" value="true"/> <property name="MAX_CONNECTION_ATTEMPT_TIME" value="9999999"/> </resources> <application-desc main-class="cl.launcher.StartTutor"/> </jnlp>[/QUOTE]
[url]http://webstart-data.carnegielearning.com/2011/141777/branches/2011-Q2/jars/ct/WHATEVER.jar[/url] that's where the jar files are. can't you just make a new jnlp and change the href of the jars to whereever your edited version is?
[QUOTE=rookwood101;35153274][url]http://webstart-data.carnegielearning.com/2011/141777/branches/2011-Q2/jars/ct/WHATEVER.jar[/url] that's where the jar files are. can't you just make a new jnlp and change the href of the jars to whereever your edited version is?[/QUOTE] Yes i could! However i would need to know where the original jars are at first so i can edit them >:) Too bad i don't know where they are stored at ):
[QUOTE=Juke-Box-Hero;35154797]Yes i could! However i would need to know where the original jars are at first so i can edit them >:) Too bad i don't know where they are stored at ):[/QUOTE] That bit where I put a link in my post is a link to the location of the jar files, (which is why I posted it) just change whatever.jar to whatever file name you want to download (you can see which ones there are in that file you posted).
[QUOTE=rookwood101;35162968]That bit where I put a link in my post is a link to the location of the jar files, (which is why I posted it) just change whatever.jar to whatever file name you want to download (you can see which ones there are in that file you posted).[/QUOTE] Yeah i figured it out after i made that post. xD and no need to call me dumb
This is a joke to hack. [img]http://i.imgur.com/0jhSu.png[/img]
[QUOTE=Qix;36348360]This is a joke to hack. [img]http://i.imgur.com/0jhSu.png[/img][/QUOTE] I'd hate to ask, but you wouldn't happen to still have this lying around would you?
Sorry, you need to Log In to post a reply to this thread.