Hard Light Productions Forums

General FreeSpace => FreeSpace Discussion => Topic started by: ShivanSpS on January 04, 2019, 05:58:25 pm

Title: Recomendations of standalone campaigns for RPI?
Post by: ShivanSpS on January 04, 2019, 05:58:25 pm
Hi,
ive posted a few days ago that i got a PI 3 and got FS2 working on it, now what i want to do is to make guides so people can get on gaming using FS2 Open on their RPIs and with a little luck this could mean more traffic here, RPI is not a small thing and i would say that FS2 is currently the more complex and 3D intensive game running on a RPI.

What im looking for is something that people can download and actually try whiout having to pay something, because FS2 retail works fine but you cant distribute that, not even the demos.

The real limitations so far is the OpenGL version = 2.1, meaning, RPI is limited to 3.7.2, and i was not able to get S3TC texture compresion working, not even by software even trought the alternative lib is installed, meaning Dispora and WCS does not work, in fact the only thing that is working is the retail files because the textures are not compressed. Im sure there is a way to get software S3TC working, im looking for a way.

Title: Re: Recomendations of standalone campaigns for RPI?
Post by: Goober5000 on January 05, 2019, 05:14:57 pm
Here's the thread link (https://www.hard-light.net/forums/index.php?topic=95383.0) since not everyone visits the Cross-Platform board.

The FS2 demo is freely distributable, and FSO is able to run the demo, so that would be my first suggestion.
Title: Re: Recomendations of standalone campaigns for RPI?
Post by: ShivanSpS on January 07, 2019, 06:33:24 pm
You are sure about that? this is on the readme.txt

Quote
---------------
10. Legal Stuff
---------------

SOFTWARE USE LIMITATIONS AND LIMITED LICENSE

General Product License. This copy of FreeSpace 2 (the "Software") is
intended solely for your personal non-commercial home entertainment use.
You may not decompile, reverse engineer, or disassemble the Software,
except as permitted by law. Interplay Entertainment Corp. and its
licensors retain all right, title and interest in the Software including
all intellectual property rights embodied therein and derivatives thereof.
The Software, including, without limitation, all code, data structures,
characters, images, sounds, text, screens, game play, derivative works and
all other elements of the Software may not be copied, resold, rented,
leased, distributed (electronically or otherwise), used on a pay-per-play,
coin-op or other for-charge basis, or for any commercial purpose.  Any
permissions granted herein are provided on a temporary basis and can be
withdrawn by Interplay Productions at any time. All rights not expressly
granted are reserved.

Modem and Network Play. If the Software contains modem or network play,
you may play the Software via modem transmission with another person or
persons directly without transmission through a third party service or
indirectly through a third party service only if such service is an
authorized licensee of Interplay. For the purpose of this license, a
"third party service" refers to any third party service which provides a
connection between two or more users of the Software, manages, organizes,
or facilitates game play, translates protocols, or otherwise provides a
service which commercially exploits the Software, but does not include a
third party service which merely provides a telephonic connection (and
nothing more) for modem or network play. Authorized licensee services
are listed on the Interplay Entertainment Corp. World Wide Web Site
located at http://www.interplay.com. This limited right to transmit the
Software expressly excludes any transmission of the Software of any data
streams thereof on a commercial basis, including, without limitation,
transmitting the Software by way of a commercial service (excepting those
specific commercial services licensed by Interplay) which translates the
protocols or manages or organizes game play sessions.

Acceptance of License Terms. By downloading or acquiring and then retaining
this Software, you assent to the terms and restrictions of this limited
license. If you acquired the Software and do not accept the terms of this
limited license, you must return the Software together with all packaging,
manuals and other material contained therein to the store where you acquired
the Software for a full refund and if you downloaded the Software, you must
delete it.



Copyright Information
---------------------

FreeSpace 2 Demo (and full version) (c) 1999 by Volition, Inc. All rights
reserved. Portions (c) 1999 Interplay Productions. All rights reserved.
FreeSpace 2, Interplay, the Interplay Logo, and "By Gamers. For Gamers." are
trademarks of Interplay Productions. Windows(r) 95 is a registered trademark
of Microsoft Corporation. All rights reserved. Exclusively licensed and
distributed by Interplay Productions. All other trademarks are the property
of their respective owners.


----
End of file

If it were redistributable i could easily pack fs2 and fs1 demo along with a compiled fs2open and wxlauncher bin, and i may even do a simplier C launcher for the RPI.
Along with a long list of lib requeriments since the libs are dinamically linked if i remember well.

But im sure its not, at least that what it says there.
Title: Re: Recomendations of standalone campaigns for RPI?
Post by: General Battuta on January 07, 2019, 07:16:13 pm
Diaspora is standalone and good.
Title: Re: Recomendations of standalone campaigns for RPI?
Post by: karajorma on January 07, 2019, 08:50:12 pm
Won't work because of the textures though. I have a RPi3 so I'd love to be able to be able to take it wherever and just plug and play Diaspora.
Title: Re: Recomendations of standalone campaigns for RPI?
Post by: ShivanSpS on January 07, 2019, 09:25:39 pm
Won't work because of the textures though. I have a RPi3 so I'd love to be able to be able to take it wherever and just plug and play Diaspora.

It would work if i could convert the maps and the .dds in effects to pngs or PCX, but for some reason if i do that it dosent work.

If i convert the .dds maps to PCX using irfanview the game "cant load the texture".
If i convert the .dds to png using irfanview the just crash whiout any info, but i know it is because the renderer is unable to use the texture.

And this is on windows whiout even going to the PI. This using WCS, but Diaspora is no different.
Title: Re: Recomendations of standalone campaigns for RPI?
Post by: Goober5000 on January 07, 2019, 09:53:40 pm
You are sure about that? this is on the readme.txt

[snip]

I have to assume that's a copy+paste error.  Here is what the demo says when you install it:

Quote
This special preview version, FreeSpace 2 Demo (the "Software"), is
intended solely for your personal noncommercial home entertainment
use. You may not decompile, reverse engineer, or disassemble the
Software, except as permitted by law. Interplay Productions and
Volition, Inc.  retain all rights and title in the Software including
all intellectual property rights embodied therein and derivatives
thereof.  You are granted a revocable, nonassignable limited license
to create derivative works of this Software solely for your own
personal noncommercial home entertainment use and may publicly
display such derivative works to the extent specifically
authorized by Interplay in writing. A copy of this authorization, if
any, will be provided on Interplay's World Wide Web site, located at
http://www.interplay.com, or by contacting the legal department of
Interplay Productions in the US at (949) 553-6655. The Software,
including, without limitation, all code, data structures, characters,
images, sounds, text, screens, game play, derivative works and all
other elements of the Software may not be copied (except as provided
below), resold, rented, leased, distributed (electronically or
otherwise), used on pay-per-play, coin-op or other for-charge basis,
or for any commercial purpose. You may make copies of the Software
for your personal noncommercial home entertainment use and to give to
friends and acquaintances
on a no cost noncommercial basis. This
limited right to copy the Software expressly excludes any copying or
distribution of the Software on a commercial basis, including,
without limitation, bundling the product with any other product or
service and any give away of the Software in connection with another
product or service. Any permissions granted herein are provided on a
temporary basis and can be withdrawn by Interplay Productions at any
time. All rights not expressly granted are reserved.

(emphasis mine)
Title: Re: Recomendations of standalone campaigns for RPI?
Post by: Nightmare on January 07, 2019, 10:16:37 pm
If you're converting dds to pcx you need to check that they have 8bit color depth, and not 24.
Title: Re: Recomendations of standalone campaigns for RPI?
Post by: ShivanSpS on January 08, 2019, 06:17:25 am
Now it loads the PCX but it crashes the game just like with png, jpg, etc.
Title: Re: Recomendations of standalone campaigns for RPI?
Post by: ShivanSpS on January 08, 2019, 11:45:58 am
There is any special setting when converting DDS intro something else? Besides the color depth for PCX? I cant figure ouy why the game just crash when it attempts to display those textures images.
Title: Re: Recomendations of standalone campaigns for RPI?
Post by: Nightmare on January 08, 2019, 03:41:51 pm
If you're using IrfanView, not that I know... I've been using it for modding for so many years, and never ran into issues with that. Haven't tried PCX for quite a while though, but the only thing I could imagine is that the way IV safes PCX has changed over the years, but I don't know...
Title: Re: Recomendations of standalone campaigns for RPI?
Post by: ShivanSpS on January 08, 2019, 06:37:02 pm
OK, i got Diaspora working on Windows using PCX textures, but on the RPI i can load the tech room and actually see the first viper model, but clicking on any other model or attemping to start the campaign does crash the game, i need to try some other stuff before giving up on Diaspora, but i suspecting the RPI dosent have enoght memory to load Diaspora models, even trought i tryied up to 512MB for the gpu.

Title: Re: Recomendations of standalone campaigns for RPI?
Post by: ShivanSpS on January 09, 2019, 07:33:32 pm
Ok got the guide finished on the rpi forums, ill try to get some real mods working.
https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=230316
Title: Re: Recomendations of standalone campaigns for RPI?
Post by: Goober5000 on January 10, 2019, 12:36:59 am
Nice. :yes:

I wonder if the FS2 demo has enough in-game assets to allow the FSPort to run.