Author Topic: Parenting the echo() function  (Read 3911 times)

I don't see why you owuld use the default launcher anyway, though.
Do you have a link to a replacement, or do I have to make my own?

I'll pm it to people who aren't handicapped, such as Greek

I never could get the launcher program to capture any output from the blockland process: it always turned up blank or gave me wine debug messages. I was capturing the wine processes stdout, not the nested blockland process.

It is necessary to bypass the launcher to do what op is asking
Well if we're gonna just talk about bypassing the launcher why don't we just make a dll that hooks the print function?
too hard and basically hacking. This is simple process pipes


I was gonna just smack it in a codecave and make a callback then upload it for them but I decided that piping the output using a wrapper is just an easier way in general to do it.
yeah but even then we could make it do all kinds of cool stuff like eval. A remote server lol

Do you have a link to a replacement, or do I have to make my own?

I'll write up a cleaned up, improved version of my own in a bit, I guess.

I was trying to compile a stream test C# .NET application to capture stdout from Blockland but because I can only run the launcher as a Process (Running Blockland.exe itself as usual does not work) and the cracked .exe sadly requires a BLMod.dll which would be impossible to find. As expected, you can't capture stdout from Blockland.exe after BlocklandLauncher opens that.

It would be great to see what Port could come up with.






(Running Blockland.exe itself as usual does not work)
Why not

Why not
At least by default you can't

I've tried adapting Kalphiter's code snippet to my program, but all it gets is :
Code: [Select]
C:\Users\Hammereditor\Documents\hs\hs>start C:/HamHost/Servers/Blockland-Hammereditor/BlocklandLauncher.exe -dedicated -port 30000 -profilePath C:/HamHost/Servers/Blockland-Hammereditor
After that, it does not return any more input from the Blockland console. I'm doing this all on Windows.


It would be great to see what Port could come up with.

Working on it.


Whoopsies, I uploaded the wrong exe. I was worried about that! Let me find the right one.

Okay, fixed.
Is there any way you can pass arguments to it so it starts a dedicated server?

Is there any way you can pass arguments to it so it starts a dedicated server?
Yep. -dedicated

there's a command line argument to bypass the launcher and you could make a shortcut that uses that argument but I forgot what it is.

@Echo off
Blockland\Blockland.exe *REDACTED*
anyone who needed to see this already has
« Last Edit: July 17, 2013, 10:24:11 AM by swollow »