Jump to content

Help with Apple II please


DaveSCramer

Recommended Posts

Posted

I am able to play games via AppleWin outside of RocketLauncher. I have the most current version of AppleWin. I audited the roms and they are recognized. I double checked that my paths are correct. I do not have fade enabled. When I launch a game I get the following error: "there was an error waiting for the window" ahk_class APPLE2FRAME. Then of course, it stops. I hope someone can give me some help. Thank you in advance. Here's my log:

 

09:55:00:948 | RL |      INFO  | +N/A   | Main - RocketLauncher v1.1.1.1 (www.rlauncher.com)
09:55:01:015 | RL |      INFO  | +62    | Main - System Specs:
RocketLauncher Dir: H:\RocketLauncher
RocketLauncher is: 32-bit
OS: Microsoft Windows 10 Home
SKU: Windows 8
Total Memory: 8109.48 MB
Free Memory: 4182.78 MB
Used Memory: 3926.707 MB
SystemType: 64-bit
Physical Processors: 1
Logical Processors: 8
GPU 1 Name: NVIDIA GeForce GTX 765M
GPU 1 RAM: -2048.00 MB
GPU 1 Driver Version: 21.21.13.7254
Sound 1 Device: Realtek High Definition Audio
Sound 1 Status: Enabled
Sound 2 Device: NVIDIA High Definition Audio
Sound 2 Status: Enabled
Sound 3 Device: NVIDIA Virtual Audio Device (Wave Extensible) (WDM)
Sound 3 Status: Enabled
OS Language: English_United_States
System Locale: en-US
Formats Locale: en-US
Windows UI Language: en-US
Text Encoding: Windows-1252
OS Admin Status: No
RL Compatibility Flags: 
Latest .Net Version: v4.0.30319
Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1040 work) [32bit] [60hz] [Landscape]  (Primary)
Current AHK Desktop Width: 1920
Current AHK Desktop Height: 1080
Monitor #1 DPI: 100
ErrorMode: 0
AutoHotkey Path: 
AHK Version: 1.1.13.00
Unicode: No
09:55:01:015 | RL |      INFO  | +0     | CheckFile - Checking if H:\RocketLauncher\RocketLauncher.exe exists
09:55:01:015 | RL |      INFO  | +0     | Main - Raw CLI received: "-s Apple II -r Congo Bongo (USA) -f H:\HyperSpin\HyperSpin.exe -p HyperSpin -c 1 -o 1"
09:55:01:015 | RL |      INFO  | +0     | Main - Loading Front End Plugin: "HyperSpin"
09:55:01:015 | RL |      INFO  | +0     | Main - RocketLauncher received "Apple II" and "Congo Bongo (USA)"
09:55:01:031 | RL |      INFO  | +16    | Main - Did not find a "H:\RocketLauncher\Settings\Apple II\Game Options.ini" file, skipping any game-specific options.
09:55:01:031 | RL |      INFO  | +0     | Main - Congo Bongo (USA) is using the default emulator: AppleWin
09:55:01:031 | RL |      INFO  | +0     | Main - Checking for a [AppleWin] section in H:\RocketLauncher\Settings\Apple II\Emulators.ini
09:55:01:031 | RL |      INFO  | +0     | Main - Found [AppleWin] in H:\RocketLauncher\Settings\Apple II\Emulators.ini
09:55:01:031 | RL |      INFO  | +0     | CheckFile - Checking if H:\RocketLauncher\Modules\AppleWin\AppleWin.ahk exists
09:55:01:031 | RL |      INFO  | +0     | Main - CRC Check - CRC matches, this is an official unedited module.
09:55:01:031 | RL |      INFO  | +0     | Main - Congo Bongo (USA) will use module: H:\RocketLauncher\Modules\AppleWin\AppleWin.ahk
09:55:01:031 | RL |   WARNING  | +0     | RIniLoadVar - Created missing Global ini key: "Fade_Click_Through " in section: "Fade" in "H:\RocketLauncher\Settings\Global RocketLauncher.ini"
09:55:01:031 | RL |   WARNING  | +0     | RIniLoadVar - Created missing System ini key: "Fade_Click_Through " in section: "Fade" in "H:\RocketLauncher\Settings\Apple II\RocketLauncher.ini"
09:55:01:062 | RL |      INFO  | +31    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
09:55:01:062 | RL |      INFO  | +0     | CheckFile - Checking if C:\Emulators\AppleWin1.25.0.3\Applewin.exe exists
09:55:01:062 | RL |      INFO  | +0     | Main - INI Keys read
09:55:01:062 | RL |      INFO  | +0     | CheckFile - Checking if H:\RocketLauncher\Module Extensions\7z.exe exists
09:55:01:062 | RL |      INFO  | +0     | CheckFile - Checking if H:\RocketLauncher\Module Extensions\7z.dll exists
09:55:01:062 | RL |      INFO  | +0     | Main - "Congo Bongo (USA)" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
09:55:01:062 | RL |      INFO  | +0     | CheckPaths - Started
09:55:01:062 | RL |      INFO  | +0     | CheckPaths - Looking for rom: H:\New folder\Apple II\ROMs\Congo Bongo (USA).7z
09:55:01:062 | RL |      INFO  | +0     | CheckPaths - Found rom: H:\New folder\Apple II\ROMs\Congo Bongo (USA).7z
09:55:01:062 | RL |      INFO  | +0     | CheckPaths - Ended
09:55:01:062 | RL |      INFO  | +0     | BuildScript - User Variables:
;----------------------------------------------------------------------------
; INJECTED VARIABLES
;----------------------------------------------------------------------------
 
#NoTrayIcon
#InstallKeybdHook
MiscUtils.DetectHiddenWindows("On")
SetTitleMatchMode, 2
SendMode, Event
0 = 12
rlPath = H:\RocketLauncher
pluginPath = H:\RocketLauncher\Plugins
pluginName = HyperSpin
pluginExt = .plugin
contextOnExit = 1
rlMode = 
rlTitle = RocketLauncher
rlVersion = 1.1.1.1
rlAuthor = djvj
rlURL = www.rlauncher.com
langFile = H:\RocketLauncher\Data\Language\Localization.ini
primMonitor = 1
frontendPID = 
frontendPath = H:\HyperSpin
frontendExe = HyperSpin.exe
frontendExt = exe
frontendName = HyperSpin
frontendDrive = H
exitEmulatorKey = ~Esc
restoreFE = false
exitScriptKey = ~q & ~s
toggleCursorKey = ~e & ~t
emuFullPath = C:\Emulators\AppleWin1.25.0.3\Applewin.exe
emuPath = C:\Emulators\AppleWin1.25.0.3
emuName = AppleWin
emuExt = exe
baseRomPath = 
romPath = H:\New folder\Apple II\ROMs
romPathFromIni = H:\New folder\Apple II\ROMs
romExtension = .7z
romExtensionOrig = .7z
romExtensions = 7z|dsk
executable = Applewin.exe
systemDbName = Apple II
systemName = Apple II
dbPath = 
dbName = Congo Bongo (USA)
dbExt = 
romName = Congo Bongo (USA)
romMapPath = 
romMappingEnabled = false
romMappingLaunchMenuEnabled = false
romMappingFirstMatchingExt = false
romMappingShowAllRomsInArchive = true
romMappingNumberOfGamesByScreen = 7
romMappingHideParent = false
romMappingMenuWidth = 400
romMappingMenuMargin = 65
romMappingTextFont = Bebas Neue
romMappingTextOptions = cFFFFFFFF r4 s60 Bold
romMappingDisabledTextColor = ff888888
romMappingTextSizeDifference = 7
romMappingTextMargin = 15
romMappingTitleTextFont = Bebas Neue
romMappingTitleTextOptions = cFFFFFFFF r4 s90 Bold
romMappingTitle2TextFont = Bebas Neue
romMappingTitle2TextOptions = cFFFFFFFF r4 s22 Bold
romMappingGameInfoTextFont = Bebas Neue
romMappingGameInfoTextOptions = cFFFFFFFF r4 s22 Regular
romMappingGameNameTextFont = Bebas Neue
romMappingGameNameTextOptions = cFFFFFFFF r4 s40 Regular
romMappingBackgroundBrush = aa000000
romMappingColumnBrush = 33000000
romMappingButtonBrush1 = 6f000000
romMappingButtonBrush2 = 33000000
romMappingBackgroundAlign = Stretch and Lose Aspect
romMappingMenuFlagWidth = 55
romMappingMenuFlagSeparation = 7
romMappingDefaultMenuList = FullList
romMappingSingleFilteredRomAutomaticLaunch = false
altArchiveNameOnly = 
altRomNameOnly = 
altArchiveAndRomName = 
altArchiveAndManyRomNames = 
altRomNamesOnly = 
romMapScenario = 
skipchecks = false
romMatchExt = false
blockInputTime = 0
blockInputFile = H:\RocketLauncher\Module Extensions\BlockInput.exe
errorLevelReporting = false
lockLaunch = false
lockLaunchGame = 
screenRotationAngle = 0
screenRotationAngleGame = 
setResolution = 
logFile = 
logLabel := ["    INFO"," WARNING","   ERROR","   DEBUG","   TRACE"]
logLevel = 3
logShowDebugConsole = false
logShowCommandWindow = false
logCommandWindow = false
logIncludeModule = true
logIncludeFileProperties = true
logIncludeDLLLogs = false
errorSounds = true
rlDebugConsoleStdout = 
sysLang = English_United_States
sysType = 64-bit
broadcastWindowTitle = 
navUpKey = Up
navDownKey = Down
navLeftKey = Left
navRightKey = Right
navSelectKey = Enter
navP2UpKey = Numpad8
navP2DownKey = Numpad2
navP2LeftKey = Numpad4
navP2RightKey = Numpad6
navP2SelectKey = NumpadEnter
originalWidth = 1920
originalHeight = 1080
vdEnabled = false
vdFullPath = 
vdUseSCSI = true
vdDriveLetter = 
vdDriveLetterScsi = 
vdAddDrive = true
demulShooterPath = 
servoStikEnabled = false
servoStikExitMode = false
ledblinkyEnabled = false
ledblinkySystemName = 
ledblinkyFullPath = 
ledblinkyProfilePath = H:\RocketLauncher\Profiles\LEDBlinky
ledblinkyRLProfile = H:\RocketLauncher\Profiles\LEDBlinky\RocketLauncher
winIPACFullPath = 
ultraMapEnabled = false
ultraMapFullPath = 
emuIdleShutdown = 0
launchPasswordHash = UpUpDownDownLeftRightLeftRight
hideCursor = false
hideEmu = false
hideFE = false
suspendFE = false
fadeIn = false
fadeInDuration = 500
fadeInTransitionAnimation = DefaultAnimateFadeIn
fadeInDelay = 0
fadeInExitDelay = 0
fadeOutExitDelay = 0
fadeOut = false
fadeOutExtraScreen = false
fadeOutDuration = 500
fadeOutTransitionAnimation = DefaultAnimateFadeOut
fadeOutDelay = 0
fadeLyrInterpolation = 7
fadeMuteEmulator = false
fadeUseBackgrounds = false
fadeClickThrough = false
fadeSounds = true
fade7zProgressMode = extraction
fadeWidthBaseRes = 1920
fadeHeightBaseRes = 1080
fadeLyr1Color = FF000000
fadeLyr1AlignImage = Stretch and Lose Aspect
fadeLyr2Pos = Stretch and Lose Aspect
fadeLyr2X = 0
fadeLyr2Y = 0
fadeLyr2W = 
fadeLyr2H = 
fadeLyr2Adjust = 1
fadeLyr2PicPad = 0
fadeLyr2Prefix = Extra Layer 1 - Console
fadeLyr3Pos = Center
fadeLyr3X = 450
fadeLyr3Y = 450
fadeLyr3W = 
fadeLyr3H = 
fadeLyr3Adjust = 1
fadeLyr3PicPad = 0
fadeLyr3Speed = 750
fadeLyr3Animation = DefaultFadeAnimation
fadeLyr37zAnimation = DefaultFadeAnimation
fadeLyr3Type = imageandbar
fadeLyr3ImgFollow7zProgress = true
fadeLyr3Repeat = 1
fadeLyr3BackImageTransparency = 30
fadeLyr3StaticPos = No Alignment
fadeLyr3StaticX = 0
fadeLyr3StaticY = 870|1575
fadeLyr3StaticW = 
fadeLyr3StaticH = 
fadeLyr3StaticAdjust = 1
fadeLyr3StaticPicPad = 0
fadeLyr3StaticPrefix = Info Bar
fadeLyr4Adjust = 1
fadeLyr4X = 1792|952
fadeLyr4Y = 891|1596
fadeLyr4W = 128
fadeLyr4H = 
fadeLyr4Pos = No Alignment
fadeLyr4FPS = 50
fadeLyr4PicPad = 0
fadeTranspGifColor = FFFFFF
fadeBarWindow = Image
fadeBarWindowX = 
fadeBarWindowY = 
fadeBarWindowW = 900
fadeBarWindowH = 
fadeBarWindowR = 30
fadeBarWindowM = 30
fadeBarWindowHatchStyle = 8
fadeBar = 7zOnly
fadeProgressDuration = 0
fadeBarBack = true
fadeBarBackColor = FF555555
fadeBarH = 30
fadeBarR = 10
fadeBarColor = DD00BFFF
fadeBarHatchStyle = 8
fadeBarPercentageText = true
fadeBarInfoText = true
fadeBarXOffset = 0
fadeBarYOffset = 150
fadeRomInfoDescription = filtered text
fadeRomInfoSystemName = image
fadeRomInfoYear = text with label
fadeRomInfoDeveloper = text with label
fadeRomInfoPublisher = text with label
fadeRomInfoGenre = disabled
fadeRomInfoRating = image
fadeRomInfoOrder = Description|SystemName|Year|Developer|Genre|Rating|Publisher
fadeRomInfoTextPlacement = User Defined
fadeRomInfoTextMargin = 7
fadeRomInfoText1Options = w1600|787 h90 x165 y870|1575 cFFE1E1E1 r4 s90 Left Regular
fadeRomInfoText2Options = w400 x8 y15 cFF555555 r4 s60 Bold
fadeRomInfoText3Options = w310 x165 y960|1665 cFFE1E1E1 r4 s66 Left Regular
fadeRomInfoText4Options = w1305|492 h66 x460 y960|1665 cFFE1E1E1 r4 s66 Left Regular
fadeRomInfoText5Options = cFF555555 r4 s42 Bold
fadeRomInfoText6Options = h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular
fadeRomInfoText7Options = h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular
fadeStats_Number_of_Times_Played = text with label
fadeStats_Last_Time_Played = text with label
fadeStats_Average_Time_Played = text with label
fadeStats_Total_Time_Played = text with label
fadeStats_System_Total_Played_Time = text with label
fadeStats_Total_Global_Played_Time = text with label
fadeStatsInfoOrder = Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time
fadeStatsInfoTextPlacement = topRight
fadeStatsInfoTextMargin = 7
fadeStatsInfoText1Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText2Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText3Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText4Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText5Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText6Options = cFFB4B4B4 r4 s22 Bold
fadeText1X = 0
fadeText1Y = 0
fadeText1Options = cFFB4B4B4 r4 s30 Right Bold
fadeText1 = Loading Game
fadeText2X = 0
fadeText2Y = 0
fadeText2Options = cFFB4B4B4 r4 s30 Right Bold
fadeText2 = Extraction Complete, Ready
fadeText3 = Loading Game
fadeText4 = Loading Complete
fadeFont = Bebas Neue
fadeSystemAndRomLayersOnly = false
fadeExtractionTime = disabled
fadeExtractionTimeTextX = 0
fadeExtractionTimeTextY = 0
fadeExtractionTimeTextOptions = cFF555555 r4 s20 Bold
fadeInterruptKey = 
detectFadeErrorEnabled = true
fadeImgPath = H:\RocketLauncher\Media\Fade
RLDataPath = H:\RocketLauncher\Data
RLMediaPath = H:\RocketLauncher\Media
RLErrSoundPath = H:\RocketLauncher\Media\Sounds\Error
modulesPath = H:\RocketLauncher\Modules
moduleFullName = H:\RocketLauncher\Modules\AppleWin\AppleWin.ahk
moduleName = AppleWin
modulePath = H:\RocketLauncher\Modules\AppleWin
moduleExtension = ahk
moduleExtensionsPath = H:\RocketLauncher\Module Extensions
libPath = H:\RocketLauncher\Lib
sevenZEnabled = true
sevenZPath = H:\RocketLauncher\Module Extensions\7z.exe
sevenZDllPath = H:\RocketLauncher\Module Extensions\7z.dll
sevenZExtractPath = H:\RocketLauncher Temp
sevenZExtractPathOrig = 
sevenZAttachSystemName = false
sevenZDelTemp = true
sevenZFormats = .zip|.rar|.7z|.lzh|.gzip|.tar
sevenZFormatsNoP = zip|rar|7z|lzh|gzip|tar
sevenZFormatsRegEx = \.zip|\.rar|\.7z|\.lzh|\.gzip|\.tar
7zExtractPath = H:\RocketLauncher Temp
mgEnabled = false
mgKey = ~NumpadSub
mgBackgroundColor = FF000000
mgSidePadding = 0.2
mgWidthBaseRes = 1920
mgHeightBaseRes = 1080
mgYOffset = 500|800
mgFont = Arial
mgText1Options = x10p y250|500 w80p Center cBBFFFFFF r4 s100 BoldItalic
mgText1Text = Please select a game
mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic
mgText2Offset = 100
mgUseSound = true
mgSoundfreq = 300
mgExitEffect = none
mgSelectedEffect = rotate
mgUseGameArt = false
mgCandidate = 
mgValidTypes = \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
mgOnLaunch = false
pauseEnabled = false
pauseKey = ~NumpadAdd
pauseBackToMenuBarKey = X
pauseZoomInKey = C
pauseZoomOutKey = V
pauseScreenshotKey = ~PrintScreen
pauseHiToTextPath = H:\RocketLauncher\Module Extensions\HiToText.exe
pauseSaveStateKeyCodes = 
pauseLoadStateKeyCodes = 
keyboardEncoder = 
keyboardEncoderEnabled = false
keymapperEnabled = false
keymapperAHKMethod = false
keymapper = xpadder
xpadderFullPath = H:\Utilities\Xpadder\xpadder.exe
joyToKeyFullPath = H:\Utilities\JoyToKey\JoyToKey.exe
profilePath = H:\RocketLauncher\Profiles
keymapperProfilePath = H:\RocketLauncher\Profiles\xpadder
keymapperFrontEndProfileName = RocketLauncherUI
keymapperFrontEndProfile = false
keymapperRocketLauncherProfileEnabled = false
joyIDsEnabled = false
joyIDsPreferredControllersGlobal = 
joyIDsPreferredControllersSystem = use_global
joyIDsPreferredControllersOnExit = 
CustomJoyNamesEnabled = false
CustomJoyNames = 
rotateMethod = false
FEProfile = H:\RocketLauncher\Profiles\xpadder\RocketLauncherUI
defaultProfile = H:\RocketLauncher\Profiles\xpadder\_Default
systemProfile = H:\RocketLauncher\Profiles\xpadder\Apple II
xPadderSystemProfile = H:\RocketLauncher\Profiles\xpadder\Apple II\_Default
emuProfile = H:\RocketLauncher\Profiles\xpadder\Apple II\AppleWin
romProfile = H:\RocketLauncher\Profiles\xpadder\Apple II\Congo Bongo (USA)
RocketLauncherProfile = H:\RocketLauncher\Profiles\xpadder\RocketLauncher
blankProfile = H:\RocketLauncher\Profiles\xpadder\_Default\blank
ahkFEProfile = H:\RocketLauncher\Profiles\AHK\RocketLauncherUI
ahkDefaultProfile = H:\RocketLauncher\Profiles\AHK\_Default
ahkSystemProfile = H:\RocketLauncher\Profiles\AHK\Apple II
ahkEmuProfile = H:\RocketLauncher\Profiles\AHK\Apple II\AppleWin
ahkRomProfile = H:\RocketLauncher\Profiles\AHK\Apple II\Congo Bongo (USA)
ahkRocketLauncherProfile = H:\RocketLauncher\Profiles\AHK\RocketLauncher
bezelEnabled = false
bezelICEnabled = false
shaderName = false
shaderColor = 
shaderTransparency = 
statisticsEnabled = true
pressDuration = -1
emuVolume = 1
dxwndIni = H:\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini
dxwndFullPath = H:\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe
qResFullPath = H:\RocketLauncher\Module Extensions\QRes.exe
mon1O = 
pacDrivedllFile = H:\RocketLauncher\Module Extensions\PacDrive32.dll
userFadeAnimIniFile = H:\RocketLauncher\Lib\User Fade Animations.ini
testFile = 
testDuration = 
initialErrorMode = 0
 
09:55:01:077 | RL |      INFO  | +16    | BuildScript - Loaded XHotkey Init.ahk scripts
09:55:01:077 | RL |      INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
09:55:01:077 | RL |   WARNING  | +0     | BuildScript - "H:\RocketLauncher\Lib\User Functions Init.ahk" not found
09:55:01:077 | RL |      INFO  | +0     | BuildScript - Validating module
09:55:01:077 | RL |      INFO  | +0     | BuildScript - Validation complete
09:55:01:077 | RL |      INFO  | +0     | BuildScript - Module:
MEmu = AppleWin
MEmuV =  v1.24.0.0
MURL = http://applewin.berlios.de/
MAuthor = faahrev,wahoobrian,brolly
MVersion = 1.6.2
MCRC = 8015757A
iCRC = BB9B27F9
mId = 635403945717531776
MSystem = "Apple II"
;----------------------------------------------------------------------------
; Notes:
; v1.24.0.0 or greater is required as it adds a CLI switch to prevent the printscreen key error from appearing
; No bezel support (yet)
;
; Settings in RocketLauncherUI:
; - Fullscreen
; per ROM:
; - Option to choose the type of AppleII
; - Option to load the second disc in floppy station 1 at boot (first disc in station 0 is default)
; - Option to configure in which floppy station discs should be changed (0 or 1)
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()
 
primaryExe := new Process(emuPath . "\" . executable) ; instantiate emulator executable object
emuPrimaryWindow := new Window(new WindowTitle("","APPLE2FRAME")) ; instantiate primary emulator window object
emuOpenWindow := new Window(new WindowTitle("","#32770"))
emuSelectWindow := new Window(new WindowTitle("Select Disk Image For Drive 1","#32770"))
 
eamonProDOSBoot   := "Eamon ProDOS Boot Disk (USA).dsk"
eamonAdv001ProDOS := "Eamon 001 - Main Hall & Beginners Cave (USA) (Unl) (ProDOS).dsk"
eamonAdv001DOS33  := "Eamon 001 - Main Hall & Beginners Cave (USA) (Unl) (DOS3.3).dsk"
 
fullscreen := moduleIni.Read("Settings", "Fullscreen","true","",1)
bezelRightOffset := moduleIni.Read("Settings", "bezelRightOffset","50","",1)
DiskSwapKey := moduleIni.Read("Settings", "DiskSwapKey","F5","",1)
RotateMethod := moduleIni.Read("Settings", "RotateMethod",rotateMethod,"",1)
DualDiskLoad := moduleIni.Read(romName, "DualDiskLoad","true","",1)
MultipleDiskSlot := moduleIni.Read(romName, "MultipleDiskSlot","0","",1)
SystemType := moduleIni.Read(romName, "SystemType","17","",1)
VideoMode := moduleIni.Read(romName, "VideoMode","1","",1)
Command := moduleIni.Read(romName, "Command", "","",1)
SendCommandDelay := moduleIni.Read(romName, "SendCommandDelay", "2000","",1)
RotateDisplay := moduleIni.Read(romName, "RotateDisplay", "0","",1)
ReadOnlyDisk := moduleIni.Read(romName, "ReadOnlyDisk", "false","",1)
Drive2Disk := moduleIni.Read(romName, "Drive2Disk", "","",1)
 
If (ReadOnlyDisk = "true") {
;check file attribute of rom to make sure it is read only, error out If it isn't
FileGetAttrib, attributes, %romPath%\%romName%%romExtension%
If !StringUtils.Contains(attributes,"R")
ScriptError("The file " . romPath . "\" . romName .  romExtension " must be read-only.  Please change windows attributes to make file read-only.")
}
 
If !StringUtils.Contains(SystemType,"0|1|16|17")
ScriptError("The system type " . SystemType . " is not one of the known supported systems for this module: " . moduleName . ". Please use the option to configure the type of system needed (Default is Enhanced AppleII/e) through RocketLauncherUI.")
Else
Registry.Write("REG_SZ", "HKCU", "Software\AppleWin\CurrentVersion\Configuration", "Apple2 Type", SystemType)
 
If !StringUtils.Contains(VideoMode,"1|4|5|6")
ScriptError("The video mode " . VideoMode . " is not a valid for this module: " . moduleName . ". Please use the option to configure the type of system needed (Default is Enhanced AppleII/e) through RocketLauncherUI.")
Else
Registry.Write("REG_SZ", "HKCU", "Software\AppleWin\CurrentVersion\Configuration", "Video Emulation", VideoMode)
 
; Ejecting discs
Registry.Write("REG_SZ", "HKCU", "Software\AppleWin\CurrentVersion\Preferences", "Last Disk Image 1", "")
Registry.Write("REG_SZ", "HKCU", "Software\AppleWin\CurrentVersion\Preferences", "Last Disk Image 2", "")
 
DiskSwapKey := xHotKeyVarEdit(DiskSwapKey,"DiskSwapKey","~","Add")
xHotKeywrapper(DiskSwapKey,"DiskSwap")
 
hideEmuObj := Object(emuPrimaryWindow,1)
7z(romPath, romName, romExtension, sevenZExtractPath)
 
If (RotateDisplay > 0)
Rotate(rotateMethod, RotateDisplay)
 
BezelStart("FixResMode")
fullscreen := If fullscreen = "true" ? " -f" : ""
params := " -noreg -no-printscreen-dlg"
 
HideAppStart(hideEmuObj,hideEmu)
 
If StringUtils.Contains(romName,"Eamon") {
;-----------------------------------------------------------------------------------------------------------------
;Special handling required for booting Eamon Adventure games.
;Most Eamon Adventures use the DOS3.3 formatted disks, but some use ProDOS.  The booting of the machine in preparation
;for loading each differs.  ProDOS versions require the emulator to boot standalone, then load and start the appropriate 
;Eamon disks.  The DOS3.3 formatted adventure disks can be booted using the Eamon Master Diskette (Eamon #001).
;-----------------------------------------------------------------------------------------------------------------
EamonAdventureDOS := moduleIni.Read(romName, "EamonAdventureDOS","1","",1)
 
If StringUtils.Contains(romName,"SoftDisk") {
;-----------------------------------------------------------------------------------------------------------------
;Eamon SoftDisk Booting.
; 1.  Boot using generic ProDOS diskette in Drive 1.
; 2.  Put initial adventure disk in Drive 2.
;   3.  Once machine booted, swaps disks and run startup command
;-----------------------------------------------------------------------------------------------------------------
disc1 := " -d1 """ . romPath . "\" . eamonProDOSBoot . """"
disc2 := " -d2 """ . romPath . "\" . romName . romExtension . """"
primaryExe.Run(fullscreen . params . disc1 . disc2, "UseErrorLevel")
TimerUtils.Sleep(2000) ; allow time for emulator to boot ProDOS
emuPrimaryWindow.Wait()
emuPrimaryWindow.WaitActive()
 
KeyUtils.SendCommand(Command, SendCommandDelay)
} Else If (EamonAdventureDOS = "ProDOS") {
;-----------------------------------------------------------------------------------------------------------------
;Eamon ProDOS Booting.
; 1.  Boot using generic ProDOS diskette in Drive 1.
; 2.  Put initial adventure disk in Drive 2.
;   3.  Once machine booted, replace ProDOS diskette in Drive one with the ProDOS Eamon Master Disk (Eamon #001).
;   4.  Issue "RUN STARTUP" command to start Adventure.
;   5.  When prompted to load adventure of choice, using the swap disk key will place the adventure disk in Drive 1.
;-----------------------------------------------------------------------------------------------------------------
 
disc1 := " -d1 """ . romPath . "\" . eamonProDOSBoot . """"
disc2 := " -d2 """ . romPath . "\" . romName . romExtension . """"
primaryExe.Run(fullscreen . params . disc1 . disc2, "UseErrorLevel")
 
TimerUtils.Sleep(2000) ; allow time for emulator to boot ProDOS
emuPrimaryWindow.Wait()
emuPrimaryWindow.WaitActive()
KeyUtils.Send("F3") ; Open Disk Select Dialog
 
emuSelectWindow.OpenROM(romPath . "\" . eamonAdv001ProDOS)
emuPrimaryWindow.Wait()
emuPrimaryWindow.WaitActive()
 
KeyUtils.SendCommand(Command, SendCommandDelay)
} Else {
;-----------------------------------------------------------------------------------------------------------------
;Eamon DOS3.3 Booting.
; 1.  Boot using DOS3.3 Eamon Master Disk (Eamon #001) in Drive 1.
; 2.  Put initial adventure disk in Drive 2.
;   3.  When prompted to load adventure of choice, using the swap disk key will place the adventure disk in Drive 1.
;-----------------------------------------------------------------------------------------------------------------
disc1 := " -d1 """ . romPath . "\" . eamonAdv001DOS33 . """"
Eamon001Rom := StringUtils.TrimRight(eamonAdv001DOS33,4) ; Remove extension from literal value
If (romName != Eamon001Rom)
disc2 := " -d2 """ . romPath . "\" . romName . romExtension . """"
Else
disc2 := ""
primaryExe.Run(fullscreen . params . disc1 . disc2, "UseErrorLevel")
emuPrimaryWindow.Wait()
emuPrimaryWindow.WaitActive()
} 
} Else {
;-----------------------------------------------------------------------------------------------------------------
;All other games
;-----------------------------------------------------------------------------------------------------------------
disc1 := " -d1 """ . romPath . "\" . romName . romExtension . """"
 
; Opening second disc If game exists of two discs only and DualDiskLoad is true
TimerUtils.Sleep(50) ; Needs to stay in for romTable.MaxIndex() to work.
If (Drive2Disk != "")
disc2 := " -d2 """ . romTable[Drive2Disk,1] . """"
Else If (DualDiskLoad = "true" And romTable.MaxIndex() = 2)
disc2 := " -d2 """ . romTable[2,1] . """"
 
primaryExe.Run(fullscreen . params . disc1 . disc2, "UseErrorLevel")
emuPrimaryWindow.Wait()
emuPrimaryWindow.WaitActive()
 
KeyUtils.SendCommand(Command, SendCommandDelay)
}
 
BezelDraw()
HideAppEnd(hideEmuObj,hideEmu)
FadeInExit()
primaryExe.Process("WaitClose")
 
; Switching orientation back to normal
If (RotateDisplay > 0)
Rotate(rotateMethod, 0)
 
7zCleanUp()
BezelExit()
FadeOutExit()
ExitModule()
 
 
DiskSwap:
KeyUtils.Send("F5")
Return
 
HaltEmu:
XHotKeywrapper(DiskSwapKey,"DiskSwap","OFF")
Return
 
MultiGame:
KeyUtils.Send(If MultipleDiskSlot = "1" ? "F4" : "F3")
emuOpenWindow.OpenROM(selectedRom)
emuPrimaryWindow.Activate()
KeyUtils.Send("{Enter}")
Return
 
RestoreEmu:
XHotKeywrapper(DiskSwapKey,"DiskSwap","ON")
Return
 
CloseProcess:
FadeOutStart()
emuPrimaryWindow.Close()
Return
 
09:55:01:093 | RL |      INFO  | +16    | BuildScript - Loaded Multi-Player scripts
09:55:01:093 | RL |      INFO  | +0     | BuildScript - Loaded Statistics.ahk script
09:55:01:093 | RL |   WARNING  | +0     | BuildScript - "H:\RocketLauncher\Lib\User Functions.ahk" not found
09:55:01:093 | RL |      INFO  | +0     | BuildScript - Finished injecting functions into module
09:55:01:093 | RL |      INFO  | +0     | Main - Module is built
09:55:01:093 | RL |      INFO  | +0     | CheckFile - Checking if H:\RocketLauncher\AutoHotkey.dll exists
09:55:01:093 | RL |      INFO  | +0     | Main - Running module
09:55:01:231 | MD |      INFO  | +N/A   | Module initialized
09:55:01:231 | MD |      INFO  | +0     | StartModule - Started
09:55:01:231 | MD |      INFO  | +0     | StartModule - MEmu: AppleWin
MEmuV: v1.24.0.0
MURL: http://applewin.berlios.de/
MAuthor: faahrev,wahoobrian,brolly
MVersion: 1.6.2
MCRC: 8015757A
iCRC: BB9B27F9
MID: 
MSystem: "Apple II"
09:55:01:231 | MD |      INFO  | +0     | StartModule - You have a supported System Name for this module: "Apple II"
09:55:01:231 | MD |      INFO  | +0     | PluginInit - Started
09:55:01:231 | MD |      INFO  | +0     | CheckFile - Checking if H:\HyperSpin\Databases\Apple II\Apple II.xml exists
09:55:01:231 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo|System Logo
09:55:01:231 | MD |      INFO  | +0     | BuildAssetsTable - Ended
09:55:01:231 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Artwork1|Box Art|Cartridge|Flyers|Letters|Other
09:55:01:231 | MD |      INFO  | +0     | BuildAssetsTable - Ended
09:55:01:231 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Game Video|System Video
09:55:01:231 | MD |      INFO  | +0     | BuildAssetsTable - Ended
09:55:01:231 | MD |      INFO  | +0     | PluginInit - Ended
09:55:01:294 | MD |      INFO  | +63    | StartModule - Ended
09:55:01:294 | MD |      INFO  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - Fullscreen: true
09:55:01:294 | MD |      INFO  | +0     | RIniFile.Read - Module - bezelRightOffset: 50 (DEFAULT)
09:55:01:295 | MD |      INFO  | +0     | RIniFile.Read - Module - DiskSwapKey: F5 (DEFAULT)
09:55:01:295 | MD |      INFO  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - RotateMethod: irotate
09:55:01:295 | MD |      INFO  | +0     | RIniFile.Read - Module - DualDiskLoad: true (DEFAULT)
09:55:01:295 | MD |      INFO  | +0     | RIniFile.Read - Module - MultipleDiskSlot: 0 (DEFAULT)
09:55:01:295 | MD |      INFO  | +0     | RIniFile.Read - Module - SystemType: 17 (DEFAULT)
09:55:01:295 | MD |      INFO  | +0     | RIniFile.Read - Module - VideoMode: 1 (DEFAULT)
09:55:01:295 | MD |      INFO  | +0     | RIniFile.Read - Module - Command: (NO VALUE)
09:55:01:295 | MD |      INFO  | +0     | RIniFile.Read - Module - SendCommandDelay: 2000 (DEFAULT)
09:55:01:295 | MD |      INFO  | +0     | RIniFile.Read - Module - RotateDisplay: 0 (DEFAULT)
09:55:01:295 | MD |      INFO  | +0     | RIniFile.Read - Module - ReadOnlyDisk: false (DEFAULT)
09:55:01:295 | MD |      INFO  | +0     | RIniFile.Read - Module - Drive2Disk: (NO VALUE)
09:55:01:296 | MD |      INFO  | +0     | 7z - Started, received H:\New folder\Apple II\ROMs\Congo Bongo (USA).7z. If rom is an archive, it will extract to H:\RocketLauncher Temp
09:55:01:296 | MD |      INFO  | +0     | CheckFile - Checking if H:\New folder\Apple II\ROMs\Congo Bongo (USA).7z exists
09:55:01:364 | MD |      INFO  | +78    | 7z - Archive name matches rom name; DLL found rom inside archive using "findFileInZip": "Congo Bongo (USA).dsk"
09:55:01:365 | MD |      INFO  | +0     | 7z - The sevenZExtractPath has 68405 MB of free space which is enough to extract this game: 0 MB
09:55:01:365 | MD |      INFO  | +0     | 7z - Starting 7z extraction of H:\New folder\Apple II\ROMs\Congo Bongo (USA).7z  to H:\RocketLauncher Temp\Congo Bongo (USA)
09:55:01:427 | MD |      INFO  | +62    | 7z - Finished 7z extraction which took 0 seconds
09:55:01:427 | MD |   WARNING  | +0     | 7z - romPath changed from "H:\New folder\Apple II\ROMs" to "H:\RocketLauncher Temp\Congo Bongo (USA)"
09:55:01:427 | MD |   WARNING  | +0     | 7z - romName changed from "Congo Bongo (USA)" to "Congo Bongo (USA)"
09:55:01:427 | MD |   WARNING  | +0     | 7z - romExtension changed from ".7z" to ".dsk"
09:55:01:427 | MD |      INFO  | +0     | 7z - Ended
09:55:01:478 | MD |      INFO  | +47    | Process.Run - Running: C:\Emulators\AppleWin1.25.0.3\Applewin.exe -f -noreg -no-printscreen-dlg -d1 "H:\RocketLauncher Temp\Congo Bongo (USA)\Congo Bongo (USA).dsk"
09:55:01:509 | MD |      INFO  | +31    | Window.Wait - Waiting for window "ahk_class APPLE2FRAME"
09:55:33:241 | MD |      INFO  | +31735 | 7zCleanUp - Started
09:55:33:272 | MD |      INFO  | +31    | 7zCleanUp - Deleted H:\RocketLauncher Temp\Congo Bongo (USA)
09:55:33:272 | MD |      INFO  | +0     | 7zCleanUp - Ended
09:55:41:996 | MD |     ERROR  | +8719  | ScriptError - There was an error waiting for the window "ahk_class APPLE2FRAME". Please check you have the correct version emulator installed for this module, followed any notes in the module, and have this emulator working outside your Frontend first. Also turn off Fade to see if you are hiding your problem.
09:55:41:996 | MD |      INFO  | +0     | ExitModule - Started
09:55:41:996 | MD |      INFO  | +0     | Starting Updating Statistics:
09:55:42:062 | MD |      INFO  | +62    | Game section statistics updated.
09:55:42:062 | MD |      INFO  | +0     | ExitModule - Ended
End of Module Logs
09:55:42:124 | RL |      INFO  | +41031 | Main - Module ended, exiting RocketLauncher normally
09:55:42:124 | RL |      INFO  | +0     | ExitScript - Started
09:55:42:124 | RL |      INFO  | +0     | ExitScript - Restoring taskbar
09:55:42:228 | RL |      INFO  | +109   | SystemCursor - Restoring mouse cursor
09:55:42:243 | RL |      INFO  | +16    | ExitScript - Restored cursor
 
Posted

Make sure the emulator version matches the one shown in the module, and check the module notes to make sure it's configured properly.

Sent from my iPhone using Tapatalk

Posted

Thanks for the reply. The module notes say: " v1.24.0.0 or greater is required as it adds a CLI switch to prevent the printscreen key error from appearing". I'm using 1.25.0.3. After reading your reply I found v1.24.0.0 and downloaded it and it works. So it looks like the newest version isn't supported yet. Thanks for your help.

Posted

Yeah, I just noticed that 1.25.0.4 IS the current one. I downloaded it and added it. Then I did a rom scan and the roms are not showing up so I'm going to have to do a little troubleshooting. Thanks.

Posted

Success! I had to change the module from AppleWin global to AppleWin 1.25.0.4 and had to run the emulator once first. Now all is well. Thanks for the help!

Posted

Yeah, I just noticed that 1.25.0.4 IS the current one. I downloaded it and added it. Then I did a rom scan and the roms are not showing up so I'm going to have to do a little troubleshooting. Thanks.

You've got it sorted - but just to answer this question...

Sometimes supported rom extensions just need adding to the list the emulator supports. This is done in the emulators tab in RLUI.

Sent from my iPhone using Tapatalk

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...