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

Im a whole idiot #2

Open
DulceSuenos opened this issue Jul 1, 2018 · 5 comments
Open

Im a whole idiot #2

DulceSuenos opened this issue Jul 1, 2018 · 5 comments

Comments

@DulceSuenos
Copy link

This is too complex for stoops like me but, a serious note what exactly IS the "Usage"? I opened every file I can, only to be rewarded with the sight of which i can only assume is code.

@VVayfarer
Copy link

VVayfarer commented Sep 24, 2018

I was also confused initially, since I didn't know the language and had very little experience on compiling programs. Anyway, with the help of google and some experimentation, I found that the following process seems to work at least for character models and animations:

  1. Install Msbuild and Web Development Build Tools (Visual Studio stuff).
  2. Delete the part about the App.config file in the .csproj file, since otherwise you get an error during compilation.
  3. Compile the .sln file by running msbuild on it with the Developer Command Prompt for VS 2017 in the folder where the .sln file is located.
  4. Copy your .upk files to the bin/Debug folder with the .exe (not sure why there's another .exe in the obj folder or if there's a difference between the two)
  5. Run the .exe on all files with the -revel flag. I made a .bat file with the following script for this purpose (program and files should be in the same directory):

for %%f in (*.upk) do (
echo %%~nf
GGXrdRevelator -revel "%%~nf.upk"
)

  1. Move the .dec files in their own folder and remove the .dec extension (I just used 'rename .upk.dec .upk *' in bash).
  2. Now you can just open the folder with the decrypted .upk files with umodel as usual.

I ran into errors with some files (see the previous issue posted here for details), but they weren't really relevant to me so I just skipped them.

@Bionicle4
Copy link

Hello. Can you explain these points please. I'm stuck here. thank
3. Compile the .sln file by running msbuild on it with the Developer Command Prompt for VS 2017 in the folder where the .sln file is located.
5. Run the .exe on all files with the -revel flag. I made a .bat file with the following script for this purpose (program and files should be in the same directory):
for %%f in (*.upk) do (
echo %%~nf
GGXrdRevelator -revel "%%~nf.upk"
)

6. Move the .dec files in their own folder and remove the .dec extension (I just used 'rename .upk.dec .upk *' in bash).

@VVayfarer
Copy link

Hi, follow the instructions here to build stuff with msbuild:
https://foxontherock.com/how-to-build-your-solutions-without-visual-studio-installed/

As for steps 5-6, you can (on Windows) use the .bat file script by copying it to a text file and renaming it into a .bat file, then just double-clicking it like an .exe file. The .bat file basically just runs the .exe with the -revel flag for each file in the same folder, yielding the .dec files.

After that, you can just remove the .dec extensions by your preferred method. I used the Bash shell's rename command as described above. You can use Bash on Windows by installing it with Cygwin.

@TheShinyKeldeo
Copy link

I'm a little lost here, what does it mean by delete the part about the app.config file and the .csproj file?

@VVayfarer
Copy link

VVayfarer commented Jul 5, 2021

It's been a while so I forgot the specifics, but I'd assume I meant deleting the following lines in the GGXrdRevelator.csproj file:

<ItemGroup>
    <None Include="App.config" />
</ItemGroup>

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

4 participants