• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

AUTHORSH A D16-Aug-2004302 76

COPYINGH A D01-Jan-200417.6 KiB341281

ChangelogH A D26-Aug-20048.9 KiB390251

MakefileH A D26-Aug-2004368 2013

READMEH A D26-Aug-20041.9 KiB4636

fpk.cH A D16-Aug-20044.7 KiB183124

fpk.hH A D16-Aug-20042 KiB5927

gp32cmds.cH A D19-Aug-200416.9 KiB792627

gp32cmds.hH A D16-Aug-2004719 4226

gplink.cH A D26-Aug-20049.3 KiB435382

usb_drv.cH A D16-Aug-20041.9 KiB9257

usb_drv.hH A D01-Jan-2004138 104

README

1
2gplink is a gp32 linking tool for linux.  It should also be possible to
3compile it for any platform supported by libusb, though some endian stuff
4probably needs fixing for non x86 architectures.
5
6Requirements: Set up usbdevfs: http://www.linux-usb.org/USB-guide/x173.html
7When you plug in and switch on your gp32 you should see an extra entry appear
8under /proc/bus/usb/<bus number>/
9
10Permissions: For gplink to be able to access the usb bus you need to either:
11a) set permissions on usbdevfs to 0666 using an fstab entry like: none
12/proc/bus/usb usbdevfs devmode=0666 0 0 b) use gplink as root, or c) use
13something like linux hotplug (http://linux-hotplug.sourceforge.net) to manage
14the permissions.
15
16A statically linked binary for linux is included in the archive.  To build
17gplink requires libusb (http://libusb.sourceforge.net).
18
19usage: gplink [-lchx] command arguments
20gplink info                            get smc info
21gplink ids                             get ids (pduid etc)
22gplink ls [directory name]             smc directory listing
23       -l print file sizes
24gplink get source [destination dir]    download file
25	-r download files recursively
26gplink put file [file...] destination  upload file(s) to given destination
27       -c do 8.3 filename conversion
28gplink install file.fpk                install fpk archive
29gplink mkdir path                      create directory
30gplink rmdir path                      delete directory
31gplink rm file                         delete file
32gplink run file                        run .gxb or .fxe file
33       (requires pc-link/multi-fw)
34
35options:
36-h print numbers in human readable format
37-x end link mode after operation
38
39Paths can be specified in either /gpmm/blah.fxe or gp:\gpmm\blah.fxe format,
40but remember to escape backslashes if you use them.
41
42Error recovery isn't too good yet.  If an operation doesn't work you
43might have to switch your gp32 off and on for the link command to start
44working again.
45
46