BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Games Manager Forum
 Suggestions/New Features
 Custom Content
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

bobgamer
Starting Member

USA
17 Posts

Posted - 30 Nov 2014 :  06:52:12  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I made a new Genre Icon but it has a string unrecognized by the software (or database), its a custom genre I added called Instant Action/First Person Shooter.

Is there any way I can Link these game to this new Genre Icon.

I would also like to create my own Platform Icons.

Thank You

JDommi
Administrator

Germany
4650 Posts

Posted - 30 Nov 2014 :  10:51:07  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I'm not familiar with the games manager therefor you have to test it.

Edit here:
C:\Users\YOURPROFILE\Documents\eXtreme Games Manager\GamesCards\games_bigcover\Genres.js
Add these lines before the last else statement:
} else if(a == "GENRE_IN_DATABASE") {
document.write('<img border="0" src="GamesCards/Genre/GENRE_PICTURE.png" width="48" height="48">');

Of course you have to change GENRE_IN_DATABASE and GENRE_PICTURE to the one you wanna add.

Edit:
For your platform images go to C:\Users\YOURPROFILE\Documents\eXtreme Games Manager\PlatformImages.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

bobgamer
Starting Member

USA
17 Posts

Posted - 30 Nov 2014 :  23:52:56  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I tried your suggestion, but did not work. probably do to my complete lack of scripting and programming skill.

See this and maybe I did this wrong:

} else if(a == "Instant Action/First Person Shooter") {
document.write('<img border="0" src="GamesCards/Genre/Instant Action First Person Shooter.png" width="48" height="48">');
}
}

This the last line from my script, after the last official entry.

Edit:

Tried this too:

} else if(a == "Instant Action - First Person Shooter") {
document.write('<img border="0" src="GamesCards/Genre/Instant Action First Person Shooter.png" width="48" height="48">');
} else {
document.write('<img border="0" src="GamesCards/Genre/unassigned.png" width="48" height="48">');
}
}

Put it before the end else. I remember If: Then: Else: in basic on my commodore 64. Guess even java-script doesn't stray far from old basic programing.

Edited by - bobgamer on 01 Dec 2014 00:13:19
Go to Top of Page

JDommi
Administrator

Germany
4650 Posts

Posted - 01 Dec 2014 :  10:31:04  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I just have had a look at the GamesCard. The javascript is still used. So it must be a simple syntax error.

Best is to add a test line in games_bigcover.htm. Open that file and search for following line:
<script type=text/javascript>var extb = '_GAME_GENRE_'</script>

Now add:
<script type=text/javascript>alert(extb)/script>

This new line shows you the correct spelling of your genre which you have to add in the code below.
Also have a look if there is no typo in the picture name and the format is correct, too.


} else if(a == "Instant Action - First Person Shooter") {
document.write('<img border="0" src="GamesCards/Genre/InstantAction.png" width="48" height="48">');

} else {
document.write('<img border="0" src="GamesCards/Genre/unassigned.png" width="48" height="48">');
}
}

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

bobgamer
Starting Member

USA
17 Posts

Posted - 02 Dec 2014 :  00:46:29  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I have tried everything, edited every java script with Genre in its title, I even replaced a regular icon with mine. I think its my icon that is the problem. however it is the same as all the rest:

48 x 48 - 50 x 50
72dpi
.png

It doesn't work. No problem though it was a minor thing I asked for anyway.
Go to Top of Page

JDommi
Administrator

Germany
4650 Posts

Posted - 02 Dec 2014 :  09:40:09  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Please send me the pic and I will try to make it work.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

bobgamer
Starting Member

USA
17 Posts

Posted - 02 Dec 2014 :  22:02:23  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by JDommi

Please send me the pic and I will try to make it work.



How do I upload it for you?
Go to Top of Page

JDommi
Administrator

Germany
4650 Posts

Posted - 02 Dec 2014 :  22:17:24  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Send it to JDommi -at- arcor.de

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

bobgamer
Starting Member

USA
17 Posts

Posted - 03 Dec 2014 :  08:48:42  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Sent it a while ago, hope you got it.
Go to Top of Page

JDommi
Administrator

Germany
4650 Posts

Posted - 03 Dec 2014 :  09:50:38  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Yes, please give me a while to check it out.

*EDIT*
The answer is on it's way!

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

bobgamer
Starting Member

USA
17 Posts

Posted - 09 Dec 2014 :  07:06:22  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hey, I have another question. Is it possible to have text and an image in the custom fields.

As usual I need help to do it, if it has to do with editing a java-script or HTML script.

Thank you.

Edit:
I cannot seem to display any custom fields other than the first custom field.

I tried to fill custom field 2 and it wont show on the game card. Maybe a bug - not sure.

Edited by - bobgamer on 09 Dec 2014 11:02:58
Go to Top of Page

JDommi
Administrator

Germany
4650 Posts

Posted - 09 Dec 2014 :  14:25:25  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Try using the Fields_Example_Card.htm.
All those fields should work. If not it surely a bug.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.11 sec. Powered By: Snitz Forums 2000 Version 3.4.07