Bugs item #1008880, was opened at 2004-08-13 20:34 Message generated for change (Comment added) made by reudeudeu You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1008880&group_id=46652
Category: runapp Group: None Status: Closed Resolution: None Priority: 5 Submitted By: Stéphane Lavirotte (lavirott) Assigned to: Nobody/Anonymous (nobody) Summary: Bug in lauching generic game epsxe Initial Comment: Hello, Another bug report. I'm sorry, but I do not have enough time to find the bugs and propose a patch for the bugs I submit. And for the moment, I not very familiar with the freevo code. First, I would like to say that epsxe is running as a standalone application (I tested it to know if I didn't have any problem with the upgrade of my nvidia drivers). So the bug was introduced between 1.5-rc2 and 1.5.0. I suppose with the 1.7 revision of generic.py. The osd is stopped, but epsxe do not start and I come back to freevo. I don't know if it's a problem, but the iso filename I call for playing contains a space. Sincerely, Stéphane ---------------------------------------------------------------------- Comment By: Sylvain FABRE (reudeudeu) Date: 2004-10-24 17:29 Message: Logged In: YES user_id=334676 I have the same problem with generator-svaglib in the GENESIS mode. Some facts : - *ALL* my other emulator are working well (XMAME, ZSNES, VICE, FCEUltra) - generator-svgalib IS NOT a shell at all, it is an ELF executable Behavior of Freevo in that case : The poll function of childapp.py seems to detect immediately that the new process is dead and then call the kill function and go back to Freevo. If the poll function is deactivated in childapp.py, then the process is not killed and everything is fine. But i can't guess right now why this poll function work like that. So my guess is that the process detection (thru the poll funcion) does not work with some application dealing with the display. Any ideas ?? ---------------------------------------------------------------------- Comment By: Stéphane Lavirotte (lavirott) Date: 2004-09-19 22:43 Message: Logged In: YES user_id=310665 Hi all, OK I found the bug. It's was my fault. The problem came from my ressource file (local_config.py). A recent changing in childapp causes this bug for me. Now, the parameter passed to popen2.Popen3 is a list (and not a string). My game definition was: GAMES_ITEMS = [ ('PlayStation PSX', '/data/freevo/games/psx/roms', ('GENERIC', '/usr/local/psx/epsxe -nogui -loadiso', '', '', [ 'bin','img','iso' ] )), All was fine when childapp used string. But now with list of args, the process was not started (poll value was 256 and not -1). Modifying my game_item value to: GAMES_ITEMS = [ ('PlayStation PSX', '/data/freevo/games/psx/roms', ('GENERIC', '/usr/local/psx/epsxe', '-nogui -loadiso', '', [ 'bin','img','iso' ] )), solved the problem. Sorry to disturb you with this stupid bug. You can close this bug report. Sorry. Stéphane ---------------------------------------------------------------------- Comment By: Stéphane Lavirotte (lavirott) Date: 2004-09-16 23:28 Message: Logged In: YES user_id=310665 Sorry for the delay. I wanted to test with the latest freevo version 1.5.1, and not to disturb you with solved problem. But in fact, I still have got the same problem. Here is the info you wanted: bibox:/usr/local/psx# file epsxe epsxe: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, corrupted section header size bibox:/usr/local/psx# ./epsxe -v * ePSXe emulator version 1.6.0. And if I manually start: bibox:/usr/local/psx# ./epsxe -nogui - loadiso /data/freevo/games/psx/roms/Crash\ Bandicoot\ 1.img or with '/data/freevo/games/psx/roms/Crash Bandicoot 1.img', all works fine. Sincerely, Stéphane ---------------------------------------------------------------------- Comment By: Michael Ruelle (mikeruelle) Date: 2004-08-22 00:56 Message: Logged In: YES user_id=849534 can you post the output of file epsxe. every version i have ever tested of epsxe had that being a script. Can you also post the version of epsxe you are using. There were very bad hacks in the older versions of games that only handled spaces in rom names but used the shell version of running the command to do it. This was bad for freevo. It had been removed in favor of list arguments but when there are things (like shell scripits) transforming args between freevo's call and the invoking of the game this can break down. I really don't want to introduce more bad hacks to support this if i don't have to. ---------------------------------------------------------------------- Comment By: Stéphane Lavirotte (lavirott) Date: 2004-08-16 09:26 Message: Logged In: YES user_id=310665 Hi, I do not use any shell script to launch epsxe. I've got the following config in my local-conf: GAMES_ITEMS = [ ('PlayStation PSX', '/data/freevo/games/psx/roms', ('GENERIC', ' /usr/local/psx/epsxe -nogui -loadiso ', '', '', [ 'bin','img','iso' ] )), ... And the file epsxe is the binary file. Also, all is running with the 1.5-rc2 (my last installed version of freevo and with exactly the same epsxe install). Could it could be a problem with ChildApp ? I noticed a change in generic headers: now passing arguments with list and not strings. Stéphane ---------------------------------------------------------------------- Comment By: Michael Ruelle (mikeruelle) Date: 2004-08-14 17:56 Message: Logged In: YES user_id=849534 I believe this bug is related to the shell script that the epsexe uses. I can use the visual game boy advance with games with spaces (this uses the generic backend as well). So i think this is a problem with the emulator. This is a common problem with games that have shell scripts for invoking them or for people who write shell scripts around games to do some of their own tweeking. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1008880&group_id=46652 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel