-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arena Installation on Linux #40
Comments
WINE should be sufficient enough for something like that to install. Let me run through those instructions to see if there's any hitches. Edit If someone doesn't want to use WINE (I've heard of people who don't), it might be possible to have something manually extract the contents but at that point I'd say if they don't want to use WINE for one application that runs totally FOSS afterwards, that's a bit much. DOSBox is an option for those users above probably, assuming you can obtain a DOS image for the right version of the game but that's more or less just the same thing as just using WINE for that installer. |
Okay, I'll make some changes to the instructions section about that then. I think I should also trim out some of the extra fluff in there, too. Just so it's more to the point. I want to make it as plug-and-play as I can! And the MIDI config is not helping with that. I'll have to iron out some of those things at some point. |
WINE just won't work for any non x86 users. Those trying to run it on other architectures would need other options (this is a situation where an alternate extractor would be handy), and I'm not even completely sure if DOSBox would work in that instance either. I mention this because inn theory you can build OpenTESArena for any architecture that has GPU's that can run OpenCL. |
As mentioned above, Arena106.exe is a self-extracting rar archive. We can link against libunrar and make our own installer/launcher. This is similar to how OpenMW works with libunshield to unpack just the 'Data Files' necessary to run OpenMW. You can be selective of the files you want to extract (only necessary to run, like the data files) and place them where OpenTESArena will find them. The plus here is that it is OS and architecture independent. |
That's interesting. I've always wondered how those install wizards work. So if we make our own, does that mean users will download our installer package instead of
Okay. So we can pick a folder on their hard drive to install to, like with |
They'd still download from that website. It would just provide a platform agnostic way to extract it as it would be its own independent piece of programming. Even if it means they still have to download the game itself manually it is still better than having to rely on WINE or DOSBox once they do have the package. If you want to add files as time marches on, you would need to need to build a new installer if you went some naive route with hardcoding the lists, but I'd probably approach it with an external data file that indicates what should be extracted that way rebuilds of the installer is much, much less frequent if you don't want to extract all data files up front. |
At no point should OpenTESArena bundle/package/distribute non OpenTESArena IP. The walkthrough:
You let the user decide where to install OpenTESArena and the Arena files, and just put the paths in a config file. OpenTESArena will need to carry around the checksums of the archive and files it needs to run. The checksums aren't Bethesda's IP, so that is safe to do in code. Note: I'm not saying what must be done, just noting how it is done elsewhere so perhaps we can follow the example used by OpenMW. |
Why bother extracting the contents of the self-extracting rar file to the filesystem? As said above, OpenTESArena can be told the location of Arena106.exe / Arena106Setup.zip, and handle the "setup" itself. But the entire game is so small that the engine could, if programmed to do so, hold the entire contents of the game files in ram and access them there. |
This is a good point, just having the archive is enough. Reading it directly into RAM will remove the need for an 'install wizard'. It would push the need for a unzip and unrar library into opentesarena. |
I would be worried about this when it comes to any future expansion into
dealing with the data from the "Deluxe" CD edition of Arena. However, I
would be perfectly fine if OpenTESArena could load the archive, or pull
files from the filesystem.
…On Tue, Dec 13, 2016 at 3:42 AM, Bret Curtis ***@***.***> wrote:
This is a good point, just having the archive is enough. Reading it
directly into RAM will remove the need for an 'install wizard'. It would
push the need for a unzip and unrar library into opentesarena.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#40 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFcELNRhSTYe4-y1piJtpbtwJsYa71Fzks5rHlqSgaJpZM4JScW7>
.
--
Malcolm D. Mallardi
|
Reading Arena106.exe into memory and decompressing it there would be an option. I'm not sure how that changes the initialization and behavior of the virtual file system though, because that is set up to work with loose files in an There aren't too many differences with the CD version... it adds a folder with .VOC files for speech, adds a couple new cinematics such as zooming in on the book at startup, replaces a couple old cinematics, and a couple other little things. I haven't played all the way through either version but I believe they have different ending cinematics (floppy version includes Talin, CD version doesn't). Anyway, it's not hard to check in the code for existence of those files if they are lying around in the file system. |
So, I looked at this today. Arena106.exe is simply a RAR compressed SFX exe. 'rar x' extracts this properly |
Good to know. Does that mean the only dependency we need to add is libunrar? I'd still prefer having an |
I still would like for OpenTESArena to read the data in place instead of requiring someone to unpack it first. If we can't do that, we can use libunrar to do it for the end-user without requiring them do it themselves. The whole point is to reduce the number of ways the user can screw things up. |
Hey guys, just tried out v. 0.4.0 - installed it like the first release, but now they is sth else; |
@Translator5, the wrong |
@mdmallardi, can you give me some details on using My current plan is to have an interim solution for Linux users who would prefer not to use WINE until we figure out a way to load data straight from the .zip folder as discussed above. Changing the existing data loading method is low priority since I'm still focused on other details in the engine right now, but I would like the installation to be a bit more convenient for Linux users in the meantime. |
How I would do it on Ubuntu 16.04
(Note, this does not cover installing or configuring sound patchsets for WildMidi) It's possible to also install the CD version that GOG gives out for free with the purchase of Redguard. Battlespire, Morrowind or Oblivion without Wine, but that does not currently work with OpenTESArena. The steps I just tried:
I imagine that these instructions could easily be adapted to most Linux distros. |
The Mac equivalent for getting the freeware floppy version would be this (requires Homebrew to be installed):
As I recall, most Linux distros have We would probably be better off using |
Oh true. wget is purely personal preference/force of habit for me. |
I think this issue can be closed now since the Linux installation instructions are in the Readme. If any extra instructions are needed then those can be added in a new issue or pull request. Discussion about a libunrar dependency, wizard, etc. should be in a separate issue since those topics are platform-agnostic. |
I don't have a Linux computer handy, and I'm not sure how much of an issue this is for Linux users, but the download link on the Bethesda website provides an install file named
Arena106.exe
, which is (clearly) a Windows executable.This is essentially how the process is done on Windows:
Is there an easy way for Linux users to use that file to install everything into a new
ARENA
folder? Maybe with DOSBox? What about Wine? I'm not familiar with Wine, so anyway I'm just looking for suggestions of things I could add to the install instructions in the Readme that would streamline this part for Linux users.The text was updated successfully, but these errors were encountered: