Coder Social home page Coder Social logo

bwhorror's Introduction

CloudMracek

Hubble deep field Credit: Robert Williams and the Hubble Deep Field Team (STScI) and NASA/ESA

Hi! ๐Ÿ‘‹ I'm a programmer from the Czech Republic who likes to code space stuff and who spends most of his nights staring at the sky (unless it's cloudy... then I stare at code) There is nothing much interesting to find here just yet. Go do whatever it is you do.

bwhorror's People

Contributors

cloudmracek avatar thetredev avatar unstop4ble avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bwhorror's Issues

Sounds have their own life

I looked over the code and tried a couple things to fix the weird sound issue you're having (weird frequencies instead of foot steps are played).

I couldn't fix the issue, but I've made a few interesting discoveries (Void Linux, x64, using the Mednaffe emulator):

Scenario 1

You don't play any sound in gameInit():

//int ch = play_sample(steps_addr, steps_sr);

This leads to the following:

  • A weird cracking sound is being played at the start.
  • The yay sound becomes the steps sound.
  • Whenever you catch a ghost, steps is played (without any reverb). And it's played correct. No weird frequencies whatsoever
  • But: no actual foot step sounds while walking, though.

Scenario 2

You play yay in gameInit():

int ch = play_sample(yay_addr, yay_sr); // after yay has been initialized

This leads to the following:

  • A weird cracking sound is being played at the start instead of yay.
  • The foot steps are actually playing while walking!
  • But: they're played only once and you have to stop and start moving to hear them again (which is probably a completely different issue I guess).
  • Also: A different kind of weird (and high) frequencies are played seemingly randomly OR after a specific/random amount time during which no other sound is playing (maybe even only after playing steps at least once, don't know for sure).
  • Also: Same as Scenario 1, steps is played whenever you catch a ghost without any reverb.

Scenario 3

You play victory in gameInit():

int ch = play_sample(victory_addr, victory_sr); // after victory has been initialized

This leads to Scenario 2 again.

Conclusion

My guess is that either your mechanism for loading the sounds (VAG_Header struct + upload_sample()) or your mechanism for playing the sounds is not implemented as it should be. I'll test more and keep this issue updated when I can.

Not booting correctly?

I manage to compile the project and got the .cue and .bin files.

When i used ePSXe205 at first and it gives me black screen. Nothing happends.

Then i tried it with duckstation and with the Fast boot option I manage to get the game work.
If i run with duckstation with Default/Full boot i gain the same issue and the game wont start.

I wonder how this can happend and maybe you have a answer for it?

PS: the compiled horror.exe works on duckstation and doesn't work on ePSXe205.

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.