Giter Club home page Giter Club logo

abuse's People

Contributors

chewi avatar deviant-syndrome avatar jwrdegoede avatar mailaender avatar xenoveritas 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  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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

abuse's Issues

First contact

Hello, I didn't know how to contact you, so I made this "issue". I never actively used GitHub before, so I don't know how things work here.

In 2012 I made a Quake 2D game(you can check it out in my repositories) and people compared it to Abuse. A week ago I wanted to play the game myself, so I downloaded it, and reading the README files I saw there is a "high resolution" mode, but it didn't work properly, the lights would turn off, and there were some issues. Long story short I found out the source code was released, the game was ported several times and your version seems to be the newest.

I forked your repository and started messing around with the code few days ago. I haven't done much so far:

  • I enabled high resolutions and fixed the light issue,
  • implemented proper aiming with the right controller analog stick,
  • crosshair positioning when aiming with the controller,
  • added some new settings in the local "config.txt" (before it was stored in AppData folder on Windows, which is not really user friendly).

Currently I am expanding abuse-tool with OpenCV, so I can extract .psx images stored in .spe files and save them to modern image file formats. I'm half done, all I need to do is figure out how to save all animations in a single image file(already done it for tile sets) and add more console commands.

I already have a hobby game engine project based on SDL2 and OpenGL, so I don't know what else I will do with Abuse. I could replace the input event system with my own, but I'm not sure is it worth it. You already worked on it and quit.

Sincerely,
Antonio

Licenses

Hello,

I am confused about defining license(s) for this fork project.

Original FreeBSD port, defines it as:

LICENSE=        GPLv2+ PD WTFPL BPRINCE
LICENSE_COMB=   multi
LICENSE_FILE=   ${WRKSRC}/COPYING
LICENSE_FILE_GPLv2+ =   ${WRKSRC}/COPYING.GPL
LICENSE_FILE_WTFPL=     ${WRKSRC}/COPYING.WTFPL
LICENSE_NAME_BPRINCE=   Boby Prince permission for Debian to redistribute music/sfx files
LICENSE_PERMS_BPRINCE=  no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept

Could you help me defining it?

Thanks

How does abuse open the music files?

I'm having some trouble getting the music to play in Linux. I had a build of 0.8 where the music was working but it's stopped working and I don't know what I did and I've never managed to get it playing in 0.9 yet.

I was wondering if you could explain how the game is opening the hmi files so I can figure out what's going wrong? For example, does SDL mixer open them directly or pass them on to another program? I'm not knowledgeable enough to just read the code and figure it out.

SDL_mixer 2.0 with FluidSynth support causes game to segfault on start

With FluidSynth support enabled in SDL_mixer, the game segfaults when you actually start the game. Strangely the intro music does play though. The game runs if I give -nosound but says:

Sound: ERROR - Unrecognized audio format while loading /usr/share/games/abuse/music/abuse00.hmi

I'm not sure if that's a clue. I'm surprised it mentions the file at all when -nosound is given.

You won't hit this if FluidSynth can't find any soundfonts. If it does, you can work around the issue by setting SDL_SOUNDFONTS to the empty string, forcing SDL_mixer to fall back to Timidity, assuming support for that is enabled.

This may be a bug in SDL_mixer but I'm not sure yet. I'm especially curious because I wrote SDL_mixer's FluidSynth support! This could affect a lot of users as I know Debian enables FluidSynth.

No such item nums0016.pcx in file art/icons.spe

I installed "Abuse" on my Raspberry pi3b and the installation was successful,

In the datagame directory I added all the necessary directories and files taken here: abuse.zoy.org

I launched the game that does not start returning this error:
No such item nums0016.pcx in file art / icons.spe

what could be the problem?

vs2019

do you have notes on how to get the build working with vs2019. i tried with the instructions you have currently, and it fails.

Could not find a configuration file for SDL2

Im trying to build this on my Pi4 running buster
i have SDL 2.0.10 and sdl2-mixer 2.0.4
I cant figure out why it is coming up with this.

CMake Error at CMakeLists.txt:23 (find_package):
  Could not find a configuration file for package "SDL2" that is compatible
  with requested version "2.0.0".

  The following configuration files were considered but not accepted:

    /usr/lib/arm-linux-gnueabihf/cmake/SDL2/sdl2-config.cmake, version: unknown

Game Crashes when installing Music and SFX folders

If i'm understanding this right, I'm supposed to copy the SFX and MUSIC data folders to the Abuse SDL directory, correct? Whenever I do, the game gets to the loading console screen and then crashes before I can see what's wrong.

Am I missing something here?

Please provide binaries

Hi! Could you please provided binaries of a working version for those who don't want the hassle to compile it themselves ?
Thanks you!

Double-colon in SDL name is breaking the Linux build

When compiling on Ubuntu 20.04 using the system version of SDL2, the build fails in two places:

  1. cmake reports it can't find libSDL2. This is fixed by removing the 2.0.0 version arguments to find_package in CMakeLists.txt. (SDL is pretty good about backward compatibility so I'm reasonably confident this won't be a source of problems.)

  2. Linking fails with a message that it can't find SDL::SDL. This is fixed by removing the SDL:: prefix from the SDL packages. It also fixes a bunch of cmake warnings.

Once these changes are made, the build succeeds.

I've attached my changes as a diff but I can submit a pull request if you want.

[Termux] Build error

This is how I try to build various projects under Termux. Probably a proper patch would fix the problem, but I'm not familiar with C++ (so the question is whether it makes sense to build the source code :P).

I wonder if you can fix it (as long as it's fixable so as not to break compatibility)

[ 18%] Building CXX object src/net/CMakeFiles/net.dir/fileman.cpp.o
/data/data/com.termux/files/home/termux/frabs/abuse/src/sdlport/hmi.cpp:302:97: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char') in initializer list
      [-Wc++11-narrowing]
    uint8_t midi_header[] = { 0x4D, 0x54, 0x68, 0x64, 0x00, 0x00, 0x00, 0x06, 0x00, 0x01, 0x00, (num_tracks + 1), 0x00, 0xC0 };
                                                                                                ^~~~~~~~~~~~~~~~
/data/data/com.termux/files/home/termux/frabs/abuse/src/sdlport/hmi.cpp:302:97: note: insert an explicit cast to silence this issue
    uint8_t midi_header[] = { 0x4D, 0x54, 0x68, 0x64, 0x00, 0x00, 0x00, 0x06, 0x00, 0x01, 0x00, (num_tracks + 1), 0x00, 0xC0 };
                                                                                                ^~~~~~~~~~~~~~~~
                                                                                                static_cast<uint8_t>( )
1 error generated.
make[2]: *** [src/sdlport/CMakeFiles/sdlport.dir/build.make:174: src/sdlport/CMakeFiles/sdlport.dir/hmi.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 19%] Building CXX object src/net/CMakeFiles/net.dir/sock.cpp.o
/data/data/com.termux/files/home/termux/frabs/abuse/src/net/fileman.cpp:310:33: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'uint8_t' (aka 'unsigned char') in
      initializer list [-Wc++11-narrowing]
  uint8_t sizes[3]={ CLIENT_NFS,strlen(filename)+1,strlen(mode)+1};
                                ^~~~~~~~~~~~~~~~~~
/data/data/com.termux/files/home/termux/frabs/abuse/src/net/fileman.cpp:310:33: note: insert an explicit cast to silence this issue
  uint8_t sizes[3]={ CLIENT_NFS,strlen(filename)+1,strlen(mode)+1};
                                ^~~~~~~~~~~~~~~~~~
                                static_cast<uint8_t>( )
/data/data/com.termux/files/home/termux/frabs/abuse/src/net/fileman.cpp:310:52: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'uint8_t' (aka 'unsigned char') in
      initializer list [-Wc++11-narrowing]
  uint8_t sizes[3]={ CLIENT_NFS,strlen(filename)+1,strlen(mode)+1};
                                                   ^~~~~~~~~~~~~~
/data/data/com.termux/files/home/termux/frabs/abuse/src/net/fileman.cpp:310:52: note: insert an explicit cast to silence this issue
  uint8_t sizes[3]={ CLIENT_NFS,strlen(filename)+1,strlen(mode)+1};
                                                   ^~~~~~~~~~~~~~
                                                   static_cast<uint8_t>( )

The compiler is clang, Termux doesn't have gcc

[fRaBs] UNDEFINED: is not a number

I suspect this is my mistake, but I don't know how to locate it. I am trying to run fRaBs with this version of the game. While the "original" works fine, I have not been able to integrate fRaBs.

Generally, of course, according to the instructions there are errors related to the size of the file names. After correcting them, the error runs:

./abuse -datadir $PWD
abuse 0.9
Abuse version 0.9
Sound: Enabled
Specs : main file set to abuse.spe
Protocol Installed : UNIX generic TCPIP
Lisp: 527 symbols defined, 99 system functions, 319 pre-compiled functions
0 joysticks on system
Joystick : not detected
(load "abuse.lsp") [........................................]
:UNDEFINED
 is not a number

type q to quit
1. Break> q

I suspect that I am initializing fRaBs incorrectly. The question is how to do it correctly? Thank you!
The game in DosBox works

hmi files not recognized

When launching the game I see this two messages:
Sound: ERROR - Unrecognized audio format while loading /usr/share/games/abuse/music/intro.hmi
Sound: ERROR - Unrecognized audio format while loading /usr/share/games/abuse/music/abuse00.hmi

I cannot open them with any player (neither mpv, ffplay...)

Thanks

Game crashes when i try to start a networking game. (IPX/TCP/IP)

Game crashes when i try to start a networking game.

Terminal output:

Engine : Registering base graphics
Video : 1600x900 24bpp
Creating responder on port 37008
Simulating broadcast to [127.0.1.255:37008]
[127.0.1.0:37008]Responder: [I wanna play ABUSE!]
[127.0.1.1:37008]Responder: [I wanna play ABUSE!]
[127.0.1.2:37008]Responder: [I wanna play ABUSE!]
[127.0.1.3:37008]Responder: [I wanna play ABUSE!]
[127.0.1.4:37008]Responder: [I wanna play ABUSE!]
[127.0.1.5:37008]Responder: [I wanna play ABUSE!]
[127.0.1.6:37008]Responder: [I wanna play ABUSE!]
[127.0.1.7:37008]Responder: [I wanna play ABUSE!]
[127.0.1.8:37008]Responder: [I wanna play ABUSE!]
[127.0.1.9:37008]Responder: [I wanna play ABUSE!]
Protocol Installed : UNIX generic TCPIP
Lisp: 527 symbols defined, 99 system functions, 319 pre-compiled functions
0 joysticks on system
Joystick : not detected
(load "addon/deathmat/deathmat.lsp") [....... ]nil
is not a string

type q to quit

  1. Break>

[claudio][major] Non-free addon in this game

I do not know if the problem has been solved. I am generally working slowly on Liberal SFX for Free Abuse. I accidentally came across a thread that potentially makes this repository ... illegal?

It's about the data/addon/claudio directory, which is part of Frabs and this repository. The license of this directory makes it illegal to use for commercial purposes, but also (I don't know if this also applies to this repository), sharing files should be preceded by contacting the creator.

https://github.com/Xenoveritas/abuse/blob/master/data/addon/claudio/claudio.lsp

Unfortunately I am not familiar with the Abuse engine. Personally I would prefer if you could "defuse the bomb" and remove these files from this repository and Frabs. If you have any opinion I would like to know, because my project is stalled by this.

Adjustable MIDI Volume

Don't know if this has been addressed since the last release, but it would be nice to have some functionality in the MIDI volume adjustment, it's just kind of annoying that it doesn't work.

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.