Tutorials or Guides

Having technical difficulties with Supermodel? Last-minute wardrobe malfunction? Get help here.
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!

Tutorials or Guides

Postby zeonotaku » Sat Sep 26, 2020 9:27 am

I'm pretty new to Supermodel but I've always wanted to emulate The Lost World: Jurassic Park - my most favorite of arcades.

I have an Aimtrak lightgun and wondering if there are any guides how to set it up to work with Supermodel for shooting off screen to reload, or even using one of the side buttons to reload.

How about Ocean Hunter? How to set up the Aimtrak for that or guides on getting it to emulate properly?

I also plan on trying to use an Xbox 360 controller for Star Wars Arcade.

Just any beginners help for understanding the config.ini would be greatly appreciated.
zeonotaku
 
Posts: 2
Joined: Sat Sep 26, 2020 9:13 am

Re: Tutorials or Guides

Postby Bart » Sat Sep 26, 2020 10:50 am

Well, the README.txt although slightly out of date is a pretty comprehensive reference. Read that first. The main difference these days is that *all* options, including inputs, can be defined per-game under game-specific section headers.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Tutorials or Guides

Postby sahel » Sun Nov 15, 2020 11:00 am

I can tell about my experience regarding "The Lost World" game. (note that English is not my first language, sorry!)
First of all, I did compile the emulator following the official guide by myself because it did not work on my rig initially.
This means that my version is the 833 and I don't know if this method work with older/newer supermodel versions.

Second, even if the UI is useful and I really appreciate it, starting the Supermodel on a Windows prompt is what I did with this particular game.
So I keep a folder with the emulator and just the "Lost World" rom and start it with a .bat file (that I will write the code for at the end of the post) avoiding to write all the stuff (it's not much but I'm lazy) each and every time I want to play.

Here is what I did:
Being that the ID of Aimtrak guns may vary, depending on what Windows assign to them and by the order in which you connect them compared to other devices, and being that I made them work as raw inputs, I first started the command line that let's you configure your devices. So I opened a prompt (Start ---> "cmd") in Windows, went into the emulator directory and launched:

supermodel -input-system=rawinput -config-inputs

Following instructions (remember to click on the window border of the prompt itself dragging it on the front or your inputs will not be reconnaized) I've been able to understand that my Aimtrak gun 1 is equivalent to mouse2 and the gun 2 is mouse3. By the way, if you press ESC as stated in istructions, it will not save your inputs but still act as a safe method to understand which gun is what (like mouse2, mouse3, mouse1, etc...).
Knowing this I went to Supermodel.ini, opened it with a text editor and modified these values (I did it manually because setting an axis moving an Aimtrak gun on screen may prove it challenging...):

InputGunLeft = "MOUSE2_XAXIS_INV"
InputGunRight = "MOUSE2_XAXIS"
InputGunUp = "MOUSE2_YAXIS"
InputGunDown = "MOUSE2_YAXIS_INV"
InputGunX = "MOUSE2_XAXIS"
InputGunY = "MOUSE2_YAXIS"
InputTrigger = "MOUSE2_LEFT_BUTTON"
InputOffscreen = "MOUSE2_RIGHT_BUTTON"

and

InputGunLeft2 = "MOUSE3_XAXIS_INV"
InputGunRight2 = "MOUSE3_XAXIS"
InputGunUp2 = "MOUSE3_YAXIS"
InputGunDown2 = "MOUSE3_YAXIS_INV"
InputGunX2 = "MOUSE3_XAXIS"
InputGunY2 = "MOUSE3_YAXIS"
InputTrigger2 = "MOUSE3_LEFT_BUTTON"
InputOffscreen2 = "MOUSE3_RIGHT_BUTTON"

I saved and opened "Games.xml" file with a text editor as well (you may have to change both .xml and .ini file TEMPORARILY to .txt to be able to edit them with, let's say, Notepad..)
In "Games.xml" I found settings for the rom I needed ("lostwsga") and modified the code as follows:

<inputs>
<input type="rawinput" />
<input type="gun1" />
<input type="gun2" />
<input type="common" />
</inputs>

Than saved and closed.
Finally I created a .txt file inside the emulator folder, (where the supermodel.exe file is) and typed on it:

supermodel lostwsga.zip -input-system=rawinput -res=1360,768 -wide-screen -fullscreen

saved it as "lost.txt", changed the name in "lost.bat" and created a shortcut to it.
That's all! :mrgreen:

Note: with this configuration you need to press the button corresponding to the "right mouse button" on the gun AND the trigger, WHILE you are pointing the screen to reload. I don't know why but the off-screen reload does not work anymore as I set it (I set the AimTrak app so when I point the screen the trigger is "mouse left" and when I point away the trigger is "mouse right" but supermodel doesn't give a f**k about it. If someone care to explain why or cares to fiddle a little more and find a solution, be free to add to this post).

Note2: the options I added to my "lost.bat" file are fit for my needs. Whatever you add or remove DO NOT remove the "-input-system=rawinput" part or Aimtrak guns will not work.

Note3: I don't know and don't care if this or a similar method works for "L.A. Machine Guns" or "The Ocean Hunter".

Note4: this is NOT a tutorial. Just my experience as a user. If someone fucks his/her copy of supermodel, know that I AM NOT RESPONSIBLE.
sahel
 
Posts: 10
Joined: Wed Apr 08, 2020 2:56 am

Re: Tutorials or Guides

Postby BullClip » Sat May 08, 2021 10:45 pm

Hi,

Thanks for your guide. Most helpful and I was able to get it to work.

AND I have a solution for your shoot offscreen to reload problem!!

Set

InputAutoTrigger = 0 to InputAutoTrigger = 1

and

InputAutoTrigger2 = 0 to InputAutoTrigger = 1

Hope you see this and thanks again!!!
BullClip
 
Posts: 1
Joined: Sat May 08, 2021 6:32 pm


Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest

cron