Hey all I have a ruby script that will generate a file depending on the paths you pass to it, ive been trying to get it to work by selecting the directories in Java with scenebuilder, and then running the ruby script with the passed paths.
Command: ruby C:\Users\SKYEWA~1\AppData\Local\Temp\makewad9069056469716641747.rb C:\Users\my name\Documents\github\fps\textures\textures C:\Users\my name\Documents\github\fps\textures\palette.lmp C:\Users\my name\Documents\github\fps\textures\wad\textures.wad
Building WAD...
Texture WAD exported to "C:\Users\my name\Documents\github\fps\textures\wad\textures.wad" successfully
It seems to run the ruby script, however when i open the output file it doesnt have any of the data it has when i just manually run the ruby scriptwith the paths
this is how the ruby script expects the arguments
Usage: makewad/makewad.rb: <in folder> <in palette> <out wad>
And this is my wad class on how i am making the wad
https://www.codebin.cc/code/cm12kpcb00001kw02e4iy9ywg:CDcZ8GXPBv2d6nKuBfJSvQT5k3TAyqXQC8MfBXYaqGvZ
Codebin Paste:
Description: Java WAD Maker
Language: javascript
Last Edited: 9/14/2024, 8:01:39 PM
Expires: never