fcreplay
fcreplay copied to clipboard
It would be extremely helpful if there were examples of the configuration files
The readme specifies these files: Configuration file: config.json Appened description: description_append.txt Google api client secrets: .client_secrets.json Youtube upload credentials: .youtube-upload-credentials.json Archive.org secrets: .ia
But I don't see any clues as to how to generate them? It seems like I'm supposed to make a config.json file but I have no idea what's supposed to go inside it. Seems like description_append.txt is just whatever I want in the description of the video .client_secrets.json is from google that much I understand .youtube-upload-credentials.json is from a different repo but they don't show how to generate that file in their readme either, I don't understand how that differs from .client_secrets.json Lastly, I don't know what's supposed to go in .ia
I'm a software engineer so I'm either extremely dense or there's information that needs to be given here.
Hi!
Sorry yeah, my documentation wasn't really written thinking anyone else would be using this project but some help:
An example of a 'working' config: https://github.com/glisignoli/fcreplay/blob/master/fcreplay/tests/common/config_good.json
The following files are needed if you want to upload to youtube automatically. .client_secret.json .youtube-upload-credentials.json I think this repository might help explain how to get them: https://github.com/tokland/youtube-upload
The .ia file is api credentials for archive.org
Try just giving some emtpy json files for .client_secret.json, .youtube-upload-credentials.json and .ia. It 'might' work without them
The description_append.txt file can be an empty txt file. It's used to append a static description to whatever videos are recorded.
No worries about the documentation. I think it's awesome you made this and it solves a real problem many people are having in the fighting game community who are using fightcade to play games. I'll give your comments a try.
Who knows, maybe I'll even fork the repo and add the NoSql database you wanted. :)
On Thu, 12 May 2022 at 22:38, glisignoli @.***> wrote:
Hi!
Sorry yeah, my documentation wasn't really written thinking anyone else would be using this project but some help:
An example of a 'working' config: https://github.com/glisignoli/fcreplay/blob/master/fcreplay/tests/common/config_good.json
The following files are needed if you want to upload to youtube automatically. .client_secret.json .youtube-upload-credentials.json I think this repository might help explain how to get them: https://github.com/tokland/youtube-upload
The .ia file is api credentials for archive.org
Try just giving some emtpy json files for .client_secret.json, .youtube-upload-credentials.json and .ia. It 'might' work without them
The description_append.txt file can be an empty txt file. It's used to append a static description to whatever videos are recorded.
— Reply to this email directly, view it on GitHub https://github.com/glisignoli/fcreplay/issues/167#issuecomment-1125599998, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3ZQSCTRWQKOGGFI4SIGRLVJW6BPANCNFSM5VW6VLBQ . You are receiving this because you authored the thread.Message ID: @.***>
Hey, I'm really close to getting the repo running. But I'm getting one last error here:
λ docker-compose up Creating network "fcreplay-master_postgres" with the default driver Creating network "fcreplay-master_world" with the default driver Pulling fcreplay-tasker-check_top_weekly (fcreplay/image:latest)...ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.
Continue with the new image? [yN]y Pulling fcreplay-tasker-check_top_weekly (fcreplay/image:latest)...ERROR: pull access denied for fcreplay/image, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
Is the docker image still available?
On Fri, 13 May 2022 at 00:15, Jack Zhang @.***> wrote:
No worries about the documentation. I think it's awesome you made this and it solves a real problem many people are having in the fighting game community who are using fightcade to play games. I'll give your comments a try.
Who knows, maybe I'll even fork the repo and add the NoSql database you wanted. :)
On Thu, 12 May 2022 at 22:38, glisignoli @.***> wrote:
Hi!
Sorry yeah, my documentation wasn't really written thinking anyone else would be using this project but some help:
An example of a 'working' config: https://github.com/glisignoli/fcreplay/blob/master/fcreplay/tests/common/config_good.json
The following files are needed if you want to upload to youtube automatically. .client_secret.json .youtube-upload-credentials.json I think this repository might help explain how to get them: https://github.com/tokland/youtube-upload
The .ia file is api credentials for archive.org
Try just giving some emtpy json files for .client_secret.json, .youtube-upload-credentials.json and .ia. It 'might' work without them
The description_append.txt file can be an empty txt file. It's used to append a static description to whatever videos are recorded.
— Reply to this email directly, view it on GitHub https://github.com/glisignoli/fcreplay/issues/167#issuecomment-1125599998, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3ZQSCTRWQKOGGFI4SIGRLVJW6BPANCNFSM5VW6VLBQ . You are receiving this because you authored the thread.Message ID: @.***>
Ah you need to build the images manually with docker compose.
Try: docker-compose build
@glisignoli On this same topic, I have 0 clue on how to even start with this. I figured I had to install python, then I had to install the docker library (did so via PowerShell), but after that I don't know how to even start fcreplay.
I have some experience with stuff like this, did some work with Amazon S3 to batch upload some files to a website. I know your repo works flawlessly (I have seen your YouTube channel, lol) but I would really like clarification step by step on how to get it working from the ground up please 😄
I'll spend some time in the next couple of days to try and update the documentation.
Hey, thanks for answering so quickly. I've been doing more research and it seems I was able to build the image, but when running the docker-compose up
command, it seems like it works for a while until it throws this error:
Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:75: mounting "/path/to/config.json" to rootfs at "/root/config.json" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
if anything, I put all the required json and txt files in the fcreplay-master folder.
Yeah. I'm working on some documentation about this now. It's needed some work anyway. Hopefully I'll have a new commit today with a much better guide on how to get it up and running
@g4-studios, @jzhanglsw:
I've push to master some changes and updated instructions. Delete whatever config.json and docker-compose.override.yml files you have, then follow the README.md
Okay will do, I'll try and test this out this week.
I couldn't setup pipenv, not even with the other instructions that were in pipenv's own website :(
I couldn't setup pipenv, not even with the other instructions that were in pipenv's own website :(
What did you try? Are you on windows/mac/linux?
I'm on windows. The command simply doesn't work, despite having pipenv already installed by the command that's on their website.
Also I already made the build with docker but of course can't continue without pipenv
@g4-studios
Looks like pipenv isn't in your path. That isn't a problem with fcreplay.
I'm going to recommend that you do this under WSL or Linux. This project hasn't been tested on windows (and never will be).
It is
Alright, I'll try WSL and see how it goes.
I've been running into these errors for hours, even with root.
As shown, pip is up to the latest version and also using Python 3.10. I looked for the cannot import name 'html5lib' from 'pip._vendor'
error but the supposed solution was to update pip which is already at its latest version. I'm pretty sure this is easily fixable as I am not savvy in these stuff but stackoverflow is no longer helping me lol