ECWolf - Wolfenstein 3D source port for mods
-
@tpo1990 $PWD means present working directory. The dot is just a relative path. I think the string is just better coding as it's a built in in most shells
-
@cyperghost Ah i see. It makes perfectly sense to use built-in strings.
Did you try to install ecwolf before or after the use of
$PWD
? -
@tpo1990 I installed with the variable. But I wouldn't change so far maybe I'm wrong - I'm not a professional programmer and probably I'm wrong - just wanted to tell my point of view
-
@cyperghost Well at least i will test it out my self before making any changes just to be sure.
Me neither. Most of the time it is trial and error. Hopefully it will improve on my part of programming as well. :-)
-
@tpo1990 sorry my last post sounded like that I'm not sure if it will work. Of course it works - it was more the point if it's better coding style to use relative or fixed pathes
-
@cyperghost No problem. Maybe hhromic can answer this or someone else.
-
Hi, I tried to install ecwolf through your shellscript, but the bitbucked link seems to be down. Changing the link in the script to a new download link doesnt work, because then the application of the patch fails.
Anyways, thanks for your commitment to ports! I just sunk my teeth into them and I have lots of fun with the whole thing. Sadly I'm a real noob with *nix and compiling, but I try to learn!
Cheers!
-
I've been too lazy to try this so far but I need to sometime.
Would be nice to be able to add a mods menu for other games too.
-
@BenMcLean @ecto I have announced this on github already. It is possible to use git as download method now. The patch that I have written still works.
See here: https://github.com/RetroPie/RetroPie-Setup/pull/2811
-
@tpo1990 If you don't want the github clone method you can use this snipplet to obtain zip archives....
This will always download the newest archive and auto download newest branch.#!/bin/bash zipfile=$(wget -q -O- https://bitbucket.org/ecwolf/ecwolf/downloads/ | \ grep -Po '(?<=href=")[^"]*.zip(?=")') path="https://bitbucket.org${zipfile}" zipfile=$(basename $zipfile) wget -q $path unzip $zipfile mv ecwolf-ecwolf-${zipfile%.*} ecwolf
-
If I copy what you posted above into a ".sh" will it install it and what not. Or is there something else that needs to be done.
I have ecwolf installed on my test setup. But not my main one. So of course right when I was about to get it going...
-
@ExarKunIv it will not install of course. It just downloads the newest zip package. You can update the scriptmodule with this. I already mentioned another and stronger solution into gits PR by using proper pull command.
-
@cyperghost Yes i do want to use the github's
clone
method if feasible for the port. I will need to make some small change with the clone/pull from source into the script PR.As an alternative this could come in handy for ecwolf and other source ports as well if github's clone method doesn't work.. Thanks. :-)
-
@cyperghost where would i add this into the script?
-
@ExarKunIv It would look like this --> https://dpaste.de/BAyL/raw
The better version would be this one --> https://dpaste.de/WMBY/raw (did not test yet) This would be the version that @tpo1990 would post ;)
-
@cyperghost thanks, i almost had it i had a
.
after the new line. opps lol -
@cyperghost i copyed what you posted and i get a error
/home/pi Could not successfully install ECWolf - ECWolf is an advanced source port for Wolfenstein 3D, Spear of Destiny, and Super 3D Noah's Ark based off of the Wolf4SDL code base. It also supports mods from .pk3 files. (/home/pi/RetroPie-Setup/tmp/build/ecwolf/ecwolf/ecwolf not found).
i do have the log file if you need anything else
granted im messing with the untested one
it just seems like it is not moving it from where it builds to there it is needed to run, but i dont know Shit about codeing, but you did say themv
command is useless now, -
@ExarKunIv Then the ret-command would something like
ecwolf/ecwolf/ecwolf
function install_ecwolf() { md_ret_files=( 'ecwolf/ecwolf/ecwolf' 'ecwolf/ecwolf/ecwolf.pk3' )
As I said I did just a quick look into this and did not test so far.
Was the compile procedure okay? You can use the first script I've posted.... this will work. -
@cyperghost @ExarKunIv Okay so i have now made some small changes in how the scriptmodule fetch the source files from the ecwolf repo. I have removed the
downloadAndExtract
and replaced it withgitPullOrClone
.It now looks like this.
function sources_ecwolf() { gitPullOrClone "$md_build" "https://bitbucket.org/ecwolf/ecwolf" }
I have tested the changes and it works for me. I have uploaded the changes to the ecwolf.sh file in my ecwolf repo. Although it works for me, i would like one of you to test it out before i add the change to the RetroPie project's PR. :-)
-
@cyperghost yes it seemed to do everything else perfect to the end
@tpo1990 i will give it a test right now and let you know
UPDATE
@tpo1990 it worked great, no errors or anything , it is lunches as it should
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.