Main > Software Forum
Sega Model 2 Emulator Full Screen Shooter fix - RamjetM2Borderless - App
<< < (75/78) > >>
Howard_Casto:
Ok so I gave up on doing it the right way. 

I made a stub exe file that launches ts2 and closes itself.  Not very elegant, but model 2 is already a hacked up mess anyway. 

I ran into a bug or two as well.  I fixed those up and I managed to write a test script that successfully uses my stub to launch ts2 and everything works fine. 

So I'll write the functions to generate the scripts. 


I'm probably going to wait until this evening..... spent waaaay to much time fixing a particular bug and now my brain is fried. 
nipsmg:
Thanks for all the hard work man.
Howard_Casto:
Ok, the setup functions are 90% done.  I'll finish those up after I eat. 

It will still need testing though.  I'm copying over scripts and cfg files, so I want to make sure I don't screw anything up. 
RamjetR:

--- Quote from: Howard_Casto on March 01, 2013, 10:15:56 am ---Congrats man!


You might be wondering why I haven't released anything yet..... well I've run into another issue.  lua's os.execute isn't working properly for me. 

I can launch a exe from the model2 folder just fine, but ts2 has a lot of files and stuff so it needs a separate directory.  When I try to pass the path, nothing happens.  So I tried a batch file... when the batch file launches, the game feezes  like it's waiting to finish. 

Short of writing a exe to launch the other exe, I'm out of ideas in regards to a solution that launches everything cleanly.

--- End quote ---

Thanks all :)

When I launched the OSexecute, I kept the exe main in the main folder and sub pathed the icons any any fluffy stuff to it's own path folder in AHK. With the borderless app it would then launch and collate anything it needs to on the fly. It's clean and works fine.

Using that command on a bat file would open a cmd window and execute the batch, but without explicitly telling it to exit in the batch or manually closing the cmd window, it would wait and appear to hang until it was closed. For my app, I just waited untill it saw a cmd window title bar, waited a second to do it's thing and then force closed the window. All good and went on as normal to run the game.

You can have the source of the borderless app if you like. It looks like TS2 is going to superseed it's need anyway and it might be helpful for others to make your own app.

Ramjet
Howard_Casto:
eh... Ts2 really needs to be in it's own world.  It works for pc games as well after all.  I also expect it to be useful for the racing scene particularly for pc games like outrun 2k6.... if we ever get the time to map the outputs.  ;)

The stub exe is working fine, it's just dumb to have to use a exe to launch another exe, but I guess for a pseudo language like lua we should be thankful that we can launch stuff at all. 


On a side note, just installed IE 10 as it's finally out for windows 7.  HTML 5 and JavaScript support are vastly improved.  Everything is quicker as well.  I highly recommend it. 
Also it has auto spell check for all pages like Chrome, so expect my posts to be legible.  ;)

The app is done now... FINALLY.  The readme.txt still needs to be fleshed out a little so people will know how to use it.  I will work on that later and release tonight.  I wish I could have made setup a bit easier but with all the model 2 madness there's just no way.  Unfortunately I'm sure further tweaks and/or additions to the app will be required in the future.  I stupidly thought this was going to be a two week project.  What has it been?  3 MONTHS?
Navigation
Message Index
Next page
Previous page

Go to full version