Skip to content

Commit

Permalink
make HOLauncher the program entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
akasolace committed Oct 21, 2018
1 parent 5f986cb commit 1d60532
Show file tree
Hide file tree
Showing 482 changed files with 52,448 additions and 777 deletions.
9 changes: 9 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
30 changes: 30 additions & 0 deletions HO/src/main/resources/LICENSE.TXT
@@ -0,0 +1,30 @@
HattrickOrganizer
=================
HattrickOrganizer, including HO.jar and HO source, is licensed LGPL
(See ho_lgpl.txt)


HattrickOrganizer uses and ships the following libraries:

Libraries
=========
jl1.0.jar
http://www.javazoom.net/javalayer/javalayer.html
JLayer is licensed LGPL

jcalendar-1.3.2.jar
http://www.toedter.com/en/jcalendar/index.html
JCalendar is licensed LGPL

hsqldb.jar
http://www.hsqldb.org
HSQLDB has its own license, see hsqldb_lic.txt

scribe-1.2.2.jar
https://github.com/fernandezpablo85/scribe-java
It uses the MIT license.
http://www.opensource.org/licenses/mit-license.php

commons-codec-1.4.jar
The commons codec uses Apache License, version 2.0.
http://commons.apache.org/codec/license.html
Binary file added HO/src/main/resources/Logo.ico
Binary file not shown.
4 changes: 4 additions & 0 deletions HO/src/main/resources/MANIFEST.MF
@@ -0,0 +1,4 @@
Manifest-Version: 2.0
Java-Version: JDK8 update181 jdk1.8.0_181
Created-By: HO-Team

96 changes: 96 additions & 0 deletions HO/src/main/resources/README.Feedback.txt
@@ -0,0 +1,96 @@
Informations about the new HO! Feedback Plugin (since HO 1.410)
===============================================================

HO! introduces in this release a plugin called Feedback.
It sends information about rating prediction, training duration,
and transfers prices to the HO! staff.
These data will help a lot, to improve our formulas!

You can disable this feature in Options/Feedback

Below, you'll find an exact list of all uploaded data.

Of course, we will use the uploaded informations for formula
optimization only and keep them strictly confidential.

If you have any questions about the feedback plugin, feel free
to contact flattermann:
hofeedback (AT) flattermann (DOT) net

Structure of a data set:
========================

Ratings
~~~~~~~
For each useful match, this data will be uploaded:

- Contributor ID (i.e. your team ID)
- Match date
- Location (home/away/awayderby)
- Trainer Type
- Team spirit
- Team confidence
- Match highlights
- Attitude (PIC/MOTS)
- Tactic type (AOW...)
- Tactic skill
- the real HT ratings for each area (midfield, left defense, central defense, ...)
- Number of spectators
- For each player in lineup:
- id
- form
- xp
- stamina
- his skills (playmaking, passing...)
- specialty
- behaviour (off/def...)
- stars
- HO Feedback Plugin version


Training
~~~~~~~~
For each useful skillup, this data will be uploaded:

- Contributor ID (i.e. your team ID)
- HT season
- HT week
- Player ID
- Skill type (playmaking, passing, ...)
- new value of skill
- training length
- age
- avg number of assistants
- avg trainer type
- number and kind of trainings he received (short passes, ...)
- HO Feedback Plugin version


Transfers
~~~~~~~~~
For each useful transfer, this data will be uploaded:

- Contributor ID (i.e. your team ID)
- Transfer ID
- player id
- age
- form
- injury level
- xp
- leadership
- tsi
- wage
- stamina
- his skills (playmaking, passing, ...)
- specialty
- aggressivity
- honesty
- popularity
- transfer price
- HT season
- HT week
- transfer date
- country
- your league level
- HO Feedback Plugin version

81 changes: 81 additions & 0 deletions HO/src/main/resources/README_JL.txt
@@ -0,0 +1,81 @@
JLayer 1.0
JavaZOOM 1999-2005

Project Homepage :
http://www.javazoom.net/javalayer/javalayer.html

JAVA and MP3 online Forums :
http://www.javazoom.net/services/forums/index.jsp
-----------------------------------------------------

DESCRIPTION :
-----------
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3
(i.e. MP3) in real time for the JAVA(tm) platform. This is a non-commercial project
and anyone can add his contribution. JLayer is licensed under LGPL (see LICENSE.txt).


FAQ :
---

- How to install JLayer ?
Before running JLayer you must set PATH and CLASSPATH for JAVA
and you must add jl1.0.jar to the CLASSPATH.

- Do I need JMF to run JLayer player ?
No, JMF is not required. You just need a JVM JavaSound 1.0 compliant.
(i.e. JVM1.3 or higher).

- How to run the MP3TOWAV converter ?
java javazoom.jl.converter.jlc -v -p output.wav yourfile.mp3
(Note : MP3TOWAV converter should work under jdk1.1.x or higher)

- How to run the simple MP3 player ?
java javazoom.jl.player.jlp localfile.mp3
or
java javazoom.jl.player.jlp -url http://www.aserver.com/remotefile.mp3
Note : MP3 simple player only works under JVM that supports JavaSound 1.0 (i.e JDK1.3.x+)

- How to run the advanced (threaded) MP3 player ?
java javazoom.jl.player.advanced.jlap localfile.mp3

- Does simple MP3 player support streaming ?
Yes, use the following command to play music from stream :
java javazoom.jl.player.jlp -url http://www.shoutcastserver.com:8000
(If JLayer returns without playing SHOUTcast stream then it might mean
that the server expect a winamp like "User-Agent" in HTTP request).

- Does JLayer support MPEG 2.5 ?
Yes, it works fine for all files generated with LAME.

- Does JLayer support VBR ?
Yes, It supports VBRI and XING VBR header too.

- How to get ID3v1 or ID3v2 tags from JLayer API ?
The API provides a getRawID3v2() method to get an InputStream on ID3v2 frames.

- How to skip frames to have a seek feature ?
See javazoom.jl.player.advanced.jlap source to learn how to skip frames.

- How much memory/CPU JLayer needs to run ?
Here are our benchmark notes :
- Heap use range : 1380KB to 1900KB - 370 classes loaded.
- Footprint : ~8MB under WinNT4/Win2K + J2SE 1.3 (Hotspot).
~10MB under WinNT4/Win2K + J2SE 1.4.1 (Hotspot).
- CPU usage : ~12% under PIII 800Mhz/WinNT4+J2SE 1.3 (Hotspot).
~8% under PIII 1Ghz/Win2K+J2SE 1.3.1 (Hotspot).
~12% under PIII 1Ghz/Win2K+J2SE 1.4.1 (Hotspot).
~1% under PIII 1Ghz/Win2K+J2SE 1.5.0 (Hotspot).

- How to contact JLayer developers ?
Try to post a thread on Java&MP3 online forums at :
http://www.javazoom.net/services/forums/index.jsp
You can also contact us at jlayer@javazoom.net for contributions.


KNOWN PROBLEMS :
--------------
99% of MP3 plays well with JLayer but some (1%) return an ArrayIndexOutOfBoundsException
while playing. It might come from invalid audio frames.
Workaround : Just try/catch ArrayIndexOutOfBoundsException in your code to skip
non-detected invalid frames.

0 comments on commit 1d60532

Please sign in to comment.