Adding a Port
-
@Syhles Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first
You have provided nothing to go on. How do you launch the game manually from terminal ? What script did you add to ports to try and get it to run? What error do you get when launching (runcommand log).
-
@BuZz
I apologise.
Currently I'm lost I have no terminal command written. I was just using an edit of the cavestory.sh terminal wasn't giving me any errors that I know of, I launch the game and then it crashes back to es. The python and terminal commands are going over my head. Yet again I apologise. -
You need to know how to launch it first a from a terminal. You said
The game will run outside of ES
How are you launching it ? You need to get the commandline to it, and then launch it from a terminal - then you can put that in a launch script.
I need to see your existing launch script too.
-
I'm running it from a file labeled am2r in it's folder by double clicking it. Currently my sh file for it just replaces the CaveStory/Doukutsu.exe with Metroid 2/am2r.
-
@Syhles that wont work - you need to launch it with the full path. I have no idea where your folders/files are.
an example launch script would look like
#!/bin/bash /full/path/to/executable
You may need to do some reading up on linux if you are unsure how to create a full path to the file.
-
@BuZz
I've found the path and successfully launched from the terminal now but I'm still having issues.
My path is ./RetroPie/roms/ports/Metroid2/am2r or /home/ryan/RetroPie/roms/ports/Metroid2/am2r -
@Syhles I need to see your example launch script, as already mentioned. put it in a code block on the forum.
-
This is what I currently have
#!/bin/bash if [[ ! -f "home/ryan/RetroPie/roms/ports/Metroid2/am2r" ]]; then dialog --msgbox "Copy the original Metroid 2 game files to /home/ryan/RetroPie/roms/ports/Metroid2 so you have the file /home/ryan/RetroPie/roms/ports/Metroid2/am2r present." 22 76 else "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ cavestory "home/ryan/RetroPie/roms/ports/Metroid2/am2r" fi
and instead of crashing I get a blue screen with a grey text box telling me the msgbox information "Copy the original Metroid 2 etc."
-
@Syhles I'm getting the feeling you are not reading my posts.
Please wrap code in code blocks - http://commonmark.org/help/
Use the launch script format as I already described above.
eg
#!/bin/bash /home/ryan/RetroPie/roms/ports/Metroid2/am2r
You can't just hack the cavestory script like that.
-
I'm reading it, apparently I just wasn't following what you were saying.
Also now understand the code blocks command now, sorry about that.That launch script worked the game is opening in ES now.
Thank you for walking me through that.Yeah, I realize that now.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.