AminetAminet
Search:
84450 packages online
About
Recent
Browse
Search
Upload
Setup
Services

driver/input/fakepad.lha

Mirror:Random
Showing:ppc-powerupgeneric
No screenshot available
Short:Emulate CD32 joypad using joystick & kb
Author:jffabre at club-internet.fr (Jean-François Fabre)
Uploader:jffabre club-internet fr (Jean-François Fabre)
Type:driver/input
Version:0.1
Architecture:m68k-amigaos
Distribution:Aminet
Date:2006-05-26
Download:http://aminet.net/driver/input/fakepad.lha - View contents
Readme:http://aminet.net/driver/input/fakepad.readme
Downloads:5891

FakePad is © 1999 Jean-François Fabre

What you need:

- A OS 3.x Amiga
- CD32 games that you cannot use on your amiga because you haven't got a CD32
joypad
  and which use lowlevel.library
- lowlevel.library (it's on most CD32 CDs)
- A joystick
- A keyboard with function keys :)
- warnifpressed (optionnal)


This utility allows the CD32 programs using lowlevel.library to read the
joypad to work without the joypad, even when the game absolutely needs 
a joypad to run (e.g. Robocod CD32).
Only port 1 (gameport) is converted to joypad, port 0 remains unchanged
(means that the original port read is still active in this case,
mouse or joystick will be properly detected)

Even if I don't know games demanding 2 joypads, it may be necessary
to change the port 0 behaviour. I need feedback so I can improve the program

To run the patch, simply click on the fakepad icon or run it from cli.
To remove the patch, simple click on the killfakepad icon or run it from cli.

It is safe to run the patch more than once (same thing for killfakepad)

Use the checkbtns script to test the button emulation (you'll need the
warnifpressed utility (not included for copyright reasons))

Key/Joystick mapping:

Directions: joystick
Fire (red): joystick fire button
Blue: joystick 2nd button (if any) or F1 key
Green: F2 key
Yellow: F3 key
Play: F4 key
Left ear: F5 key
Right ear: F6 key

Example of CD32 games using lowlevel.library (and to which this patch may be
applied):

- D-Generation
- Robocod
- Super Street Fighter II Turbo
- Gunship 2000
- Worms

Some games NOT using lowlevel.library:

- Sensible Soccer
- James Pond 3
- Oscar
- Universe

Note that JST fixes exist for some CD32 games, and the fix includes CD32
pad emulation

The source code is included. You can check how lame my coding is.
You'll need gnu make and phxass to generate the exes.

Thanks go to:

- Kenneth C. Nilsen/Digital Surface for the startup code
- Angus Manwaring for indirectly giving me the idea to do this program


Contents of driver/input/fakepad.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  133     430  30.9% -lh5- 4072 Nov 14  1999 FakePad/checkbtns
[generic]                 1302    2216  58.8% -lh5- 0c84 Nov 14  1999 FakePad/checkbtns.info
[generic]                 1165    1828  63.7% -lh5- 12b1 Nov 14  1999 FakePad/fakepad
[generic]                 1261    1661  75.9% -lh5- 6a52 Nov 14  1999 FakePad/fakepad.info
[generic]                 1113    2173  51.2% -lh5- c084 Nov 14  1999 FakePad/fakepad.readme
[generic]                 1131    1948  58.1% -lh5- 7635 Nov 14  1999 FakePad/fakepad.readme.info
[generic]                  919    1368  67.2% -lh5- dd0a Nov 14  1999 FakePad/killfakepad
[generic]                 1083    2072  52.3% -lh5- 91be Nov 14  1999 FakePad/killfakepad.info
[generic]                 1506    2334  64.5% -lh5- 7d8a Nov 14  1999 FakePad/src.info
[generic]                   17      17 100.0% -lh0- d2de Jun 26  1999 FakePad/src/Build
[generic]                 2011    3133  64.2% -lh5- 6e0d Nov 14  1999 FakePad/src/Build.info
[generic]                 1910    4897  39.0% -lh5- 6c73 Nov 14  1999 FakePad/src/fakepad.asm
[generic]                 1048    1752  59.8% -lh5- 8f4d Nov 14  1999 FakePad/src/fakepad.asm.info
[generic]                  728    1618  45.0% -lh5- cad9 Nov 14  1999 FakePad/src/killfakepad.asm
[generic]                 1043    1751  59.6% -lh5- 6562 Nov 14  1999 FakePad/src/killfakepad.asm.info
[generic]                  171     417  41.0% -lh5- b71b Jun 26  1999 FakePad/src/libs.i
[generic]                  952    1423  66.9% -lh5- 6919 Nov 14  1999 FakePad/src/libs.i.info
[generic]                 9576   42002  22.8% -lh5- d63b Jun 26  1999 FakePad/src/LVOs.i
[generic]                  963    1423  67.7% -lh5- d3c5 Nov 14  1999 FakePad/src/LVOs.i.info
[generic]                  164     332  49.4% -lh5- f90e Nov 14  1999 FakePad/src/Makefile
[generic]                 1073    1652  65.0% -lh5- 3639 Nov 14  1999 FakePad/src/Makefile.info
[generic]                 4255   12145  35.0% -lh5- 01f7 Jun 26  1999 FakePad/src/startup.asm
[generic]                  999    1536  65.0% -lh5- 89bb Nov 14  1999 FakePad/src/startup.asm.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        23 files   34523   90128  38.3%            May 26  2006

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>