Jump to content
LaunchBox Community Forums

Monyet

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Monyet

  1. All good, same here. They fixed the regression which caused the problem I had. Hopefully you're able to get it working.
  2. Hmm... SHA-1 hash is the same in the hires file? Did you extract the pack to a directory with the same name? Because in RA it won't work with a zipped pack. Also, even after I got it right and opened it, it still didn't work, and then the next time I opened it it worked.
  3. After posting that above and investigating it more with a person that works on the core it looks like there was a regression introduced recently so I guess my problem was different to yours since yours happened last year. Did you figure it out in the end?
  4. Hey mate, I was running into this problem today. It worked fine in the standalone Mesen but wouldn't load in the RetroArch Mesen Core. I think I've tracked it down to the fact that the ROM is zipped. While Mesen supports loading from zips, it doesn't look like it can also apply an HDpack while opening from a zipped file in RetroArch. The Mesen core was made by the same guy that wrote Mesen I think, M. Bibaud (aka Sour) is the name I've seen. The project looks to be archived on github and I'm not signed up so I don't even know if I could email the guy. Maybe someone here knows? I also could be wrong, can anyone else load an HDpack while opening the rom from a zip?
  5. Yes, that line doesn't actually delete the files with and without the quotemarks. I tried putting it as the exit script but that didn't make a difference either.
  6. Hey! I just figured it out, because it was talking about Absolute paths I used the command A_LoopFileLongPath and it parsed the right thing to the emulator. It also needed "" around the Xbe path so here's the final code: fullPath = %1% SplitPath, fullPath,,,,romName RunWait, "I:\LaunchBox\ThirdParty\7-Zip\7z.exe" x -y -o"I:\LaunchBox\ThirdParty\7-Zip\Temp\%romName%" "%1%",,hide xbeFile = I:\LaunchBox\ThirdParty\7-Zip\Temp\%romName%\default.xbe Loop, Files, %xbeFile%, FR xbeFilePath .= A_LoopFileLongPath RunWait, "I:\LaunchBox\Emulators\CXBX-R\CXBX.exe" "%xbeFilePath%", 1 FileRemoveDir, "I:\LaunchBox\ThirdParty\7-Zip\Temp\%romName%" Thank you so much for your help, I'm a complete muppet at this stuff but you gave me the guidance to figure it out.
  7. The MsgBox comes up with nothing, then CXBX starts but no loading of xbe's or errors. I think it must come down to the way CXBX handles the command line, I read somewhere that it needs absolute paths to load. What I noticed was that if I put anything infront of %xbeFilePath%, for example I put a - , that CXBX would throw up an error saying it couldn't load - so I think it must be ignoring %xbeFilePath%. I'll have to look in to how it handles paths.
  8. Unfortunately, this seems to just open the emulator but not open the xbe, it doesn't throw up any errors either. There is only the one defualt.xbe in this example, some things I then tried: I tried changing FR to DFR, and that made no difference. I thought that maybe xbeFilePath .= should have been := and changed that but it made no difference either. I tried changing A_LoopFilePath to A_LoopFileDir with the same result. I added this line above the xbeFile line: SetWorkingDir, I:\LaunchBox\ThirdParty\7-Zip\Temp\%romName%\ with no change either. I then changed all those things back to what you had. I was looking at this line: "xbeFile = I:\LaunchBox\ThirdParty\7-Zip\Temp\%romName%\default.xbe" and wondering if it needs to have the other directory in there after %romname% which is the crux of the issue anyway. Someone on the AHK discord said I could use a WatchDirectory script to get the name of the folder, but I like the idea of just searching for the default.xbe because 99.9% of disc images are like that I think.
  9. Thanks, I have slimmed down the script with no need to rename the xbe and I know what the problem is, just not how to fix it. fullPath = %1% SplitPath, fullPath,,,,romName RunWait, "I:\LaunchBox\ThirdParty\7-Zip\7z.exe" x -y -o"I:\LaunchBox\ThirdParty\7-Zip\Temp\" "%1%",,hide RunWait, "I:\LaunchBox\Emulators\CXBX-R\CXBX.exe" "I:\LaunchBox\ThirdParty\7-Zip\Temp\%romName%\default.xbe", 1 ;FileRemoveDir, "I:\LaunchBox\ThirdParty\7-Zip\Temp\%romName%" So basically the issue is that the rom file, for examples sake, is called "Futurama [!].7z" but the folder inside the archive doesn't contain the [!] on the end, it's just Futurama. So if in between those two RunWait commands if I can tell the script to delete the [!] from directory name, or just use the extracted directory name instead of %romName%, I think it should work. Any idea how I can accomplish that?
  10. Thanks for helping mate. Here is what I've got now: ; %1% = "I:\LaunchBox\Games\Microsoft Xbox\my_game.zip" MsgBox, %1% SplitPath, %1%,,,,romName ; romName = my_game MsgBox, %romName% RunWait, "I:\LaunchBox\ThirdParty\7-Zip\7z.exe" x -y -o "I:\LaunchBox\ThirdParty\7-Zip\Temp\%romName%\" "%1%",,hide if FileExist("I:\LaunchBox\ThirdParty\7-Zip\Temp\%romName%\default.xbe") { MsgBox, It exists FileMove, "I:\LaunchBox\ThirdParty\7-Zip\Temp\%romName%\default.xbe", "I:\LaunchBox\ThirdParty\7-Zip\Temp\%romName%\%romName%.xbe", 1 } RunWait, "I:\LaunchBox\Emulators\CXBX-R\CXBX.exe" "I:\LaunchBox\ThirdParty\7-Zip\Temp\%romName%\%romName%.xbe", 1 ;FileRemoveDir, "I:\LaunchBox\ThirdParty\7-Zip\Temp\%romName%" So far I get an error on the line with SplitPath, saying there is an illegal character so I looked up that command and I don't know what the illegal character is. I commented that line out to see what happens after and it looks like 7zip didn't extract anything but the rest of the script did send to cxbx to load nothing.xbe, where nothing is literally nothing, just .xbe. I'm assuming this is probably because of not running the SplitPath command. Thanks again for your help.
  11. Ok, I've been looking at this problem for a bit, I asked if anyone could help but no one responded which is all good. Best to try and figure out things yourself, so I have had an attempt and failed miserably. My xbox roms are zipped up, I'm trying to find the file default.xbe in the directory it extracts to and rename it to the name of the rom that LB sends to CXBX-R. Here is what I've got: currGame := Microsoft Xboxxml.Read(Title, "currGame",,,1) romName := "I:\LaunchBox\ThirdParty\7-Zip\Temp\%currGame%\default.xbe" if FileExist(romName) { FileMove, romName, currGame, 1 } It seems to run, doesn't error out but when I look at the directory it doesn't change the name from default.xbe and then says it can't be found in CXBX-R and exits the emulator. Any help would be greatly appreciated and also a way to have a relative path to the extracted rom instead of the full path.
  12. Could anyone help me with a script? I'm loading up Cxbx-R and all my roms are zipped, so LB/BB sees the name of the game like Futurama for example and extracts the image. The problem is that launchbox tries to parse the rom name but on all xbox discs the executable is called default.xbe and not futurama.xbe. So I was thinking I could use a script that either renames the default.xbe to the rom name or sends a command to the emulator telling it to just run default.xbe instead. Is this possible? Something like: if default.xbe exists then rename to romname and run
×
×
  • Create New...