Giter Club home page Giter Club logo

Comments (26)

bobbens avatar bobbens commented on June 11, 2024 1

I've made a plugin that does this for you. You can find it below. Put it in your plugins directory (the path should be indicated in options -> plugins accessible from the main screen).
naev-simple-shaders.zip

from naev.

lumbar527 avatar lumbar527 commented on June 11, 2024 1

I didn't finish hacking, but I could easily input letters. Thanks!

from naev.

LJDude avatar LJDude commented on June 11, 2024

What are the specs of your pc, and are you running the game off of an ssd or hdd?

from naev.

lumbar527 avatar lumbar527 commented on June 11, 2024

It's a Mac and I downloaded the game from releases? I'm not entirely sure what you mean.

from naev.

LJDude avatar LJDude commented on June 11, 2024

What is the processor in your mac, and is your storage drive an ssd or an hdd?

from naev.

ProjectSynchro avatar ProjectSynchro commented on June 11, 2024

Since we cross-compile our macOS binaries, there might be some loss in performance, but don't quote me on that..
Could you send your save file here?

I can try and reproduce it on another operating system to verify it's not a macOS specific issue.

from naev.

bobbens avatar bobbens commented on June 11, 2024

What version are you on? IIRC we fixed an issue related to this but it hasn't been officially released. Nightly should have the fix though.

from naev.

lumbar527 avatar lumbar527 commented on June 11, 2024

What version are you on? IIRC we fixed an issue related to this but it hasn't been officially released. Nightly should have the fix though.

0.10.5
So I should download the nightly version?

from naev.

lumbar527 avatar lumbar527 commented on June 11, 2024

Could you send your save file here?

James Bubbles.zip
(Just use the autosave.ns)

from naev.

bobbens avatar bobbens commented on June 11, 2024

What version are you on? IIRC we fixed an issue related to this but it hasn't been officially released. Nightly should have the fix though.

0.10.5 So I should download the nightly version?

I would back up your save and try the nightly to see if it is fixed. If it is, we should be doing a new release soon which should contain the fix. If not, we'll have to debug more.

from naev.

lumbar527 avatar lumbar527 commented on June 11, 2024

New problem: Nightly will not load my save. I tell it to update it anyway and it starts loading, then I have to force quit.
Screenshots:
Screen Shot 2023-07-04 at 9 30 40 AM
Screen Shot 2023-07-04 at 9 31 24 AM

from naev.

bobbens avatar bobbens commented on June 11, 2024

OK, I've figured out why your game won't load and solved the issue. It should appear in the next nightly in about 10 hours. You can abort the "Empire Recruitment" mission to get it to work right away though. The issue is that Triton Station has been renamed and isn't found when loading the mission causing it to crash. Thanks for the save!

Still would need to see if nightly solves the POI issue though.

from naev.

lumbar527 avatar lumbar527 commented on June 11, 2024

So if I wait for the next Nightly it should load?

from naev.

bobbens avatar bobbens commented on June 11, 2024

Yes. New nightly should be up now. Remember to back up your save because a lot has changed and you'll get a lot of warning spam due to system renaming / changes when updating.

from naev.

lumbar527 avatar lumbar527 commented on June 11, 2024

No change in hacking; it's still constantly loads.

from naev.

bobbens avatar bobbens commented on June 11, 2024

I just tried it with your save and can't reproduce on nightly... :/
What specs does your computer have? What operating system are you on?

from naev.

lumbar527 avatar lumbar527 commented on June 11, 2024

A 2019 MacBook Pro running Catalina.

from naev.

lumbar527 avatar lumbar527 commented on June 11, 2024

Another thing that might be helpful: when hacking, there's blue spots and lines that move every time it loads. (Sorry, don't have a screenshot yet)

from naev.

bobbens avatar bobbens commented on June 11, 2024

Chances are it's the background shader not playing well with your hardware. Do any of the other minigames work? Or is this the first one you encounter? IIRC the mining minigame does not use the fancy background.

You can also test to see if it gives you issues in the crimson gauntlet system. Try typing player.teleport("Crimson Gauntlet") while not landed in the console (open with F2), and it should teleport you there. Does it give issues?

from naev.

lumbar527 avatar lumbar527 commented on June 11, 2024

It might be the first minigame, though I have raced and done the Nelly mining thing. They were both fine. (Give me a second for the teleportation)

from naev.

lumbar527 avatar lumbar527 commented on June 11, 2024

Update: the Crimson Gauntlet is also really slow.

from naev.

bobbens avatar bobbens commented on June 11, 2024

OK, thanks for the confirmation. Make sure your OpenGL drivers are up to date. I have to think of how to deal with this in an elegant way, but for now you can edit dat/scripts/love_shaders.lua and find the love_shaders.circuit function and edit it to be like below:

--[[--
An electronic circuit-board like shader. Meant as/for backgrounds.

@see shaderparams
@tparam @{shaderparams} params Parameter table where "strength" and "speed" fields is used.
--]]
function love_shaders.circuit( params )
   params = params or {}
   local strength = params.strength or 1.0
   local speed = params.speed or 1.0
   local pixelcode = string.format([[
uniform vec3 u_camera = vec3( 0.0, 0.0, 1.0 );
vec4 effect( vec4 color, Image tex, vec2 texture_coords, vec2 screen_coords )
{
   return vec4(0.0) + vec4(u_camera,0.0);
}
]], strength, speed, love_math.random() )

   local shader = graphics.newShader( pixelcode, _vertexcode )
   return shader
end

and it should work!

from naev.

lumbar527 avatar lumbar527 commented on June 11, 2024

The plugin works, thanks!

from naev.

bobbens avatar bobbens commented on June 11, 2024

Great! I'll leave this as a plugin then (not in the main game). Hopefully it shouldn't need changes for a while. Thanks for the report! If you find other issues with your hardware, I can try to add fixes either to the main game or the plugin.

from naev.

lumbar527 avatar lumbar527 commented on June 11, 2024

Sorry, related problem. I just tested boarding (had only tested Crimson Gauntlet) and wasn't allowed to hack because I got booted out after the conversation. (Happened twice)

from naev.

bobbens avatar bobbens commented on June 11, 2024

Sorry about that, could you try replacing the plugin with the one below? I tried locally and it seems to work now.
simple-shaders.zip

from naev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.