Rocky5 / XBMC-Emustation

Front end for some emulators, using XBMC
GNU General Public License v3.0
156 stars 28 forks source link

Issues with PSX CUT file creation #2

Closed TelaKeppi closed 7 years ago

TelaKeppi commented 7 years ago

I saw you updated the code and decided to try new version. There's still some issues. Maybe I didn't explain it clearly, but automatic CUT file creation still makes CUT files for other than .CUE files for PSX. For example 20 .CUT files for Destruction Derby, since the game has 20 tracks on the original CD. Yes it's technically possible to launch a PSX game straight from the .BIN file, but you get a error message from PCSXBOX and loose all audio tracks.

Another thing, if you manually delete .CUT files and refresh .CUT files from the menu, only game/rom count get's updated, the actual game/rom list is not updated.

Rocky5 commented 7 years ago

There are 20 cut files for one game?

Send me the game please, and if its the case then not sure what I can do for parsing 20 cut files, why is there not just one cut file for the game with all the offsets in it?

The removal of cut files you need to rescan the rom folder as I use static menus that are created when you scan a rom folder for roms. Use the "Select Directory (Manual mode)" this will also update the menu counters.

TelaKeppi commented 7 years ago

Sure I can send it to you, but it's the same issue with all multi track games, for Alien Resurrection I have files, 02.08.2017 16.53 270 035 472 Alien Resurrection T1.bin 02.08.2017 16.53 15 292 704 Alien Resurrection T2.bin 02.08.2017 16.53 18 545 520 Alien Resurrection T3.bin 02.08.2017 16.53 32 104 800 Alien Resurrection T4.bin 02.08.2017 16.54 402 Alien Resurrection.cue

And as a result of creating the cut files, I get 4.

Rocky5 commented 7 years ago

Yeah I just downloaded it and can see that, will see what I can do.

TelaKeppi commented 7 years ago

I'd just filter out all but .cue files for creating .cut files for psx games.

TelaKeppi commented 7 years ago

Yes, all my games are currently .bin/.cue versions. Oh I see, .bin files are separate tracks while .img files are the the whole image with offsets in cue file.

Rocky5 commented 7 years ago

can you send me the link to the multi file one please?

TelaKeppi commented 7 years ago

Well I wouldn't like to directly link it here, but it's the one in Emuparadise, "Destruction Derby [U] (500M)"

Rocky5 commented 7 years ago

I added .ccd support to the script so when I commit that if I cant get the cue files to work you can use ccd files.

TelaKeppi commented 7 years ago

I've manually created .cut files from .cue files an they definitely work. But the script would have to filter then for both ccd and cue files to get it working automatically.

Rocky5 commented 7 years ago

edit the create_cut_files.py and search for: else: Write_CUT_File = 1

and change the 1 to 0 and scan the PSX directory again. ( there is two instances of it )

TelaKeppi commented 7 years ago

Ok, that did the trick. The were 2 instances, edited them both.

TelaKeppi commented 7 years ago

Actually, now it completely skipped creating cut files for multi track games, but now the list is way cleaner. Hopefully you can fix it for good. Now I can manually create the .cut files and rescanning the folder wont mess it up again.

Rocky5 commented 7 years ago

It will only scan cue files that match the name of a bin file.

example. works test.bin test.cue

wont work test1.bin test.cue

changing the 1 to a 0 just skips anything that isn't .cue but it has to have a file that matches.

if you remove: if Rom_Path == PSX_Name_CUE: Write_CUT_File = 0 else:

it will just do only cue files.

TelaKeppi commented 7 years ago

Oh right, so for the time being, I could just edit the name of the first track to match the cue and then edit the cue.

Rocky5 commented 7 years ago

Correct

I have the script now only parsing .ccd and .cue files. So will do some more testing and then commit the changes for you to test.

Rocky5 commented 7 years ago

Scripts added test away.

TelaKeppi commented 7 years ago

Ok, I can confirm its working now with BIN/CUE files.

Rocky5 commented 7 years ago

yeah it will only process ccd and cue files.

TelaKeppi commented 7 years ago

There might still be other issues with the cut file creation. Im trying to create cut files for Atari Jaguar and both automatic and manual mode does nothing.

Rocky5 commented 7 years ago

List the systems that use cue or ccd files and I will update the script to work with them. ( all the systems that work on the Xbox )

TelaKeppi commented 7 years ago

Virtual JaguarX still has no CD support, so its some other problem with the script.

3DO uses cd based media, but the emulator only loads .img or .bin files. Neo Geo CD uses .cue files. Sega Saturn emulator Yabause uses cue and ccd files. Sega CD emulator uses .cue files. I've yet to try WinUAEX (Amiga) emulator, but it should also support CD32 games which are also in bin/cue format, main format for Amiga games is .adf

Rocky5 commented 7 years ago

updated the script to work with some of those emulators.

segacd, saturn and neo-geo cd. winuaex I have never heard of nor have the emulator for it.

Rocky5 commented 7 years ago

I fixed the script again, named the neogeocd properly.

TelaKeppi commented 7 years ago

Add .j64 to the Extensions list to get Virtual JaguarX .cut file creation to work. Also, the rom files for this emulator have to be in XBMX-Emustation_emulators\atarijaguar\roms folder or the emulator itself wont work. Direct launching the rom is not working on this emulator, but at least the emulator is till worked on so it might get fixed i'll drop him a bug report.

Rocky5 commented 7 years ago

I will check that out, it could be the same as FBL and mame where the roms must be in the root directory of the emulator.

Thank you for testing these.

Update: Yeah its like mame and fba/l but it seems it doesn't support cut file launching.

Rocky5 commented 7 years ago

Committed, but like above its useless. I will just have to make this emulator direct launching from the main menu.

Rocky5 commented 7 years ago

Can I mark this as closed now?

TelaKeppi commented 7 years ago

Yeah, you can close this. Too bad for the emulators that don't support cut files. As a workaround would it be possible launch the emulator straight from the carousel?

Rocky5 commented 7 years ago

Added that just now, so Atari Jaguar will only be direct launch.