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

How to use it #1

Open
GeoffreyMba opened this issue Aug 1, 2024 · 21 comments
Open

How to use it #1

GeoffreyMba opened this issue Aug 1, 2024 · 21 comments

Comments

@GeoffreyMba
Copy link

I downloaded all the files except arc and when I click on jc2_tools.exe it opens two windows then later closes them. How do it use these tools?

@SK83RJOSH
Copy link
Collaborator

Currently, the tool only allow you to browse archives and view a small subset of models in the game - so with that said, it sounds like you don't have vulkan drivers or similar?

I can't really triage without additional information, like a video or screenshot of the console output when you run the tool.

One of the windows is a console, which will give me useful information:
image

--

If you do get it working though, you'll want to mount content like so:
image
image

Once complete, you can right click files in the file list on the left to load them:
image
image
image

@GeoffreyMba
Copy link
Author

GeoffreyMba commented Aug 2, 2024 via email

@SK83RJOSH
Copy link
Collaborator

SK83RJOSH commented Aug 2, 2024 via email

@GeoffreyMba
Copy link
Author

GeoffreyMba commented Aug 3, 2024 via email

@SK83RJOSH
Copy link
Collaborator

Looks like GitHub doesn't support attachments via email – any chance you could attach them here? :)

@GeoffreyMba
Copy link
Author

Screenshot (5)
Screenshot (4)

@GeoffreyMba
Copy link
Author

GeoffreyMba commented Aug 3, 2024 via email

@SK83RJOSH
Copy link
Collaborator

Hmm, yeah looks like it's graphics issue indeed – I it must be related to integrated graphics but I'd need to see an error to know for sure – you might be able to start the tool from CMD/PowerShell and redirect it's console output that way.

In the meantime I did a quick search for related issues in bevy and didn't see much. Though I'm preparing an upgrade to the latest version, which will hopefully solve this as its had a lot of graphics improvements / uses a newer version of WGPU – but I'm currently blocked while I wait for plugins to update.

@GeoffreyMba
Copy link
Author

GeoffreyMba commented Aug 3, 2024 via email

@SK83RJOSH
Copy link
Collaborator

shift + right click in the folder, and Open PowerShell Here.

Then write jc2-tools.exe and press enter

@GeoffreyMba
Copy link
Author

GeoffreyMba commented Aug 3, 2024 via email

@SK83RJOSH
Copy link
Collaborator

I haven't tested it, but you might get some additional info – but frankly I suggest you try again in a week or so when I have a chance to update to the latest version of bevy. :)

@SK83RJOSH
Copy link
Collaborator

SK83RJOSH commented Aug 4, 2024

I've updated to bevy 0.14, go ahead and give the latest release a try and see if that resolves the issue.

To run jc2_tools in powershell type:
.\jc2_tools.exe

Make sure you're in the correct directory. It put the full error log into that window and you can send it along to me. 👍

@GeoffreyMba
Copy link
Author

GeoffreyMba commented Aug 4, 2024 via email

@SK83RJOSH
Copy link
Collaborator

SK83RJOSH commented Aug 4, 2024 via email

@GeoffreyMba
Copy link
Author

GeoffreyMba commented Aug 4, 2024 via email

@SK83RJOSH
Copy link
Collaborator

SK83RJOSH commented Aug 5, 2024

Do make sure you mounted content – you have to do so from the options menu and select the folder containing justcause2.exe – until you've done that it won't show the file tree. Similarly, you must use the file menu to open rbm files. The app does not support drag and drop yet.

For everything else, you must find the files in the file tree and right click them to mount/open archives and rbm files. It will only open very specific models right now, as I'm working towards making an exporter/model editor and don't want to handle a large number of formats just yet.

If you need to preview an rbm that's not supported, please use the glTF Converter and blender.

If none of the above works, make sure the resources directory and settings file are in the same directory as jc2-tools. The resources are required to run the app. If I forgot to include them, please grab them from an older release and I'll get it fixed tomorrow after work.

@GeoffreyMba
Copy link
Author

GeoffreyMba commented Aug 5, 2024 via email

@GeoffreyMba
Copy link
Author

Screenshot (23)
Screenshot (22)
Screenshot (21)

@SK83RJOSH
Copy link
Collaborator

SK83RJOSH commented Aug 7, 2024

This seems to be a wgpu-hal/bevy bug:
bevyengine/bevy#13115
bevyengine/bevy#14213

Though to be honest, I think this is more of an issue with your processors graphics drivers.

Try doing the following in PowerShell:

$env:WGPU_BACKEND="DX12"
.\jc2_tools.exe

You can also try:

$env:WGPU_BACKEND="GL"
.\jc2_tools.exe

Not a lot a can do for you though, I don't really want to force a particular WGPU backend on all users. Bevy/WGPU should be doing the heavy lifting to validate proper driver support/correct driver versions.

If one of those works for you, I'll consider adding a setting to the config file/command line options to force the backend.

@GeoffreyMba
Copy link
Author

GeoffreyMba commented Aug 8, 2024 via email

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

2 participants