Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - prefor

Pages: [1]
1
General / Re: Portable mode or relative paths
« on: July 03, 2020, 11:06:21 AM »
Could someone please help me?

I'm using these Codes

Code: [Select]
# Generated by Attract-Mode v2.6.1
#
executable           ..\emulators\retroarch\retroarch.exe
args                 -L cores\snes9x2010_libretro.dll "[romfilename]"
rompath              \AttractMode\roms\Super Nintendo Entertainment System\
romext               .smc;.zip
system               Super Nintendo (SNES)
info_source          thegamesdb.net
artwork    flyer           ..\AttractMode\roms\Super Nintendo Entertainment System\media\flyer
artwork    marquee         ..\AttractMode\roms\Super Nintendo Entertainment System\media\marquee
artwork    snap            ..\AttractMode\roms\Super Nintendo Entertainment System\media\snap
artwork    wheel           ..\AttractMode\roms\Super Nintendo Entertainment System\media\wheel

All the artworks work well when i write "..\AttractMode\roms...." But not when i write "..\roms" for some reason.

But i can't get Retroarch to work :(
I've tried

Code: [Select]
executable           ..\emulators\retroarch\retroarch.exe
args                 -L cores\snes9x2010_libretro.dll "[romfilename]"
rompath              \AttractMode\roms\Super Nintendo Entertainment System\

Code: [Select]
executable           ..\AttractMode\emulators\retroarch\retroarch.exe
Code: [Select]
executable           ..\..\AttractMode\emulators\retroarch\retroarch.exe
Code: [Select]
executable           ..\..\emulators\retroarch\retroarch.exe
Nothing seems to work :(

The program can find my roms but for some reason i can't launch any game, Retroarch just crashes (it blinks for like 1 seconds) and brings me back to AttractMode. Please anyone :(

2
General / Re: jagged edges on higher resolution wheels
« on: June 08, 2020, 11:36:55 AM »
Trying to update some of my wheels.  I am using a higher resolution template for my wheel and I am getting pretty sever 'jaggies' on the outer curves of the wheels.  I know it has to do with AM resizing the theme but can't figure out how to resolve it.

You can see the difference here in the 'collections' wheel and the newer 'arcade' wheel

Any help is greatly appreciated.

Thanks,

Where can I get those wheels? They look good :O

3
General / Re: Launching ePSXe using .bat?
« on: June 08, 2020, 08:23:39 AM »

or you can use commandline paremeters direct in AM.
I'm using this config for my OpenBOR-Games:
Code: [Select]
executable           cmd
args                 /c cd C:\attract\EMU\OpenBOR\[name] & start OpenBOR.exe & start C:\attract\EMU\OpenBOR\wait_for_ESC.exe
rompath              C:\attract\EMU\OpenBOR
romext               <DIR>

---------------------------------------------

UPDATE

I just want to write that i finally managed to fix it thanks to your tip! :D

I was missing something that's why it didn't work, but here is the complete code if anyone have similar problem.
Whenever i launch a game through AM, Antimicro/Xpadder/Joy2key launches. And whenever i close the game, Antimicro also closes. With this, my configured keys in antimicro will close all together and won't interfere the hotkeys i have in Retroarch if I change game or emulator :)

Code: [Select]
# Generated by Attract-Mode v2.6.1
#
executable           cmd
args                 /c cd C:\AttractMode\emulators\Playstation\ & start antimicro.exe --no-tray & start /WAIT ePSXe.exe -nogui -loadbin "[romfilename]" & Taskkill /F /IM antimicro.exe
rompath              C:\AttractMode\roms\Playstation\
romext               .cue;.PBP;.iso
system               Sony Playstation
info_source          thegamesdb.net
artwork    flyer           C:\AttractMode\roms\Playstation\media\flyer
artwork    marquee         C:\AttractMode\roms\Playstation\media\marquee
artwork    snap            C:\AttractMode\roms\Playstation\media\snap
artwork    wheel           C:\AttractMode\roms\Playstation\media\wheel

Thank you very much @hermine.potter :D

4
General / Re: Launching ePSXe using .bat?
« on: June 08, 2020, 01:02:49 AM »
Hi.
[romfilename] is an "attractmode-specific" variable.
external programs cant deal with it.
you have to do it with a parameter transfer via commandline parameters : %1

1) direct batch start:
for example to start notepad via batch file direct:
Code: [Select]
@echo off
notepad


2) start batchfile Test123.bat and give notepad as parameter to this file Test123.bat:
using first commandline parameter:
Code: [Select]
@echo off
%1

If you goto commandline and type : Test123.bat notepad

the batchfile Test123.bat starts.
get notepad as parameter
and replace %1 with notepad



or you can use commandline paremeters direct in AM.
I'm using this config for my OpenBOR-Games:
Code: [Select]
executable           cmd
args                 /c cd C:\attract\EMU\OpenBOR\[name] & start OpenBOR.exe & start C:\attract\EMU\OpenBOR\wait_for_ESC.exe
rompath              C:\attract\EMU\OpenBOR
romext               <DIR>

Thank you very much for replying! You have no idea how much I have played around with the dam codes! xD
Everything works smoothly with the others emulators except this one :P

I'm not 100% sure I understood about the %1 and what command I should use to get similar to mine, but I will see what i can do about it when I get home. :)

Hmm I didn't know we could use commandline parameters in AM directly.

But will it work even if I put the /Wait command and Taskkill /IM Antimicro.exe /F ??

I want it to force taskkill Antimicro when I close ePSXe emulator.

5
I know this is an old thread and OP won't answer, but I'm at the same situation, but I'm using ePSXe instead... Can someone help?

As OP wrote, "/path/to/rom/folder/"[romfilename]" doesn't work unless we remove the "[ROM filename]" and specify it with a game. But if I do that, all the game that I choose will play that specific game... Any workaround this please?

6
General / Launching ePSXe using .bat?
« on: June 07, 2020, 12:40:34 PM »
Hello i'm trying to run my PSX games through a .bat file.

The only reason why i want to to run it through .bat file is because i can open 2 programs simultaneously or together, in this case both ePSXE and Antimicro.
I have configured Antimicro so i can save state and load state using my controller.

This is the code i wrote:

Code: [Select]
@ECHO OFF

start /d "C:\AttractMode\emulators\Playstation\antimicro" antimicro.exe
start /WAIT /d "C:\AttractMode\emulators\Playstation" ePSXe.exe -nogui -loadbin "[romfilename]"

Taskkill /IM Antimicro.exe /F


When i try to launch a game in Attract Mode, both Antimicro and ePSXe launches just fine, BUT i only get a black screen in ePSXe and nothing more. I don't think it loads the game correctly somehow.

I dont think "[romfilename]" work unless we remove the "[romfilename]" and specify it with a game. But if I do that, all the game that I choose will play that specific game...
Does someone know how i can fix this problem?

Or if there is an easier way for Antimicro to open whenever i launch a PSX game? :)

Pages: [1]