Sueprmodel doesn´t open games

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!

Sueprmodel doesn´t open games

Postby ajgomes » Mon Sep 06, 2021 11:26 am

Hello everyone;

First of all thank you for supporting the SEGA Model 3 legacy by keeping it alive in emulation form.

I searched the forum and I didn't find any topic on this subject, but if there is one already, my apologies.
So, I downloaded the latest supermodel buil with the SEGA Model 3 UI from the catwalk (thanks for that!!), but I ran into some problems while trying to boot games.
Whenever I try to load a game using the UI, the game doesn't load and the following message appears:


[Info] Supermodel Version 0.3a-WIP
[Info] Started as:
[Info] argv[0] = Supermodel.exe
[Info] argv[1] = D:\Joel\Emulação\SEGA\Supermodel-x64-r862 Release + Sega Model 3 UI\ROMs\daytona2.zip
[Error] Could not open 'D:\Joel\Emulação\SEGA\Supermodel-x64-r862 Release + Sega Model 3 UI\ROMs\daytona2.zip'.


Supermodel isn't working with the comand line neither with "drag and drop". It just shows a comand line for a split second and then it crashes. I also tried to set it up with launchbox and the same happens.
If anyone could help me out, I would really apreciate it!

Thanks in advance!!
ajgomes
 
Posts: 3
Joined: Sun Sep 05, 2021 3:03 pm
Location: Portugal

Re: Sueprmodel doesn´t open games

Postby Bart » Fri Sep 10, 2021 9:21 pm

Is the game actually at that location?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Sueprmodel doesn´t open games

Postby PDNEJOH » Fri Sep 10, 2021 11:38 pm

Also, can you try to launch the emu from the directory that didn't use non-english characters?
User avatar
PDNEJOH
 
Posts: 68
Joined: Thu Mar 22, 2012 2:42 am
Location: Indonesia

Re: Sueprmodel doesn´t open games

Postby orimarc » Sat Sep 11, 2021 4:17 am

Try changing the "Emulação" (emulaçáo?) folder name.
User avatar
orimarc
 
Posts: 115
Joined: Tue Sep 27, 2011 9:17 am

Re: Sueprmodel doesn´t open games

Postby ajgomes » Sat Sep 11, 2021 6:10 am

Bart wrote:Is the game actually at that location?


It is. I have the Model 3 complete romset at that location and I didn't delete the DIR file on the folder either.

I'm going to try to use an english characters only file direction to see if it does the trick.
ajgomes
 
Posts: 3
Joined: Sun Sep 05, 2021 3:03 pm
Location: Portugal

Re: Sueprmodel doesn´t open games

Postby ajgomes » Sat Sep 11, 2021 6:33 am

Ok, so I changed the rom directory to english characters only and now the supermodel emulator works!!!!


Thank you all for your help and suggestions!!!!
ajgomes
 
Posts: 3
Joined: Sun Sep 05, 2021 3:03 pm
Location: Portugal

Re: Sueprmodel doesn´t open games

Postby Ian » Sat Sep 11, 2021 12:35 pm

Windows uses utf16, not sure how the command lines are being handled without looking at the code
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Sueprmodel doesn´t open games

Postby Ian » Sun Sep 12, 2021 3:40 am

I think to fix this we could use a few ifdefs
Need to define a wmain for utf16 for windows instead of main

Then I would convert the text from utf16 to utf8
We could abstract fopen to use the widechar versions after converting back to utf16
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Sueprmodel doesn´t open games

Postby Bart » Sun Sep 12, 2021 7:26 pm

Ian wrote:I think to fix this we could use a few ifdefs
Need to define a wmain for utf16 for windows instead of main

Then I would convert the text from utf16 to utf8
We could abstract fopen to use the widechar versions after converting back to utf16


Making it a proper Win32 application isn't a bad idea. Someone was requesting console window suppression. The only way to do that is to make it a Win32 app and then add an option to open a console window for stdout by default.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Sueprmodel doesn´t open games

Postby Bart » Sun Sep 12, 2021 7:27 pm

Ian wrote:I think to fix this we could use a few ifdefs
Need to define a wmain for utf16 for windows instead of main

Then I would convert the text from utf16 to utf8
We could abstract fopen to use the widechar versions after converting back to utf16


IIRC, all of this should be constrained to Main.cpp because core Supermodel doesn't actually manipulate file paths anywhere (unless I am mistaken), right?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada


Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest

cron