Receiver

Receiver

39 ratings
Compiling with altered code
By Qwazzy
How to compile the source code with Unity. This has two uses: allowing code to be altered (for modding) and removing the dynamic lights in order to improve FPS.
   
Award
Favorite
Favorited
Unfavorite
Why?
There's two reasons I can see as to why someone would want to do this:

1. To alter the game code and make mods. (Please read the disclaimer section concerning this, though.)

2. To compile the game with the free version of Unity and thus remove dynamic lighting, for a less-pretty but much-more-efficient version.
DISCLAIMER
Originally posted by Readme:
See http://www.wolfire.com/receiver for more about this game. This repository is public for convenience and for personal use, but is not licensed for redistribution in whole or in part. We are open to issuing free permissive licenses for mods or code pieces, but you will just have to get our permission first ( contact@wolfire.com ), because we were burnt in the past by public confusion about open-source licensing. (See http://blog.wolfire.com/2011/02/Counterfeit-Lugaru-on-Apple-s-App-Store-developing for more about this). Thank you for understanding!

Does this mean that you can get a workable copy of the game at no cost? If I am understanding this properly, yes... but the method of doing so is very tedious. If one wanted the game for free, they'd be better off pirating it - not that I'm encouraging that! I'd rather everyone reading this actually buys it, since the mechanics of this game are amazing to me and I'd love to see more games being made with it at heart. So if you like what this game stands for - buy it! The only reason I'm making this guide is because many other players like myself can't even play it thanks to the FPS lag, and this method can remove the lighting that causes the problem and make it playable and testable.
Downloads
First off, you need the actual source code, located here[github.com].

You'll also need Unity - either the free[unity3d.com] or paid version, depending on what you want to do. Either way, it's a hefty act to download and run it.
Open/Import into Unity
Install and open Unity, and extract the source code zip.

In the zip will be two folders: "assets" and "UnityProject". The folder "UnityProject" will be the one you'll want to import into Unity. This will take a fair deal of time - be patient.

Open Project > Open Other > [the folder to be imported]

Alter and Compile
If you're looking to mod the game, here's the point to where you go about doing so.

If you're using the free version of Unity and just want to get a game copy that won't lag a ton, then go right to Building.

This process should be straightforward. Be sure to choose the appropriate OS and such.
Conclusion
After building, it should make an EXE and a folder with assets. Just run the EXE to test it.

Hopefully everything works properly, as it did for me. I was able to play it with no lag whatsoever, although with quite a drop in lighting quality.

Remember - don't take the finished build and share it, sell it, or anything else - it's for personal use at most, without their permission at any rate. And again, if they're against my explanation on how to do this here, I'll gladly remove it. I'd hate to cause them to lose sales - but for many, like myself, not having this method means having an unplayable game.

Feedback is welcome. Especially if I made a mistake on the guide.
29 Comments
Vermillion 26 Oct, 2019 @ 10:03pm 
this is awesome. I played receiver with a mod that puts magazines in ammo piles a few years ago, and its since become unavailable. I will try to re-create that with this method. thanks :steamhappy:
Danielle 17 Mar, 2019 @ 12:16pm 
First of all, thank you for the guide! Second off.. Is there any way for me to obtain the already compiled version with shaders removed? As I have no clue on how I'd go about doing that myself... I own the game already, and simply want my (Disgustingly bad) laptop to be able to run it a little better, and I know lighting really takes a toll on framerate. Thank you!
Fatmeatball 30 Jul, 2017 @ 9:38am 
@Hooman
Is there a download for Unity 3.5.5? I can't find any free/trial version of it.
Hooman 31 Aug, 2015 @ 7:35pm 
to get it to work you need to download unity 3.5.5 and then file open scene and select scene under UnityProject, Assets. It should have the unity symbol next to it
IME | Pajama 22 Jun, 2015 @ 11:29pm 
@MasterionX this is a bit late, but try using an older version of unity, like 3.5 or 4
MasterionX 25 Dec, 2014 @ 12:03am 
Confirming the Nearly-black screen after pressing 'Play!'.

Reading the Unity's Console Log, there are a lot of errors and warnings. It appears the code is too obsolete to build properly :\
Qwazzy  [author] 17 Sep, 2014 @ 7:55pm 
I have no idea. It's probably updated a few times or more since then.
Cyonsia 17 Sep, 2014 @ 5:17pm 
What version of Unity did you use?
Qwazzy  [author] 16 Sep, 2014 @ 7:00am 
Sorry if this guide doesn't help you out or doesn't work anymore. I haven't done it myself in ages so I'm not really sure where the problem might be.
baldoleo 15 Sep, 2014 @ 12:05pm 
same for me