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 - IceLancer

Pages: 1 [2] 3
16
:) Good, i love it
Apparantly i forgot to make cmd window minimized
need this at header
if not DEFINED IS_MINIMIZED SET IS_MINIMIZED=1 && start "" /min "%~dpnx0" %* && exit
Cant use minimize, attract will take over control
and just to be on safe side for front ends which might resume work on background a start "" /WAIT is needed, editing main post :)

------
It would be awesome if someone would know how to make a crawler  for game folders to make this automatic :)

17
Hello there!

Here it is,
PC Games:
write file Angry Birds.bat
and put it in root of ur PC GAMES folder
Apparently Attract Mode is heaving issue with BAT command start MINIMIZED. If its used in script AM will keep on running in background.. i am not sure how to resolve issue, for now minimized cant be used
Code: [Select]
@echo off
set "GAMENAME=AngryBirds.exe"
set "GAMEPATH=Angry Birds\Angry Birds\"
set HOME="%~dp0"
set "GAMEROOT=%~dp0%GAMEPATH%"
cd %GAMEROOT%
start "" /WAIT "%GAMEROOT%%GAMENAME%"
exit

CEMU:
write file New Super Mario Bros U.bat
and put it in root of ur WiiU folder
Code: [Select]
@echo off
set "GAMENAME=red-pro2.rpx"
set "GAMEPATH=Roms\New Super Mario Bros U\code\"
set "CEMUPATH=..\..\Emulators\Cemu\"
set "ROM=%~dp0%GAMEPATH%"
set HOME="%~dp0"
set "EMUROOT=%~dp0%CEMUPATH%"
cd %EMUROOT%
start "" /WAIT "%EMUROOT%Cemu.exe" -g "%ROM%%GAMENAME%" -f
exit

Budford:
Code: [Select]
@echo off
set "GAMENAME=U-King.rpx"
set "GAMEPATH=Roms\The Legend of Zelda Breath of the Wild [ALZP0101]\code\"
set "CEMUPATH=..\..\Emulators\Cemu\Budford\"
set "ROM=%~dp0%GAMEPATH%"
set HOME="%~dp0"
set "EMUROOT=%~dp0%CEMUPATH%"
cd %EMUROOT%
start "" /WAIT "%EMUROOT%Budford.exe" "%ROM%%GAMENAME%"
exit

It is compatible across front-ends. ES/HS/AM.It is portable proof as well.

Now some explanation:
Point of origin is where .bat file is located. So always look from that point of view.(Also always point front-ends to those .bat files.)
Now example in pc games. C:/some folder/some folder/pc games(bat files here)/Angry Birds/Angry Birds/AngryBirds.exe
So from .bat point of view u start where they are. So GAMEPATH=Angry Birds\Angry Birds\
Simple isnt it?
So even if u move games to any other folder and or hard disk (drive/letter) and move bat files from their root with them , games will always work if you point frontend to those bat files.

---
Now in case of CEMU it gets slightly more complicated, simply because i keep my emulator for CEMU in totally different folder not linked to folder where my games are.Simply because i love structuring them the way i am :)

SO, from bat point of view:

set "CEMUPATH=..\..\Emulators\Cemu\"
(..\..\)  meaning:    (return folder up \return folder up\ )
then go folders forward (Emulators\Cemu\)

Example:
somefolderX/roms/wiiugames(bat files here)
..\
somefolderX/roms/
*again*
 ..\
somefolderX

Now going forward:
somefolderX/Emulators/Cemu/

Simple isnt it?
Just edit
GAMENAME
GAMEPATH
CEMUPATH
per instructions.
And Enjoy!

If u attempt differently great deal of problems may occur. Even some games will not work because they will look for their config or related files in wrong folders.

P.S
Happy NEW Year!

.....i need bigger signature space..

P.P.S
...some may need this too

ES:
Code: [Select]
    <system>
        <name>PC Games</name>
        <fullname>PC Games</fullname>
        <path>PC GAMES PATH</path>
        <extension>.bat</extension>
        <command>"%ROM_RAW%"</command>
        <platform>pc</platform>
        <theme>pc</theme>
    </system>

AM:
Code: [Select]
executable           cmd
args                 /c "[romfilename]"
rompath              PC GAMES PATH
romext               .lnk;.bat;.cmd

HS:
Code: [Select]
[exe info]
path=
rompath=PC GAMES PATH
userompath=true
exe=
romextension=bat
parameters=
searchsubfolders=true
pcgame=true
winstate=HIDDEN
hyperlaunch=false
Edit PC GAMES PATH to match where u stored bat files , usually root where games for system are :)
Use the exact same config for both PC games AND Cemu, because they use bat files they should behave like they are activating PC games
NOTE:
You can use relative paths for emulationstation game rom path as well.
Example : (es_systems.cfg)
Code: [Select]
<path>..\..\Roms\PC Games</path>

18
General / Re: Hyperspin Theme conversion question - Backgrounds not Showing
« on: December 14, 2017, 11:31:29 AM »
Let's calm down, it seems like a misunderstanding, no need to get up in arms. KTurner was already in the discussion you joined and the topic was that Hyperspin layouts were not loading.

I am calm but even tho his name is in topic his talk and even worse his post suggest like another persona. I assume he forgot what was topic discussion and conclusion and just jumped in with ..preposterous ideas about driver reinstall or other system.. i see people with such notions every day in my life i am sick of it.
Anyway i do not appreciate being called names on forums or otherwise. Some common decency is being called for

19
General / Re: Hyperspin Theme conversion question - Backgrounds not Showing
« on: December 13, 2017, 11:35:27 AM »
I miss understood, You don have to be a jerk about it.
No, u are one being jerk right now. You didnt bothered to read discussion in topic at all which i pointed to you and even said thanks.

20
General / Re: Hyperspin Theme conversion question - Backgrounds not Showing
« on: December 13, 2017, 06:19:51 AM »
My issues was my graphic card drivers were not installed properly. I have everything and I mean everything in folder c:\attract mode. I can copy my whole folder from one pc to another and not have to change a thing. I had one pc that worked great, copied to another pc and the back grounds wouldn't work at all. Reinstalled the driver then everything worked great.
this is totally different issue.Besides we are talking about symlinking hyperspin folder, dont hijack the issue ,thanks

21
General / Re: Hyperspin Theme conversion question - Backgrounds not Showing
« on: December 13, 2017, 05:34:16 AM »
Hey guys, i was playing arround and i just ran across the same issue. Symlinking does seem to break hyperspin loader for themes, i am not certain why. BUT here is it works:
if u unpack theme and it becames folder , AM will load the theme. But if theme is in zip file it will not load

I used print in order to attempt to figure out what is happening.

Loading theme:.../Nintendo 64/Themes/AeroFighters Assault (USA).zip
But zip isnt loading?!?
Now if i unpack that zip
Loading theme:.../Nintendo 64/Themes/AeroFighters Assault/
Theme loads..wtf?

my first thought was admin issues? its not.
AM is maybe trying to unpack zip to the same folder before using artwork inside it and gets denied ? I am not sure
-
now i am even more baffled..
it appears it is parsing theme.xml within zip file
Code: [Select]
parsing XML: <Theme><video w="684"h="524"x="436"y="402"r="0"below="no"forceaspect="none"time="1"delay="0.5"bsize="8"bsize2="14"bsize3="22"bcolor="13158"bcolor2="16777215"bcolor3="13158"bshape="round"type="none"start="bottom"/><artwork2 x="453" y="120" r="0" time="1" delay ="0.5" type="elastic" start="top" rest="pulse"/><artwork3 x="825" y="378" r="0" time="1" delay ="0.5" type="elastic" start="right" rest="none"/></Theme>
parsing XML: (function : 0x0000000010EEFB50)
parsing XML: (instance : 0x0000000004D6D350)
But as to why is it not loading rest of theme files i have no idea

Maybe someone more qualified can give assist ?
@liquid8d

22
General / Re: high score issue with Future Pinball
« on: December 13, 2017, 03:19:58 AM »
administrator privileges ?
check forlder security or assign admin to exe

23
Themes / Hyperspin (loader) with listbox
« on: December 11, 2017, 06:43:09 PM »
Hyperspin (loader) with listbox

i love HS themes and i love AM with HS themes even more..that being said i did some changes to loader making it more to my liking..


guide on how to use hyperspin themes in AM here:
http://forum.attractmode.org/index.php?topic=1399.15



ASSIGN KEY TO CUSTOM3 (i use space, or gamepad) it will open/hide side menu with game infos etc


https://mega.nz/#!399AybAR!h2DZkYHeEA0zIC2ec048NLenSzzAiUgjXrFSAg4voOU
---------
Update:
fixed double listbox appearing. Just assign "customkey" to show/hide listbox with artwork
included theme tag fix from @joyrider3774
https://github.com/mickelson/attract/pull/315

This is just loader , themes can be obtained from Hyperspin web page. Inluding my old room style HS theme
This include: genre artwork, top and bottom bar plus gamepad buttons art

P.S
Loader will still use HS wheel for game list, i just added entire pop box on right side which will call overview ,artwork etc.
Basically , just make Hyperspin folder in layouts folder, copy your HS themes in there in same format they would be in HS:
Hyperspin\Nintendo 64\Themes\
Hyperspin\Nintendo Entertainment System\Themes\
etc
no need to copy anything else it will be called by AM from their original location where u told them they are in am config.
Then just use Hyperspin as ur basic theme for emulator and enjoy


24
General / Re: No sounds at first
« on: December 10, 2017, 07:31:37 PM »
Maybe its focus, try turning off console in options

25
Scripting / Re: KeyboardSearch module
« on: December 10, 2017, 07:26:34 PM »
Hi liquid8d,
I am trying out your search module. I like it very much! But I noticed one small thing. When I search for something the list is updated properly and contains the results. But the artwork is not updated to the selected game on the list. Let's say the search result list shows "bubble bobble" but the layout is still showing the artwork of a different game. I hope you get what I mean. I know my English is bad. ;)
So, is there a way to refresh the display after a search result?

Thx!

It depends on your layout , in my layout i have custom code which works on tick, to prevent snaps and artwork changes during fast scrolling. It will also prevent this from changing instantly on search, it can cause heavy lag on pie.But it will update on next navigation or transition

26
Themes / Re: [WIP]AnimA Theme with overview
« on: December 09, 2017, 07:33:30 PM »
Update:
layout changes,more optimization.
new link added



27
Scripting / Re: KeyboardSearch module
« on: December 08, 2017, 01:17:40 PM »
i am thinking out loud here, but i noticed that that customkeys are being called if u attempt to type when search is open. Maybe do it the same way? write custom keyboard layout which will then have to take priority over custom keys input and just do the job

28
Themes / Re: [WIP]AnimA Theme with overview
« on: December 07, 2017, 09:15:51 PM »
08.dec
Update, eliminated theme lag when browsing!

29
added new file, slight typo in code fix

30
Hey there.
Previously i released
[Tool] Convert emulationstation/launchbox xml database "DESC" to Overview Attract
http://forum.attractmode.org/index.php?topic=1990.0
to convert description to overview in AM use

Today i release tool for converting  xml info to AM romlist.
Reason for this is because scraper
https://github.com/sselph/scraper/releases
really scrapes a lot of info when combined with fast scraper
https://forum.recalbox.com/topic/2594/batch-scrape-your-roms-on-your-pc-fastscraper

Anyway output example:
Code: [Select]
#Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra;Buttons
ddonpach;DoDonPachi (International, Master Ver. 97/02/05);Cave;;1997;Cave (Atlus license);;;;;;;;;;;;;;;;;;;;

Before u use my tool make sure ur xml is in proper format and not broken!
Broken format example:
Code: [Select]
    <desc>
   </desc>
    <releasedate>
   </releasedate>
Or even Worse
Code: [Select]
   </desc>

   </releasedate>

Proper format:
Code: [Select]
    <desc></desc>
    <releasedate></releasedate>

scraper mentioned above will NEVER make such errors but Universal_XML_Scraper64 Absolutely WILL.
Do not use that to make ur xml's use above mentioned instead ,it can rip from more then just one place compared to XML64!


Anyway here is the script:

https://mega.nz/#!08Qx0YgQ!vRAEGTjVCSR0dCPavN7Z9n4siKq-xidNWKKDqEvPpqQ


python 2.7

Usage:
Copy gamelist.xml to folder where script is, run the script,preferably in dos box to see if any error pops up.

----------
After converting is done , open newly created my_text_file.txt with ur editor of choice, notepad++ will do just fine

and search replace all:
Code: [Select]
EMULATOR-REPLACE
with your emulator name , example:
Code: [Select]
MAME (Libretro)
(make sure u dont have regex enabled,just normal search and replace)

Last thing, depending on ur ROM PATH, u might get something like this:
Code: [Select]
./ddonpach;DoDonPachi (International, Master Ver.
u will need to get rid of that at start ./ and replace with nothing. empty nothing.NOT SPACE, just nothing.
or if ur path is different , get rid of it all before game rom name
example:
again and search replace all:
Code: [Select]
./
with nothing , example:
Code: [Select]

So end result will be:
Code: [Select]
ddonpach;DoDonPachi (International, Master Ver.

At the end rename my_text_file.txt to match ur emulator name, example: MAME (Libretro).txt
Copy that txt to your AM romlist and enjoy!

Have fun!

Pages: 1 [2] 3