News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

Arnold's "Auto-start" from the command line?

Started by dXoXb, 17:26, 06 May 18

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dXoXb

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  :)

Aeliss

Sure, depend on wich one version you are using (and last modification he do), but on the version I have atm it's

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.

dXoXb

Thanks, but it doesn't seem to work with the version I have. In my version window, it says:

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?

arnoldemu

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

dXoXb

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 )


Aeliss

#5
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 ?

dXoXb

Quote from: Aeliss on 17: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 ?


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.



Aeliss

#7
Sorry, I did not want to be insulting I did not completely understand, for me you had all your roms (not only theses one that start with a number) in the same folder # and with a number.
But it still strange for me, I have all my roms on all my systems in only 1 folder (it s for that I make mistake) and I never see a problem, fontend can class them itself and when I need to find one on file explorateur, it s fast to find specific rom if they are displayed by name.
IDK if launchbox have a specific feature I don't know, but it s the first time I see this technic.

remax

Quote from: Aeliss on 18:42, 20 July 18
IDK if launchbox have a specific feature I don't know, but it s the first time I see this technic.


It's really really common. Perhaps because of things like everdrives or emulators on certain platforms where the browser is quite simple and doesn't allow to browse quickly through thousands of files.


For example, in the full set of the CPC ports for GX4000 to use with the C4CPC, i use this classification as it would be an horror to browse through all the games at once on the GX4000 screen
Brain Radioactivity

arnoldemu

Quote from: remax on 00:34, 26 July 18

It's really really common. Perhaps because of things like everdrives or emulators on certain platforms where the browser is quite simple and doesn't allow to browse quickly through thousands of files.


For example, in the full set of the CPC ports for GX4000 to use with the C4CPC, i use this classification as it would be an horror to browse through all the games at once on the GX4000 screen
Hi,

I am aware of the issue.

It's a bug within wxWidgets with the function I use. I will patch wxWidgets to fix it.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Powered by SMFPacks Menu Editor Mod