-
Posts
1,246 -
Joined
-
Last visited
-
Days Won
266
Content Type
Profiles
Events
Forums
Blogs
Downloads
Everything posted by Tux
-
Finally found it, and fixed it. If you want to know the story behind this : it's a very old hack which was added by Antiriad to compensate the fact that we didn't have any linescroll in the emulator. At the time he even said it was impossible to add some linescroll in raine without rewriting too many things. Well I found a way to add it anyway, but with some real linescroll his hack is creating these black areas on the left and on the right of the screen, I just removed it and now it works flawlessly. There was also another problem creating black lines at the top of the screen when the car was going up or down on a slope, this one was a bad optimization from me, it was less noticeable than the black areas anyway but still annoying, fixed it too. Now the clouds still look strange compared to mame, so I guess there is some decoding difference of the sprites somewhere, but I didn't try to fix that, the clouds are not bad actually, it's called "ciel de traine" in french ! Maybe it will have to be fixed for something else than these clouds one day, but the clouds are ok anyway ! By the way this is again some very old driver which was not touched in years... and that's the reason it had a problem, it had become somewhat incompatible with some other part of the emulator... ! By the way this driver would probably need some more love : the controls are very hard on the keyboard, the accelerator and the brake are going from nothing to max immediately, same thing for steering wheel, it would probably need to be improved. This can be used with analog controls though, by assigning some real joystick controls there, I didn't do it in years but it should normally still work, but the controls could be improved with only a keyboard... Also I quite like what mame added there to show which speed is on (low or high), they added a graphic overlay to show it, quite nice, in raine there is a message at the bottom of the screen which can easily be missed, I'd suggest changing at least the osd options here to have the text on solid black background to make it more visible !
-
I don't have aof3 for neocd anymore, lost a few of my games some years ago. Yeah I know I can redownload it, but it will take time, don't hold your breath ! I redownloaded it, can't reproduce, I just used "game demo" and watched a few stages, no problem to see. Then I tried your savegame, a nice buffer overflow in the 1st one, but it's too late, the harm has already been done. Would you have a incredibly long file name (including the dir) for one of your audio tracks ? It's the most likely cause, just noticed that FILENAME_MAX is a lot smaller in windows, but it's still 260, succeeding to have a path longer than that is quite a feat already... Anyway if you don't have a path that long I need an easy way to reproduce this... ! for the save 4, I have a dark blue screen after the loading animation is over but it seems normal, no flash, it looks like some long initialization, and after that the stage "movie" starts normally. Save 5 same thing, save 3 nothing out of the ordinary, no screen with garbage on it anywhere, you have a buffer overflow specific to your setup somewhere then... I have made a test build anyway but it's pure speculation, for me everything works already, you might be lucky with this one, but don't try to load one of the 3 1st save states with it : http://raine.1emulation.com/archive/test0302.7z
-
Yeah it was created by Richard Bush, Antiriad, in 1998, that was the old dos days. In 2000 he wanted to give it up but he opened the source, at that time I was interested by a linux version, so I took the Tux name to work on it, except that slowly but surely, everybody gave up, and I was finally the only one left. The big difference is that I didn't work on it like crazy like what Antiriad did, it was more, "when time permits", but I never succeeded to completely stop, I stopped for a few months and always came back to it. Antiriad left but after helping us to port it to windows and to linux, so we had the multi platform release. More than 10 years ago, I switched from allegro to sdl to be able to use opengl which was greatly needed, it was version 0.50. Lately I finally succeeded at the impossible, making a version without any assembler in it so that it could be compiled in 64 bits or for any platform, version 0.90. That's what I wanted to do before stopping completely because this way the source can live on, except that of course nobody came to do that. Eventually add sdl2 support instead of the current sdl 1.2 would be nice, if I succeed to do that I think I'll be able to call that version 1.0 and stop ! Richard Bush is still available by mail even if he never comes to the forum, I send messages from time to time. He works in a computer games company, so he doesn't want to touch the code anymore though. That's the big lines ! (and while you are here, this new defaut white theme for the forum is quite horrible you know ? I am thinking maybe I should resurrect the old forum backup I stil have to work around that !).
-
Couldn't sleep this night so I did that. Since they write the age instead of the release date of the games it's a good idea to do this once a year, and this time their file is xml, so it's even a better idea to convert it to raine, it's much smaller, and still in history.dat format here. Anyway if you like this kind of info you can get the update, history-raine-2.28.7z
- 1 reply
-
- 1
-
-
Funny that I don't even remember seeing that, but I admit I didn't play this one a lot, very rarely actually. I might take a look later but these car games are usually quite complex... but it might be a trivial layer alignment problem. Anyway I have my mind on something else, so there won't be any new release for a while now... I had a not so quick look, it's related to line scroll (which is used to scroll some lines compared to others in the layer), it displays a part of the layer which is simply empty, no data there, appears all black. Why is it empty ? Good question ! No idea for now, it shouldn't happen ! End for now !
-
Which stage ? Probably not the 1st ? I have other matters to deal with for now anyway so I don't think I'll have the time for it now...
-
There is an exception to the new offsets array for song 20, it's an empty song used to mute the currently playing song, I was sure to miss this one ! It's fixed.
-
Yes for arch it's very easy to compile by re-using this pkgbuild, nice to know that at least 1 person uses that !
-
Yes it's probably something easy to fix, I'll check it later...
-
Already ? Well yeah, it's mainly to finish this branch for good ! So : - Cabal (cabalbl) is finally fixed, graphics and sound. The kind of game which seems easy to emulate and which is tricky. This one is quite different in raine, we don't have at all the same way to handle the samples (but thanks for finding the crazy bitswap for the sound command !). - neogeo/neocd saves didn't contain the 68000 bank, it's fixed (problem hard to locate though !). - a last fix for the sound associations, the one included in the test build earlier. http://raine.1emulation.com/download/latest.html
-
which is the default in the dipswitches, yeah. Ok I think I'll fix it... (it's quite fun, the broken text layer is broken for 2 reasons : it misses half of its bits (!), and its transparent color is 3 instead of the usual 0 ! It's going to require some very special treatment, I can spend a little time on it... !
-
Might be a way to handle this by the joystick identification, the one which is displayed in the inputs dialog. The idea is save with the controls which joystick is where (what is its number), and remap if the number has changed when the game is loaded. I'll take some more time to think about it, there might be some cases where it's better to disable automatic inputs saving if a joystick is remapped...
-
Not something easy to reproduce, it's just luck but I think I found the culprit, some 68k bank, which is extremely rare, and that I forgot to save in the save state... ! To my defense there is an insane number of things to save for this driver, it used already the 16 user slots, + a few extensions, it's the only one to save so many things. Actually I couldn't trigger the bug 1st and when I was about to give up it suddenly happened, next time was at the 2nd time, but then it became extremely hard to do again. This bank changes a lot actually in this area so it's not easy for sure. It's only 1 byte to save, assuming I found the real culprit ! If you want to test this again in a next build you'll have to recreate a new save with the next version, this save here doesn't have the bank info.
-
Not sure about this, I don't use any fancy inputs here, I just have an old ps3 gamepad which works well but with a special driver in windows though. I guess the inputs would be better with sdl2, but there is a ton of unwanted changes to make to have this, so it's not going to happen soon... Normally you should be able to solve this by switching to custom inputs then save the inputs, say to directinput and x360 and then load the inputs you need when you need them. Sorry for the inconvenience otherwise, can't think of anything else for now. See the assocation thread, it's updated !
-
Ok, obliged me to cleanup most of the commands for type 2, a lot of them are just ignored in fact. You get your own build (link removed), 64 bits since that's what you use. Normally it works everywhere, retested your 3 save states with it, + kasumi selection. Also : I have a way to emulate the playing speed change, but do you know of any place in a game where the music changes its speed to test this ? It can be slowed down or accelerated, both are possible...
-
probably, but it takes time... This one worked at a time I think no ? Oh well, I'll have a look then I guess... ! After a quick look, it's a super old driver that nobody touched in ages and it shows ! The text graphics had been badly dumped at the time and so it was using only 2bpp (should have used 4bpp !). I think the game worked better in 8bpp in the very old dos versions though... Anyway everything or almost should be redone in there, automatic rom loading instead of the painful decoding there, using graphic layers, and using the roms of some good dump... ! I never liked this kind of game so I never took the time to look into it. To fix these chars alone, should at least use a new rom for the chars, which will make the old romset incompatible. In short, it's a mess !
-
I hadn't planned to release this one, at least not now, but heh, I had an interesting fix for mer-curious and he has waited quite long for it, so... anyway here are a few of the changes : - sound associations fixes for kof98/99/garou and aof3, see mer-curious post - big toaplan2 update finally. Changes for the romsets : batridera becomes batriderja (mame name), added batsuguna (which is the old batsugun we had before if I remember correctly) and batsugunsp (which is really a special version and not a stupid clone), bgarreganv which was supposed to be a new version of battle garegga, but good luck to find what's changed inside, also bgareggat2 which is supposed to be "type 2", same comment, and bbakraidja which was the old bbakraid. kgpe becomes kingdmgp, same game but different crc for the rom and official mame name, comes with cheats so it's better. sstriker had been mistakenly removed from the list of drivers so it's back, with a new clone, sstrikerk. Also batrider and bbakraid gain the biggest region switch ever seen in raine with 25 countries inside ! Not 25 languages though of course, it's japenese or english for the language, but it's still impressive ! Also there are some new fixes for batsugun inside to handle the graphical glitches, it should be ok until the end of stage 3 if I remember wel, the big boss here is still too black but it's much better than before anyway ! - peekaboo didn't run in 64 bits, specific problem to the emulation there, it's fixed but there are still emulation problems. - added new clone tetristh which is like tetrist but on some different taito hardware (taito h), but it's exactly the same game though, it's more a curiosity. - new cheats for the new clones, kingdmgp, tetristh, batsugunsp, sstriker (it's not a clone but it was gone !). - you couldn't disable the shaders without quiting in this 0.91 version, fixed now (at least in linux, but probably in windows too). - fixes again region switch for lots of games which got broken when changing something else lately. The list of affected games is big, found out for syvalion. - avoid deleting a rom when downloading with curl : if trying to get a clone which doesn't exist on the server but it is on the disk without its parent, then the clone was deleted ! Now it's not at least ! - makaiden didn't load its correct gfx rom, so it looked exactly like its parent (very old bug since 2010 !). - And some big source changes to make rom structs more readable and a little smaller, it should have been done long ago, but there is always something else to do... ! Yeah I know it makes a big list of changes just for 0.91.11, I wanted to release this later as a 0.92 with more changes inside, but you'll get this now instead ! See the download link at the top of the page (thanks Rob !). In case you miss it : http://raine.1emulation.com/download/latest.html
-
Yeah ok it's your day of luck, I had a look at this one too. Type 2, more complex sound system, there is even a sound command to change the tempo of the music which is not emulated because we can't change the playing speed of an mp3 ! Anyway the common problem here is the interpretation of a command which takes an argument, if the argument is < 0x20 then it's not an argument, it's another command. I am less confident here than for kof99, but it seems to fix to 3 save states, so we'll give it a try... Ok, I'll try to make a binary then... !
-
wow, you probably spent some time creating this, a save state stuck in pause, have to press select 1 to get out of pause, not the usual thing. Well I had a quick look and it's indeed something unknown, a code which should start a song and which does nothing. I might take a closer look later, but don't hold your breath. Been fixing a few things in raine lately, but nothing related to sound associations ! edit : fixed, it also affects kof98 and garou. The story : until now I was only testing a 1st array in rom which gave the type of command, 2 was for music. Except that after that, it takes an offset to the music itself, and sometimes the offset is 0 like here, in this case the music command is just ignored. So now I am also testing this array of offsets. Now you could wonder why the main cpu is asking a song which doesn't exist ? Maybe it was something planned at the start and finally they gave up the idea ? Since there are quite a few songs like this and not only one, maybe it was some custom stage music like something faster playing if the hp of one of the players reaches a certain limit, and in the end it didn't sound so good so they just gave up the idea, the call remains but it does nothing. Just a guess, but it could be the reason ! What was your other sound assocation problem ? Might be fixed at the same time by this... !
-
To be more precise, you actually loose a lot of things if doing that, assuming you succeed : the gui is linked to the graphics engine used by raine, so you loose the opengl driver, and yuv overlays, you keep only the normal blits, what made the dos days. Also even if I admit the old gui was nicer, the new one has a lot of advantages : - it's usable with a joystick only (or a gamepad) a keyboard or of course a mouse, for the old one you mainly needed a mouse although you could succeed to use it with a keyboard by tracking the keyboard shortcuts, not easy but possible, but impossible to use with a joystick only - it's incredibly easier to program, that was my main concern while making it, I wanted something where it's easy to add new dialogs and to update them. There are no coordinates in the new one making everything a lot easier. - it adapts to any resolution using the ttf fonts. The old one was made for a low resolution, but only for a low resolution, if using a high resolution it becomes really small which can create readability problems Also you of course loose all the new dialogs which were created for the new gui only, all these options for negeo/neocd and so on, you loose sdl_sound, so no music for the neocd games. That's about it, but that's quite huge !
-
Oh, so you would want a windows binary but using the old allegro gui ?!! Well, there is a define in the makefile for SDL, there is SDL = 1 in each section (mingw32, linux...), so comment the one for you for mingw32 and it *should* try to use the allegro gui. In this case you should also comment out HAS_CONSOLE, because it can't build the console in allegro, which means you will loose all the modern cheats, you'll need the old cheat.cfg file. If you use allegro you should use allegro 4.x, allegro is famous to be incompatible between its versions and I strongly doubt you could compile a working version of raine with allegro 5, never tried it, but I am sure it's full of incompatibilities. (and I don't even want to hear about bugs in allegro 5 !) Good luck, you can post about your success here ! Notice that you can do this integer scaling by hand in raine by editing raine.cfg (raine32_sdl.cfg for the windows sdl version) and setting yourself the screen_x and screen_y, that's if you want a precise scaling while still using opengl. Otherwise you can use the "normal blits", then in renderer option choose a scaler (hq2x/3x or scale2x/3x and then in set video mode change to either game resolution, or 2x game resolution. I didn't put 3x here, that's mainly because it's rare in most configs to have a mode matching 3x the game resolution, but it could easily be added. After testing this myself, I find that modern video cards have such good scalers that it's mostly useless to stick to integer scaling for most games at least. That's my taste at least, but of course it should theoretically be better if using integer scaling, even if it's not obvious usually ! (especially if combined with a shader which improves the image quality)
-
There were quite a few dos binaries released since then. Of course you can compile one yourself if you want, you just need to be patient because afaik djgpp was never integrated in any visual something from microsoft (surprise, surprise !), so you need to get it + all the libs, there are less libs for dos than for linux & windows of course, it does less things too. I cross compile it from linux, there are a few howtos on the web on how to crosscompile for dos from linux, and there is probably something for windows too... I am not sure the famous 3x modes were released as a binary so I can make a new binary for that if you want, I had planned to test this first on a real hardware, but since the old pc here has lost its hard disk, it's much harder than what I had anticipated and I had to give up on this. At least it works when run in a virtual machine ! Nice custom video modes by the way, it's a windows driver which allows to define some modes like this one, or you did it differently ? I did that too in linux back in the day, but since 0.50 it's more about stretching the screens in opengl, it's not the same, but it's not bad too (and you get the shaders too !).
-
Sorry went too fast to make the binaries, forgot to update the version number for the 64 bits, but if you have the 0.91.10 archive with the exe inside dated october 26th, then you have the right one. I can't tell you about hawk and animal because I don't know the game, but testing with hulk hogan as player 1 (I can recognize him at least !), and animal as player 2 works. I'll try to re-upload the 64 bits exe later, but as I said, it's the right one, just a problem with the version number. (with hh and animal the cheats produce this : poke 1c0607, 0 poke 1c0713, 5 where before they produced poke 1c0607, 5 poke 1c0713, 5 So for me the problem is fixed, now having these chars in the selection is still a hack and so I can't be sure everything works as expected). edit: reuploaded, I didn't bother to change the filename of the archive.
-
Yes it means the driver has a problem, rubyTexture is the base of this shader, it contains the game bitmap, it's sent for all the frames. I don't get any warning about rubyTexture with my nvidia, so there is definitely something wrong with the way the shader is interpreted by your video driver. 2 choices : just ignore the shaders, you can live without them after all, or find a better video driver... ! And the reason you don't see the message on screen is because it's said it's a warning, the validation succeeds in the end, but if it misses rubyTexture, it misses the main point, the crash could very well be a divide by 0 at this point !
-
Well it's worth trying a driver update, it shouldn't crash normally even if the video card can't handle it if the driver is well done it just returns an error message which is displayed by raine. 2nd solution : it just doesn't work, doing nothing noticeable on screen. 3rd : yours, never seen before, it crashes -> something is probably wrong somewhere, try to update your driver.
