Author Topic: Arnold's "Auto-start" from the command line?  (Read 353 times)

0 Members and 1 Guest are viewing this topic.

Offline dXoXb

  • CPC464
  • **
  • Posts: 6
  • Country: nl
  • Liked: 1
Hi all  :)

I'm trying to setup CPC emulation through LaunchBox to be able to just select a game and make it run. For this, the "Auto-start" function of Arnold seem ideal (even if it doesn't work for all games, it seems to do for most)
What I seem unable to find if it's possible to initiate this function through the command line, so Launchbox can pass the full .dsk path to Arnold, and let Arnold run it.

Does anybody know if this is possible?

TIA  :)

Offline Aeliss

  • CPC464
  • **
  • Posts: 22
  • Country: fr
  • Liked: 9
Re: Arnold's "Auto-start" from the command line?
« Reply #1 on: 20:19, 06 May 18 »
Sure, depend on wich one version you are using (and last modification he do), but on the version I have atm it's

Code: [Select]
arnold_debug.exe -as "F:\emulateur\Amstrad\CPC\Dsk\game.dsk"
And usualy it works on all game, or it's a little bug, easy to repair.

Offline dXoXb

  • CPC464
  • **
  • Posts: 6
  • Country: nl
  • Liked: 1
Re: Arnold's "Auto-start" from the command line?
« Reply #2 on: 20:45, 06 May 18 »
Thanks, but it doesn't seem to work with the version I have. In my version window, it says:

Code: [Select]
Build Date: May 13 2017
Build Time: 10:34:00
Build Type: Debug
Using SDL2
Compiled with: 2.0.5
Using with: 2.0.5
wxWidgets version: wxWidgets 3.1.0
wxWidgets Unicode build
wxWidgets for windows
Using Arnold Z80 emulation
Fossil SCM checkout: 1b82f0c876ba1ac40ba84d089064f5c00e8b719e 2016-06-10 20:38:01 UTC

Which one do you use? And, where is it available?

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.273
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2154
Re: Arnold's "Auto-start" from the command line?
« Reply #3 on: 13:09, 07 May 18 »
I asked @dXoxB and he discovered the issue.

The file can't be run if it has "#" in the name. This is a bug which I need to fix, possibly a bug in wxwidgets and I can send them a patch, but I explain why.

The filename is a url.

Arnold can open a file within a zip using a special URL:

e.g.
file:mydisks.zip#zip:discs/discA.dsk

mydisks.zip is the zip file
discs/discA.dsk is the file inside the zip.

I need to ensure wxwidgets can open the file by escaping the # in the filename.

I think http/ftp can also be used but I didn't test this.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline dXoXb

  • CPC464
  • **
  • Posts: 6
  • Country: nl
  • Liked: 1
Re: Arnold's "Auto-start" from the command line?
« Reply #4 on: 13:47, 07 May 18 »
Yes, thanks again for the prompt reply :)

To illustrate my situation: I had all titles starting with a number in a "#" folder.
I'm actually surprised that not more people ran into this, as I believe it's a pretty common folder structure. (..or maybe they did but didn't pursue to communicate about it  ::) :D )


Offline Aeliss

  • CPC464
  • **
  • Posts: 22
  • Country: fr
  • Liked: 9
Re: Arnold's "Auto-start" from the command line?
« Reply #5 on: 19:26, 07 May 18 »
Lol, and why not  @ or û ?
I use mGalaxy as frontend but I can't understand why you need a # folder and make all title start with a number ?
On my side file name are just title name, or the "official" name to be compatible with official databases.

You make that for all systems or only Amstrad one ?
« Last Edit: 19:29, 07 May 18 by Aeliss »

Offline dXoXb

  • CPC464
  • **
  • Posts: 6
  • Country: nl
  • Liked: 1
Re: Arnold's "Auto-start" from the command line?
« Reply #6 on: 18:28, 14 July 18 »
Lol, and why not  @ or û ?
I use mGalaxy as frontend but I can't understand why you need a # folder and make all title start with a number ?
On my side file name are just title name, or the "official" name to be compatible with official databases.

You make that for all systems or only Amstrad one ?


Your tone isn't really inviting for me to react, but here we go..

In this folder, there's titles like "3 Weeks in Paradise (UK) (1986).dsk", "3D Construction Kit (UK) (1988) (Disk 1 of 2)", etc.
It's actually quite common.