Author Topic: 1964 Force Close Issues  (Read 9948 times)

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1168
    • Email
Re: 1964 Force Close Issues
« Reply #13 on: October 02, 2015, 11:31:37 AM »
This is actually the 'usual' ProcessClose code!!
http://www.mgalaxy.com/forum/index.php?topic=532.msg1816#msg1816

church1138

  • Guest
Re: 1964 Force Close Issues
« Reply #12 on: October 02, 2015, 09:01:57 AM »
Works perfectly! :D Now just tinkering with the plugins to get certain games to work.  >:(

What is different between the new script and the older one? I'm curious. Can you post the source?

church1138

  • Guest
Re: 1964 Force Close Issues
« Reply #11 on: October 01, 2015, 01:09:35 PM »
Hey all,

Yeah I have the AutoIt script from mGalaxy's 1964 AutoIt page placed in the same folder as my installation of 1964 Ultrafast v3. Is there a new script that I'm supposed to be using that's not the one I linked? Alternatively, is there some kind of magical plugin combo that I could use to make this work? I'm using the default plugins right now, but regardless of which graphics plugin I utilize, it still doesn't exit correctly.

EDIT: I see you put a new script in-line in this forum page.

I'll have to check it when I get home.

Aeliss

  • Hero Member
  • *****
  • Posts: 915
Re: 1964 Force Close Issues
« Reply #10 on: October 01, 2015, 11:00:54 AM »
It's ok for me.

New script working for both version, normal one (but at least 1.1) and utrafast (v3).

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1168
    • Email
Re: 1964 Force Close Issues
« Reply #9 on: October 01, 2015, 10:47:00 AM »
Quote
You are using wich one version all ?
v3 coming from theisozone.com

Aeliss

  • Hero Member
  • *****
  • Posts: 915
Re: 1964 Force Close Issues
« Reply #8 on: October 01, 2015, 10:31:46 AM »
I have tried different pluggin for this emul, RiceDaedalus5.4.2, RiceVideo6.1.0, but nothing to do, if I use fullscreen option, all is locked.
You are using wich one version all ?

edit:
I have finally found a working version, the 1.1, IDK why but on the official site this one is named "source" but it's an official/complete.
The new script is working for me, with all(the normal one) command line.
« Last Edit: October 01, 2015, 10:56:38 AM by Aeliss »

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1168
    • Email
Re: 1964 Force Close Issues
« Reply #7 on: October 01, 2015, 10:10:42 AM »
Would you please try using this script? (it works for me!)
http://www.mgalaxy.com/forum/index.php?action=downloads;sa=view;down=61
« Last Edit: November 10, 2015, 01:21:21 PM by mgalaxy »

church1138

  • Guest
Re: 1964 Force Close Issues
« Reply #6 on: September 30, 2015, 06:43:02 PM »
Yeah Aeliss, using that bat script worked about as well as it did for you. Loaded up fine, but the same issues rose up with trying to quit via Alt+F4.

mGalaxy, do you know if this is common with the 1964 + mGalaxy stuff, or is this not by design?

Aeliss

  • Hero Member
  • *****
  • Posts: 915
Re: 1964 Force Close Issues
« Reply #5 on: September 30, 2015, 01:23:55 PM »
I m using 0.9.9 version (fresh install, defaut pluggin (RiceDaedalus 5.2.0), perhaps bad source)
If I use the "-f" option, the windows stay in windowed mode, I can listen the sound but no picture, the mouse disapear when I go on the window, and it's realy hard to close the application.

Without the "-f' option, the game start (in windowed mode normal), I can listen the sound still no picture, I need to reset with F2, to have all working correctly.

If mGalaxy (the dev, not the application ^^)  don't have this problem try with bat file. eg

Code: [Select]
"F:\emulateur\Nintendo\N64\1694\099\1964.exe" -f -g "F:\emulateur\Nintendo\N64\roms\Airboarder 64 (E) [!].z64"
if you have a correct emulation and can quit with alt+f4, You haven't same problem than me, and you need a more simplist script than mine.
« Last Edit: September 30, 2015, 01:31:02 PM by Aeliss »

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1168
    • Email
Re: 1964 Force Close Issues
« Reply #4 on: September 30, 2015, 09:23:48 AM »
Quote
If you use fullscreen in command line > freeze
No freeze for me! (but still a problem on quit)

church1138

  • Guest
Re: 1964 Force Close Issues
« Reply #3 on: September 30, 2015, 08:28:00 AM »
Hey Aeliss,

Thanks for your reply!

So will the AutoIt script be more consistent if the -f parameter is removed from the Systems.xml file, or is this a more temporary fix?

Aeliss

  • Hero Member
  • *****
  • Posts: 915
Re: 1964 Force Close Issues
« Reply #2 on: September 30, 2015, 01:23:18 AM »
Effectively, there is a problem here.
But it seem the problem is from the emulator, I can't use it with command line, every time the same bug, no game loaded, a freeze and locked in memory.
Perhaps a config problem.

Edit: I think we can remove 1964 from supported emulators.
The command line is too bugy to be used.
If you use fullscreen in command line > freeze
Need to reset after loading
Send key gestion is random.

This autoit script is working, but realy random

Code: (autoit) [Select]
#include <Misc.au3>
Opt("WinTitleMatchMode", 1)

;Parsing
Local $count = StringInStr($CmdLineRaw, ".exe", 0, 1, 1)
local $app = StringLeft ( $CmdLineRaw, $count + 4 )
local $command = StringTrimLeft( $CmdLineRaw, $count + 4 )
if not $command then exit 0

HotKeySet("{ESC}", "Terminate")

$PID = run( '"' & $app & '" ' & $command )

;wait for emul start max 5s
WinWaitActive ( "Nineteen64","", 5 )

sleep(1000)
Send("{F2}") ; Reset
sleep(2000)
Send("!{Enter}") ; Fullscreen



While ProcessExists ( $PID )
   sleep(500)
WEnd

Exit 0

;Functions
Func Terminate()
    While ProcessExists ( $PID )
  ProcessClose ( $PID )
    WEnd

    Exit 0
EndFunc

But to use it you need to remove the "-f" from command line in "Systems.xml" file

old : <Cmd id="0" name="1964 / 1964 UltraFast" value="-f -g &quot;%path\%file%ext&quot;" />
news : <Cmd id="0" name="1964 / 1964 UltraFast" value="-g &quot;%path\%file%ext&quot;" />
« Last Edit: September 30, 2015, 06:13:00 AM by Aeliss »

church1138

  • Guest
1964 Force Close Issues
« Reply #1 on: September 29, 2015, 09:56:15 PM »
Hey mGalaxy users! Huge fan of the program, it's working flawlessly for me, save for, of course, N64 emulation.

Quick question regarding using 1964 Ultrafast(more stable for me than PJ.) Launching the game works fantastically, but when Exiting the game via Escape (using the AutoIt script), it looks like an instance of it stays open upon closure, preventing any new N64 games from launching due to the old instance of 1964 still running. In order to run a new game, I have to go to Task Manager and close the game out manually. Not ideal in a situation where the PC isn't nearby to shutdown the task (using dummy terminal to stream the games across a Gig LAN via Steam IHS).

Is there a fix that can be made with this? Or perhaps, with the AutoIt script, can the code be extended to issue a force quit on the task itself? Sorry if that sound silly, but I'm a network guy, not a programmer. :P

Let me know. I'd love to keep using this program, and I would just love to find a workaround for this particular issue.

Thanks!

Specs:

OS: Windows 10
CPU: Intel i5 4670
GPU: Nvidia GTX 760
RAM: 8GB