Processing.org 64-bit workaround
November 1, 2011 at 22:07 | Posted in Guides | Leave a commentTags: 64-bit, java, processing, processing.org
If this is the error you are receiving on your 64-bit Processing installation, fear not:
[susie@neptune processing-1.5.1]$ ./processing
[susie@neptune processing-1.5.1]$ Exception in thread “main” java.lang.UnsatisfiedLinkError: /home/susie/processing-1.5.1/java/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1720)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
at processing.app.Base.<clinit>(Base.java:445)
Could not find the main class: processing.app.Base. Program will exit.
I have a simple workaround for you.
- Locate Java
[susie@neptune ~]$ whereis java
java: /usr/bin/java /usr/share/man/man1/java.1.gz
[susie@neptune ~]$ stat /usr/bin/java
File: `/usr/bin/java’ -> `/usr/lib/jvm/java-6-openjdk/bin/java‘
Size: 36 Blocks: 0 IO Block: 4096 symbolic link
Device: 803h/2051d Inode: 561896 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2011-11-01 21:31:18.565298115 -0400
Modify: 2011-07-21 12:59:19.000000000 -0400
Change: 2011-09-21 12:29:33.009908239 -0400
Birth: - - Use that Java instead
[susie@neptune processing-1.5.1]$ mv java java.bak
[susie@neptune processing-1.5.1]$ ln -T /usr/lib/jvm/java-6-openjdk ./java –symbolic
Tada! 奇跡です。
Softmodding an XBOX via Ndure, xboxhdm, and hotswapping
August 14, 2011 at 02:04 | Posted in Guides | Leave a commentTags: hotswapping, mod, ndure, softmod, softmodding, xbox, xboxhdm
(source), includes screenshots and much more detail.
You will need:
- original XBOX (not 360)
- Torx 20 screwdriver
- A PC with a free ATA slot (not SATA) + 4-pin molex power cable, and CD burner
- one blank CD
- any music CD
- NDURE 3.0
- updated ndure backup script (right click, save as…)
- xboxhdm 1.6
- Start up your XBOX and head to MS Dashboard>Settings>System Info. Write down the Kernel number (K:) and Dashboard number (D:) at the bottom
- Run Ndure.exe. Select the checkboxes of the features you would like, taking care to select the proper kernel numbers found in step 1 (in format 1.00.XXXX.01)
- Hit next and save to /xboxhdm/linux/, where you extracted xboxhdm to. Hit install, wait for it to finish, then hit next and finish
- Move the updated ndure backup script (ndure, with no file extension) to /xboxhdm/linux/ndure/ where you extracted xboxhdm to
- Go to /xboxhdm and run make-iso-win.bat — it will create an iso image
- Burn the iso image with your favourite iso-burning program
- Set your PC to boot from disk via BIOS
- Put a music CD into your XBOX
- Turn off your XBOX and open your XBOX with the torx 20 screwdriver
- Connect the XBOX hard drive to your PC’s power supply
- If your PC’s hard drive is occupying the primary master slot, disconnect it
- Boot your PC (into your burned CD) and turn on your XBOX simultaneously
- On your XBOX, copy one track of your music CD to the hard drive, play it from the hard drive, and then pause (this will unlock the hard drive)
- “hotswap” your hard drive by disconnecting the xbox ATA cable and connecting instead to the PC’s ATA cable while both are running (NOTE: try to keep the drive as still as possible– the slightest vibration will cause step 15 to fail, and you will need to restart from step 12)
- Press “1″ on your PC keyboard, then at the next prompt, type “xbrowser” and hit enter
- navigate to the ndure folder, then highlight the ndure file and hit enter
- select option 4 to backup C drive to E:/backup. Wait until it finishes
- select option 1 to install Ndure. Wait until all three parts are finished installing
- When the screen says “done, now exiting”, turn off both XBOX and PC
- disconnect the XBOX hard drive from the PC ATA cable, and reconnect it to the XBOX ATA cable
- reconnect your PC’s hard drive to your PC ATA cable
- screw your XBOX case back together
- (optional) boot up into your softmodded XBOX!
- (optional) Install XBMC
Joy2Key Logitech Dual Action Minecraft Configuration
July 20, 2011 at 20:53 | Posted in Guides | Leave a commentIf you have a Logitech Dual Action and want to use it to play Minecraft, you’re in the right place. If you’re running windows, you’ll want to download Joy2Key here. Otherwise, the sourceforge page is here.
Copy and paste the following into a text editor and save it as Minecraft.cfg in the same directory where your J2K executable is.
[General]
FileVersion=37
NumberOfJoysticks=1
Use8Axes=1
UseDiagonalInput=0
UsePOV=1
Threshold=0
KeySendMode=0
[Joystick 1]
Axis1n=1, 41:00:00, 0
Axis1p=1, 44:00:00, 0
Axis2n=1, 57:00:00, 0
Axis2p=1, 53:00:00, 0
Axis3n=2, -50, 0, 0, 0, 0, 0, 0
Axis3p=2, 50, 0, 0, 0, 0, 0, 0
Axis4n=0
Axis4p=0
Axis5n=0
Axis5p=0
Axis6n=2, 0, -50, 0, 0, 0, 0, 0
Axis6p=2, 0, 50, 0, 0, 0, 0, 0
Axis7n=0
Axis7p=0
Axis8n=0
Axis8p=0
POV1-1=0
POV1-2=0
POV1-3=0
POV1-4=0
POV2-1=0
POV2-2=0
POV2-3=0
POV2-4=0
Up-Right=0
Up- Left=0
Dn- Left=0
Dn-Right=0
Button01=2, 0, 0, 0, 1, 0, 0, 0
Button02=1, 20:00:00, 0
Button03=2, 0, 0, 0, 0, 0, 1, 0
Button04=1, 45:00:00, 0
Button05=2, 0, 0, 10, 0, 0, 0, 0
Button06=2, 0, 0, -10, 0, 0, 0, 0
Button07=1, 10:00:00, 0
Button08=0
Button09=0
Button10=1, 1B:00:00, 0
Button11=0
Button12=0
Button13=0
Button14=0
Button15=0
Button16=0
Button17=0
Button18=0
Button19=0
Button20=0
Button21=0
Button22=0
Button23=0
Button24=0
Button25=0
Button26=0
Button27=0
Button28=0
Button29=0
Button30=0
Button31=0
Button32=0
[Joystick 2]
Axis1n=0
Axis1p=0
Axis2n=0
Axis2p=0
Axis3n=0
Axis3p=0
Axis4n=0
Axis4p=0
Axis5n=0
Axis5p=0
Axis6n=0
Axis6p=0
Axis7n=0
Axis7p=0
Axis8n=0
Axis8p=0
POV1-1=0
POV1-2=0
POV1-3=0
POV1-4=0
POV2-1=0
POV2-2=0
POV2-3=0
POV2-4=0
Up-Right=0
Up- Left=0
Dn- Left=0
Dn-Right=0
Button01=0
Button02=0
Button03=0
Button04=0
Button05=0
Button06=0
Button07=0
Button08=0
Button09=0
Button10=0
Button11=0
Button12=0
Button13=0
Button14=0
Button15=0
Button16=0
Button17=0
Button18=0
Button19=0
Button20=0
Button21=0
Button22=0
Button23=0
Button24=0
Button25=0
Button26=0
Button27=0
Button28=0
Button29=0
Button30=0
Button31=0
Button32=0
Start up J2k and select the Minecraft profile. Leave it running while you play and everything should work out fine. Here are the controls I set, it should be easy enough to figure out how to change them to your liking:
How to edit your XBLA SA1 Chao Garden savefile
June 24, 2011 at 11:48 | Posted in Guides | Leave a commentTags: chao, chao garden, HEX, hexidecimal, modio, SA1, sonic adventure, XBLA, xbox 360
- Format a USB flash drive as an XB360 storage device (how-to)
- Copy your Chao Garden save file to your flash drive (My Xbox > System Settings > Memory)
- Insert the flash drive into your computer
- Install modio
- Run modio and select “Open from a device”
- Select your gamer profile, then SA1, then your chao garden save data
- Select the “File Contents” tab at the top
- Right click on savedata.bin, select “Extract File”, and save it to your hard disk
- Install a HEX editor if you don’t have one already (I use MadEdit)
- Open the extracted savedata.bin file with your HEX editor
Now comes the actual HEX editing. This part is easier if you have named your chao with the naming machine. Locate the section of code that looks like this:
I found my chao, MINAKO★, by doing a Ctrl-F search for her name, minus the first character. It will be similar for all chao, for example, here is the section of code that relates to my other chao, HOTARU~.
As you can see, the name information starts in offset *20, column 0A for both (and all) chao. This will make it easier to find the appropriate row and column the chao stats are located in.
Emerald Lance of xboxdev.net provided this handy stat cheat sheet:
Remember, these values are in HEX format, so if you want your chao stat to be 99, you must convert that decimal value to a hex value, making it 63. A chart with number conversions can be found here.
A list of which value corresponds to which trait can be found here. However, do not pay attention to the information there that tells you which offset/column each is found in, because those locations are true only for the PC version of SA1, not XBLA. If a list of possible values is not given, it is safe to assume it is looking for any HEX value: for example, a swimming grade of 99 would correspond to the hex value 63 in offset *40, column 08.
When you are finished editing the file, save it. Then go back to the window from which you originally extracted the savedata.bin file, and right click on it again, instead selecting “Replace file” this time. Select your editted savedata.bin file and hit open. Select the General File Info tab, and press “Rehash and Resign”. Finally, click “Save to Device” in the upper right-hand corner.
Eject your flash drive, plug it back into your Xbox 360, and all should be well.
Rooting and Installing Custom ROMs on the Droid X
May 25, 2011 at 02:15 | Posted in Guides | Leave a commentTags: android, droid, droid x, ROMs, rooting
Rooting
Rooting Your Droid
Note: This is only applicable for Froyo. If you have Gingerbread installed, you’ll need to use another method.
Rooting (getting access to the root account) is fairly simple using the guide at Lifehacker here. Here are the cliffnotes:
- Get SuperOneClick with the USB driver pack here
- Enable USB Debugging mode under Settings > Applications > Development
- Select “Charge Only” under USB Connection in the notifcation bar at the top (can be swiped down)
- Run SuperOneClick on your Windows computer
- If you see a message that says “Root files have been installed!”, your droid has been successfully rooted
Post-Root Applications
What can you do with a rooted droid? Here are a few things I’ve done:
Enable reboot and other functionality in AutomateIt
Run a VNC server on your droid
Tether your wifi (share your phone’s internet by broadcasting wifi) without charges from your phone carrier- Install a custom ROM (more info below)
Installing a Custom ROM
Foreword: The bootloader on the Droid X is locked — this means practically that you cannot install popular ROMs like Cyanogenmod, and will need Droid X-specific “ROMs”, which use a workaround to install, and alter the stock rom, rather than installing a fresh, new ROM (AFAIK).
Also worthy of mention: Your droid MUST be rooted in order to install a custom ROM.
Choosing a ROM
There is a brief review of many popular ROMs for the Droid X here. Otherwise, Google is your friend. After selecting the ROM you would like, download its associated .zip file and copy it to your droid’s SD card.
Installing the ROM
- Enable the installation of non-market apps under Settings > Application > Unknown Sources
- Download Koush’s Droid X bootstrap app here. (Official page here)
- Copy the bootstrap app (.apk file) to your Droid’s SD card
- Navigate to the location of the app using Files or ASTRO, etc, and install the app
- Open the app and choose the first option, then the second option (reboot)
- Use the volume up/down buttons to navigate the menu that appears, and the camera button to select. Choose the option to wipe phone memory/cache **THIS WILL ERASE ALL DATA STORED ON YOUR PHONE AND RESET TO FACTORY DEFAULTS**
- Choose the option to install a .zip file from SD card
- Navigate to the location of the .zip file on your card and select it
- Hit the back button and reboot your Droid into your new ROM
Index of textbook downloading sites
January 8, 2011 at 16:17 | Posted in Uncategorized | Leave a commentI’ll list all the sites I came across, functional or not. You decide. Remember to consider looking for a collection torrent, and then specifically downloading the file you need within it. It’s also handy to have the ISBN of the book you need.
Google | The Pirate Bay | Mininova | Demonoid
Functional
- bib.tiera.ru/static
- torrentmybooks.com
- Gigapedia.org (requires registration with gmail account)
- bibliotek.dk
- ebookshare.net
- pdf-search-engine.com (finds course requirements more often than books)
- myanonamouse.net (requires registration)
- opentextbook.org (only lists textbooks in public domain)
Nonfunctional
- bitme.org (invitation only)
- thevault.bz (invitation only)
- theplace.bz (invitation only)
- learnbits.me (registration required/signups closed)
- textbooktorrents.com (no longer provides torrents)
- librarypirate.com (nonfunctional, broken navigation links)
- docspedia.org (appears to be unavailable)
- ebookvortex.com (appears to be unavailable/requires registration)
Restoring/Downgrading ipod firmware to 3.1.3
August 19, 2010 at 18:48 | Posted in Guides | Leave a commentTags: 3.1.3, downgrade, ipod, ipod touch, itunes, jailbreak, restore
Note: I did this with a jailbroken ipod. Step 3 may WILL be invalid for you if you don’t have a jailbroken ipod, or did not choose the “Make my life easier” button when you first opened Cydia.
Also important: BY DOING THIS, ALL YOUR MUSIC, APPS, CUSTOM SETTINGS, ETC WILL BE GONE. This will restore back to factory default settings.
- Make sure you have a version of iTunes that is lower than 9.2 (if not, then uninstall and install version 9.1.1 (64-bit version here))
- Download ipod firmware 3.1.3
- Append the following line to your C:/windows/system32/drivers/etc/hosts file: “74.208.10.249 gs.apple.com” (without quotes)
- Plug ipod into computer via USB
- enter DFU mode
- hold power button and slide to power off ipod
- hold power button and home button simultaneously for 10 seconds
- release power button, continue to hold home button for 10 seconds
- iTunes should pop up a dialogue that says you have plugged in an ipod in restore mode, close the dialogue
- select your ipod from the sidebar, and shift-click the “Restore” button
- select the downloaded ipod firmware version 3.1.3
Tada! It’s magical.
How to transfer files wirelessly to your ipod touch/iphone
August 10, 2010 at 13:58 | Posted in Guides | Leave a commentTags: cydia, iphone, ipod touch, jailbreak, sftp, ssh
- Jailbreak your ipod/iphone
- Install “openssh” from the Cydia app store
- Find the local IP address of your device under Settings>WiFi>Your_Connection_Here
- Open your favourite FTP client (Filezilla, FireFTP, etc)
- Connect with your IP address via SFTP, port 22, username “root”, password “alpine”
- Ta da!
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.



