Page 1 of 2
Apple II gamebase - Games not loading
Posted: Wed May 20, 2015 5:49 pm
by repetto74
Hi Guys,
I am using Apple II gamebase but I cannot start any of the selected games using Applewin (version 1.20). Games will load fine if using the Mess emulator enclosed into the Gamebase pack.
With Applewin all I can see is a garbled screen. On the disk icon on the right I can see that the disk is inserted but no loading.
Anyone can help?
Posted: Wed May 20, 2015 7:11 pm
by .mad.
This latest version fixes a bug in command line.
https://github.com/AppleWin/AppleWin/re ... 25.0.4.zip
Run the emulator once, (outside of gamebase)
click Joystick button and select model "Enhanced Apple//e"
and quit so it writes settings to registry.
script - AppleWin.txt
Code: Select all
Add_CLP(-d1 %gamepathfile%)
Run_Emulator()
emulators.ini
Code: Select all
[Emulators]
1=AppleWin
2=
[AppleWin]
UseShortFilenames=0
UseDefaultTypes=0
SupportedTypes=dsk;po;bin;nib;do;
EmulatorPathFile=C:\GameBase\Apple2Mania\Emulators\AppleWin1.25.0.4\Applewin.exe
ScriptFile=AppleWin.txt
WaitFinish=1
1=
Not sure about your install location, settings or OS. As you did not say...
but it works fine when installed on C:. winXP x86
AppleWin Command Line functions...
Code: Select all
AppleWin can be driven from the command line as follows...
-d1 <pathname>
Start with a disk in drive-1
-d2 <pathname>
Start with a disk in drive-2
-f
Start in full-screen mode
-r <number of pages>
Emulate a RAMworks III card with 1 to 127 pages (each page is 64K, giving a max of 8MB)
-f8rom <rom-file>
Use custom 2K ROM at [$F800..$FFFF]. <rom-file> must be 2048 bytes long
-printscreen
Enable the dialog box to display the last file saved to
-use-real-printer
Enables Advanced configuration control to allow dumping to a real printer
-noreg
Disable registration of file extensions (.do/.dsk/.nib/.po)
-memclear <n>
Where n is [0..7]:
0 Initialize memory to zero
1 Initialize memory to random values
2 Initialize memory to 4 byte pattern: FF FF 00 00
3 Initialize memory to even pages FF, odd pages 00
4 Initialize memory to first half page 00, last half page FF
5 Initialize memory to first half page FF, last half page 00
6 Initialize memory to byte offset of that page
(current memory address low byte)
i.e. 00:00 01 02 03 ... for page $20
7 Initialize memory to page address
(current memory address high byte)
i.e. 00:20 20 20 20 ... for page $20
-l
Enable logging. Creates an AppleWin.log file
-m
Disable DirectSound support
-no-printscreen-dlg
Suppress the warning message-box if AppleWin fails to capture the PrintScreen key
Posted: Thu May 21, 2015 3:31 pm
by repetto74
Hi Mad
Thanks a lot for your help! I will give this a try
By the way should I also replace the Applewin script with the one you posted here?
Yes, my emulators is in the C:/ folder and I am running XP 32bits on my cab.
This is my current Applewin script :
If GameType CONTAINS(2mg)
Add_CLP(-hdd1 %gamepathfile%)
Else
Add_CLP(-d1 %gamepathfile%)
End If
If Key_load CONTAINS(*)
Run_Emulator_Send_Keys([4]%load_value%[1]||50)
Else
Run_Emulator()
End If
Posted: Thu May 21, 2015 5:32 pm
by .mad.
i do not think the -HDD1 command line exists in this version.
after further testing, i am certain the problem is the machine model setting.
several games do not work with the basic model...
Apple ][ (original)
it just shows a garbled screen ??@@??@@??.
every model above works ok with the games i tested.
Script update to insert 2nd disk if file found...
Code: Select all
Add_CLP(-d1 %gamepathfile%)
If NumGameFiles > 1
Add_CLP( -d2 %gamepathfile(1)%)
End If
Run_Emulator()
;Apple Model settings are stored in Registry...
;-----------------------
;Windows Registry Editor Version 5.00
;
;[HKEY_USERS\S-1-5-21-1960408961-1788223648-1417001333-1004\Software\AppleWin\CurrentVersion\Configuration]
;"Apple2 Type"="16"
;--------------------------------------
; 0 = Apple][ Original
; 1 = Apple][+
; 16 = Apple //e
; 17 = Enhanced Apple //e
;272 = Clone
Example
Conan (1984)(Datasoft).ZIP <- select as game file
Conan_Side A.dsk <- Select 1st disk as runnable file from gamebase
Conan_Side B.dsk <- This image will be inserted into drive 2
Posted: Thu May 21, 2015 6:17 pm
by repetto74
Hi Mad,
Yes the garbled screen is how you have described it.
I will use your script with the emulator set to enhanced Apple //e and see what happens.
Many thanks!
Posted: Fri May 22, 2015 5:37 pm
by repetto74
Hi Mad
Thanks a lot it's working now! As you said changing the type of machine emulated is doing the job
I am trying to dig out now how to map my controls to the emulator...
Posted: Fri May 22, 2015 6:05 pm
by .mad.
simple answer, you can't map your own keys.
only option is to choose one of the defaults in the emulator.
Joystick 1:
Disabled
PC Joystick #1
Keyboard (cursors)
Keyboard (numpad)
Mouse
your choice will be saved to the registry, until you decide to change it again.
Posted: Fri May 22, 2015 7:19 pm
by repetto74
Hi Mad,
Ok so I cannot map controls to any keys of my keyboard? I am using a control panel linked to the PC keyboard input with a JPAC.
So I need to use any USB joystick for game control?
Posted: Sat May 23, 2015 9:57 am
by .mad.
Not 100% if your J-Pac will work as it goes through keyboard to map arcade style buttons.
any normal USB controller will work.
Tested Conan(DataSoft) with a PS2 Pad via a USB-PS2 Adapter.
From emulator select Input:
PC Joystick #1
---
You might have to use an external program like Xpadder or JoytoKey to map keys to joystick.
Posted: Sat May 23, 2015 5:25 pm
by repetto74
Hi Mad,
Ok it's working fine with my USB pad
. One last thing and it will be perfect.Where do I need to change the script to run Applewin in full screen?
The command line is -f but where should this go?
Posted: Sat May 23, 2015 6:52 pm
by .mad.
Code: Select all
Add_CLP(-d1 %gamepathfile%)
If NumGameFiles > 1
Add_CLP( -d2 %gamepathfile(1)%)
End If
;Run Emulator in Full Screen (Press F6 for Window).
Add_CLP( -f)
Run_Emulator()
;Apple Model settings are stored in Registry...
;[code]
;Windows Registry Editor Version 5.00
;
;[HKEY_USERS\S-1-5-21-1960408961-1788223648-1417001333-1004\Software\AppleWin\CurrentVersion\Configuration]
;"Apple2 Type"="16"
;
; 0 = Apple][ Original
; 1 = Apple][+
; 16 = Apple //e
; 17 = Enhanced Apple //e
;272 = Clone
[/code]
Just for my pleasure...
i have now renamed all disk files from TOSEC to the GameBase format. All Disk B's get inserted in Drive 2 automatically now.
Also cleaned up the MDB file.
If anyone want's it... and Mark doesn't object.
i will upload.
Posted: Sat May 23, 2015 7:59 pm
by freenit
yes .mad., i'm interested.
Posted: Mon May 25, 2015 1:58 pm
by repetto74
Hi Mad,
Thanks for your help. All is set and working good but only for Applewin 1.20. I just do not know why but Apllewin 1.25 will miserably crash when launched through Gamebase (working good when launched directly from the folder).
I am using Gamebase version 1.3 and do not understand why I get the prompt windows massage of error with Applewin 1.25
I am fine with Applewin 1.20 but I would like to add also the script parameter to load directly side B disks. Where should I add the line in the script for Applewin 1.20?
if GameType CONTAINS(2mg)
Add_CLP(-hdd1 %gamepathfile%)
Else
Add_CLP(-d1 %gamepathfile%)
End If
If Key_load CONTAINS(*)
Run_Emulator_Send_Keys([4]%load_value%[1]||50)
Else
Run_Emulator()
End If
Posted: Mon May 25, 2015 6:41 pm
by .mad.
Maybe having two versions of Applewin is corrupting your registry.
From the AppleWin folder.
Right click on "DELREG.INF" and select install.
then delete the emulator folder.
Now start again with a clean install of this...
Apple2Mania (Update1) - Original Extras not included.
https://mega.co.nz/#!nkZB1Daa!9cm-YbHQE ... HQ_zz8ytsY
Before you run it read the docs, and follow the instructions.
After you have a clean install. Double click on Applewin.reg in the scripts folder to write Applewin settings to the registry.
Posted: Sun Oct 11, 2015 3:42 pm
by repetto74
Hi Mad,
I have clean installed the Applemania and all is running fine but I cannot have Applewin running in fullscreen. Apparently the command line parameter is set in the script but Applewin will always load windowed.
Note also that each time I try to write the Applewin.reg I get a prompt error message "registry access error"
I do not know what this reg file will exactly do. The gamebase Applemania is fully working but without fulscreen.