InLink - Unknown File Command received : -1161952927

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
HellzVirtue
Posts: 3
Joined: Tue Aug 09, 2005 9:39 pm

InLink - Unknown File Command received : -1161952927

Post by HellzVirtue »

Hi all,
Ive got PS2Link up and running successfully on my PS2, and InLink v1.3.7 running on my PC, with its status as connected. It gives me all the options of reset, run, OFF etc. However, I get a problem when executing an .elf.
I load up PS2Menu from my mem card using the Indy exploit, then start up InLink on the PC. I then load PS2Link from my mem card using PS2Menu. InLink loads OK, PS2Link loads OK as 'Ready' appears on the TV, and I go to launch PS2Menu again but from my PC through InLink. It starts to load successfully, BUT then in the InLink log window it comes up with [NET] : Unknown File Command received : -1161952927 , and on the PS2 nothing happens, it just hangs saying 'Loading ps2netfs.irx xxxx bytes'.
What am I doing wrong? I would be very grateful if someone could help me out, as at the moment I'm so happy that I even got this far!
Thanks in advance.

Edit:
This is happening with every .elf I try and run. Please help!
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

-1161952927 = 0xBABE0161
http://www.oopo.net/consoledev/files/ps ... otocol.txt

Code: Select all

  -----------------------------
   0xBABE0161 (dopen request)
   0xBABE0162 (dopen response)
  -----------------------------

   A request from ps2link to open the directory specified by the pathname with
   with the given flags. The resulting directory descriptor is returned as the
   result in the response packet.

   PACKET STRUCTURES

    struct { int number; short length; int flags; char pathname[256]; } request;
    struct { int number; short length; int result; } response;

   RESPONSE VALUES

    response.number = htonl(0xBABE0162);
    response.length = htons(sizeof(response));
    response.dd     = htonl((int)opendir(request->pathname));
It looks like ps2menu is trying to open a directory to find a listing of files, but inlink doesn't seem to support that function. Upgrading to a more modern ps2link client or asking the inlink folk to support it are your options.
HellzVirtue
Posts: 3
Joined: Tue Aug 09, 2005 9:39 pm

Post by HellzVirtue »

Thanks very much for the info ooPo, Ive searched for an updated version of PS2Link and InLink, but with no avail, and I cant find the InLink website too. Would there be any alternative PC clients like InLink, as I can't find any alternative boot loaders for the PS2 to do the same as PS2Link?
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

There's a few listed on the main ps2dev website:

http://ps2dev.org/ps2/Loaders

XLink may be what you're looking for.
HellzVirtue
Posts: 3
Joined: Tue Aug 09, 2005 9:39 pm

Post by HellzVirtue »

WOW! Thans again ooPo, XLink worked a treat! I am extremely grateful for your help, everything is loading brilliantly now. Much appreciated, honestly.
Post Reply