Clauncher

From wikiPodLinux


This is a simple Command Line Interface (CLI) program launcher for 5th Generation iPods.


Note! Clauncher is now obsolete! You can now launch programs such as iBoy or iDoom directly from the podzilla2 File Browser, or from the cool Llauncher podzilla2 module.


EDIT: I've tried it and it also works on 4th Generation iPods, it might work on others, try it.

Table of contents

Screenshots

Upload | View All

Image:Clauncher1.JPG


Current Status

Works. Successfully launches podzilla2, iDoom, and iBoy, returning back to the menu after exiting.

Power functions work as well.

Installation

Note: These instructions appeal to "winpod" owners. 
Macpod instructions shouldn't be very different, just use the file paths that apply to your situation.
  • Compile or download a binary of CLauncher.
  • Place the binary somewhere on the iPod (the root of the music partition is fine).
  • Edit your rc. This can be done either from a linux desktop using a text editor to open etc/rc on the iPod, or, if you're a masochist, you can use PodWrite on /etc/rc in the podzilla2 file browser on the iPod itself.
  • (this step is only for editing the rc from your iPod running ipl) To edit it from your iPod (not extremely hard) use file browser and go to scroll down to foler etc and press the center button. Now scroll down and highlight the file rc. Hold the center button for 2 seconds and a menu will come up. Highlight open with PodWrite and press the center button. Press "MENU" and hit move cursor. Scroll down with the ClickWheel untill you get to the bottom line. Press menu to switch to the keyboard and use the backspace (bs) or delete (dl) to remove either "podzilla" or "/sbin/podzilla" then use the onscreen keyboard again to type in "/mnt/clauncher" and your done. save it and reboot your ipod and Clauncher should start up.

Look for the line that contains "podzilla" or "/sbin/podzilla" (probably the last line), and replace it with the path to the clauncher binary. So, if you placed it in the FAT32 partition's root, the last line of rc should look like:

/mnt/clauncher

where /mnt is where the FAT32 partition is mounted.

  • That should be it. Reboot, enjoy.

Usage

Unfortunately, all three program entries (podzilla2, iDoom, iBoy) and their locations are hard-coded into the locations. This basically means, that you either put iDoom and iBoy where I want them to be, or change the source code and recompile it yourself. The locations of iDoom and iBoy (directories) need to be under /mnt (typically that's the FAT32 partition's root), and each directory should contain the program's binary with the same name.

iDoom: /mnt/iDoom/iDoom
iBoy: /mnt/iBoy/iBoy

Once you've booted iPodLinux and are at the CLauncher menu, simply press the key of the option you want, and hit the center button.

  • Remember, filenames in Linux are case-sensitive.

Getting the Source

The source code can be found here: http://ipodlinux.org/images/e/ea/Clauncher1.0.tar.gz

I used arm-elf-gcc version 3.4.3 to compile CLauncher, by running

$ arm-elf-gcc clauncher.c -o clauncher -elf2flt

If you have an ipod with the fat32 mounted at /hp, download this variation: http://ipodlinux.org/images/e/eb/Clauncher.c

As I understand it, new users who hae a new ipod today will select podzilla 2 when setting up their ipodlinux. Why not link the binary for the /hp tweak? Then we can all play without much hassle, thanks --Podux 05:55, 25 Aug 2006 (CDT)

Getting the Binary

The binary can be found here: http://ipodlinux.org/images/e/ea/Clauncher1.0.tar.gz

(Yes, both the binary and the source file are in the same archive. Woohoo.)

Thanks

This program is the end result of all the help I got from other developers in #ipodlinux. Thanks go out to everyone who helped me through this first program of mine.

Navigation



  • Google Search (http://www.google.com/custom?sa=Google+Search&cof=S%3Ahttp%3A%2F%2Fwww.ipodlinux.org%3BVLC%3Apurple%3BAH%3Acenter%3BBGC%3Awhite%3BLH%3A141%3BLC%3Ablue%3BL%3Ahttp%3A%2F%2Fipodlinux.org%2Fstylesheets%2Fimages%2Fwiki.png%3BALC%3Ablue%3BLW%3A128%3BT%3Ablack%3BAWFID%3A70a74ab66f4d59ae%3B&domains=ipodlinux.org&sitesearch=ipodlinux.org)