How do I set up drc-sim?

Discussion in 'Wii U - Hacking & Backup Loaders' started by smileyhead, Jul 6, 2016.

  1. smileyhead
    OP

    smileyhead Bow ties are cool.

    Member
    GBAtemp Patron
    smileyhead is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,425
    5,022
    Aug 31, 2015
    Hungary
    Budakeszi, Hungary
    After fetching the required modules for days, I finally got it to open a window... then it immediately closed with the following output in the Terminal:
    Code:
    Traceback (most recent call last):
      File "drc-sim.py", line 38, in <module>
        MSG_S = udp_service(LOCAL_IP, PORT_MSG)
      File "drc-sim.py", line 26, in udp_service
        sock.bind((ip, port + service_addend(ip)))
      File "/usr/lib/python2.7/socket.py", line 228, in meth
        return getattr(self._sock,name)(*args)
    socket.error: [Errno 99] Cannot assign requested address
    
    What do I do to get it working? :unsure:
     
  2. smileyhead
    OP

    smileyhead Bow ties are cool.

    Member
    GBAtemp Patron
    smileyhead is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,425
    5,022
    Aug 31, 2015
    Hungary
    Budakeszi, Hungary
    Anyone?
     
  3. purechaos996

    purechaos996 GBAtemp Advanced Fan

    Member
    766
    99
    Nov 5, 2008
    United States
    Connecticut
    I've actually been interested in getting this working on a Pi for awhile now, I tried it out awhile ago and didnt get that far. Best of luck mate, hopefully you can document your process so others can mess around with it.
     
  4. rbsk

    rbsk Advanced Member

    Newcomer
    61
    11
    May 10, 2016
    United States
  5. smileyhead
    OP

    smileyhead Bow ties are cool.

    Member
    GBAtemp Patron
    smileyhead is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,425
    5,022
    Aug 31, 2015
    Hungary
    Budakeszi, Hungary
  6. rbsk

    rbsk Advanced Member

    Newcomer
    61
    11
    May 10, 2016
    United States
    "When you bind(), you are associating the socket with a local IP address and a port. So, as long as the address is local, 127.0.0.1 (localhost address) included, bind would work. But, trying to bind to a address that is not local would lead to the above error."

    So it would seem the IP address you are giving it is not on your local network (is invalid) - be it 10.0.0.xxx or 192.168.1.xxx or whatever your device ip is on your network.
     
  7. smileyhead
    OP

    smileyhead Bow ties are cool.

    Member
    GBAtemp Patron
    smileyhead is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,425
    5,022
    Aug 31, 2015
    Hungary
    Budakeszi, Hungary
    Thanks, but now I ave a new error. :(
    Code:
    __pycache__/_cffi__xc79f4b7bx23aff9e7.c:209:44: fatal error: libavcodec/avcodec.h: No such file or directory
    compilation terminated.
    Traceback (most recent call last):
      File "drc-sim.py", line 373, in <module>
        VID_S : ServiceVSTRM(),
      File "drc-sim.py", line 165, in __init__
        pygame.display.get_surface().get_size())
      File "/home/levente/Desktop/memahaxx-drc-sim-7392698efa29/H264Decoder.py", line 86, in __init__
        s.__init_ffi()
      File "/home/levente/Desktop/memahaxx-drc-sim-7392698efa29/H264Decoder.py", line 62, in __init_ffi
        ''', libraries=['avcodec', 'swscale'])
      File "/usr/lib/python2.7/dist-packages/cffi/api.py", line 433, in verify
        lib = self.verifier.load_library()
      File "/usr/lib/python2.7/dist-packages/cffi/verifier.py", line 113, in load_library
        self._compile_module()
      File "/usr/lib/python2.7/dist-packages/cffi/verifier.py", line 210, in _compile_module
        outputfilename = ffiplatform.compile(tmpdir, self.get_extension())
      File "/usr/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 29, in compile
        outputfilename = _build(tmpdir, ext, compiler_verbose)
      File "/usr/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 62, in _build
        raise VerificationError('%s: %s' % (e.__class__.__name__, e))
    cffi.ffiplatform.VerificationError: CompileError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    
     
  8. rbsk

    rbsk Advanced Member

    Newcomer
    61
    11
    May 10, 2016
    United States
    Well now you are missing header file for the build process "libavcodec/avcodec.h: No such file or directory".

    Have you read this thread?
    https://gbatemp.net/threads/how-to-use-drc-sim.390217/
     
  9. smileyhead
    OP

    smileyhead Bow ties are cool.

    Member
    GBAtemp Patron
    smileyhead is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,425
    5,022
    Aug 31, 2015
    Hungary
    Budakeszi, Hungary
    How do I get that?
    What does that thread has to do with the Header file?
     
  10. brienj

    brienj Trying to avoid getting cancer

    Member
    1,232
    1,701
    Jan 3, 2016
    United States
    I told you in the other thread that there was already a thread here, you could have searched and found it, without creating this new thread. But anyway, here is the thread about it, and they have all the info to get it to work.

    https://gbatemp.net/threads/how-to-use-drc-sim.390217/
     
    rbsk likes this.
  11. smileyhead
    OP

    smileyhead Bow ties are cool.

    Member
    GBAtemp Patron
    smileyhead is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,425
    5,022
    Aug 31, 2015
    Hungary
    Budakeszi, Hungary
    Uhh... What are you talking about? You didn't tell me anything. :wacko:
     
  12. rbsk

    rbsk Advanced Member

    Newcomer
    61
    11
    May 10, 2016
    United States
    Everything.
     
  13. brienj

    brienj Trying to avoid getting cancer

    Member
    1,232
    1,701
    Jan 3, 2016
    United States
  14. smileyhead
    OP

    smileyhead Bow ties are cool.

    Member
    GBAtemp Patron
    smileyhead is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,425
    5,022
    Aug 31, 2015
    Hungary
    Budakeszi, Hungary
  15. cheddar

    cheddar Newbie

    Newcomer
    5
    6
    Mar 8, 2017
    United States
    I got tired of waiting for a guide so I dinked around last night and figured it out....
    Then I made this =3
     
    smileyhead likes this.