Jump to content

Complete Guide for Commodore Amiga in HS and HL3 Using WinUAE Only


rfancella

Recommended Posts

Posted
I havent tried 2.6.1

I was having trouble with WinUAE 2.7.0, when that was installed it was hanging on the amiga screen.

I backdated to 2.6.0 and now don't seem to be having any issues.

I did see 2.6.1 as a download option but while all my troubles were happening I went straight to 2.6.0 seeing as it was mentioned Emu version in the WinUAE.AHK. (I will update to 2.6.1 tonight).

Were you aware of there being trouble with 2.7.0. version (It might be something I was doing wrong). However If I swap back to the 2.7.0 exe my problems resurface.

The only reason I used that version, it was the newest available at the time I wrote that guide. Usually you can use a higher version of emulator than what is listed on the module, usually. ;) I will grab the newest version and try it. If it doesn't work, download the version the module specifies. I will then update a version at a time, until it breaks again, then back down one.

I was not aware there was even a v2.7.0. Gonna download it and give it a try today.

Thanks,

Ron

  • Replies 420
  • Created
  • Last Reply
Posted
I havent tried 2.6.1

I was having trouble with WinUAE 2.7.0, when that was installed it was hanging on the amiga screen.

I backdated to 2.6.0 and now don't seem to be having any issues.

I did see 2.6.1 as a download option but while all my troubles were happening I went straight to 2.6.0 seeing as it was mentioned Emu version in the WinUAE.AHK. (I will update to 2.6.1 tonight).

Were you aware of there being trouble with 2.7.0. version (It might be something I was doing wrong). However If I swap back to the 2.7.0 exe my problems resurface.

Hmmmm... I downloaded 2.7.0. Copied my roms, WHD and configurations over to the new directory. Set the paths and it launches just fine. Both seem to work for me.

Thanks,

Ron

Posted
Agreed, the controller mapping function in WinUAE is funky.

Hit the button at the bottom of that screen that says "Delete All" and then hit the "Remap" button.

Thanks,

Ron

Hi Ron,

thanks.

Sorry for the late feedback. I was out of home.

Now everything is ok. I find out that I could not remap keys because I was doing it via RDP.

My arcade cab has CRT video VGA with max resolution 640x480. For this reason I use to configure everything by remote desktop from laptop.

Now I've done it directly on the cab and everything is fine.

Thank you again for your guide.

I've set up 4 different XMLs in the database folder.

1 - the official from hyperspin database (that has all the media: wheels, video..)

2 - ADF

3 - IPF

4 - WHDs added by showstopper & dragon57 here: http://www.hyperspin-fe.com/forum/showthread.php?32028-Commodore-Amiga-XML&p=304964&viewfull=1#post304964

And I use the function GENRE to switch between the databases.

With your configuration everything works fine!

Posted
Hi Ron,

thanks.

Sorry for the late feedback. I was out of home.

Now everything is ok. I find out that I could not remap keys because I was doing it by RDP.

My arcade cab has CRT video VGA with max resolution 640x480. For this reason I use to configure everything by remote desktop from laptop.

Now I've done it directly on the cab and everything is fine.

Thank you again for your guide.

I've set up 4 different XMLs in the database folder.

1 - the official from hyperspin database (that has all the media: wheels, video..)

2 - ADF

3 - IPF

4 - WHDs added by showstopper & dragon57 here: http://www.hyperspin-fe.com/forum/showthread.php?32028-Commodore-Amiga-XML&p=304964&viewfull=1#post304964

And I use the function GENRE to switch between the databases.

With your configuration everything works fine!

Sweet! Hadn't thought of that. I was just going to add another wheel for the adf games. Genre may be better.

Thanks for the input!

Thanks,

Ron

Posted

I've moved on from Winuaeloader and used your great guide to get things working nicely with just WinUAE, and very glad I did. It all went quite smoothly except I had already set it up for CD32, I then set a separate install of WinUAE for Amiga, but then of course I couldn't use it because the global emulator was pointing to my CD32 WinUAE install. Anyway I just added the required to the CD32 install.

I'll now update WinUAE to 2.7

Thank you Ron, another great guide. :cheers:

Posted
I've moved on from Winuaeloader and used your great guide to get things working nicely with just WinUAE, and very glad I did. It all went quite smoothly except I had already set it up for CD32, I then set a separate install of WinUAE for Amiga, but then of course I couldn't use it because the global emulator was pointing to my CD32 WinUAE install. Anyway I just added the required to the CD32 install.

I'll now update WinUAE to 2.7

Thank you Ron, another great guide. :cheers:

Nice Gig!

You can run both with the same instance of WinUAE. The Amiga module looks for ...\WinUAE\Configurations\Host\amigahost.uae for it's config. For CD32 it uses ...\WinUAE\Configurations\Host\cd32host.uae for it's config. So long as you have them both, there should be no difference in any of the other settings.

The other way to do it, is to add the second instillation of WinUAE as a new Emulator. That's how I setup 2.7.0 without disturbing my other setup.

Select GLOBAL on the top left. Emulators on top.

Hit the big green Plus to add a new Emulator.

Name it what you want. Select the new WinUAE executable. Select WinUAE.ahk as the module. Put your extensions in and save.

You now can select either one as your default Emulator and mix and match them.

Thanks,

Ron

Posted

Hey buddies,

When I try to play Weird Dreams I get the error after a black screen. "OPCODE4 EAE FAULTY PREFETCH" or something to that effect. Anybody have any ideas?

Posted
Hey buddies,

When I try to play Weird Dreams I get the error after a black screen. "OPCODE4 EAE FAULTY PREFETCH" or something to that effect. Anybody have any ideas?

I can at least confirm it's working. Do you have other games working? Check the Rom, perhaps?

post-9524-142870629255_thumb.jpg

I have in window mode to see if bezels work. I think it's a no on that one, hopefully bleasby will be added it.

Posted

Moonstone and some other Roms work. I downloaded the set that you had recommended in another thread. It starts off, weird dreams. Slave. Then black screen, nothingness and my error. Maybe it's my kickstart Roms. I downloaded the tosec ones?

Sent from my iPhone using Tapatalk

Posted
Moonstone and some other Roms work. I downloaded the set that you had recommended in another thread. It starts off, weird dreams. Slave. Then black screen, nothingness and my error. Maybe it's my kickstart Roms. I downloaded the tosec ones?

Sent from my iPhone using Tapatalk

If you open the archive is there 1 file in it with a .lha extension?

Posted

Hello.

When I select a game in Hyperspin, it launches but minimized in the taskbar, and you can hear the game's sound.

As soon as I clic on the WinUAE icon of the taskbar, the game is displayed fullscreen.

Do you know what can be happening??

thank you

Posted

Ron and co.....driving me up the wall with the key mapping to my ipac2.... I have worked out how to remap the keys and can set up a custom mapping mapped to my joystick / mouse / buttons etc.

However, I can't get it to save. I'm obv doing something stupid. If I quit out of WinUAE and back in again there is no sign of my custom map and it has reverted to the standard ones. I have tried hitting save in the config section too..

Any help much appreciated as ever...

Paul

Posted

Hmm. I think as long as I save it in configurations and then reload amigahost.uae it's there... the option to make it autoload it is greyed out though?

When I load a game though I can only play it with the default keys (i.e) my number pad with 5 for fire...

not my remapped Ipac..any ideas??

Posted
Hmm. I think as long as I save it in configurations and then reload amigahost.uae it's there... the option to make it autoload it is greyed out though?

When I load a game though I can only play it with the default keys (i.e) my number pad with 5 for fire...

not my remapped Ipac..any ideas??

Did you save the amigahost.uae file in your ...\WinUAE\Configurations\Host directory? Be sure it's in the Host directory and HyperLaunch should load it when the game is launched.

Also, when you reload the configuration, does the Port setting now say <Custom Mapping>? Or does it still say Keyboard Layout A?

Thanks,

Ron

Posted

post-93603-142870630361_thumb.jpg

It wasn't saving in the /host directory but it is now.... still struggling to be honest...

If I load WinUAE my amigahost.uae doesn't autoload - is that correct? But if I select it and load it it reloads my settings and shows my gameport as custom mapped (the image is how I have it set up with my iPac)

I actually had it set until recently on Mouse but I assume now that needs to be set on joystick and it gave me the correct options to map which I did.

So testing that in WinUAE remapper thing it looks fine...

Load a game through hyperlaunch and it loads fine but my Ipac "joystick" doesn't work...,my mouse however does, left button works as fire and I can move characters around etc...however, I thought I had disabled it in WinUAE by having no second port....

Any ideas mate, I'm obv doing something simple wrong I think.....

Paul

Posted

It wasn't saving in the /host directory but it is now.... still struggling to be honest...

If I load WinUAE my amigahost.uae doesn't autoload - is that correct? But if I select it and load it it reloads my settings and shows my gameport as custom mapped (the image is how I have it set up with my iPac)

The above is correct.

I actually had it set until recently on Mouse but I assume now that needs to be set on joystick and it gave me the correct options to map which I did.

So testing that in WinUAE remapper thing it looks fine...

Load a game through hyperlaunch and it loads fine but my Ipac "joystick" doesn't work...,my mouse however does, left button works as fire and I can move characters around etc...however, I thought I had disabled it in WinUAE by having no second port....

Any ideas mate, I'm obv doing something simple wrong I think.....

Paul

Normally, for most Amiga games, you leave the mouse plugged into port 1 and your joystick is port 2. So, leave the mouse setup in port 1 and configure your IPac as a joystick in port 2. Be sure and save your settings in ...\Host\amigahost.uae.

Thanks,

Ron

Posted

Goodness, that's sorted it out, thanks a lot.. :-)

Just one other quickie, when the game loads you get the grey WHD Load screen with my reg details etc on it...is that a necessary evil or can it be hidden?

Posted
Goodness, that's sorted it out, thanks a lot.. :-)

Just one other quickie, when the game loads you get the grey WHD Load screen with my reg details etc on it...is that a necessary evil or can it be hidden?

LOL.. It does sound like things are now better. Yes, you can reduce the screen splash.

Navigate to: ...\WinUAE\WHD\S and open the WHDLoad.prefs file into notepad.

Look for this line:

;SplashDelay=200 ;time to display splash window (1/50 seconds)

Now, remove the semicolon from the front and change 200 to 0.

Save the file and test.

Thanks,

Ron

Posted
Please post your HyperLaunch log. See here for how to do it using code tags:

http://www.hyperspin-fe.com/forum/showthread.php?31072-The-HyperNoobie-Guide-For-Posting-To-The-Fourm

Thank you,

Ron

11:57:44:301 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.1.0
11:57:44:301 | HL |     INFO  | +0     | Main - System Specs:
				HyperLaunch Dir: G:\Hyperspin\HyperLaunch
				OS: WIN_7
				Architecture: 64-bit (might not be accurate)
				OS Language: Spanish_Modern_Sort
				OS Admin Status: No
				Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1032 work)
				AutoHotkey Path: C:\Program Files (x86)\AutoHotkey\AutoHotkey.exe
				AHK Version: 1.1.09.04
				Unicode: No
11:57:44:303 | HL |     INFO  | +0     | Main - HyperSpin.exe coordinates are x448 y156 w1024 h768
11:57:44:303 | HL |     INFO  | +0     | CheckFile - Checking if G:\Hyperspin\HyperLaunch\HyperLaunch.exe exists
11:57:44:303 | HL |     INFO  | +0     | Main - HyperLaunch received "Commodore Amiga" and "AddamsFamily_v1.3_0419"
11:57:44:323 | HL |     INFO  | +15    | Main - AddamsFamily_v1.3_0419 is using the default emulator: WinUAE
11:57:44:323 | HL |     INFO  | +0     | Main - Checking for a [WinUAE] section in G:\Hyperspin\HyperLaunch\Settings\Commodore Amiga\Emulators.ini
11:57:44:323 | HL |     INFO  | +0     | Main - Found [WinUAE] in G:\Hyperspin\HyperLaunch\Settings\Commodore Amiga\Emulators.ini
11:57:44:326 | HL |     INFO  | +0     | CheckFile - Checking if G:\Hyperspin\HyperLaunch\Modules\WinUAE\WinUAE.ahk exists
11:57:44:333 | HL |     INFO  | +16    | Main - CRC Check - CRC matches, this is an official unedited module.
11:57:44:333 | HL |     INFO  | +0     | Main - AddamsFamily_v1.3_0419 will use module: G:\Hyperspin\HyperLaunch\Modules\WinUAE\WinUAE.ahk
11:57:44:348 | HL |     INFO  | +16    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
11:57:44:351 | HL |     INFO  | +0     | Main - INI Keys read
11:57:44:351 | HL |     INFO  | +0     | CheckFile - Checking if G:\Hyperspin\HyperLaunch\Module Extensions\7z.exe exists
11:57:44:413 | HL |     INFO  | +62    | CheckFile - Checking if G:\Hyperspin\HyperLaunch\Module Extensions\7z.dll exists
11:57:44:548 | HL |     INFO  | +140   | CheckPaths - Started
11:57:44:548 | HL |     INFO  | +0     | CheckPaths - Found rom: G:\Hyperspin\Emulators\Commodore Amiga\roms amiga\AddamsFamily_v1.3_0419.zip
11:57:44:548 | HL |     INFO  | +0     | CheckFile - Checking if G:\Hyperspin\Emulators\Commodore Amiga\winuae.exe exists
11:57:44:698 | HL |     INFO  | +141   | CheckPaths - Ended
11:57:44:698 | HL |     INFO  | +0     | BuildScript - User Variables:
				;----------------------------------------------------------------------------
				; INJECTED VARIABLES
				;----------------------------------------------------------------------------

				#NoTrayIcon
				#InstallKeybdHook
				DetectHiddenWindows, ON
				SetTitleMatchMode, 2
				SendMode, Event
				0 = 2
				frontendPID = 2876
				frontendPath = G:\Hyperspin
				frontendExe = HyperSpin.exe
				frontendExt = exe
				frontendName = HyperSpin
				frontendDrive = G:
				exitEmulatorKey = ~Esc
				exitEmulatorKeyWait = 0
				forceHoldKey = ~Esc
				restoreFE = false
				exitScriptKey = ~q & ~s
				toggleCursorKey = ~e & ~t
				emuFullPath = G:\Hyperspin\Emulators\Commodore Amiga\winuae.exe
				emuPath = G:\Hyperspin\Emulators\Commodore Amiga
				emuName = WinUAE
				emuExt = exe
				romPath = G:\Hyperspin\Emulators\Commodore Amiga\roms amiga
				romPathFromIni = G:\Hyperspin\Emulators\Commodore Amiga\roms amiga
				romExtension = .zip
				romExtensionOrig = .zip
				romExtensions = zip
				executable = winuae.exe
				systemName = Commodore Amiga
				dbName = AddamsFamily_v1.3_0419
				romName = AddamsFamily_v1.3_0419
				romMapPath = 
				romMappingEnabled = false
				romMappingLaunchMenuEnabled = false
				romMappingFirstMatchingExt = false
				romMappingShowAllRomsInArchive = true
				romMappingNumberOfWheelsByScreen = 7
				romMappingMenuWidth = 300
				romMappingMenuMargin = 50
				romMappingTextFont = Bebas Neue
				romMappingTextOptions = cFFFFFFFF r4 s40 Bold
				romMappingDisabledTextColor = ff888888
				romMappingTextSizeDifference = 5
				romMappingTextMargin = 10
				romMappingTitleTextFont = Bebas Neue
				romMappingTitleTextOptions = cFFFFFFFF r4 s60 Bold
				romMappingTitle2TextFont = Bebas Neue
				romMappingTitle2TextOptions = cFFFFFFFF r4 s15 Bold
				romMappingGameInfoTextFont = Bebas Neue
				romMappingGameInfoTextOptions = cFFFFFFFF r4 s15 Regular
				romMappingBackgroundBrush = aa000000
				romMappingColumnBrush = 33000000
				romMappingButtonBrush1 = 6f000000
				romMappingButtonBrush2 = 33000000
				romMappingBackgroundAlign = Stretch and Lose Aspect
				romMappingMenuFlagWidth = 40
				romMappingMenuFlagSeparation = 5
				romMappingDefaultMenuList = FullList
				romMappingSingleFilteredRomAutomaticLaunch = false
				skipchecks = false
				romMatchExt = true
				logFile = G:\Hyperspin\HyperLaunch\HyperLaunch.log
				logLabel := ["    INFO"," WARNING","   ERROR","  DEBUG1","  DEBUG2"]
				logLevel = 3
				logIncludeModule = true
				logIncludeFileProperties = true
				logShowCommandWindow = false
				logCommandWindow = false
				navUpKey = Up
				navDownKey = Down
				navLeftKey = Left
				navRightKey = Right
				navSelectKey = Enter
				navP2UpKey = Numpad8
				navP2DownKey = Numpad2
				navP2LeftKey = Numpad4
				navP2RightKey = Numpad6
				navP2SelectKey = NumpadEnter
				originalWidth = 1920
				originalHeight = 1080
				dtEnabled = true
				dtPath = G:\Hyperspin\DAEMON Tools Lite\DTLite.exe
				dtUseSCSI = true
				dtAddDrive = true
				emuIdleShutdown = 0
				hideCursor = false
				hideEmu = false
				hideFE = false
				fadeIn = true
				fadeInDuration = 500
				fadeInTransitionAnimation = DefaultAnimateFadeIn
				fadeInDelay = 0
				fadeInExitDelay = 0
				fadeOutExitDelay = 0
				fadeOut = false
				fadeOutExtraScreen = false
				fadeOutDuration = 500
				fadeOutTransitionAnimation = DefaultAnimateFadeOut
				fadeOutDelay = 0
				fadeLyrInterpolation = 7
				fadeLyr1Color = FF000000
				fadeLyr1AlignImage = Stretch and Lose Aspect
				fadeLyr2Pos = Center
				fadeLyr2X = 300
				fadeLyr2Y = 300
				fadeLyr2Adjust = 1
				fadeLyr2PicPad = 0
				fadeLyr3Pos = Bottom Center
				fadeLyr3X = 300
				fadeLyr3Y = 300
				fadeLyr3Adjust = 0.75
				fadeLyr3Speed = 750
				fadeLyr3Animation = ZeroDreamsFade
				fadeLyr37zAnimation = ZeroDreamsFade
				fadeLyr3Type = imageandbar
				fadeLyr3ImgFollow7zProgress = true
				fadeLyr3Repeat = 1
				fadeLyr3PicPad = 0
				fadeLyr4Adjust = 0.75
				fadeLyr4X = 100
				fadeLyr4Y = 100
				fadeLyr4Pos = Above Layer 3 - Left
				fadeLyr4FPS = 10
				fadeLyr4PicPad = 0
				fadeTranspGifColor = FFFFFF
				fadeBarWindow = false
				fadeBarWindowX = 
				fadeBarWindowY = 
				fadeBarWindowW = 600
				fadeBarWindowH = 120
				fadeBarWindowR = 20
				fadeBarWindowM = 20
				fadeBarWindowHatchStyle = 8
				fadeBarBack = true
				fadeBarBackColor = FF555555
				fadeBarH = 20
				fadeBarR = 5
				fadeBarColor = DD00BFFF
				fadeBarHatchStyle = 3
				fadeBarPercentageText = true
				fadeBarInfoText = true
				fadeBarXOffset = 0
				fadeBarYOffset = 100
				fadeRomInfoDescription = text
				fadeRomInfoSystemName = text
				fadeRomInfoYear = text
				fadeRomInfoManufacturer = text
				fadeRomInfoGenre = text
				fadeRomInfoRating = text
				fadeRomInfoOrder = Description|SystemName|Year|Manufacturer|Genre|Rating
				fadeRomInfoTextPlacement = topRight
				fadeRomInfoTextMargin = 5
				fadeRomInfoText1Options = cFF555555 r4 s20 Bold
				fadeRomInfoText2Options = cFF555555 r4 s20 Bold
				fadeRomInfoText3Options = cFF555555 r4 s20 Bold
				fadeRomInfoText4Options = cFF555555 r4 s20 Bold
				fadeRomInfoText5Options = cFF555555 r4 s20 Bold
				fadeRomInfoText6Options = cFF555555 r4 s20 Bold
				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 = topLeft
				fadeStatsInfoTextMargin = 5
				fadeStatsInfoText1Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText2Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText3Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText4Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText5Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText6Options = cFF555555 r4 s20 Bold
				fadeText1X = 0
				fadeText1Y = 0
				fadeText1Options = cFFFFFFFF r4 s20 Right Bold
				fadeText1 = Loading Game
				fadeText2X = 0
				fadeText2Y = 0
				fadeText2Options = cFFFFFFFF r4 s20 Right Bold
				fadeText2 = Extraction Complete
				fadeFont = Arial
				fadeSystemAndRomLayersOnly = false
				fadeInterruptKey = U
				detectFadeErrorEnabled = true
				fadeImgPath = G:\Hyperspin\HyperLaunch\Media\Fade
				HLDataPath = G:\Hyperspin\HyperLaunch\Data
				HLMediaPath = G:\Hyperspin\HyperLaunch\Media
				HLErrSoundPath = G:\Hyperspin\HyperLaunch\Media\Sounds\Error
				modulesPath = G:\Hyperspin\HyperLaunch\Modules
				moduleFullName = G:\Hyperspin\HyperLaunch\Modules\WinUAE\WinUAE.ahk
				moduleName = WinUAE
				modulePath = G:\Hyperspin\HyperLaunch\Modules\WinUAE
				moduleExtension = ahk
				moduleExtensionsPath = G:\Hyperspin\HyperLaunch\Module Extensions
				libPath = G:\Hyperspin\HyperLaunch\Lib
				7zEnabled = false
				7zPath = G:\Hyperspin\HyperLaunch\Module Extensions\7z.exe
				7zDllPath = G:\Hyperspin\HyperLaunch\Module Extensions\7z.dll
				7zExtractPath = C:\Users\sergio\AppData\Local\Temp\HS
				7zExtractPathOrig = 
				7zAttachSystemName = false
				7zDelTemp = true
				7zSounds = true
				7zFormats = .zip,.rar,.7z,.lzh,.gzip,.tar
				7zFormatsNoP = zip,rar,7z,lzh,gzip,tar
				mgEnabled = false
				mgKey = ~NumpadSub
				mgBackgroundColor = FF000000
				mgSidePadding = 0.2
				mgYOffset = 500
				mgImageAdjust = 1
				mgFont = Arial
				mgText1Options = x10p y30p w80p Center cBBFFFFFF r4 s100 BoldItalic
				mgText1Text = Please select a game
				mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic
				mgText2Offset = 70
				mgUseSound = true
				mgSoundfreq = 300
				mgExitEffect = none
				mgSelectedEffect = rotate
				mgUseGameArt = false
				mgArtworkDir = Artwork1
				hpEnabled = false
				hpKey = ~NumpadAdd
				hpBackToMenuBarKey = X
				hpZoomInKey = C
				hpZoomOutKey = V
				hpScreenshotKey = ~PrintScreen
				hpHiToTextPath = G:\Hyperspin\HyperLaunch\Module Extensions\HiToText.exe
				hpSaveStateKeyCodes = 
				hpLoadStateKeyCodes = 
				keymapperEnabled = false
				keymapperAHKMethod = false
				keymapper = ahk
				xpadderFullPath = G:\Hyperspin\Utilities\Xpadder\xpadder.exe
				joyToKeyFullPath = G:\Hyperspin\Utilities\JoyToKey\JoyToKey.exe
				keymapperProfilePath = G:\Hyperspin\HyperLaunch\Profiles\ahk
				keymapperFrontEndProfileName = HyperSpin
				keymapperHyperLaunchProfileEnabled = false
				JoyIDsEnabled = false
				JoyIDsPreferredControllersSystem = use_global
				JoyIDsPreferredControllersGlobal = use_global
				CustomJoyNamesEnabled = false
				CustomJoyNames = 
				FEProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\HyperSpin
				defaultProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\_Default
				systemProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\Commodore Amiga
				xPadderSystemProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\Commodore Amiga\_Default
				emuProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\Commodore Amiga\WinUAE
				romProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\Commodore Amiga\AddamsFamily_v1.3_0419
				HyperLaunchProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\HyperLaunch
				blankProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\blank
				ahkFEProfile = G:\Hyperspin\HyperLaunch\Profiles\AHK\HyperSpin
				ahkDefaultProfile = G:\Hyperspin\HyperLaunch\Profiles\AHK\_Default
				ahkSystemProfile = G:\Hyperspin\HyperLaunch\Profiles\AHK\Commodore Amiga
				ahkEmuProfile = G:\Hyperspin\HyperLaunch\Profiles\AHK\Commodore Amiga\WinUAE
				ahkRomProfile = G:\Hyperspin\HyperLaunch\Profiles\AHK\Commodore Amiga\AddamsFamily_v1.3_0419
				ahkHyperLaunchProfile = G:\Hyperspin\HyperLaunch\Profiles\AHK\HyperLaunch
				bezelEnabled = false
				statisticsEnabled = true

11:57:44:706 | HL |     INFO  | +15    | BuildScript - Loaded XHotkey Init.ahk scripts
11:57:44:706 | HL |     INFO  | +0     | BuildScript - Loaded Fade Init.ahk scripts
11:57:44:706 | HL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
11:57:44:706 | HL |     INFO  | +0     | BuildScript - Loaded User Functions Init.ahk script
11:57:44:708 | HL |     INFO  | +0     | BuildScript - Module:
				MEmu = WinUAE
				MEmuV =  v2.6.0
				MURL = http://www.winuae.net/
				MAuthor = brolly
				MVersion = 2.0.2
				MCRC = 2283EB17
				iCRC = 587D7C70
				mId = 635138307631183750
				MSystem = "Commodore Amiga","Commodore Amiga CD32","Commodore CDTV","Commodore Amiga CD"
				;----------------------------------------------------------------------------
				; Notes:
				; You can have specific configuration files inside a Configurations folder on WinUAE main dir.
				; Just name them the same as the game name on the XML file.
				; Make sure you create a host config files with these names:
				; CD32 : cd32host.uae and cd32mousehost.uae;
				; CDTV : cdtvhost.uae and cdtvmousehost.uae;
				; Amiga : amigahost.uae;
				; Amiga CD : amigacdhost.uae;
				; cd32mouse and cdtvmouse are for mouse controlled games on these systems, you should configure 
				; Windows Mouse on Port1 and a CD32 pad on Port2. For Amiga and Amiga CD make sure you set both 
				; a joystick and a mouse on Port1 and only a joystick on Port2.
				; Set all your other preferences like video display settings. And make sure you are saving a HOST 
				; configuration file and not a general configuration file.
				;
				; If you want to configure an exit key through WinUAE:
				; Host-Input-Configuration #1-RAW Keyboard and then remap the desired key to Quit Emulator.
				; If you want to configure a key to toggle fullscreen/windowed mode:
				; Host-Input-Configuration #1-RAW Keyboard and then remap the desired key to Toggle windowed/fullscreen.
				;
				; CD32 and CDTV:
				; A settings file called System_Name.ini should be placed on your module dir. on that file you can define if a 
				; game uses mouse or if it needs the special delay hack loading method amongst other things. Example of such a file:
				;
				; [Lemmings (Europe)]
				; UseMouse=true
				;
				; [Project-X & F17 Challenge (Europe)]
				; DelayHack=true
				;
				; Amiga:
				; For MultiGame support make sure you don't change the default WinUAE diskswapper keys which are:
				; END+1-0 (not numeric keypad) = insert image from swapper slot 1-10
				; END+SHIFT+1-0 = insert image from swapper slot 11-20
				; END+CTRL+1-4 = select drive
				;
				; To do that follow the same procedure as above for the exit 
				; key, but on F11 set it to Toggle windowed/fullscreen. Make sure you save your configuration afterwards.
				; Note : If you want to use Send commands to WinUAE for any keys that you configured through Input-Configuration panel make sure you 
				; set those keys for Null Keyboard! This is a virtual keyboard that collects all input events that don't come from physical 
				; keyboards. This applies to the exit or windowed/fullscreen keys mentioned above.
				;
				; If you are using WHDLoad games, but want to keep your default user-startup file after exiting then make a copy of it in the 
				; WHDFolder\S (Set in PathToWHDFolder) and name it default-user-startup. This file will then be copied over S\user-startup on exit.
				;----------------------------------------------------------------------------

				StartModule()
				FadeInStart()

				settingsFile := modulePath . "\" . systemName . ".ini"

				Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
				PathToWHDFolder := IniReadCheck(settingsFile, "Settings", "PathToWHDFolder", EmuPath . "\HDD\WHD",,1)
				PathToWorkBenchBase := IniReadCheck(settingsFile, "Settings", "PathToWorkBenchBase", EmuPath . "\HDD\Workbench31_Lite.vhd",,1)

				PathToWHDFolder := AbsoluteFromRelative(EmuPath, PathToWHDFolder)
				PathToWorkBenchBase := AbsoluteFromRelative(EmuPath, PathToWorkBenchBase)

				; This object controls how the module reacts to different systems. MESS can play a lot of systems, but needs to know what system you want to run, so this module has to adapt.
				mType := Object("Commodore Amiga","a500","Commodore Amiga CD32","cd32","Commodore CDTV","cdtv","Commodore Amiga CD","amigacd")
				ident := mType[systemName]	; search object for the systemName identifier MESS uses
				If !ident
					ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for this WinUAE module: " . moduleName)

				windowClass = PCsuxRox ;Class name is different depending on if the game is being run windowed or fullscreen
				If ( Fullscreen = "true" )
					windowClass = AmigaPowah

				specialcfg = %emuPath%Configurations\%romName%.uae

				If romExtension in .hdf,.vhd
					DefaultRequireWB := "true"
				Else
					DefaultRequireWB := "false"

				If romExtension in .zip,.lha,.rar,.7z
				{
					SlaveFile := COM_Invoke(HLObject, "findByExtension", romPath . "\" . romName . romExtension, "slave")
					If (SlaveFile)
					{
						If romName contains (AGA)
							DefaultOptions := "-s cycle_exact=false " . "-s immediate_blits=false " . "-s cpu_compatible=false " . "-s cpu_speed=max " . "-s cachesize=8192" ;AGA
						Else
							DefaultOptions := "-s cycle_exact=true " . "-s immediate_blits=false " . "-s cpu_compatible=false " . "-s cpu_speed=real " . "-s cachesize=8192 " ;Non-AGA
					}
				}

				usemouse := IniReadCheck(settingsFile, romName, "UseMouse","false",,1)
				delayhack := IniReadCheck(settingsFile, romName, "DelayHack","false",,1)
				options := IniReadCheck(settingsFile, romName, "Options",DefaultOptions,,1)
				videomode := IniReadCheck(settingsFile, romName, "VideoMode","PAL",,1)

				floppyspeed := IniReadCheck(settingsFile, romName, "FloppySpeed","turbo",,1)
				quickstartmode := IniReadCheck(settingsFile, romName, "QuickStartMode",A_Space,,1)
				immediateblitter := IniReadCheck(settingsFile, romName, "ImmediateBlitter","false",,1)
				requireswb := IniReadCheck(settingsFile, romName, "RequiresWB",DefaultRequireWB,,1)
				customwb := IniReadCheck(settingsFile, romName, "CustomWB",A_Space,,1)
				whdloadoptions := IniReadCheck(settingsFile, romName, "WHDLoadOptions","PRELOAD",,1)
				neverextract := IniReadCheck(settingsFile, romName, "NeverExtract","false",,1)

				fs := If (Fullscreen = "true") ? "true" : "false"
				videomode := (If videomode = "NTSC" ? ("-s ntsc=true") : (""))
				floppyspeed := (If floppyspeed ? ("-s floppy_speed=" . floppyspeed) : (""))

				If (requireswb = "true")
				{
					ident := "a1200"

					If (customwb)
					{
						PathToWorkBenchBase := %EmuPath% . "\" . customwb
					}
					CheckFile(PathToWorkBenchBase)
					wbDrive := "-s hardfile=rw,32,1,2,512," . """" . PathToWorkBenchBase . """"
				}
				If romExtension in .hdf,.vhd
				{
					ident := "a1200"
					gameDrive := "-s hardfile=rw,32,1,2,512," . """" . romPath . "\" . romName . romExtension . """"
				}
				If (immediateblitter = "true")
				{
					options := options . " " . "-s immediate_blits=true"
				}

				options := options . " " . videomode

				If (ident = "a500" or ident = "a1200")
				{
					If romName contains (AGA),(LW)
						ident := "a1200"

					If (SlaveFile)
					{
						CheckFile(PathToWHDFolder)

						ident := "a1200"

						;Create the user-startup file to launch the game
						WHDUserStartupFile := PathToWHDFolder . "\S\user-startup"
						SplitPath, SlaveFile, SlaveName, SlaveFolder

						FileDelete, %WHDUserStartupFile%
						FileAppend, echo "";`n, %WHDUserStartupFile%
						FileAppend, echo "Running: %SlaveName%";`n, %WHDUserStartupFile%
						FileAppend, echo "";`n, %WHDUserStartupFile%
						FileAppend, cd dh1:%SlaveFolder%;`n, %WHDUserStartupFile%
						FileAppend, whdload %SlaveName% %whdloadoptions%;`n, %WHDUserStartupFile%
					}
				}

				7z(romPath, romName, romExtension, 7zExtractPath)

				If FileExist(specialcfg)
				{
					;Game specific configuration file exists
					configFile = %romName%.uae
				}
				Else
				{
					;Game specific configuration file doesn't exist
					If (ident = "cd32" or ident = "cdtv")
					{
						configFile := If (usemouse = "true") ? ("host\" . ident . "mousehost.uae") : ("host\" . ident . "host.uae")
						quickcfg := If (ident = "cd32") ? ("-s quickstart=" . ident . "`,0 -s chipmem_size=8") : ("-s quickstart=" . ident . "`,0")
						If (delayhack = "true")
							options := options . " -s cdimage0=" . """" . romPath . "\" . romName . romExtension . """" . "`,delay"
						Else
							options := options . " -cdimage=" . """" . romPath . "\" . romName . romExtension . """"
					}
					Else
					{
						;Amiga or Amiga CD game

						configFile := If systemName = "Commodore Amiga CD" ? "host\amigacdhost.uae" : "host\amigahost.uae"
						If quickstartmode
							quickcfg := "-s quickstart=" . quickstartmode
						Else
							quickcfg := If (ident = "a500") ? "-s quickstart=a500`,1" : "-s quickstart=a1200`,1"

						If (SlaveFile)
						{
							;WHDLoad Game
							options := options . " -s filesystem=rw,WHD:" . """" . PathToWHDFolder . """" . " -s filesystem=ro,Games:" . """" . romPath . "\" . romName . romExtension . """"
						}
						Else If (gameDrive)
						{
							;HDD Game
							options := options . " " . wbDrive . " " . gameDrive
						}
						Else If romExtension in .cue,.iso
						{
							;Amiga CD game
							options := options . " " . wbDrive . " -cdimage=" . """" . romPath . "\" . romName . romExtension . """" . " -s win32.map_cd_drives=true -s scsi=true"
						}
						Else
						{
							;Floppy Game

							;MultiDisk loading, this will load the first 2 disks into drives 0 and 1 since some games can read from both drives and therefore 
							;the user won't need to change disks through the MG menu. We can have up to 4 drives, but most of the games will only support 2 drives 
							;so disks are only loaded into the first 2 for better compatibility. Remaining drives will be loaded into quick disk slots.

							romCount = % romTable.MaxIndex()
							If romName contains (Disk 1)
							{
								;If the user boots any disk rather than the first one, multi disk support must be done through HyperLaunch MG menu
								if romCount > 1
								{
									options := options . " -s nr_floppies=2"
									mgoptions := " -s floppy1=" . """" . romTable[2,1] . """"
								}
							}
							options := options . " " . floppyspeed . " -s floppy0=" . """" . romPath . "\" . romName . romExtension . """" . mgoptions

							if romCount > 1
							{
								;DiskSwapper
								;diskswapper := " -diskswapper "
								Loop % romTable.MaxIndex() ; loop each item in our array
								{
									;diskswapper := diskswapper . """" . romTable[A_Index,1] . ""","
									diskswapper := diskswapper . " -s diskimage" . (A_Index-1) . "=" . """" . romTable[A_Index,1] . """"
								}
								options := options . diskswapper
							}
						}
					}
				}

				param1 := "-f " . """" . EmuPath . "\Configurations\" . configFile . """" . " " . quickcfg
				param2 := "-s use_gui=no -s gfx_fullscreen_amiga=" . fs
				param3 := options

				;MsgBox, %param1% %param2% %param3% %param4% %param5% %param6%
				;ExitApp

				;disableActivateBlackScreen = true

				Run(Executable . A_Space . param1 . A_Space . param2 . A_Space . param3 . A_Space . param4 . A_Space . param5 . A_Space . param6 . A_Space . " -portable", emuPath)

				WinWait("ahk_class " . windowClass)
				WinWaitActive("ahk_class " . windowClass)

				FadeInExit()
				Process("WaitClose",executable)
				7zCleanUp()
				FadeOutExit()
				ExitModule()

				MultiGame:
					If currentButton = 10
						diskslot = 0
					Else If currentButton > 10
						diskslot := currentButton - 10
					Else
						diskslot := currentButton

					If currentButton > 10
						Send, {End Down}{Shift Down}%diskslot%{Shift Up}{End Up}
					Else
						Send, {End Down}%diskslot%{End Up}
				return

				CloseProcess:
					If (ident = "a500" or ident = "a1200")
					{
						If (SlaveFile)
						{
							CheckFile(PathToWHDFolder)
							;Copy default-user-startup to user-startup if file exists
							IfExist, %PathToWHDFolder%\S\default-user-startup
								FileCopy,%PathToWHDFolder%\S\default-user-startup, %PathToWHDFolder%\S\user-startup, 1
						}
					}
					FadeOutStart()
					WinClose, ahk_class %windowClass%
				return

				AbsoluteFromRelative(MasterPath, RelativePath)
				{
				   VarSetCapacity(AbsP,260,0)
				   DllCall( "shlwapi\PathCombineA", Str,AbsP, Str,MasterPath, Str,RelativePath )
				   Return AbsP
				}

11:57:44:718 | HL |     INFO  | +16    | BuildScript - Loaded Statistics.ahk script
11:57:44:718 | HL |     INFO  | +0     | BuildScript - Loaded User Functions.ahk script
11:57:44:718 | HL |     INFO  | +0     | BuildScript - Finished injecting functions into module
11:57:44:718 | HL |     INFO  | +0     | Main - Module is built
11:57:44:718 | HL |     INFO  | +0     | CheckFile - Checking if G:\Hyperspin\HyperLaunch\AutoHotkey.dll exists
11:57:44:848 | HL |     INFO  | +125   | Main - Running module
11:57:45:038 | MD |     INFO  | +N/A   | Module initialized
11:57:45:041 | MD |     INFO  | +0     | StartModule - Started
11:57:45:041 | MD |     INFO  | +0     | StartModule - MEmu: WinUAE
				MEmuV: v2.6.0
				MURL: http://www.winuae.net/
				MAuthor: brolly
				MVersion: 2.0.2
				MCRC: 2283EB17
				iCRC: 587D7C70
				MID: 
				MSystem: "Commodore Amiga","Commodore Amiga CD32","Commodore CDTV","Commodore Amiga CD"
11:57:45:041 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "Commodore Amiga"
11:57:45:041 | MD |     INFO  | +0     | StartModule - Ended
11:57:45:043 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade Layer 1 will use G:\Hyperspin\HyperLaunch\Media\Fade\_Default\Layer 1.png
11:57:45:043 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade Layer 2 will use G:\Hyperspin\HyperLaunch\Media\Fade\Commodore Amiga\_Default\Layer 2.png
11:57:45:188 | MD |     INFO  | +156   | DefaultAnimateFadeIn - Started
11:57:45:188 | MD |     INFO  | +0     | DefaultAnimateFadeIn - Drawing First FadeIn Image.
11:57:45:706 | MD |     INFO  | +515   | DefaultAnimateFadeIn - Ended
11:57:45:708 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade Extra Layer 1 - Console will use G:\Hyperspin\HyperLaunch\Media\Fade\Commodore Amiga\_Default\Extra Layer 1 - Console.png
11:57:45:958 | MD |     INFO  | +249   | GetFadePicFile - Randomized images and Fade Extra Layer 2 - Info Bar will use G:\Hyperspin\HyperLaunch\Media\Fade\_Default\Extra Layer 2 - Info Bar.png
11:57:45:971 | MD |     INFO  | +16    | DefaultFadeAnimation - Started
11:57:45:971 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade Layer 3 will use G:\Hyperspin\HyperLaunch\Media\Fade\Commodore Amiga\_Default\Layer 3.png
11:57:45:978 | MD |     INFO  | +0     | ReadHyperSpinXML - Started
11:57:45:981 | MD |     INFO  | +0     | ReadHyperSpinXML - Ended
11:57:45:983 | MD |     INFO  | +16    | CreateRomTable - Started
11:57:45:983 | MD |     INFO  | +0     | CreateRomTable - Ended, 7 Loops to create table.
11:57:46:836 | MD |     INFO  | +842   | DefaultFadeAnimation - Ended
11:57:46:836 | MD |     INFO  | +0     | StartGlobalUserFeatures - Starting
11:57:46:836 | MD |     INFO  | +0     | StartGlobalUserFeatures - Ending
11:57:46:838 | MD |     INFO  | +0     | Module Setting - [settings] - Fullscreen: true
11:57:46:838 | MD |     INFO  | +0     | Module Setting - [settings] - PathToWHDFolder: .\WHD
11:57:46:838 | MD |     INFO  | +0     | Module Setting - [settings] - PathToWorkBenchBase: G:\Hyperspin\Emulators\Commodore Amiga\HDD\Workbench31_Lite.vhd
11:57:46:998 | MD |     INFO  | +172   | Module Setting - [AddamsFamily_v1.3_0419] - UseMouse: false
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - DelayHack: false
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - Options: -s cycle_exact=true -s immediate_blits=false -s cpu_compatible=false -s cpu_speed=real -s cachesize=8192
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - VideoMode: PAL
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - FloppySpeed: turbo
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - ImmediateBlitter: false
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - RequiresWB: false
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - WHDLoadOptions: PRELOAD
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - NeverExtract: false
11:57:46:998 | MD |     INFO  | +0     | CheckFile - Checking if G:\Hyperspin\Emulators\Commodore Amiga\WHD exists
11:57:46:018 | MD |     INFO  | +15    | Run - Running: G:\Hyperspin\Emulators\Commodore Amiga\winuae.exe -f "G:\Hyperspin\Emulators\Commodore Amiga\Configurations\host\amigahost.uae" -s quickstart=a1200,1 -s use_gui=no -s gfx_fullscreen_amiga=true -s cycle_exact=true -s immediate_blits=false -s cpu_compatible=false -s cpu_speed=real -s cachesize=8192  -s filesystem=rw,WHD:"G:\Hyperspin\Emulators\Commodore Amiga\WHD" -s filesystem=ro,Games:"G:\Hyperspin\Emulators\Commodore Amiga\roms amiga\AddamsFamily_v1.3_0419.zip"     -portable
11:57:47:236 | MD |     INFO  | +219   | WinWait - Waiting for ahk_class AmigaPowah
11:57:48:667 | MD |     INFO  | +1435  | WinWaitActive - Waiting for "ahk_class AmigaPowah"
11:57:49:070 | MD |     INFO  | +390   | Process - WaitClose winuae.exe 
11:57:49:076 | MD |     INFO  | +15    | DefaultAnimateFadeIn - Started
11:57:49:582 | MD |     INFO  | +500   | DefaultAnimateFadeIn - Ended
11:57:49:592 | MD |     INFO  | +15    | StopGlobalUserFeatures - Starting
11:57:49:592 | MD |     INFO  | +0     | StopGlobalUserFeatures - Ending
11:57:49:592 | MD |     INFO  | +0     | ExitModule - Started
11:57:49:593 | MD |     INFO  | +0     | Starting Updating Statistics:
11:57:49:669 | MD |     INFO  | +78    | Game section statistics updated.
11:57:49:670 | MD |     INFO  | +0     | ExitModule - Ended
11:57:49:670 | MD |     INFO  | +0     | End of Module Logs
11:57:49:716 | HL |     INFO  | +4867  | Main - Module ended, exiting HyperLaunch normally
11:57:49:716 | HL |     INFO  | +0     | ExitScript - Started
11:57:50:309 | HL |     INFO  | +593   | SystemCursor - Restoring mouse cursor
11:57:50:433 | HL |     INFO  | +125   | ExitScript - Ended

   

Posted
11:57:44:301 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.1.0
11:57:44:301 | HL |     INFO  | +0     | Main - System Specs:
                   HyperLaunch Dir: G:\Hyperspin\HyperLaunch
                   OS: WIN_7
                   Architecture: 64-bit (might not be accurate)
                   OS Language: Spanish_Modern_Sort
                   OS Admin Status: No
                   Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1032 work)
                   AutoHotkey Path: C:\Program Files (x86)\AutoHotkey\AutoHotkey.exe
                   AHK Version: 1.1.09.04
                   Unicode: No
11:57:44:303 | HL |     INFO  | +0     | Main - HyperSpin.exe coordinates are x448 y156 w1024 h768
11:57:44:303 | HL |     INFO  | +0     | CheckFile - Checking if G:\Hyperspin\HyperLaunch\HyperLaunch.exe exists
11:57:44:303 | HL |     INFO  | +0     | Main - HyperLaunch received "Commodore Amiga" and "AddamsFamily_v1.3_0419"
11:57:44:323 | HL |     INFO  | +15    | Main - AddamsFamily_v1.3_0419 is using the default emulator: WinUAE
11:57:44:323 | HL |     INFO  | +0     | Main - Checking for a [WinUAE] section in G:\Hyperspin\HyperLaunch\Settings\Commodore Amiga\Emulators.ini
11:57:44:323 | HL |     INFO  | +0     | Main - Found [WinUAE] in G:\Hyperspin\HyperLaunch\Settings\Commodore Amiga\Emulators.ini
11:57:44:326 | HL |     INFO  | +0     | CheckFile - Checking if G:\Hyperspin\HyperLaunch\Modules\WinUAE\WinUAE.ahk exists
11:57:44:333 | HL |     INFO  | +16    | Main - CRC Check - CRC matches, this is an official unedited module.
11:57:44:333 | HL |     INFO  | +0     | Main - AddamsFamily_v1.3_0419 will use module: G:\Hyperspin\HyperLaunch\Modules\WinUAE\WinUAE.ahk
11:57:44:348 | HL |     INFO  | +16    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
11:57:44:351 | HL |     INFO  | +0     | Main - INI Keys read
11:57:44:351 | HL |     INFO  | +0     | CheckFile - Checking if G:\Hyperspin\HyperLaunch\Module Extensions\7z.exe exists
11:57:44:413 | HL |     INFO  | +62    | CheckFile - Checking if G:\Hyperspin\HyperLaunch\Module Extensions\7z.dll exists
11:57:44:548 | HL |     INFO  | +140   | CheckPaths - Started
11:57:44:548 | HL |     INFO  | +0     | CheckPaths - Found rom: G:\Hyperspin\Emulators\Commodore Amiga\roms amiga\AddamsFamily_v1.3_0419.zip
11:57:44:548 | HL |     INFO  | +0     | CheckFile - Checking if G:\Hyperspin\Emulators\Commodore Amiga\winuae.exe exists
11:57:44:698 | HL |     INFO  | +141   | CheckPaths - Ended
11:57:44:698 | HL |     INFO  | +0     | BuildScript - User Variables:
                   ;----------------------------------------------------------------------------
                   ; INJECTED VARIABLES
                   ;----------------------------------------------------------------------------

                   #NoTrayIcon
                   #InstallKeybdHook
                   DetectHiddenWindows, ON
                   SetTitleMatchMode, 2
                   SendMode, Event
                   0 = 2
                   frontendPID = 2876
                   frontendPath = G:\Hyperspin
                   frontendExe = HyperSpin.exe
                   frontendExt = exe
                   frontendName = HyperSpin
                   frontendDrive = G:
                   exitEmulatorKey = ~Esc
                   exitEmulatorKeyWait = 0
                   forceHoldKey = ~Esc
                   restoreFE = false
                   exitScriptKey = ~q & ~s
                   toggleCursorKey = ~e & ~t
                   emuFullPath = G:\Hyperspin\Emulators\Commodore Amiga\winuae.exe
                   emuPath = G:\Hyperspin\Emulators\Commodore Amiga
                   emuName = WinUAE
                   emuExt = exe
                   romPath = G:\Hyperspin\Emulators\Commodore Amiga\roms amiga
                   romPathFromIni = G:\Hyperspin\Emulators\Commodore Amiga\roms amiga
                   romExtension = .zip
                   romExtensionOrig = .zip
                   romExtensions = zip
                   executable = winuae.exe
                   systemName = Commodore Amiga
                   dbName = AddamsFamily_v1.3_0419
                   romName = AddamsFamily_v1.3_0419
                   romMapPath = 
                   romMappingEnabled = false
                   romMappingLaunchMenuEnabled = false
                   romMappingFirstMatchingExt = false
                   romMappingShowAllRomsInArchive = true
                   romMappingNumberOfWheelsByScreen = 7
                   romMappingMenuWidth = 300
                   romMappingMenuMargin = 50
                   romMappingTextFont = Bebas Neue
                   romMappingTextOptions = cFFFFFFFF r4 s40 Bold
                   romMappingDisabledTextColor = ff888888
                   romMappingTextSizeDifference = 5
                   romMappingTextMargin = 10
                   romMappingTitleTextFont = Bebas Neue
                   romMappingTitleTextOptions = cFFFFFFFF r4 s60 Bold
                   romMappingTitle2TextFont = Bebas Neue
                   romMappingTitle2TextOptions = cFFFFFFFF r4 s15 Bold
                   romMappingGameInfoTextFont = Bebas Neue
                   romMappingGameInfoTextOptions = cFFFFFFFF r4 s15 Regular
                   romMappingBackgroundBrush = aa000000
                   romMappingColumnBrush = 33000000
                   romMappingButtonBrush1 = 6f000000
                   romMappingButtonBrush2 = 33000000
                   romMappingBackgroundAlign = Stretch and Lose Aspect
                   romMappingMenuFlagWidth = 40
                   romMappingMenuFlagSeparation = 5
                   romMappingDefaultMenuList = FullList
                   romMappingSingleFilteredRomAutomaticLaunch = false
                   skipchecks = false
                   romMatchExt = true
                   logFile = G:\Hyperspin\HyperLaunch\HyperLaunch.log
                   logLabel := ["    INFO"," WARNING","   ERROR","  DEBUG1","  DEBUG2"]
                   logLevel = 3
                   logIncludeModule = true
                   logIncludeFileProperties = true
                   logShowCommandWindow = false
                   logCommandWindow = false
                   navUpKey = Up
                   navDownKey = Down
                   navLeftKey = Left
                   navRightKey = Right
                   navSelectKey = Enter
                   navP2UpKey = Numpad8
                   navP2DownKey = Numpad2
                   navP2LeftKey = Numpad4
                   navP2RightKey = Numpad6
                   navP2SelectKey = NumpadEnter
                   originalWidth = 1920
                   originalHeight = 1080
                   dtEnabled = true
                   dtPath = G:\Hyperspin\DAEMON Tools Lite\DTLite.exe
                   dtUseSCSI = true
                   dtAddDrive = true
                   emuIdleShutdown = 0
                   hideCursor = false
                   hideEmu = false
                   hideFE = false
                   fadeIn = true
                   fadeInDuration = 500
                   fadeInTransitionAnimation = DefaultAnimateFadeIn
                   fadeInDelay = 0
                   fadeInExitDelay = 0
                   fadeOutExitDelay = 0
                   fadeOut = false
                   fadeOutExtraScreen = false
                   fadeOutDuration = 500
                   fadeOutTransitionAnimation = DefaultAnimateFadeOut
                   fadeOutDelay = 0
                   fadeLyrInterpolation = 7
                   fadeLyr1Color = FF000000
                   fadeLyr1AlignImage = Stretch and Lose Aspect
                   fadeLyr2Pos = Center
                   fadeLyr2X = 300
                   fadeLyr2Y = 300
                   fadeLyr2Adjust = 1
                   fadeLyr2PicPad = 0
                   fadeLyr3Pos = Bottom Center
                   fadeLyr3X = 300
                   fadeLyr3Y = 300
                   fadeLyr3Adjust = 0.75
                   fadeLyr3Speed = 750
                   fadeLyr3Animation = ZeroDreamsFade
                   fadeLyr37zAnimation = ZeroDreamsFade
                   fadeLyr3Type = imageandbar
                   fadeLyr3ImgFollow7zProgress = true
                   fadeLyr3Repeat = 1
                   fadeLyr3PicPad = 0
                   fadeLyr4Adjust = 0.75
                   fadeLyr4X = 100
                   fadeLyr4Y = 100
                   fadeLyr4Pos = Above Layer 3 - Left
                   fadeLyr4FPS = 10
                   fadeLyr4PicPad = 0
                   fadeTranspGifColor = FFFFFF
                   fadeBarWindow = false
                   fadeBarWindowX = 
                   fadeBarWindowY = 
                   fadeBarWindowW = 600
                   fadeBarWindowH = 120
                   fadeBarWindowR = 20
                   fadeBarWindowM = 20
                   fadeBarWindowHatchStyle = 8
                   fadeBarBack = true
                   fadeBarBackColor = FF555555
                   fadeBarH = 20
                   fadeBarR = 5
                   fadeBarColor = DD00BFFF
                   fadeBarHatchStyle = 3
                   fadeBarPercentageText = true
                   fadeBarInfoText = true
                   fadeBarXOffset = 0
                   fadeBarYOffset = 100
                   fadeRomInfoDescription = text
                   fadeRomInfoSystemName = text
                   fadeRomInfoYear = text
                   fadeRomInfoManufacturer = text
                   fadeRomInfoGenre = text
                   fadeRomInfoRating = text
                   fadeRomInfoOrder = Description|SystemName|Year|Manufacturer|Genre|Rating
                   fadeRomInfoTextPlacement = topRight
                   fadeRomInfoTextMargin = 5
                   fadeRomInfoText1Options = cFF555555 r4 s20 Bold
                   fadeRomInfoText2Options = cFF555555 r4 s20 Bold
                   fadeRomInfoText3Options = cFF555555 r4 s20 Bold
                   fadeRomInfoText4Options = cFF555555 r4 s20 Bold
                   fadeRomInfoText5Options = cFF555555 r4 s20 Bold
                   fadeRomInfoText6Options = cFF555555 r4 s20 Bold
                   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 = topLeft
                   fadeStatsInfoTextMargin = 5
                   fadeStatsInfoText1Options = cFF555555 r4 s20 Bold
                   fadeStatsInfoText2Options = cFF555555 r4 s20 Bold
                   fadeStatsInfoText3Options = cFF555555 r4 s20 Bold
                   fadeStatsInfoText4Options = cFF555555 r4 s20 Bold
                   fadeStatsInfoText5Options = cFF555555 r4 s20 Bold
                   fadeStatsInfoText6Options = cFF555555 r4 s20 Bold
                   fadeText1X = 0
                   fadeText1Y = 0
                   fadeText1Options = cFFFFFFFF r4 s20 Right Bold
                   fadeText1 = Loading Game
                   fadeText2X = 0
                   fadeText2Y = 0
                   fadeText2Options = cFFFFFFFF r4 s20 Right Bold
                   fadeText2 = Extraction Complete
                   fadeFont = Arial
                   fadeSystemAndRomLayersOnly = false
                   fadeInterruptKey = U
                   detectFadeErrorEnabled = true
                   fadeImgPath = G:\Hyperspin\HyperLaunch\Media\Fade
                   HLDataPath = G:\Hyperspin\HyperLaunch\Data
                   HLMediaPath = G:\Hyperspin\HyperLaunch\Media
                   HLErrSoundPath = G:\Hyperspin\HyperLaunch\Media\Sounds\Error
                   modulesPath = G:\Hyperspin\HyperLaunch\Modules
                   moduleFullName = G:\Hyperspin\HyperLaunch\Modules\WinUAE\WinUAE.ahk
                   moduleName = WinUAE
                   modulePath = G:\Hyperspin\HyperLaunch\Modules\WinUAE
                   moduleExtension = ahk
                   moduleExtensionsPath = G:\Hyperspin\HyperLaunch\Module Extensions
                   libPath = G:\Hyperspin\HyperLaunch\Lib
                   7zEnabled = false
                   7zPath = G:\Hyperspin\HyperLaunch\Module Extensions\7z.exe
                   7zDllPath = G:\Hyperspin\HyperLaunch\Module Extensions\7z.dll
                   7zExtractPath = C:\Users\sergio\AppData\Local\Temp\HS
                   7zExtractPathOrig = 
                   7zAttachSystemName = false
                   7zDelTemp = true
                   7zSounds = true
                   7zFormats = .zip,.rar,.7z,.lzh,.gzip,.tar
                   7zFormatsNoP = zip,rar,7z,lzh,gzip,tar
                   mgEnabled = false
                   mgKey = ~NumpadSub
                   mgBackgroundColor = FF000000
                   mgSidePadding = 0.2
                   mgYOffset = 500
                   mgImageAdjust = 1
                   mgFont = Arial
                   mgText1Options = x10p y30p w80p Center cBBFFFFFF r4 s100 BoldItalic
                   mgText1Text = Please select a game
                   mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic
                   mgText2Offset = 70
                   mgUseSound = true
                   mgSoundfreq = 300
                   mgExitEffect = none
                   mgSelectedEffect = rotate
                   mgUseGameArt = false
                   mgArtworkDir = Artwork1
                   hpEnabled = false
                   hpKey = ~NumpadAdd
                   hpBackToMenuBarKey = X
                   hpZoomInKey = C
                   hpZoomOutKey = V
                   hpScreenshotKey = ~PrintScreen
                   hpHiToTextPath = G:\Hyperspin\HyperLaunch\Module Extensions\HiToText.exe
                   hpSaveStateKeyCodes = 
                   hpLoadStateKeyCodes = 
                   keymapperEnabled = false
                   keymapperAHKMethod = false
                   keymapper = ahk
                   xpadderFullPath = G:\Hyperspin\Utilities\Xpadder\xpadder.exe
                   joyToKeyFullPath = G:\Hyperspin\Utilities\JoyToKey\JoyToKey.exe
                   keymapperProfilePath = G:\Hyperspin\HyperLaunch\Profiles\ahk
                   keymapperFrontEndProfileName = HyperSpin
                   keymapperHyperLaunchProfileEnabled = false
                   JoyIDsEnabled = false
                   JoyIDsPreferredControllersSystem = use_global
                   JoyIDsPreferredControllersGlobal = use_global
                   CustomJoyNamesEnabled = false
                   CustomJoyNames = 
                   FEProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\HyperSpin
                   defaultProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\_Default
                   systemProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\Commodore Amiga
                   xPadderSystemProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\Commodore Amiga\_Default
                   emuProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\Commodore Amiga\WinUAE
                   romProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\Commodore Amiga\AddamsFamily_v1.3_0419
                   HyperLaunchProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\HyperLaunch
                   blankProfile = G:\Hyperspin\HyperLaunch\Profiles\ahk\blank
                   ahkFEProfile = G:\Hyperspin\HyperLaunch\Profiles\AHK\HyperSpin
                   ahkDefaultProfile = G:\Hyperspin\HyperLaunch\Profiles\AHK\_Default
                   ahkSystemProfile = G:\Hyperspin\HyperLaunch\Profiles\AHK\Commodore Amiga
                   ahkEmuProfile = G:\Hyperspin\HyperLaunch\Profiles\AHK\Commodore Amiga\WinUAE
                   ahkRomProfile = G:\Hyperspin\HyperLaunch\Profiles\AHK\Commodore Amiga\AddamsFamily_v1.3_0419
                   ahkHyperLaunchProfile = G:\Hyperspin\HyperLaunch\Profiles\AHK\HyperLaunch
                   bezelEnabled = false
                   statisticsEnabled = true

11:57:44:706 | HL |     INFO  | +15    | BuildScript - Loaded XHotkey Init.ahk scripts
11:57:44:706 | HL |     INFO  | +0     | BuildScript - Loaded Fade Init.ahk scripts
11:57:44:706 | HL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
11:57:44:706 | HL |     INFO  | +0     | BuildScript - Loaded User Functions Init.ahk script
11:57:44:708 | HL |     INFO  | +0     | BuildScript - Module:
                   MEmu = WinUAE
                   MEmuV =  v2.6.0
                   MURL = http://www.winuae.net/
                   MAuthor = brolly
                   MVersion = 2.0.2
                   MCRC = 2283EB17
                   iCRC = 587D7C70
                   mId = 635138307631183750
                   MSystem = "Commodore Amiga","Commodore Amiga CD32","Commodore CDTV","Commodore Amiga CD"
                   ;----------------------------------------------------------------------------
                   ; Notes:
                   ; You can have specific configuration files inside a Configurations folder on WinUAE main dir.
                   ; Just name them the same as the game name on the XML file.
                   ; Make sure you create a host config files with these names:
                   ; CD32 : cd32host.uae and cd32mousehost.uae;
                   ; CDTV : cdtvhost.uae and cdtvmousehost.uae;
                   ; Amiga : amigahost.uae;
                   ; Amiga CD : amigacdhost.uae;
                   ; cd32mouse and cdtvmouse are for mouse controlled games on these systems, you should configure 
                   ; Windows Mouse on Port1 and a CD32 pad on Port2. For Amiga and Amiga CD make sure you set both 
                   ; a joystick and a mouse on Port1 and only a joystick on Port2.
                   ; Set all your other preferences like video display settings. And make sure you are saving a HOST 
                   ; configuration file and not a general configuration file.
                   ;
                   ; If you want to configure an exit key through WinUAE:
                   ; Host-Input-Configuration #1-RAW Keyboard and then remap the desired key to Quit Emulator.
                   ; If you want to configure a key to toggle fullscreen/windowed mode:
                   ; Host-Input-Configuration #1-RAW Keyboard and then remap the desired key to Toggle windowed/fullscreen.
                   ;
                   ; CD32 and CDTV:
                   ; A settings file called System_Name.ini should be placed on your module dir. on that file you can define if a 
                   ; game uses mouse or if it needs the special delay hack loading method amongst other things. Example of such a file:
                   ;
                   ; [Lemmings (Europe)]
                   ; UseMouse=true
                   ;
                   ; [Project-X & F17 Challenge (Europe)]
                   ; DelayHack=true
                   ;
                   ; Amiga:
                   ; For MultiGame support make sure you don't change the default WinUAE diskswapper keys which are:
                   ; END+1-0 (not numeric keypad) = insert image from swapper slot 1-10
                   ; END+SHIFT+1-0 = insert image from swapper slot 11-20
                   ; END+CTRL+1-4 = select drive
                   ;
                   ; To do that follow the same procedure as above for the exit 
                   ; key, but on F11 set it to Toggle windowed/fullscreen. Make sure you save your configuration afterwards.
                   ; Note : If you want to use Send commands to WinUAE for any keys that you configured through Input-Configuration panel make sure you 
                   ; set those keys for Null Keyboard! This is a virtual keyboard that collects all input events that don't come from physical 
                   ; keyboards. This applies to the exit or windowed/fullscreen keys mentioned above.
                   ;
                   ; If you are using WHDLoad games, but want to keep your default user-startup file after exiting then make a copy of it in the 
                   ; WHDFolder\S (Set in PathToWHDFolder) and name it default-user-startup. This file will then be copied over S\user-startup on exit.
                   ;----------------------------------------------------------------------------

                   StartModule()
                   FadeInStart()

                   settingsFile := modulePath . "\" . systemName . ".ini"

                   Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
                   PathToWHDFolder := IniReadCheck(settingsFile, "Settings", "PathToWHDFolder", EmuPath . "\HDD\WHD",,1)
                   PathToWorkBenchBase := IniReadCheck(settingsFile, "Settings", "PathToWorkBenchBase", EmuPath . "\HDD\Workbench31_Lite.vhd",,1)

                   PathToWHDFolder := AbsoluteFromRelative(EmuPath, PathToWHDFolder)
                   PathToWorkBenchBase := AbsoluteFromRelative(EmuPath, PathToWorkBenchBase)

                   ; This object controls how the module reacts to different systems. MESS can play a lot of systems, but needs to know what system you want to run, so this module has to adapt.
                   mType := Object("Commodore Amiga","a500","Commodore Amiga CD32","cd32","Commodore CDTV","cdtv","Commodore Amiga CD","amigacd")
                   ident := mType[systemName]    ; search object for the systemName identifier MESS uses
                   If !ident
                       ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for this WinUAE module: " . moduleName)

                   windowClass = PCsuxRox ;Class name is different depending on if the game is being run windowed or fullscreen
                   If ( Fullscreen = "true" )
                       windowClass = AmigaPowah

                   specialcfg = %emuPath%Configurations\%romName%.uae

                   If romExtension in .hdf,.vhd
                       DefaultRequireWB := "true"
                   Else
                       DefaultRequireWB := "false"

                   If romExtension in .zip,.lha,.rar,.7z
                   {
                       SlaveFile := COM_Invoke(HLObject, "findByExtension", romPath . "\" . romName . romExtension, "slave")
                       If (SlaveFile)
                       {
                           If romName contains (AGA)
                               DefaultOptions := "-s cycle_exact=false " . "-s immediate_blits=false " . "-s cpu_compatible=false " . "-s cpu_speed=max " . "-s cachesize=8192" ;AGA
                           Else
                               DefaultOptions := "-s cycle_exact=true " . "-s immediate_blits=false " . "-s cpu_compatible=false " . "-s cpu_speed=real " . "-s cachesize=8192 " ;Non-AGA
                       }
                   }

                   usemouse := IniReadCheck(settingsFile, romName, "UseMouse","false",,1)
                   delayhack := IniReadCheck(settingsFile, romName, "DelayHack","false",,1)
                   options := IniReadCheck(settingsFile, romName, "Options",DefaultOptions,,1)
                   videomode := IniReadCheck(settingsFile, romName, "VideoMode","PAL",,1)

                   floppyspeed := IniReadCheck(settingsFile, romName, "FloppySpeed","turbo",,1)
                   quickstartmode := IniReadCheck(settingsFile, romName, "QuickStartMode",A_Space,,1)
                   immediateblitter := IniReadCheck(settingsFile, romName, "ImmediateBlitter","false",,1)
                   requireswb := IniReadCheck(settingsFile, romName, "RequiresWB",DefaultRequireWB,,1)
                   customwb := IniReadCheck(settingsFile, romName, "CustomWB",A_Space,,1)
                   whdloadoptions := IniReadCheck(settingsFile, romName, "WHDLoadOptions","PRELOAD",,1)
                   neverextract := IniReadCheck(settingsFile, romName, "NeverExtract","false",,1)

                   fs := If (Fullscreen = "true") ? "true" : "false"
                   videomode := (If videomode = "NTSC" ? ("-s ntsc=true") : (""))
                   floppyspeed := (If floppyspeed ? ("-s floppy_speed=" . floppyspeed) : (""))

                   If (requireswb = "true")
                   {
                       ident := "a1200"

                       If (customwb)
                       {
                           PathToWorkBenchBase := %EmuPath% . "\" . customwb
                       }
                       CheckFile(PathToWorkBenchBase)
                       wbDrive := "-s hardfile=rw,32,1,2,512," . """" . PathToWorkBenchBase . """"
                   }
                   If romExtension in .hdf,.vhd
                   {
                       ident := "a1200"
                       gameDrive := "-s hardfile=rw,32,1,2,512," . """" . romPath . "\" . romName . romExtension . """"
                   }
                   If (immediateblitter = "true")
                   {
                       options := options . " " . "-s immediate_blits=true"
                   }

                   options := options . " " . videomode

                   If (ident = "a500" or ident = "a1200")
                   {
                       If romName contains (AGA),(LW)
                           ident := "a1200"

                       If (SlaveFile)
                       {
                           CheckFile(PathToWHDFolder)

                           ident := "a1200"

                           ;Create the user-startup file to launch the game
                           WHDUserStartupFile := PathToWHDFolder . "\S\user-startup"
                           SplitPath, SlaveFile, SlaveName, SlaveFolder

                           FileDelete, %WHDUserStartupFile%
                           FileAppend, echo "";`n, %WHDUserStartupFile%
                           FileAppend, echo "Running: %SlaveName%";`n, %WHDUserStartupFile%
                           FileAppend, echo "";`n, %WHDUserStartupFile%
                           FileAppend, cd dh1:%SlaveFolder%;`n, %WHDUserStartupFile%
                           FileAppend, whdload %SlaveName% %whdloadoptions%;`n, %WHDUserStartupFile%
                       }
                   }

                   7z(romPath, romName, romExtension, 7zExtractPath)

                   If FileExist(specialcfg)
                   {
                       ;Game specific configuration file exists
                       configFile = %romName%.uae
                   }
                   Else
                   {
                       ;Game specific configuration file doesn't exist
                       If (ident = "cd32" or ident = "cdtv")
                       {
                           configFile := If (usemouse = "true") ? ("host\" . ident . "mousehost.uae") : ("host\" . ident . "host.uae")
                           quickcfg := If (ident = "cd32") ? ("-s quickstart=" . ident . "`,0 -s chipmem_size=8") : ("-s quickstart=" . ident . "`,0")
                           If (delayhack = "true")
                               options := options . " -s cdimage0=" . """" . romPath . "\" . romName . romExtension . """" . "`,delay"
                           Else
                               options := options . " -cdimage=" . """" . romPath . "\" . romName . romExtension . """"
                       }
                       Else
                       {
                           ;Amiga or Amiga CD game

                           configFile := If systemName = "Commodore Amiga CD" ? "host\amigacdhost.uae" : "host\amigahost.uae"
                           If quickstartmode
                               quickcfg := "-s quickstart=" . quickstartmode
                           Else
                               quickcfg := If (ident = "a500") ? "-s quickstart=a500`,1" : "-s quickstart=a1200`,1"

                           If (SlaveFile)
                           {
                               ;WHDLoad Game
                               options := options . " -s filesystem=rw,WHD:" . """" . PathToWHDFolder . """" . " -s filesystem=ro,Games:" . """" . romPath . "\" . romName . romExtension . """"
                           }
                           Else If (gameDrive)
                           {
                               ;HDD Game
                               options := options . " " . wbDrive . " " . gameDrive
                           }
                           Else If romExtension in .cue,.iso
                           {
                               ;Amiga CD game
                               options := options . " " . wbDrive . " -cdimage=" . """" . romPath . "\" . romName . romExtension . """" . " -s win32.map_cd_drives=true -s scsi=true"
                           }
                           Else
                           {
                               ;Floppy Game

                               ;MultiDisk loading, this will load the first 2 disks into drives 0 and 1 since some games can read from both drives and therefore 
                               ;the user won't need to change disks through the MG menu. We can have up to 4 drives, but most of the games will only support 2 drives 
                               ;so disks are only loaded into the first 2 for better compatibility. Remaining drives will be loaded into quick disk slots.

                               romCount = % romTable.MaxIndex()
                               If romName contains (Disk 1)
                               {
                                   ;If the user boots any disk rather than the first one, multi disk support must be done through HyperLaunch MG menu
                                   if romCount > 1
                                   {
                                       options := options . " -s nr_floppies=2"
                                       mgoptions := " -s floppy1=" . """" . romTable[2,1] . """"
                                   }
                               }
                               options := options . " " . floppyspeed . " -s floppy0=" . """" . romPath . "\" . romName . romExtension . """" . mgoptions

                               if romCount > 1
                               {
                                   ;DiskSwapper
                                   ;diskswapper := " -diskswapper "
                                   Loop % romTable.MaxIndex() ; loop each item in our array
                                   {
                                       ;diskswapper := diskswapper . """" . romTable[A_Index,1] . ""","
                                       diskswapper := diskswapper . " -s diskimage" . (A_Index-1) . "=" . """" . romTable[A_Index,1] . """"
                                   }
                                   options := options . diskswapper
                               }
                           }
                       }
                   }

                   param1 := "-f " . """" . EmuPath . "\Configurations\" . configFile . """" . " " . quickcfg
                   param2 := "-s use_gui=no -s gfx_fullscreen_amiga=" . fs
                   param3 := options

                   ;MsgBox, %param1% %param2% %param3% %param4% %param5% %param6%
                   ;ExitApp

                   ;disableActivateBlackScreen = true

                   Run(Executable . A_Space . param1 . A_Space . param2 . A_Space . param3 . A_Space . param4 . A_Space . param5 . A_Space . param6 . A_Space . " -portable", emuPath)

                   WinWait("ahk_class " . windowClass)
                   WinWaitActive("ahk_class " . windowClass)

                   FadeInExit()
                   Process("WaitClose",executable)
                   7zCleanUp()
                   FadeOutExit()
                   ExitModule()

                   MultiGame:
                       If currentButton = 10
                           diskslot = 0
                       Else If currentButton > 10
                           diskslot := currentButton - 10
                       Else
                           diskslot := currentButton

                       If currentButton > 10
                           Send, {End Down}{Shift Down}%diskslot%{Shift Up}{End Up}
                       Else
                           Send, {End Down}%diskslot%{End Up}
                   return

                   CloseProcess:
                       If (ident = "a500" or ident = "a1200")
                       {
                           If (SlaveFile)
                           {
                               CheckFile(PathToWHDFolder)
                               ;Copy default-user-startup to user-startup if file exists
                               IfExist, %PathToWHDFolder%\S\default-user-startup
                                   FileCopy,%PathToWHDFolder%\S\default-user-startup, %PathToWHDFolder%\S\user-startup, 1
                           }
                       }
                       FadeOutStart()
                       WinClose, ahk_class %windowClass%
                   return

                   AbsoluteFromRelative(MasterPath, RelativePath)
                   {
                      VarSetCapacity(AbsP,260,0)
                      DllCall( "shlwapi\PathCombineA", Str,AbsP, Str,MasterPath, Str,RelativePath )
                      Return AbsP
                   }

11:57:44:718 | HL |     INFO  | +16    | BuildScript - Loaded Statistics.ahk script
11:57:44:718 | HL |     INFO  | +0     | BuildScript - Loaded User Functions.ahk script
11:57:44:718 | HL |     INFO  | +0     | BuildScript - Finished injecting functions into module
11:57:44:718 | HL |     INFO  | +0     | Main - Module is built
11:57:44:718 | HL |     INFO  | +0     | CheckFile - Checking if G:\Hyperspin\HyperLaunch\AutoHotkey.dll exists
11:57:44:848 | HL |     INFO  | +125   | Main - Running module
11:57:45:038 | MD |     INFO  | +N/A   | Module initialized
11:57:45:041 | MD |     INFO  | +0     | StartModule - Started
11:57:45:041 | MD |     INFO  | +0     | StartModule - MEmu: WinUAE
                   MEmuV: v2.6.0
                   MURL: http://www.winuae.net/
                   MAuthor: brolly
                   MVersion: 2.0.2
                   MCRC: 2283EB17
                   iCRC: 587D7C70
                   MID: 
                   MSystem: "Commodore Amiga","Commodore Amiga CD32","Commodore CDTV","Commodore Amiga CD"
11:57:45:041 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "Commodore Amiga"
11:57:45:041 | MD |     INFO  | +0     | StartModule - Ended
11:57:45:043 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade Layer 1 will use G:\Hyperspin\HyperLaunch\Media\Fade\_Default\Layer 1.png
11:57:45:043 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade Layer 2 will use G:\Hyperspin\HyperLaunch\Media\Fade\Commodore Amiga\_Default\Layer 2.png
11:57:45:188 | MD |     INFO  | +156   | DefaultAnimateFadeIn - Started
11:57:45:188 | MD |     INFO  | +0     | DefaultAnimateFadeIn - Drawing First FadeIn Image.
11:57:45:706 | MD |     INFO  | +515   | DefaultAnimateFadeIn - Ended
11:57:45:708 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade Extra Layer 1 - Console will use G:\Hyperspin\HyperLaunch\Media\Fade\Commodore Amiga\_Default\Extra Layer 1 - Console.png
11:57:45:958 | MD |     INFO  | +249   | GetFadePicFile - Randomized images and Fade Extra Layer 2 - Info Bar will use G:\Hyperspin\HyperLaunch\Media\Fade\_Default\Extra Layer 2 - Info Bar.png
11:57:45:971 | MD |     INFO  | +16    | DefaultFadeAnimation - Started
11:57:45:971 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade Layer 3 will use G:\Hyperspin\HyperLaunch\Media\Fade\Commodore Amiga\_Default\Layer 3.png
11:57:45:978 | MD |     INFO  | +0     | ReadHyperSpinXML - Started
11:57:45:981 | MD |     INFO  | +0     | ReadHyperSpinXML - Ended
11:57:45:983 | MD |     INFO  | +16    | CreateRomTable - Started
11:57:45:983 | MD |     INFO  | +0     | CreateRomTable - Ended, 7 Loops to create table.
11:57:46:836 | MD |     INFO  | +842   | DefaultFadeAnimation - Ended
11:57:46:836 | MD |     INFO  | +0     | StartGlobalUserFeatures - Starting
11:57:46:836 | MD |     INFO  | +0     | StartGlobalUserFeatures - Ending
11:57:46:838 | MD |     INFO  | +0     | Module Setting - [settings] - Fullscreen: true
11:57:46:838 | MD |     INFO  | +0     | Module Setting - [settings] - PathToWHDFolder: .\WHD
11:57:46:838 | MD |     INFO  | +0     | Module Setting - [settings] - PathToWorkBenchBase: G:\Hyperspin\Emulators\Commodore Amiga\HDD\Workbench31_Lite.vhd
11:57:46:998 | MD |     INFO  | +172   | Module Setting - [AddamsFamily_v1.3_0419] - UseMouse: false
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - DelayHack: false
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - Options: -s cycle_exact=true -s immediate_blits=false -s cpu_compatible=false -s cpu_speed=real -s cachesize=8192
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - VideoMode: PAL
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - FloppySpeed: turbo
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - ImmediateBlitter: false
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - RequiresWB: false
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - WHDLoadOptions: PRELOAD
11:57:46:998 | MD |     INFO  | +0     | Module Setting - [AddamsFamily_v1.3_0419] - NeverExtract: false
11:57:46:998 | MD |     INFO  | +0     | CheckFile - Checking if G:\Hyperspin\Emulators\Commodore Amiga\WHD exists
11:57:46:018 | MD |     INFO  | +15    | Run - Running: G:\Hyperspin\Emulators\Commodore Amiga\winuae.exe -f "G:\Hyperspin\Emulators\Commodore Amiga\Configurations\host\amigahost.uae" -s quickstart=a1200,1 -s use_gui=no -s gfx_fullscreen_amiga=true -s cycle_exact=true -s immediate_blits=false -s cpu_compatible=false -s cpu_speed=real -s cachesize=8192  -s filesystem=rw,WHD:"G:\Hyperspin\Emulators\Commodore Amiga\WHD" -s filesystem=ro,Games:"G:\Hyperspin\Emulators\Commodore Amiga\roms amiga\AddamsFamily_v1.3_0419.zip"     -portable
11:57:47:236 | MD |     INFO  | +219   | WinWait - Waiting for ahk_class AmigaPowah
11:57:48:667 | MD |     INFO  | +1435  | WinWaitActive - Waiting for "ahk_class AmigaPowah"
11:57:49:070 | MD |     INFO  | +390   | Process - WaitClose winuae.exe 
11:57:49:076 | MD |     INFO  | +15    | DefaultAnimateFadeIn - Started
11:57:49:582 | MD |     INFO  | +500   | DefaultAnimateFadeIn - Ended
11:57:49:592 | MD |     INFO  | +15    | StopGlobalUserFeatures - Starting
11:57:49:592 | MD |     INFO  | +0     | StopGlobalUserFeatures - Ending
11:57:49:592 | MD |     INFO  | +0     | ExitModule - Started
11:57:49:593 | MD |     INFO  | +0     | Starting Updating Statistics:
11:57:49:669 | MD |     INFO  | +78    | Game section statistics updated.
11:57:49:670 | MD |     INFO  | +0     | ExitModule - Ended
11:57:49:670 | MD |     INFO  | +0     | End of Module Logs
11:57:49:716 | HL |     INFO  | +4867  | Main - Module ended, exiting HyperLaunch normally
11:57:49:716 | HL |     INFO  | +0     | ExitScript - Started
11:57:50:309 | HL |     INFO  | +593   | SystemCursor - Restoring mouse cursor
11:57:50:433 | HL |     INFO  | +125   | ExitScript - Ended

That all looks right. What version of WinUAE are you using?

It's possible that something else is taking focus of the screen. Not sure, may have to wait for someone wiser than I. ;)

Thanks,

Ron

Archived

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

×
×
  • Create New...