Skip to content
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

Convert Terraria textures to HD #13

Open
Razama1234 opened this issue Nov 22, 2022 · 2 comments
Open

Convert Terraria textures to HD #13

Razama1234 opened this issue Nov 22, 2022 · 2 comments

Comments

@Razama1234
Copy link

Razama1234 commented Nov 22, 2022

Converting Terraria textures to HD not work at all

  1. Syntax error at string 139 execute %(mkdir -p #{temp}/Content/Images) (mkdir -p ➜ mkdir_p) fix.
  2. execute.rb:145:in `write': No such file or directory @ rb_sysopen - temp6-texture-pack/pack.json (Errno::ENOENT)
    fixed by creation temp6-texture-pack folder
  3. In the end .zip with only pack.json and README.txt, no any png's

cd temp6-texture-pack && zip -r ../TexturePack-v0.12-1.4.0.3.zip -0 README.txt Content pack.json && cd ..
zip warning: name not matched: ../TexturePack-v0.12-1.4.0.3.zip
zip warning: name not matched: Content
adding: README.txt (172 bytes security) (stored 0%)
adding: pack.json (172 bytes security) (stored 0%)

@FreezRider
Copy link

almost same problem, can someone help please ?

C:\Users\CaptainBananek\Desktop\Terraria.v1.4.4.9.v4\Content>ruby execute.rb
Creating zip file TexturePack-v0.12-1.4.0.3.zip with all PNG's
mkdir -p temp6-texture-pack/Content/Images
The syntax of the command is incorrect.
rm -f TexturePack-v0.12-1.4.0.3.zip
rsync -ax --delete-after temp5/ temp6-texture-pack/Content/Images/
rm -rf temp6-texture-pack/Content/Images/Backgrounds
rm -rf temp6-texture-pack/Content/Images/Misc
rm -rf temp6-texture-pack/Content/Images/UI/WorldGen
rm -rf temp6-texture-pack/Content/Images/UI/Button*
execute.rb:145:in write': No such file or directory @ rb_sysopen - temp6-texture-pack/pack.json (Errno::ENOENT) from execute.rb:145:in createTexturePack'
from execute.rb:169:in `

'

@sullerandras
Copy link
Owner

I think the ruby file is outdated. I use github actions for creating the zip file, please see the commands there: https://github.com/sullerandras/terraria-hd-textures/blob/master/.github/workflows/build.yaml

You can also fork this repo and enable github actions on your fork to create the zip file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants