Jump to content

karu

Web Development Lead [WDL]
  • Posts

    1156
  • Joined

  • Donations

    0.00 USD 

Posts posted by karu

  1. If I run the Creator under the Wineprefix /home/user/.wine-enb, then I am able to go through the process, but it does not save the .dat file to that Wineprefix directory.


    I dont know about character and starship creator. did you try to reinstall using correct wineprefix?

    To get 'full version' of enb (if you see cancel/next registration dialog at beginning), then import this reg file (or create keys manually using regedit)
     

    REGEDIT4                                                                                                                    
    
    [HKEY_LOCAL_MACHINE\Software\Westwood Studios]
    
    [HKEY_LOCAL_MACHINE\Software\Westwood Studios\Earth and Beyond]
    
    [HKEY_LOCAL_MACHINE\Software\Westwood Studios\Earth and Beyond\Registration]                              
    "Registered"=dword:00000001
    
    

    importing is done by saving that into enb.reg file and running 'wine regedit enb.reg' with correct wineprefix

  2. So, after I changed the WINEPREFIX (back) to /home/user/.wine-enb, and it took the time to create the configuration directory (that didn't happen the first time). Then it paused while it updated. Then it loaded the gui for inetclp.clp.

    This time it didn't crash when I selected the tab for Trusted Root Certification Authorities :)

     

    Default wineprefix is ~/.wine and it probably crashed because of some windows dlls (maybe crypt32, maybe not).

    Thats why it's important to split different apps into own wineprefix so they dont conflict each other and you can setup registry exactly how that single app needs

  3. WINEPREFIX=~/.wine wine rundll32.exe shell32.dll,Control_RunDLL c:/windows/system32/inetcpl.cpl
    No protocol specified
    No protocol specified
    Application tried to create a window, but no driver could be loaded.
    Make sure that your X server is running and that $DISPLAY is set correctly.
    

    Can you run another xterm from that same command line? Can you run winecfg? Did you try different wineprefix? maybe using sudo messed it up.

     

    I have run both of the above commands as user, sudo and root with no difference to be noted.

    never run wine as root. never

  4. Did some more digging and....

    First,

    This uses $HOME/.wine-enb as wine prefix, you may remove it if you want to use default $HOME/.wine
    There is no windows components (like crypt32, mono, dotnet) installed in there.

     
    -- certificate install --
     
    First you need current server certificate (one in net7 directory is expired) which you can get from sunrise.net-7.org.crt
    Alternatively you can get it by running

    openssl s_client -showcerts -connect sunrise.net-7.org:443

    and copying certificate from output into new text file.
     

    Then run this and go to 'Content -> Certificates -> Trusted Root Certification Authorities', press import and select sunrise.net-7.org.crt file

    WINEPREFIX=$HOME/.wine-enb wine rundll32.exe shell32.dll,Control_RunDLL c:/windows/system32/inetcpl.cpl

    If thats done, you should see 'local.net-7.org' with 2016 year expiry date on the list
     
    -- patching --

    Now you can run net7/enb installer or copy old files into $HOME/.wine-enb/drive_c/net7 and $HOME/.wine-enb/drive_c/enb
    Or just make two empty directories and patcher will pull full 1.6GiB of it.
     
    You may try to get LauncherNet7.exe to work or you can get Net7Patcher.exe I shared earlier and run

    WINEPREFIX=$HOME/.wine-enb wine Net7Patcher.exe --stdout --net7 c:/net7 --client c:/enb

    If you foolishly installed EnB into program files directory, then patcher command would be --client "c:/program files/earth & beyond"

    If patcher seems to be hanging after it should of finished, then ctrl+c will quit.

    -- running --

    To run EnB config,

    WINEPREFIX=$HOME/.wine-enb wine "c:/enb/ebconfig/e&bconfig.exe"

    To run game,

    WINEPREFIX=$HOME/.wine-enb wine start c:/net7/bin/net7proxy.exe /ADDRESS:74.208.192.215 /CLIENT:c:/enb/release/client.exe /POPT /EXREORDER /DML

    (you may need to add /LADDRESS:0 if proxy shows 'Server failed to respond to login' error box at start)

    /DML allows mouse to leave EnB window. If you like mouse being traped inside window, then remove it

    ---
     
    I'm running ubuntu 14.04 and have following wine related packages installed (using ubuntu-wine ppa)
    wine1.7 (i386 and amd64)
    wine-mono4.5.4
    wine-gecko2.34 (i386 and amd64)

  5. I made simple console patcher.

    Sources available from https://bitbucket.org/nimetu/net7patcher
    Can be compiled in either VisualStudio (2010) or MonoDevelop (5.0.1 build3)

    Binary can be downloaded from https://drive.google.com/file/d/0B7nf-1GJlZa7WTF5d0FRLTctWXc/view?usp=sharing

    .net target is 4.0

     

    In linux, it's meant to be launched using 'mono Net7Patcher.exe' and not 'wine Net7Patcher.exe' (should work, but you need .net inside wine)

     

    This does only patching and you still need .bat file or whatever to run the net7proxy.exe with proper arguments.

  6. . and I have not the slightest idea how to figure out what it might be.

    When I use wine cmd to try and launch client.exe on its own, I get as far as "Couldn't connect to the server, try again later."
     

    C:\Program Files\EnB_Emu\Net-7\bin>net7proxy.exe /ADDRESS:74.208.192.215 /POPT /EXREORDER /DML
    
    C:\Program Files\EnB_Emu\Net-7\bin>fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:msvcrt:__clean_type_info_names_internal (0x1002f78c) stub
    fixme:msvcrt:__clean_type_info_names_internal (0x571894) stub
    
    No game launch via that method either.

    and what happens when you add /CLIENT switch too?
  7. I pinged sunrise.net-7.org and found that the IP had changed.  I modified it.

    IP has not changed. it's still 74.208.192.215

    If it shows different IP for you, then check your nameserver settings in your router / computer.
    Make sure they not hijacked.
     
     

    I also found this:  http://gentoo.linuxhowtos.org/portage/app-emulation/wine
     
    (it lists +ssl as a USE-flag)

     
    It's gentoo specific compiler flags.


    I dont have certificate fix for wine1.7 (I have ancient wine-1.1.34 for enb). You also need tons of dev packages and if you using 64bit linux double that. Best to wait until real certificate can be used. EnB under wine1.7 works with real certificate without any hacks.

    But if you want to do it, then compiling debian package is
    sudo apt-get build-dep wine1.7
    sudo apt-get source wine1.7
    cd wine1.7
    
    <edit files and make any certificate pass>
    
    ./configure && make && make DESTDIR=$HOME/bin/wine1.7 install
    
    * package and directory names made up and most likely do not match reality

    This would install separate wine1.7 under $HOME/bin/wine1.7 which you can run using
    #!/bin/sh
    export WINEPATH=$HOME/bin/wine1.7
    export PATH=$WINEPATH/usr/local/bin:$PATH
    export LD_LIBRARY_PATH=$WINEPATH/usr/local/lib:$LD_LIBRARY_PATH
    
    wine explorer.exe /desktop=enb,1024x768 net7proxy.bat
    
     
     

    Yet I continue to receive:
    wine: Bad EXE format for C:\Program Files\EnB_Emu\Net-7\bin\net7proxy.bat


    As was found out earlier, bat file needs to be launched using 'wine start', 'wine cmd /c' or 'wine explorer.exe'.
  8. c:
    cd "c:\Program Files\EnB_Emu\Net-7\bin"
    net7proxy.exe /ADDRESS:74.208.192.215 /CLIENT:"c:\Program Files\EnB_Emu\release\client.exe" /POPT /EXREORDER /DML
    
    So where did I mess up, so I can fix it?  I made sure there were no spaces after /ADDRESS: and /CLIENT: :P

     

    go to client.exe directory in linux terminal and run

    wine explorer.exe /desktop=enb,1024x768 client.exe -SERVER_ADDR sunrise.net-7.org

    that should get you to login screen and if you have fixed certificate also to character select/creation.

    If that works, then client is fine and you should check client path you give to proxy.

     

    If client shows eula and first screen, but exits before login screen, then I had to edit user.reg (probably ~/.wine/user.reg) and change "UseGLSL" to "enabled" (was disabled)

  9. and if I run just "wine net7proxy.exe" then I get a tooltip stating "Server Failed to respond to Login attempt"

     

    net7proxy needs at least address and client parameters to work.

     

    wine errors/warnings are mostly harmless.

     

    what you should see after you run net7proxy, is enb eula dialog. if you dont see that, then proxy failed to launch client.

  10. Ehm...

     

    I haven't had to straight-up compile anything for many years (apt-get makes for one lazy Linux brat).

    Plus, I don't want to mess up my existing installation of Wine.

     

    Advice, please?

     

    [Edit]

    And just to be very clear... this is the same INV-300 error that refers to a certificate error?

    Cause I am not actually seeing any dialogue concerning a certificate (or a request to download it)

     

     

    I have no idea how to make wine trust self signed certificate.

     

    That INV-300 is error correct. In windows, client opens HTTPS connection to sunrise.net-7.org and uses windows certificate store (and you can import root cert there), but under linux, /etc/ssl/certs is used. Just copying cert there does not make it work tho ;-(

  11. Erroneous spaces have been duly removed <3

    Also, I have now (close) encountered (of the third kind) the "[background=#333333]INV-300" error.
     

     

    yeah, INV-300 is certificate error. sunrise.net-7.org is using self signed certificate and wine does not like it one bit. you probably need to recompile wine from sources to get around it

     

  12.  

    wine start net7proxy.bat :
    fixme:exec:SHELL_execute flags ignored: 0x00000100
    user@computer ~/.wine/drive_c/Program Files/EnB_Emu/Net-7/bin $ fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    briefly opened a window that looked like a Windows cmd popup

    It was gone too fast to catch any of the contents.
     
    wine cmd /c net7proxy.bat :
    $ wine cmd /c net7proxy.bat
     
    C:\Program Files\EnB_Emu\Net-7\bin>c: 
     
    C:\Program Files\EnB_Emu\Net-7\bin>cd "c:\Program Files\EnB_Emu\Net-7\bin" 
     
    C:\Program Files\EnB_Emu\Net-7\bin>net7proxy.exe /ADDRESS: 74.208.192.215 /CLIENT: "c:\Program Files\EnB_Emu\release\client.exe" /POPT /EXREORDER /DML 
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    
    Do either of these readouts look/sound like what I should be getting?

    --
     
    I currently have the virtual desktop disabled.

     

     

    there should not be any space after /ADDRESS: or /CLIENT:

     

    virtual desktop settings in winecfg are just defaults. explorer.exe with /desktop switch creates virtual desktop on the fly with required resolution as needed.

×
×
  • Create New...