Allegro.cc - Online Community

Allegro.cc Forums » The Depot » DUMB v0.9.1 - filters, click removal - and more API!

This thread is locked; no one can reply to it. rss feed Print
 1   2 
DUMB v0.9.1 - filters, click removal - and more API!
Bruce Perry
Member #270
April 2000

And, to elaborate, the bug existed in DUMB v0.9 too. It happened when the loop points were out of range (more or less). The only change is that DUMB v0.9.1 decided the sample was set to loop, and DUMB v0.9 didn't. This change was necessary for another file to play correctly.

The fix is committed to CVS now, since Bob's post was ambiguous as to whether the fix had been made yet or not ;)

--
Bruce "entheh" Perry [ Web site | DUMB | Set Up Us The Bomb !!! | Balls ]
Programming should be fun. That's why I hate C and C++.
The brxybrytl has you.

Sirocco
Member #88
April 2000
avatar

Quote:

IT is written all in assembly language, so it's Pretty Damn Fast. ::)

Side note: I remember nearly soiling my pants the first time I heard IT playing my (at the time) huge collection of MOD/S3M files. And when I read in the docs it was writting completely in ASM, I promptly suffered a brain aneurysm and fell out of my chair.

Having done a lot of tracking and coding for MODs and S3Ms in the past, I can appreciate the work going into this lib. Keep up the good work!

-->
Graphic file formats used to fascinate me, but now I find them rather satanic.

Rafal Szyja
Member #2,408
June 2002
avatar

Nice :)
at once :)

I'll try it ofkoz with MultiAMP :)

See ya :)

I hope these filters will run on P166mmx :)

:)

_____________________________________________________________
My website: [url http://rafalszyja.republika.pl]
Gadugadu:3646465 ICQ: 177671442

X-G
Member #856
December 2000
avatar

I don't want to be that bastard who corrects everyone, but ... you know, we have a little thing called a full stop that we commonly use instead of :) for punctuation ... ::)

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

Rafal Szyja
Member #2,408
June 2002
avatar

OK ...

However some stragne thing happens with Mingw:

D:\mingw32\allegro\addons\dumb>fix mingw
Configuring DUMB for Windows (MinGW)...
Done! Now run makeall or makecore to start the compilation.
D:\mingw32\allegro\addons\dumb>makeall
obj\mingw\gccver.exe > obj\mingw\gccver.inc
objmingwgccver.exe: not found
D:\MINGW32\BIN\MAKE.EXE: *** [obj/mingw/gccver.inc] Error 127
-
An error occurred. [...]

what's up?
v0.9 was compiling ok!

...

_____________________________________________________________
My website: [url http://rafalszyja.republika.pl]
Gadugadu:3646465 ICQ: 177671442

Bruce Perry
Member #270
April 2000

Rafal: do you have cygwin installed? What about a shell (sh.exe, bash.exe)? MinGW Make does not escape backslashes normally on Windows, so it is probably invoking such a shell, and that shell is escaping the backslashes.

Run the following command yourself:

   obj\mingw\gccver.exe > obj\mingw\gccver.inc

Then run 'make' again, and it should work. I shall think about possible ways of getting round this for the next release...

FYI, you would have had the same problem with DUMB v0.9, had you happened to want to compile it for MSVC.

--
Bruce "entheh" Perry [ Web site | DUMB | Set Up Us The Bomb !!! | Balls ]
Programming should be fun. That's why I hate C and C++.
The brxybrytl has you.

Rafal Szyja
Member #2,408
June 2002
avatar

I'm using Mingw only...

I also tried running make under sh but that won't fix that ...

_____________________________________________________________
My website: [url http://rafalszyja.republika.pl]
Gadugadu:3646465 ICQ: 177671442

Bruce Perry
Member #270
April 2000

Which version of MinGW?

--
Bruce "entheh" Perry [ Web site | DUMB | Set Up Us The Bomb !!! | Balls ]
Programming should be fun. That's why I hate C and C++.
The brxybrytl has you.

X-G
Member #856
December 2000
avatar

I second that error. Got it as well (from CVS ...). Related to improper escaping, I think. Zsh interferes with the build process somehow. Changing the proper backslashes to regular slashes in the makefile fixed it, by the way.

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

Bruce Perry
Member #270
April 2000

But regular slashes won't work if you don't have such a shell...

--
Bruce "entheh" Perry [ Web site | DUMB | Set Up Us The Bomb !!! | Balls ]
Programming should be fun. That's why I hate C and C++.
The brxybrytl has you.

X-G
Member #856
December 2000
avatar

Not saying it fixes it universally, just saying that it fixed it for me ...

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

Bruce Perry
Member #270
April 2000

Then that's not very helpful, is it :P

Maybe I should look into alternatives to GNU Make...

--
Bruce "entheh" Perry [ Web site | DUMB | Set Up Us The Bomb !!! | Balls ]
Programming should be fun. That's why I hate C and C++.
The brxybrytl has you.

Rafal Szyja
Member #2,408
June 2002
avatar

My mingw is now 2.0.0.3

_____________________________________________________________
My website: [url http://rafalszyja.republika.pl]
Gadugadu:3646465 ICQ: 177671442

X-G
Member #856
December 2000
avatar

I'm just saying that if it worked for me, it will probably work for others who have my problem, as well. ::)

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

Bruce Perry
Member #270
April 2000

Rafal: add the following line to the top of make/makefile.mgw:

MAKESHELL := $(COMSPEC)
Be sure to use an editor that doesn't destroy tabs (i.e. don't use MS EDIT; Notepad will do fine). Then tell me if it compiles.

[EDIT: nm, Rafal's managed to compile it already (according to an e-mail), so he probably won't have any motivation to do this. ::) X-G, could you try it plz? :) ]

--
Bruce "entheh" Perry [ Web site | DUMB | Set Up Us The Bomb !!! | Balls ]
Programming should be fun. That's why I hate C and C++.
The brxybrytl has you.

Rafal Szyja
Member #2,408
June 2002
avatar

Maybe I'll try it - no promises!

_____________________________________________________________
My website: [url http://rafalszyja.republika.pl]
Gadugadu:3646465 ICQ: 177671442

X-G
Member #856
December 2000
avatar

Bruce: No luck. Also, you might want to make an RM var in the makefile (much like the CP one that already exists), since "del" doesn't work in XP either.

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

Rafal Szyja
Member #2,408
June 2002
avatar

I tested it for you - that won't work...
problem is the same...

try something other :)

also there is old problem with these COPYs...
and RM doesn't exist with standard mingw distro...

Minimal CYGWIN is required to use CP and RM...

Go on... ;D

NOTE: DEL , COPY etc things built in into command.com never worked for me with Mingw!!!!

_____________________________________________________________
My website: [url http://rafalszyja.republika.pl]
Gadugadu:3646465 ICQ: 177671442

X-G
Member #856
December 2000
avatar

Rafal, by default, CP is set to "copy" in the makefile. The "copy" command doesn't work in windows XP, though - for that, you'd have to use "xcopy" or the "cp" unix equivalent, which is also available for windows. Similarly, "del" doesn'tt work in XP, but can be replaced with "rm" if you have it.

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

Bruce Perry
Member #270
April 2000

Try plain old 'SHELL' instead of 'MAKESHELL'.

--
Bruce "entheh" Perry [ Web site | DUMB | Set Up Us The Bomb !!! | Balls ]
Programming should be fun. That's why I hate C and C++.
The brxybrytl has you.

Rafal Szyja
Member #2,408
June 2002
avatar

I'm tooooooo lazy to do so

:P

_____________________________________________________________
My website: [url http://rafalszyja.republika.pl]
Gadugadu:3646465 ICQ: 177671442

 1   2 


Go to: