Welcome, Guest. Please login or register.

Author Topic: wbrun on a1200 / wb 3.1  (Read 2846 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline tnk2kTopic starter

  • Newbie
  • *
  • Join Date: Jun 2008
  • Posts: 22
    • Show all replies
wbrun on a1200 / wb 3.1
« on: April 24, 2009, 09:31:14 AM »
L.S.,

I'm trying to start .info files from dopus using wbrun i keep on getting the error 'object is not supported type'.

This is for .info files, i run the command like

'wbrun Gauntlet.info'

when in the appropiate directory, the command in dopus is:

'wbrun {F}' but i receive the same error when i run 'wbrun copy' i do get the wb popup.

Anybody have a pointer?
 

Offline tnk2kTopic starter

  • Newbie
  • *
  • Join Date: Jun 2008
  • Posts: 22
    • Show all replies
Re: wbrun on a1200 / wb 3.1
« Reply #1 on: April 24, 2009, 10:48:54 AM »
Thanks for your reply.

Hope that will work but it doesn't make sense to me. The actual command is in the .info itself?

'whdload blabla.slave'

So i figure(d) wbrun strips this first part from the .info and then runs it.

But you say wbrun takes the Filename without extension as argument and than what?
 

Offline tnk2kTopic starter

  • Newbie
  • *
  • Join Date: Jun 2008
  • Posts: 22
    • Show all replies
Re: wbrun on a1200 / wb 3.1
« Reply #2 on: April 24, 2009, 01:00:57 PM »
OK, can somebody please explain me what i'm missing here?

http://eab.abime.net/showthread.php?t=28215&highlight=wbrun
 

Offline tnk2kTopic starter

  • Newbie
  • *
  • Join Date: Jun 2008
  • Posts: 22
    • Show all replies
Re: wbrun on a1200 / wb 3.1
« Reply #3 on: April 24, 2009, 01:08:41 PM »
OK,

Let's take this example, Ganymed:

root@localtoast:~/g# ls -Rl
.:
total 72664
drwxr-xr-x 3 root root     4096 2007-12-07 23:32 Ganymed
-rw-r--r-- 1 root root      900 2007-12-07 23:31 Ganymed.info
-rw-r--r-- 1 root root 74321910 2008-09-18 11:40 WHDLoad Games Pack G - 2007-12-20.zip

./Ganymed:
total 36
drwxr-xr-x 2 root root  4096 2007-12-07 23:34 data
-rw-r--r-- 1 root root 20035 2007-12-07 23:32 Ganymed.info
-rw-r--r-- 1 root root  3528 2002-08-11 23:47 Ganymed.Slave
-rw-r--r-- 1 root root  1692 2002-08-11 23:47 ReadMe
-rw-r--r-- 1 root root  1396 2007-12-07 23:31 ReadMe.info


I guess the first Ganymed.info is the actual icon itself:

root@localtoast:~/g# file Ganymed.info
Ganymed.info: Amiga Workbench drawer icon

But the 2nd Ganymed.info contains the following:

root@localtoast:~/g# file Ganymed/Ganymed.info
Ganymed/Ganymed.info: Amiga Workbench project icon

And when i hexread the 2nd i see smth like:

"WHDLoad SLAVE=Ganymed.slave PRELOAD"

Perhaps it makes more sense to explain the problem. I want to run the games from within DOPUS without having to go back to the workbench and click the icon?
 

Offline tnk2kTopic starter

  • Newbie
  • *
  • Join Date: Jun 2008
  • Posts: 22
    • Show all replies
Re: wbrun on a1200 / wb 3.1
« Reply #4 on: April 24, 2009, 01:30:53 PM »
This is still not what i mean.

OK. From scatch, let's say i extract Ganymed to my ram. If i now browse to my RAM i see this Ganymed icon, this is the 1st icon right? How does WB know that it has to 'cd' to the directory Ganymed ?

Than i click again:the Ganymed Icon. (i reckon this is the 2nd icon). Now what's happening under the hood?
 

Offline tnk2kTopic starter

  • Newbie
  • *
  • Join Date: Jun 2008
  • Posts: 22
    • Show all replies
Re: wbrun on a1200 / wb 3.1
« Reply #5 on: April 24, 2009, 02:00:06 PM »
Thanks. To get things 'clear'. However:

ram:
----
Ganymed
Ganymed.info <- how does WB know to open the directory 'ganymed if i click this?


directory :
--------------------
data
Ganymed.info <- if i click this icon from workbench, the game starts, now how do i start this process from dopus? i want the additional parameters that are parsed in the Ganymed.info to be read aswell.
Ganymed.Slave
ReadMe
ReadMe.info