Git Product home page Git Product logo

bwhorror's Introduction

BWHorror

A horror game I'm working on

Building the project: Linux

Download the latest release of spicyjpeg's PSn00bSDK and extract the folder to some directory you can reference later. For example:

mkdir ~/.sdk
cd ~/.sdk
wget https://github.com/spicyjpeg/PSn00bSDK/releases/download/v0.21/PSn00bSDK-0.21-Linux.zip
unzip PSn00bSDK-0.21-Linux.zip
rm PSn00bSDK-0.21-Linux.zip

This will create a directory .sdk in your HOME directory and extract the Linux version of PSn00bSDK there. Afterwards, the Zip archive is removed.

The build requires the environment variable PSN00BSDK_INSTALL_DIR to be set to the folder you extracted PSn00bSDK. For the above instructions, that would be something like this:

export PSN00BSDK_INSTALL_DIR=~/.sdk/PSn00bSDK-0.21-Linux

Put that in your .bashrc or the respective shell you're using.

Building the project: Windows

Download the latest release of spicyjpeg's PSn00bSDK and extract the folder to some directory you can reference later. For example:

  1. Create the folder C:\SDK
  2. Download https://github.com/spicyjpeg/PSn00bSDK/releases/download/v0.21/PSn00bSDK-0.21-Win32.zip
  3. Unzip the underlying folder into C:\SDK
  4. Remove the Zip file

This resulting folder would be C:\SDK\PSn00bSDK-0.21-Win32.

The build requires the environment variable PSN00BSDK_INSTALL_DIR to be set to the folder C:\SDK\PSn00bSDK-0.21-Win32 in this example.

bwhorror's People

Contributors

cloudmracek avatar thetredev avatar unstop4ble avatar

Stargazers

 avatar Fikri avatar Danilo Nishimura avatar Tim Mastny avatar Ruhan Monte avatar Franco M avatar Thiago Vieira  avatar Gian Ott avatar Victor Chavez avatar João Ricardo Côre Dutra avatar Richard Mathews avatar Sadie May avatar KCG avatar Octavio Percivaldi avatar  avatar Fernando Constantino avatar Matt John avatar w17h0u7m3rcy avatar  avatar  avatar Andreas avatar Vitor Assis Santos avatar Allison Vollmann avatar Nathan Fernandes Pedroza avatar Paulo Archanjo avatar Skiupace avatar Kenio Natan avatar radia avatar GreenYoshi (Wang Han) avatar HOOS avatar beefviper avatar Shader Coder avatar  avatar Egidijus Lileika avatar Bellatrix Lugosi avatar Jasiel Guillén avatar Jeremy Weasley avatar João Victor de França avatar Christopher Lee avatar Guilherme Portella avatar Cüneyt Yetişenler avatar Nicolas Gallo avatar  avatar Ivan Kuzmenko avatar  avatar Füchs avatar  avatar

Watchers

Ivan Kuzmenko avatar Nathan Fernandes Pedroza avatar HOOS avatar  avatar Richard Johnson avatar

bwhorror's Issues

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.

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.

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.