Up to [cvs.NetBSD.org] / pkgsrc / emulators / raine
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: revbump for icu downgrade
*: recursive bump for icu 76.1 shlib bump
armv6-a is not valid for march
raine: ensure a hardfloat arm architecture is selected http://victory.netbsd.org/pkgsrc/packages/reports/2024Q2/evbarm7-10.0/20240705.0101/raine-0.96.7nb3/build.log
revbump after icu and protobuf updates
*: recursive bump for gnutls p11-kit option (existing installations need the bl3.mk included, but it's now only optionally included)
* recursive bump for libxkbcommon 1.7.0 Marc Baudoin reported problems with using old binary packages with the new libkxbcommon, so force everything to 1.7.0
raine: restore options.mk inclusion now that it's there
raine: comment out options.mk, not committed
raine: Update to 0.96.7 Many years of changes, the most notable being that this is no longer i386-only.
raine: update HOMEPAGE
dead. fetch from backup.
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
*: recursive bump for perl 5.36
*: recursive bump for perl 5.34
*: bump PKGREVISION for perl-5.32.
emulators: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections.
Bump PKGREVISIONs for perl 5.30.0
Recursive bump for perl5-5.28.0
Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
Recursive revbump following MesaLib update, categories a through f.
Document ONLY_FOR_PLATFORM.
Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
Recursive bump for png-1.6.
Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
* fixes build with libpng-1.5 * add user-destdir installation support * honor PKGMANDIR * manage desktopdb Bump PKGREVISION.
png shlib name changed for png>=1.5.0, so bump PKGREVISIONs.
Bump PKGREVISION for libpng shlib name change. Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
Update HOMEPAGE and MASTER_SITES.
Add share/pixmaps to INSTALLATION_DIRS, might fix installation. Noted by hasso.
Remove USE_DIRS from pkgsrc. Shared directories can now be created independently by the pacakges needing them and will be removed automatically by pkg_delete when empty. Packages needing empty directories can use the @pkgdir command in PLIST. Discussed and ok'd in thread starting at http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
Don't explicitly include x11.b3.mk.
Rename variable MAKEFILE to MAKE_FILE.
Update to 0.43.3: Changes (adapted from debian/changelog): 0.43.3 * fix compilation errors in xorg, and with versions of allegro which don't define GFX_XWINDOWS_FULLSCREEN. Also this one works with gcc-4, no more errors about movl. * Apply patch from Antiriad which adds fix eight bootleg * Basic dependencies support in the makefile, so that at least the compilation doesn't stop with 2 pages of error messages just because we forgot to install a lib (liballeg, sdl and allegro tested). 0.43.2 * Haze added diverboy, mugsmash, cross pang. * I added Jumping pop, and Tetris 2+ (or fixed it since there was a preliminary driver in raine since 0.28, but it was really the begining). I also added the esd16 driver from mame, with multi champ, multi champ deluxe, and head panic. All of these are using lots of colors ! * A few fixes for extreme video modes situations (linux console). WARNING: if you want to play with the frame buffer in linux, use allegro 4.2.0, frame buffer support has been broken for a very long time in allegro-4.1.x. * Also some fixes to really prevent raine from changing the current video mode if the user forbids it or if the current video driver can't give the list of supported video modes by the monitor (which is the case of frame buffer driver for linux). * Bezel fixes : when the video mode is not automatically changed, the bezel now adapts to the current mode (instead of not displaying anything). Also if you load a 2nd game which also uses a bezel, the 2nd bezel is now correctly handled. * The buffer for the history.dat is doubled (for dkong for example), I should probably use a dynamic buffer for that... maybe later. * Now raine supports multiple layouts / gfx layers, and is automatically calling make_solid_mask for a region when a layout is defined for it. gfx[n] always contains the nth layer in the layouts list, and gfx_solid[n] is the result of the call of make_solid_mask on this region, and max_sprites[n] contains the number of sprites for this area. Also the driver's loading function is now called BEFORE the layouts are applied, which allows to decrypt/convert the sprites and still use automatically the layers. This should have been added a long time ago, it became obvious just recently with all these drivers which needed manual graphics decoding. * raine does its own tests for svgalib in linux now. If it does not detect vga.h at the standard places when compiling, then svgalib support is disabled. * Fixed the fg layer of the 2nd tc100scn not updated in thundfox (thundfox seems to be the only game which uses a 2nd fg layer, so it escaped me !) * while testing stuff with the eeproms, fixed pang3j which never worked (!), and added service mode controls for the pirates driver. * fine tune the music of the hammer in donkey kong so that the other sounds can be heared while it's playing. 0.43.1 * Haze added these new games : hyperpac driver : twinkle, Xess - The New Revolution (Semicom 3-in-1), more more, final tetris. cookbib driver : Cookie and Bibi, Hatch Catch, Choky Choky. I fixed the dipswitches, and for final tetris the sound and the inputs. 0.43.0 * Added new games : Pang, Super Pang, Poker ladies, Block Block. All of them playable with sound, adapted from mame. * Added sound support to these games based on the nmk004 findings in mame: macross, black heart, bio ship paladin, strahl, acrobat mission, mustang, thunder dragon, and even hacha mecha fighter but this one is still totally unplayable. For mustang, I switched to mustang original set instead of the bootleg version to avoid the infamous seibu sound system, so you'll have to update your romsets. Congratulations go to the mame team for that, everyone has been wondering how this sound emulation worked for YEARS ! * Fixed the file size recorded in the wav files, when recording raine_soud.wav, and the alignement byte which prevented the sound to play in the microsoft media player ! The wav file format is probably one of the stupidest file formats ever invented ! * add the ability to save screenshots in png (default now). You can set the compression level by editing the configuration file. Also you can now use a png file for the raine default background picture ! * Add a new command to save a "video", or more exactly a sequence of screenshots (preferably in png), and at the same time a wav file. You will still need something like mplayer to merge everything together. See README.videos in the docs directory for the details. * fixed sound not starting when loading a saved game before qsound has been initalised in the capcom games (also fix a few stupid bank switches here and there). * When choosing the best video resolution if all the available resolutions where too small, then you got a ridiculously small resolution. Now you get the bigest one. * Added artwork bezel support - see README.bezels in the docs directory. * Fixed bad sound in bjtwin and sabotenb, now there are no cracks any more. * Fix a very old bug where the default directories for screen_dir (snapshots) and roms became "", translated to "/". I never noticed it because I always use the same config... * Fix a 1 pixel alignement issue for the text layer in do donpachi (I never noticed it before because I usually don't have time to read the text in dodonpachi ! I finally saw it because I recorded a video in dodonpachi!). * For windows choose a windowed default video mode to avoid any problem with weird setups which have vido sync problems. For the other OSes, choose a default resolution based on the video modes really available, take the 1st from 320x240. * dx2 emudx file format : graphics for emudx are now stored in .dx2 files, which should be available from rainemu.com. These files are smaller than the original .dx files (and it's more convinient to work with these). The emudx files can now be placed either in the main raine directory for compatibility or in the emudx sub directory. .dx files are not supported anymore for the graphics. * Added hammer music to donkey kong... It's generated from a midi file, oh well, if someone can do something better, let me know ! * Unix behaviour : a long time ago I accepted a patch to make raine to use a personnal dir, and a system wide dir for its files in linux, but I never took the time to test this since I have always used only 1 dir for raine. Well, it didn't work, raine always used one of these 2 instead of trying the personnal dir first and then the system wide directory. It's now fixed for raine.dat, hiscore.dat, history.dat, the snapshots, the language files, and the bezels. 0.42.5 * make raine gcc-4.0 compatible : still quite a few warnings in the end, especially when compiling the 6502 emulator, but most of them are gone now, and the build works. 0.42.4 * add progear (cps2) * add pzloop2j (with speed hack) * Fixed 1944. 0.42.3 * Fixed toki sound (ym3812) * Improved priority bitmap emulation (faster and more precise) for cps2 and the cave driver. * Add rom region switches for mshh and mpangj (translated), and vhunt2r1 and vsav2 (only partially translated, but the service mode is translated at least). * Added a speed hack for mpangj * Fix bad color palette for snapshots in the gui in 16bpp sometimes 0.42.2 * Handle priority bitmap for cps2 when needed, transparency effect in capcom sports club attract mode is emulated. * Fix annoying gui corrupted colors after loading some games. * Added the cps2 games from mame with a non working parent 0.42.1 * Fixed REGION_EMPTY not supported anymore for games like arkanoid bootleg. This bug was probably due to the new way of handling clones when loading roms (added in 0.40.5) (helped from loading the rom). * Save a little more memory for cps1 & cps2 (on scroll1). * Try much harder to reset game hardware when a f3 game hangs after its eeprom has been reseted. With this we should definetely get rid of the "game xyz hangs when I launch it" messages in the forums. * Fix levels order in dkong us (this should be the last time !). * Add speed hacks for 19xx and dimahoo (not sure if it's usefull or not, but now these games won't be limited by the cpu power...). * Fix music speed for cps2 (it was slightly too slow, check sgemf when it displays "no mercy"...). * Fix a very old bug in the speed hack allocations for cps1 & cps2, it showed only in an sgemf background during attract mode afaik. * Try a new way of handling the priorities for cps2. This is not the mame way. It's faster, but I am not sure it works everywhere, it's much better than what we had in 0.42.0 anyway. * Fixed compilation with allegro-4.0.x for fedora core (linux). * Added new game : nostradamus, fully playable (it was to test the oddities of the mcatadv driver...). 0.42.0 * Fixed the last sound issues in cps2 (in fact it was just the data bank of the z80 which was not loaded correctly), and added a few cps2 games to play with. Video priorities are still not emulated, but the result is quite good actually !!! * Improved the starscream patch for gigawing, and add all the real cps2 games from mame (no clones). * Improve sprites decoding in cps1/cps2 to save memory. The memory saved is quite impressive, but 19xx and dimahoo still require about 70 Mb (120 Mb before !!!). * Fix a possible buffer overflow in history.dat handling (there was one for mvsc) and expand the history.dat buffer to 8kb. 0.41.4 * Fix air gallet special bg2 layer (8x8 layer displayed as 16x16). * Fix layer alignement in air gallet * cps2 becomes runnable now (no video priorities yet, and still some sound synchronization issues on some games) 0.41.3 * Fix the stupid forgoten bug in the patch of starscream (byte inversion). The fixes *LOTS* of problems especially with cps1 games. 0.41.2 * Fixed flames glowing in dkong (quick fix, using the allegro alpha blending functions - can probably be improved). * Fixed sprites not showing in late stages of mazinger * Fixed sprites priorities in cave driver (in fact rewrote the whole priority code for the cave driver, now using only the priority bitmap). Now you can finally read the text in the end of dodonpachi and see some new gfx effects in the intro of dfeveron, and feversos, and there are probably some more changes... * Fixed inputs not working for player 2 in guwange (quite a shame that this one was never finden earlier !!!). * Fixed a crash when launching "Bobble Bobble" (not Bubble Bobble). * frogger samples updates : - coin sample is now louder - game over and all home sound now much better thanks to old original files found by Mike. - Added a new tune when you loose a life, from one of these old files. 0.41.1 * When loading dkongjp after dkong, the levels were still drawn for dkong. It's fixed now. * pacman and mspacman now have big flashing power pills ! :) * pacman/mspacman : fruits on the bottom of screen match fruits in the level! * Applied patch from Ville Skytta to have language files in lower case (after all only dos/windows is case insensitive, all the serious OS in the world are case sensitive ! :)) * Fixed the colour of the gun in opwolf and zombie raid (and every game actually using the gun) for color depths > 8 (bug related to changes for the sdl video driver). * Fixed sound card name (SDL <Not initialised yet> was displayed in the sound driver selection dialog). 0.41.0 * Move the handling of dx samples to a new sound driver (dxsmp.c). It was necessary to have a precision of 1 frame with buggy windows sound drivers which must work with big sound buffers for the updates. * Fixed a bug when loading dkong after mspacmab. * Fixed the missing sprite of the purple frog in frogger * the roars at when the game starts and when a level ends are now emulated in dkong (2 roars instead of 3 because dx roars last longer !). * dx samples status is now saved in savegames, and they stop when you reset the game hardware. * added donkey kong (us and japan versions), with dx samples and dx graphics. * Fixed arpro search on games using a Z80 as cpu 0, and removed the obligation to have -1,-1 in the z80 memory map for the searches to work (-1,-1 serves nothing by itself, whereas 0,0xffff, DefBadReadByte is always there). * emudx samples now work in sdl, and I took back the musics from the dx samples with volume adustements. * Change the synchronisation method for the sdl sound driver. The new method uses more efficiently the callback, better results in windows and shorter and much easier code. * Fixed a problem with cheats/hiscore on games using exactly 2 z80s frogger, for example * Prevent emudx to change resolution when it's not necessary (related to color depth) * Finally converted the dx characters in frogger to retrieve their originol colours. Quite crazy ! * Add a "Pac-man/Pengo" driver name in the driver selection menu for the game selection dialog (it allows to quickly spot the new pacman hacks). * Took back the fix for the allegro gui bug where the menu is frozen if raine is linked with allegro-4.0.x. But this time test allegro version we were compiled with before applying the work around (usefull in debian where they use allegro 4.0.x which is supposed to be stable). This work around disables dialog solid movements (no blits). * Frogger : fix layer alignement and replacement of layer tiles by big 32x32 sprites. * Disable ansi sequences in windows (stupid windows still does not support ansi sequences natively, what a shame !!!). * Added emudx support for frogger (graphics and sound). Kept the ay8910 for music. * Added frogger, playable without sound (will try to add only emudx sound, these filters used by frogger for sound look like a real mess !) * Added sstriker, european translation of mahoudai (toaplan2) * Fixed a few default intialisations the first time raine is launched, especially for win32. Now : - the displayed video mode is correct in windows (there was a bug with the autodetect video driver...) - switch to 16bpp by default for xwindows and windows. - chooses allegmix sound driver by default in win32 (back to allegro) - the list of displayed games is "available" by default. - emudx init now always forces 16bpp (allegro was wrongly reporting 8bpp as the depth of the bitmaps in the archive if the current video mode was in 8bpp !) - Games which now request 16bpp switch color depth to 16bpp if they are currently in 32bpp (it's for emudx support which absolutely requires 16bpp and can't work in 32bpp). * Added complete alpha blending support (mmx code based on an article found on the web). For now it works only for 32x32 sprites but it can easily be adapted to any size. * Put back windows to allegmix sound driver, and put the linux sound driver to its normal defaults as in 0.40.4. Windows sound drivers (at least those from creative) do not respect specs, which makes sdl sound delay corrections very hard. And on the other hand the allegro sound driver is unreliable in linux. So this is the easiest solution. * Bugs found : when raine is first installed in windows, it wrongly believes it's using the accelerated driver when it uses the autodetect driver which makes color depth changes impossible. I should really remove completely this autodetect thing one day. The autodetect driver in sdl is a miracle, and in allegro it's a nightmare !!! But this bug will probably stay where it is for quite a while, I hate windows, and I don't want to spend time on it. * Added some preliminary alpha blending drawing functions for the ghosts in pacman ! For now the alpha blending is locked at 50%, which makes the ghosts a little dark... but at least it's fast !!! 0.40.5 * Added emudx support for pacman/puckman and mspacmab :-) ! * Fixed pacman savestates to save irq status (it allows to load a game without having to wait for the machine to initialize). * added yet another hack : Xen's revenge (very hard !) Fixed pacman dsw, and improved the "2x speed cheat" from mame's idea (using button 1 to enable it or not, after having enabled the cheat from the dsw). * Added new game hacks : mspacpls, mspac6m, pacman3d, and namcosil. Also raine now uses clones of clones as it should always have (since it's the main purpose of the DIR_INFO struct : allowing recursion !). It makes the ROM_INFO structs even shorter now ! * Applied patches from Ville Skytta (optional svgalib build in linux + ansi colors slightly different) * Try to detect when stdout is redirected to a file and disable ansi colors in this case (use isatty, but isatty does not seem to be available in windows... what a surprise !) * The clones do not repeat the regions of the parent anymore. When a region is the same it is simply not listed, and raine checks the parent automatically now. If you want the region to be empty, you have to tell it explicitely by using REGION_EMPTY (see arkanoid.c for an example). It makes shorter source code, and makes it easier to maintain too. It fixes the bad snowbros clones in 0.40.5 by the way. * Enough of fixes for raine-0.40.5 0.40.4 * Lots of games which are requiring 8bpp now automtically set the screen to 8bpp if it is in a different color depth when you load them. * Buble Boble is now playable in any color depth. * Running Pulirula and then loading rastan does not crash raine anymore. Also this fix will probably improve the stability when loading a few games which are using the tc100scn video chip. * Running a toaplan2 game like dogyuun, and then a cave game like donpachi works normally now. * Fix ym3812 timer. Now demon's world, snow bros and quite a few others are playable again... By the way snowbros now uses the new mame set. * Upgrade Chuka Taisen to use the latest mame set (b44.12 was changed to b44.12w, but I ignore the reason). * fixed ballbros/twinhawk when raine was compiled in debug mode (there was a ++ in a print_debug, what a shame !!!) * Fix tc0100scn emulation for "asuka & asuka", and opwolf. * Fixed c-chip for opwolf (ingame and reset game). * Fixed a few drivers with sound too loud in sdl (matmania, arkanoid...) * Fixed noise channel not working for the ay8910 (in matmania for example). * The SDL video is starting to work. No gui yet, but already hardware accelerated overlays when supported. * Raine now uses ANSI sequences to write text in color to the console. It allows to get RAINE in the colors of the old dos version in any linux or windows terminal ! * Fixed cpu capabilities detection, and add rdtsc detection. * Forced sound buffer length to 2048 samples for sdl, since this is all what quite a few soundblaster windows drivers can handle (a pity). Anyway, it does not seem to create any bad delay, but it needs more testing. * Improved again sound synchronization for SDL (it's just more responsive, which can be helpfull on slow systems which drop frames). There is still a bug with some win2k versions though wich seem to require transfers of 4096 bytes in my_callback, which represents about 6 sound frams, and which makes synchronization very hard. For now the only reliable solution with this win2k problem is to use the allegro sound driver. * Also improved sound emulation speed : the stream_update function in streams.c does not seem to make the emulation more precise, but it definetely makes it slower, so I just reverted to the old behaviour, it does nothing anymore. * Fixed controls in sf2ce clones (sf2m4, m5, m6, etc...). * Improved sound synchronization, it now can jump or drop more than 1 frame, and it can follow when one of the points is at the begin of the buffer while the other is at the end. It fixes the sound in all taito f3 games. 0.40.3 * Unix version now uses its shared path (/usr/shar/games/raine) as the default location to load the hiscore.dat and history.dat file. * SDL sound support, bug fixes
Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
Recursive revision bump / recommended bump for gettext ABI change.
Get rid of USE_PERL5. The new way to express needing the Perl executable around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Include mk/pthread.buildlink3.mk.
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
jmmv's suggestions in tech-pkg: o ${ECHO_MSG} -> ${ECHO} o /bin/sh -> ${SH} o Add missing "$@" to pass parameters to the app. o Build/install the script in the right target.
Update emulators/raine to 0.40.2. Changes: o Fixed the rotation keys for "Forgotten worlds" and "Downtown". o Fixed custom keys. o Added some new features. o Support for other seta games: Zombie Raid, Dragon Unit, etc. And more!
Drop maintainership; I don't have the enough free time to maintain all these packages.
err forgot to add USE_X11.
Initial import of raine-0.40.0 from pkgsrc-wip. Raine is an emulator, it emulates some M68000 and M68020 arcade games and is mainly focused on Taito and Jaleco games hardware. It started as an experiment with the Rainbow Islands romset, dumped by Aracorn/Romlist. Raine can emulate many nice games now, including new additions from Cave and other companies.
Initial revision