Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. Thank you for your support. Tom Speirs

Patreon


Adultery

Recommended Posts

Sorry Adultery. Still having problems with this. Same as before - QL seeming to stop half way through its process without calling the script. Log attached. Any ideas? (not linked to the compiled batch issue - as just straight calling a bat file, which has been tested via command line outside of QL).

Link to comment
Share on other sites

Cheers Adultery.

Wonder if below in Gameex log gives a pointer?

Thanks for your help. :)

17:32:36.2 15/05/2015: PlugIn: "QuickLaunch" caused an exception and is being disabled.
17:32:36.2 15/05/2015: Exception has been thrown by the target of an invocation.
17:32:36.2 15/05/2015: at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
17:32:36.2 15/05/2015: at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
17:32:36.2 15/05/2015: at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
17:32:36.2 15/05/2015: at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
17:32:36.2 15/05/2015: at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
17:32:36.3 15/05/2015: at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
17:32:36.3 15/05/2015: at GameEx.PlugIns.InvokeMethod(Object obj, String sProperty, Object oValue)
17:32:36.3 15/05/2015: at GameEx.PlugIns.InvokeMethod(Object obj, String sProperty, Game_Info141 oValue, Double dPluginVersion)
17:32:36.3 15/05/2015: at GameEx.PlugIns.Event_GameRun(Game_Info141 gi, String GameName)
17:32:37.2 15/05/2015: Running: cmd.exe /c C: emvoy64.exe -d "J:\Sony Playstation\psx_mixed_set" -f "Tekken 3.7z" -p 2 -g "Tekken 3"
17:32:37.4 15/05/2015: Shutting down display
17:32:37.7 15/05/2015: The remote server returned an error: (500) Internal Server Error.
17:32:37.7 15/05/2015: at System.Net.WebClient.UploadFile(Uri address, String method, String fileName)

log.txt

QuickLaunch.txt

Settings.xml

Link to comment
Share on other sites

Yeah it's crashing on the game run again. I'll look at it again.

I wish I could reproduce it. :(

Link to comment
Share on other sites

I selected "Launch Before" if that's of any help. It needs to launch before because uses script x then GE-launched app uses script x again, and first run of script x has to be completed before second (errrr...if that makes sense!). None of the advanced options checked.

Thanks for checking it out + let me know if I can help further with reproducing it.

EDIT: Guessing it wouldn't but would posting my bat script help? Would there be anything in the interaction between the two?

Link to comment
Share on other sites

Try this one in debug mode. This should at least prevent the plugin from crashing if it's a specific game that's causing this and provide me with better insight.

  • Like 1
Link to comment
Share on other sites

It looks like whichever emulator that is didn't have a database set for it and it's trying to replace an empty string.

I'll fix that right now.

Link to comment
Share on other sites

Hmmm... in setup wizard it's set to "[Console] Sony Playstation"

Wonder why that's happening?

From GameEx.ini:

emu_17lastfolderwrite=04/10/2014 18:18:03
emu_17lastromfilter=*.*
emu_17_dbcacheinicreated47=True
emu_17_enabled=True
emu_17_startpagename=Sony Playstation
emu_17_titletext=Sony Playstation (all emus)
emu_17_startpagelogo=Sony Playstation
emu_17_workingpath=C:\Launchers\Emvoy\EmVoy_0_6_6
emu_17_rompath=J:\Sony Playstation\psx_mixed_set
emu_17_command=emvoy64.exe -d

J:\Sony Playstation\psx_mixed_set
-f
[ROMFILE]
-p 2 -g
[ROM]

emu_17_snappath=I:\Assets\Sony_Playstation\Snap
emu_17_videosnappath=I:\Assets\Sony_Playstation\Video_MP4_HI_QUAL
emu_17_titlepath=I:\Assets\Sony_Playstation\Title
emu_17_boxpath=I:\Assets\Sony_Playstation\Box
emu_17_cartpath=I:\Assets\Sony_Playstation\CD
emu_17_manualpath=I:\Assets\Sony_Playstation\Manual
emu_17_database=[Console] Sony PlayStation
emu_17_configfile=
emu_17_selectionmusicfolder=
emu_17_controlpanelpath=

Just want to save any blind alleys :)

Link to comment
Share on other sites

Nope I meant internally. I can see it's set in the launch after. I should have been more specific.

I'll fix it.

Link to comment
Share on other sites

Ah, no worries Adultery - sorry - wasn't being pedantic, although the beasts which we are attempting to tame unfortunately are! Sorry to keep breaking yer stuff! (although if yer anything like me, I love that feeling of squashing bugs :) )

Link to comment
Share on other sites

No worries, I just moved the emulator parsing to a different event. More efficient that way anyhow. :)

  • Like 1
Link to comment
Share on other sites

Updated to 1.1.4

  • Moved the Emulator INI parsing to the EmulatorLoad event
  • Fixed a bug where some info was being called for before it was set
  • Fixed some events not being handled if not being completed which was crashing the plugin

Snag it from the usual places.:)

  • Like 3
Link to comment
Share on other sites

  • 2 weeks later...

Sadly, Adultery, think it might be broken again! Could be my end, but since updating GameEx today, not working again - seems to often happen after a GE update. :(

Replaced 4.1 with the test beta you gave me - still same problem. Logs attached. bat file and path fine. Potentially relevant bits:

28/05/2015 19:18:01 : [DEBUG] REPLACE EXTENDED VARIABLES: EXT CMD OUT=C:\Controls software\CPWizBiz\CPWizBiz_0_7_2\Support\CmdLineStore.bat
28/05/2015 19:18:01 : [DEBUG] REPLACE VARIABLES: CMD IN=-s -gm "[Game]" -dbs "[Database]" -im "[Rom]" -ct "[Category]" -dv "[Developer]" -yr "[Year]" -sp "[snapPath]" -si "[snap]" -tp "[TitlePath]" -ti "[Title]" -tm "0" -fe "GameEx"
28/05/2015 19:18:01 : [DEBUG] REPLACE VARIABLES: CMD OUT=-s -gm "Tekken 3" -dbs "[Database]" -im "Tekken 3" -ct "Fighting" -dv "Namco Limited" -yr "1998" -sp "I:\Assets\Sony_Playstation\Snap" -si "Tekken 3.png" -tp "I:\Assets\Sony_Playstation\Title" -ti "Tekken 3.png" -tm "0" -fe "GameEx"
28/05/2015 19:18:01 : [DEBUG] REPLACE EXTENDED VARIABLES: EXT CMD IN=-s -gm "Tekken 3" -dbs "[Database]" -im "Tekken 3" -ct "Fighting" -dv "Namco Limited" -yr "1998" -sp "I:\Assets\Sony_Playstation\Snap" -si "Tekken 3.png" -tp "I:\Assets\Sony_Playstation\Title" -ti "Tekken 3.png" -tm "0" -fe "GameEx"
28/05/2015 19:18:01 : ERROR @ LAUNCH BEFORE: Could not launch the app!
28/05/2015 19:18:01 : [DEBUG] Value cannot be null.
Parameter name: replacement
28/05/2015 19:18:01 : [DEBUG] at System.Text.RegularExpressions.Regex.Replace(String input, String replacement, Int32 count, Int32 startat)
at System.Text.RegularExpressions.Regex.Replace(String input, String replacement)
at DracLabs.CommandLine.Get_Database(String cl)
at DracLabs.CommandLine.Replace_Extended_Variables(String Command_Line)
at DracLabs.CommandLine.Replace_GameEx_Variables(String Command_Line, Boolean Extended_Variables)
at DracLabs.Utilities.Check_For_Emulator_Launch(Int32 Launch_Type)
at GameEx.Plugin.Event_GameRun(IntPtr InfoPtr)

Does GameEx keep jiggling around or something?

QuickLaunch1.1.4AfterUpdate.txt

QuickLaunch1.1.4b1AfterUpdate.txt

Link to comment
Share on other sites

This one has some deep variable logging so I can see what the issue is (which might slow you down a little). Nothing has changed since I released 1.1.4 and it worked before. ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...