Jump to content


Photo

Apple ][ Emulator For Pandora


  • Please log in to reply
39 replies to this topic

#31 JerryBlade

JerryBlade

    Member

  • Members
  • PipPip
  • 23 posts

Posted 07 September 2011 - 11:16 PM

New Update:

Version 1.4.0.0:
Added the ability to map ABXYRL and the Joypad to any ASCII Keystroke via linapple.conf

NOTE: Delete your linapple.conf for it to load the new one in its place.

Alternately, you can just add this section to your existing linapple.conf:


#######################################################################
#
# Custom Keyboard Mapping
# Map the following Keys using ASCII values (A-Z = 65-90)
A Button  = 85
B Button  = 79
X Button  = 0
Y Button  = 0
R Button  = 0
L Button  = 0
U Keypad  = 73
D Keypad  = 75
R Keypad  = 76
L Keypad  = 74

This is an example with Lode Runner "IJKL UO" keys loaded

Enjoy :)

Edited by JerryBlade, 08 September 2011 - 12:02 PM.


#32 JerryBlade

JerryBlade

    Member

  • Members
  • PipPip
  • 23 posts

Posted 11 September 2011 - 05:04 PM

New Update:

Controls can now be disk based. So, you can have IJKL-UO for Lode Runner mapped to the d-pad and two buttons, and some other control scheme to another. If the disk section is not defined in linapple.conf, it grabs the default one.

NOTE: Delete your existing linapple.conf for it to load the new one with the added control functionality. For instructions on how to use this, please refer the the linapple.conf in the PND.

Enjoy! :)

----------------------------------------------------------------------------------------------------
Hit F1 for instructions on how to operate the emulator.

For OpenPandora linapple version 1.4.2.1:
Disk specific control sections of the config file can now be used. Please see linapple.conf for details

For OpenPandora linapple version 1.4.0.0:
Added the ability to map ABXYRL and the Joypad to any ASCII Keystroke via linapple.conf

----------------------------------------------------------------------------------------------------

Here is what linapple.conf would look like with IJKL-UO mapped to the D-Pad + AB for Lode Runner.dsk
#######################################################################
#
# Custom Keyboard Mapping
# Map the following Keys using ASCII values (ex: A-Z = 65-90)
A Button  = 0
B Button  = 0
X Button  = 0
Y Button  = 0
R Button  = 0
L Button  = 0
U Keypad  = 0
D Keypad  = 0
R Keypad  = 0
L Keypad  = 0
Lode Runner.dsk - A Button  = 85
Lode Runner.dsk - B Button  = 79
Lode Runner.dsk - X Button  = 0
Lode Runner.dsk - Y Button  = 0
Lode Runner.dsk - R Button  = 0
Lode Runner.dsk - L Button  = 0
Lode Runner.dsk - U Keypad  = 73
Lode Runner.dsk - D Keypad  = 75
Lode Runner.dsk - R Keypad  = 76
Lode Runner.dsk - L Keypad  = 74

Edited by JerryBlade, 12 September 2011 - 01:41 PM.


#33 naples39

naples39

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 686 posts

Posted 12 September 2011 - 05:48 PM

I was trying this out the other day--how do you set it up to play games that used a joystick on an Apple II machine? Can it be done?

#34 JerryBlade

JerryBlade

    Member

  • Members
  • PipPip
  • 23 posts

Posted 12 September 2011 - 06:18 PM

I was trying this out the other day--how do you set it up to play games that used a joystick on an Apple II machine? Can it be done?


Absolutely. You need to make sure that both a joystick is enabled and the buttons are mapped to pandora buttons. The default linapple.conf should come set up like this:

#######################################################################
#
#	Joysticks, those sticks of joy! There may be 2 joysticks at the same time
#	0	- joystick disabled
#	1	- use PC joystick #1 or #2, for corresponding joystick
#	2	- Keyboard standard <depreciated on Pandora>
#	3	- Keyboard centered <depreciated on Pandora>
#	4	- Use mouse as a joystick. Rather interesting thing, try it. Useful in Fantavision™

	Joystick 0	=	1
	Joystick 1	=	0

#######################################################################
#
#	Joystick Buttons can be configured as follows:
#	0	- button disabled
#	1	- A Button
#	2	- B Button
#	3	- X Button
#	4	- Y Button
#	5	- R Button
#	6	- L Button

	Joystick Button 0	=	1
	Joystick Button 1	=	3
	Joystick Button 2	=	4

This means that the left nub is the first Joystick, and it uses A & X for the two joystick buttons. If you do not see these sections in your linapple.conf, you have an "old" version. I would suggest deleting your existing one from the appdata/linapple directory so that the emulator will replace it with a fresh default one.

Also, once you get that working, you can have a different setup for each disk you load.

Hope that helps!

-Jerry

#35 naples39

naples39

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 686 posts

Posted 12 September 2011 - 06:56 PM

Thanks. I will try it tonight. I need to try some Apple II Galaxian and Stick Bear Basket Bounce, the only games I had when my dad wouldn't get me a Nintendo!

#36 naples39

naples39

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 686 posts

Posted 12 September 2011 - 11:56 PM

I can move around with the left nub fine after selecting the joystick in the game menu, but no luck on the joystick buttons. My .conf file is like your example, which is default anyway. Anything else I'm forgetting to do?

#37 JerryBlade

JerryBlade

    Member

  • Members
  • PipPip
  • 23 posts

Posted 13 September 2011 - 02:19 PM

I can move around with the left nub fine after selecting the joystick in the game menu, but no luck on the joystick buttons. My .conf file is like your example, which is default anyway. Anything else I'm forgetting to do?


It looks like I broke joystick buttons with the latest update <eep!>. I am working on it now and will have a fix up shortly :)

#38 JerryBlade

JerryBlade

    Member

  • Members
  • PipPip
  • 23 posts

Posted 13 September 2011 - 02:49 PM


I can move around with the left nub fine after selecting the joystick in the game menu, but no luck on the joystick buttons. My .conf file is like your example, which is default anyway. Anything else I'm forgetting to do?


It looks like I broke joystick buttons with the latest update <eep!>. I am working on it now and will have a fix up shortly :)


Ok - it's fixed, and a new version is up on the repo. Let me know how that works for you. Thanks!

#39 naples39

naples39

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 686 posts

Posted 14 September 2011 - 02:47 AM

Working good now. Thanks!

Now the question is do I make a config for Oregon Trail....

#40 zoranc

zoranc

    Member

  • Members
  • PipPip
  • 28 posts

Posted 02 March 2012 - 10:16 AM

Wow nice, the button mapping work very well for me. Now I'm able to play the two favorite games!

There is a small glitch though: I can't use ctrl combinations with key pad. Ctrl with the normal keyboard works thought. Also it would be very nice if one could map for instance CTRL to A/B/X... That way "ctrl-j" would be R-left for instance. Yeah the "Robot Odyssey" has maybe one of the most complex controls of all apple 2 games...

Thanks for the awesome work so far!