Newbie trying to get Star Wars Trilogy to work on Ubuntu

Linux geeks and Mac OS hipsters unite! A board for discussion of Supermodel on non-Windows platforms.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Newbie trying to get Star Wars Trilogy to work on Ubuntu

Postby pup975 » Sat Aug 22, 2020 6:42 pm

I'm trying to get my Arcade1Up mod to play Star Wars Trilogy since my kids would love to play this. I'm a bit new to all of this. I've got an HP x86 running Ubuntu in the cab running Retropie. I've got the Star Wars Trilogy ROM. I just can't figure out how to install Supermodel3 on Linux and run the ROM. I've gone through the steps on http://www.supermodel3.com/Forum/viewtopic.php?f=7&t=311, but I can't seem to get step 2 to work. Can someone give me a step by step instructions on how to load and run the game as well as what to do with mapping my joystick and buttons on the cab to Supermodel? Thanks!
pup975
 
Posts: 13
Joined: Thu Aug 20, 2020 5:09 pm

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

Postby Bart » Sat Aug 22, 2020 7:02 pm

What doesn't work? Post screenshots or terminal output.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

Postby rokfpoewrkcpoqwkcp » Sun Aug 23, 2020 4:31 am

rokfpoewrkcpoqwkcp
 
Posts: 119
Joined: Mon Nov 18, 2019 3:40 pm

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

Postby TheOldDragon » Sun Aug 23, 2020 5:19 am

Yes, the instructions in the first post are old / out of date.

The latest SVN versions builds fine for me [on Ubuntu 20.04 and PopOS! 20.04]. I posted some updates later in that same topic...
TheOldDragon
 
Posts: 62
Joined: Sat May 30, 2020 5:39 am

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

Postby pup975 » Sun Aug 23, 2020 12:41 pm

Thanks. I did get it to the part when I run the program. However, I can't get it to run. The path to my ROMS foler is home/arcade1up/Supermodel/ROMS/swtrilgya.zip when I drag the zip file into terminal. Here's what I've tried so far:

arcade1up@Linux:~/model3emu-code$ cd bin
arcade1up@Linux:~/model3emu-code/bin$ cp ../Config/Supermodel.ini Config
arcade1up@Linux:~/model3emu-code/bin$ ./Supermodel '/home/arcade1up/Supermodel/ROMS/swtrilgya.zip'
bash: ./Supermodel: No such file or directory
arcade1up@Linux:~/model3emu-code/bin$ '/home/arcade1up/Supermodel/ROMS/swtrilgya.zip'
bash: /home/arcade1up/Supermodel/ROMS/swtrilgya.zip: Permission denied
arcade1up@Linux:~/model3emu-code/bin$ ./Supermodel ./ROMS/swtrilgya.zip
bash: ./Supermodel: No such file or directory
arcade1up@Linux:~/model3emu-code/bin$ ./home/arcade1up/Supermodel/ROMS/swtrilgya.zip
bash: ./home/arcade1up/Supermodel/ROMS/swtrilgya.zip: No such file or directory
arcade1up@Linux:~/model3emu-code/bin$ cd
arcade1up@Linux:~$ ./home/arcade1up/Supermodel/ROMS/swtrilgya.zip
bash: ./home/arcade1up/Supermodel/ROMS/swtrilgya.zip: No such file or directory
arcade1up@Linux:~$ ./Supermodel ./ROMS/swtrilgya.zip
bash: ./Supermodel: Is a directory
arcade1up@Linux:~$ ./Supermodel
bash: ./Supermodel: Is a directory
arcade1up@Linux:~$ ./home/arcade1up/Supermodel/ROMS/swtrilgya.zip
bash: ./home/arcade1up/Supermodel/ROMS/swtrilgya.zip: No such file or directory
arcade1up@Linux:~$ ./Supermodel/ROMS/swtrilgya.zip
bash: ./Supermodel/ROMS/swtrilgya.zip: Permission denied
arcade1up@Linux:~$ ./Supermodel ROMS/swtrilgya.zip
bash: ./Supermodel: Is a directory
arcade1up@Linux:~$
pup975
 
Posts: 13
Joined: Thu Aug 20, 2020 5:09 pm

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

Postby Bart » Sun Aug 23, 2020 3:32 pm

Okay whoa. First of all, use 'ls' to figure out what is in each directory :) That will help you a lot. You're flying blind here. I think you might find that the filename is lowercase to begin with. Also, rather than copying the config into the bin directory (which is just a build output directory), I would recommend copying the binary out into the root model3emu-code directory. In fact, I would actually create an entirely separate Supermodel directory and put the binary there. Then, I would move over the Config and NVRAM subdirectories over there.

Secondly, you can't execute ROM files.

Try making sure you can run Supermodel first (e.g., "./supermodel" if you are in the correct directory). Then, you can append a ROM path. I would move that "supermodel" binary into a different directory first, though.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

Postby TheOldDragon » Sun Aug 23, 2020 7:30 pm

pup975 wrote:Thanks. I did get it to the part when I run the program. However, I can't get it to run. The path to my ROMS foler is home/arcade1up/Supermodel/ROMS/swtrilgya.zip when I drag the zip file into terminal. Here's what I've tried so far:
$


Here's a step-by-step to get you going:

It appears that your username is "arcade1up", so:
- your build location is:
Code: Select all
~/model3emu-code/         [ full path : /home/arcade1up/model3emu-code/  ]

- your "game" location is:
Code: Select all
~/Supermodel/                 [full path :  /home/arcade1up/Supermodel/   ]

[As you can see above, on unix-alike OSs, the tilde ( ~ ) represents a shortcut to you home directory. so "~/" is the equivalent of, and interchangeable with, "/home/arcade1up/"....

Here you go:
Create a game directory [it could be anything you like, but looks like you've already tried something like this] [BTW, the command will probably fail as the folder already exists, but that's fine..]
Code: Select all
mkdir ~/Supermodel

Copy the executable file and Config folder, and make an empty NVRAM folder, and finally create a ROMS folder (again, this final command will likely fails as the folder already exists, but no harm if it does)
Code: Select all
cp ~/model3emu-code/bin/supermodel ~/Supermodel/
cp -r ~/model3emu-code/Config ~/Supermodel/
mkdir ~/Supermodel/NVRAM
mkdir ~/Supermodel/ROMS

Copy the Star Wars.zip rom file to the ROMS folder [it should already be there, but just in case].... You can use the file browser for this if needed...
Finally, run the executable. I'm assuming you want fullscreen at 1080p - if not, leave out the "-fullscreen" option, and/or change the resolution to 1280,720 or whatever...
Code: Select all
cd ~/Supermodel/

./supermodel ./ROMS/swtrilgya.zip -show-fps -fullscreen -res=1920,1080 -wide-screen


Hope this helps.
TheOldDragon
 
Posts: 62
Joined: Sat May 30, 2020 5:39 am

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

Postby pup975 » Tue Aug 25, 2020 7:11 pm

Thanks! Got it working except for I only get a black screen when the game starts to play. I see the start up screen and when the game starts to play, I only see the score and the shield. Tried downloading Rally 2 and same thing, just see the background when on the screen to select a race and car. Is my computer graphics card just not robust enough to render the 3D images?

Here's my OpenGL info (at least I think this is what I'm supposed to find according to the Supermodel FAQ page):
GLX version: 1.4
Max core profile version: 4.5
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.0.8
OpenGL core profile shading language version string: 4.50
OpenGL version string: 3.0 Mesa 20.0.8
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.0.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
GL_EXT_shader_implicit_conversions, GL_EXT_shader_integer_mix,
Last edited by pup975 on Tue Aug 25, 2020 7:32 pm, edited 1 time in total.
pup975
 
Posts: 13
Joined: Thu Aug 20, 2020 5:09 pm

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

Postby Bart » Tue Aug 25, 2020 7:17 pm

Sega Rally 2 and Star Wars have this behavior. You must wait until 3D graphics show up on screen in attract mode before coining up. Now that you’ve coined up too early the games save the coin state in NVRAM. Delete NVRAM by pressing Alt-N and then reset the machine with Alt-R and wait for some 3D graphics to appear before coining up.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

Postby pup975 » Tue Aug 25, 2020 7:50 pm

Tried that and still got nothing. Same thing happens with Dayton USA. Just see background graphics. This is my graphics card info:

VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
DeviceName: Onboard IGD
Subsystem: Hewlett-Packard Company Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
pup975
 
Posts: 13
Joined: Thu Aug 20, 2020 5:09 pm

Next

Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 0 guests

cron