Guest Posted April 25, 2014 Posted April 25, 2014 So I want to be able to extract Renpy files. I came across this guy's website : http://blog.lattyware.co.uk/post/13747269145/unrpa-the-rpa-archive-format-extracting-files-from I downloaded the unrpa.py and python 2.7.6. I launched python.exe and entered this in the command box as suggested : C:\Program Files (x86)\Katawa Shoujo\game\unrpa.py -m -p C:\Users\utilistateur\Documents C:\Program Files (x86)\Katawa Shoujo\game\data.rpa But for some reason it tells me there is a syntax error. I'm a little desperate right now. I even tried from Cmd box : C:\Python27\python.exe C:\Program Files (x86)\Katawa Shoujo\game\unrpa.py -m -p C:\Users\utilistateur\Documents C:\Program Files (x86)\Katawa Shoujo\game\data.rpa and C:\> Python27\python.exe Program Files (x86)\Katawa Shoujo\game\unrpa.py -m -p Users\utilistateur\Documents Program Files (x86)\Katawa Shoujo\game\data.rpa I don't know if the problem comes from the spaces or anything. Quote
The Major Posted April 25, 2014 Posted April 25, 2014 Got it. Here's what I did. From cmd, change directory to where the unrpa script is. examplecd C:\Users\Kud\Desktop\unrpaThen C:\path\to\python.exe unrpa -m -p C:\path\to\extract\to "C:\file\to\extract.rpa" exampleC:\Python27\python.exe unrpa -m -p C:\Users\Kud\Desktop\butts\ "C:\Users\Kud\VNs\Katawa Shoujo\game\data.rpa" Quote
Guest Posted April 26, 2014 Posted April 26, 2014 You Are My Hero I'm really thankful for that Hopefully it'll help some other people to. But Yay it worked ! Quote
Nezzeru Posted January 11, 2015 Posted January 11, 2015 Hi, i have same problem but when i enter this comand "cd C:\Users\Nezzeru\Desktop\unrpa" i have the follow error : The directory name is invalid" and when i enter this comand "C:\Python27\python.exe unrpa -m -p "C:\Users\Nezzeru\Desktop\butts" "E:\Programas\x64\Proyects Renpy\Katawa Shoujo-linux-x86\game\data.rpa" or "C:\Python27\python.exe unrpa -m -p C:\Users\Nezzeru\Desktop\butts\ "E:\Programas\x64\Proyects Renpy\Katawa Shoujo-linux-x86\game\data.rpa" cd C:\Users\Nezzeru\Desktop\unrpa" Errno 2 No such file or directory. My os is windows 10 i use python 2.7.7 and unrpa . Thanks Quote
The Major Posted January 11, 2015 Posted January 11, 2015 Hi, i have same problem but when i enter this comand "cd C:\Users\Nezzeru\Desktop\unrpa" i have the follow error : The directory name is invalid" You just need to find out where unrpa is on your computer and then change directory to that in command prompt. Quote
Kelebek1 Posted January 11, 2015 Posted January 11, 2015 Still surprises me that people don't know about this. You don't need to cd into anything. Go into the folder where you need the CMD, hold shift and right-click in the folder, and you can use the "Open command window here" option. You don't need to specify your python install location if you have Python in your PATH, which it should be by default unless you disable it. It's easiest if you just move the python script into the game folder (or the .rpa into the same folder as your python script, but sometimes other files might be required), then you can just run it like: unrpa.py -m -p Out data.rpa The Major and Nezzeru 2 Quote
The Major Posted January 11, 2015 Posted January 11, 2015 Still surprises me that people don't know about this. You don't need to cd into anything. Go into the folder where you need the CMD, hold shift and right-click in the folder, and you can use the "Open command window here" option. You don't need to specify your python install location if you have Python in your PATH, which it should be by default unless you disable it. It's easiest if you just move the python script into the game folder (or the .rpa into the same folder as your python script, but sometimes other files might be required), then you can just run it like: unrpa.py -m -p Out data.rpa Oh, cool. I'll remember that for next time. Nezzeru 1 Quote
Nezzeru Posted January 18, 2015 Posted January 18, 2015 Thank you, try this by moving the files to the console from Ubuntu and it worked but now I want to know how I can create this same file xD Quote
The Major Posted January 19, 2015 Posted January 19, 2015 but now I want to know how I can create this same file xD Did some looking around and found this tool (https://github.com/Shizmob/rpatool). You could give that a try. Quote
Deep Blue Posted May 19, 2015 Posted May 19, 2015 sorry to bump this old thread, is there any way to pack the .rpa file again? Quote
Deep Blue Posted May 20, 2015 Posted May 20, 2015 Read the last few posts. how the hell did I miss that Quote
SilkSpider Posted October 29, 2017 Posted October 29, 2017 Sorry to bump an ancient thread, but I need help here. I've never done anything with Python before, at all, so I have no clue what I'm doing, but there is a game I really want to translate. I downloaded https://github.com/Shizmob/rpatool and https://github.com/Lattyware/unrpa But, I have absolutely no clue how to even get Python to run them, at all. I try all the command prompts and just get syntax errors. Where are the downloaded files supposed to go? In Python's install directory? Or somewhere else? I'm so clueless and lost here. Please help!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.