Hotfix release available: 2025-05-14b "Librarian".
upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian".
upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian".
upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos".
upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos".
upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos".
upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum".
upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum".
upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum".
upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor".
upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor".
upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor".
upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor".
upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor".
upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather".
upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather".
upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather".
upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather".
upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather".
upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo".
upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo".
upgrade now! [50.2] (what's this?)
Hotfix release available: 2018-04-22a "Greebo".
upgrade now! [50.1] (what's this?)
New release available: 2018-04-22 "Greebo".
upgrade now! [50] (what's this?)
Hotfix release available: 2017-02-19g "Frusterick Manners".
upgrade now! [49.7] (what's this?)
Hotfix release available: 2017-02-19f "Frusterick Manners".
upgrade now! [49.6] (what's this?)
Hotfix release available: 2017-02-19e "Frusterick Manners".
upgrade now! [49.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2017-02-19d "Frusterick Manners".
upgrade now! [49.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2017-02-19c "Frusterick Manners".
upgrade now! [49.3] (what's this?)
Hotfix release available fixing security token and media manager: 2017-02-19b "Frusterick Manners".
upgrade now! [49.2] (what's this?)
Hotfix release available fixing install and media manager issues: 2017-02-19a "Frusterick Manners".
upgrade now! [49.1] (what's this?)
New release available: 2017-02-19 "Frusterick Manners".
upgrade now! [49] (what's this?)
Hotfix release available: 2016-06-26e "Elenor of Tsort".
upgrade now! [48.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2016-06-26d "Elenor of Tsort".
upgrade now! [48.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2016-06-26c "Elenor of Tsort".
upgrade now! [48.3] (what's this?)
Hotfix release available fixing security token: 2016-06-26b "Elenor of Tsort".
upgrade now! [48.2] (what's this?)
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
wiki:super_mario_beginners [2011/07/01 03:02] kimkj |
wiki:super_mario_beginners [2019/08/27 14:45] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | * Preparation | + | * Preparation |
| * Operating Systems: | * Operating Systems: | ||
| * Programming Languages: JAVA | * Programming Languages: JAVA | ||
| Line 5: | Line 5: | ||
| * How to Build Your Own Controller (Eclipse - 32bits windows7 / Helios sr2 , JAVA) | * How to Build Your Own Controller (Eclipse - 32bits windows7 / Helios sr2 , JAVA) | ||
| - | * Download eclipse from http://eclipse.org | + | * Step1) Install |
| - | * Please choose eclipse marketplace and find subversive for SVN {{ :마리오:03.jpg |}}{{ :마리오:04.jpg |}} | + | * Download eclipse from http://eclipse.org |
| - | * | + | * Please choose eclipse marketplace and find subclipse for SVN {{ :마리오:03.jpg |}} |
| - | | + | * [File] -> [New] -> [Other] -> [SVN] |
| - | === 결과적으로 실패는 했지만, 가능하다면 SVN에 대해서는 subclipse 보다 subversive를 설치하기를 추천한다 === | + | * Choose 'Checkout projects from SVN' and Press "Next" |
| - | subversive 설치시 무슨 문제인지 연결이 올바르게 되지 않아 할 수 없이 subclipse를 사용하였다. | + | * Enter [http://marioai.googlecode.com/svn/trunk] as a repository |
| + | * Once again, press [http://marioai.googlecode.com/trunk] and "Next" | ||
| + | * Choose 'Check out as a project configured using the New Project Wizard' and Finish {{ :마리오:007.jpg |}} | ||
| + | * [Java] -> [Java Project] and "Next" | ||
| + | * Project Name as 'MarioAI' | ||
| + | * Choose 'Use project folder as root for sources and class files' and "Next" {{ :마리오:008.jpg |}} | ||
| + | * In the next window, press 'Configure inclusion and exclusion filters' in 'Details' {{ :마리오:009.jpg |}} | ||
| + | * In 'Inclusion' Window, press 'Add' and enter [".lvl" ".dat"] and finish | ||
| + | * Finish | ||
| + | * Step 2) Configuration and Build | ||
| + | * In the Project Tree Structure, Choose SRC folder and [right mouse button click] -> [Build Path] -> [Use as source folder] -> [OK] | ||
| + | * [Project] -> [Build All] | ||
| + | * Step 3) Execution | ||
| + | * [Run] -> [Run Configurations] | ||
| + | * [Java Application] -> [New Launch Configuration] | ||
| + | * Choose 'Main' Tab -> 'Main class' -> Enter 'ch.idsia.scenarios.Main' {{ :마리오:10.jpg |}} | ||
| + | * Press 'Run' {{ :마리오:11.jpg |}} | ||
| + | * Step 4) AI Execution | ||
| + | * [Run] -> [Run Configurations] | ||
| + | * Choose 'Arguments' Tab, Enter 'Program arguments' as '-ag ch.idsia.agents.controllers.ForwardJumpingAgent' {{ :마리오:12.jpg |}} | ||
| + | * Press 'Run' | ||
| - | 따라서 subversive 대신 subclipse를 설치하고 재시작을 한다. | ||
| - | |||
| - | =====3. 마리오AI 파일 다운로드 및 프로젝트 생성===== | ||
| - | |||
| - | subclipse가 무사히 설치되었다면, 이제 마리오AI를 받으면 된다.\\ | ||
| - | - 먼저 메뉴의 [File] -> [New] -> [Other] -> [SVN]을 눌러 메뉴를 확장시킨다.\\ | ||
| - | - 확장된 메뉴 내의 'Checkout projects from SVN'을 선택한 뒤, Next를 누른다.\\ | ||
| - | - 다음 repository를 입력하게 되는데 [http://marioai.googlecode.com/svn/trunk]를 등록하거나 이미 등록되어 있다면 선택하고 Next를 누른다.\\ | ||
| - | - 한번 더 맨 위의 [http://marioai.googlecode.com/trunk]를 누르고 Next를 누른다.\\ | ||
| - | - 그 뒤 'Check out as a project configured using the New Project Wizard'를 선택하고 Finish를 누른다.\\ | ||
| - | |||
| - | {{:마리오:007.jpg|}} | ||
| - | |||
| - | - 마리오는 자바로 되어 있기 때문에 [Java] -> [Java Project]를 선택하고 Next를 누른다.\\ | ||
| - | - 프로젝트 이름은 'MarioAI'로 적었다.\\ | ||
| - | - 'Use project folder as root for sources and class files'를 선택하고 Next를 누른다.\\ | ||
| - | |||
| - | {{:마리오:008.jpg|}} | ||
| - | |||
| - | - 그 다음에 나오는 창의 밑부분 'Details'에서 'Configure inclusion and exclusion filters'를 누른다. | ||
| - | |||
| - | {{:마리오:009.jpg|}} | ||
| - | |||
| - | - 새로 열린 창에서 'Inclusion' 창에서 'Add'를 눌러 [".lvl" ".dat"]를 추가한 뒤 Finish를 눌러서 창을 종료한다.\\ | ||
| - | - Finish를 다시 눌러 프로젝트 생성을 완료한다. | ||
| - | |||
| - | =====3. 설정 및 빌드===== | ||
| - | |||
| - | 처음 프로젝트를 생성한 뒤에 하나를 설정해 줘야 한다.\\ | ||
| - | 프로젝트 트리구조를 확장시켜 src폴터를 선택하여 [마우스 오른쪽 버튼] -> [Build Path] -> [Use as source folder] -> [OK]\\ | ||
| - | 그리서 나서 [Project] -> [Build All]을 누른다.\\ | ||
| - | (처음부터 [Project] -> [Build Automatically]가 설정되어 있다면 다시 빌드할 필요는 없다.) | ||
| - | |||
| - | =====4. 실행===== | ||
| - | |||
| - | 위의 과정을 착실히 수행해 왔다면, [Run] -> [Run Configurations]눌러 창을 연 다음\\ | ||
| - | [Java Application] -> [New Launch Configuration]을 선택한 상태에서 'Main'탭의 'Main class'를 찾아 다음과 같이 입력한다\\ | ||
| - | 'ch.idsia.scenarios.Main' | ||
| - | |||
| - | {{:마리오:10.jpg|}} | ||
| - | |||
| - | 그 뒤 'Run'을 누르게 되면, | ||
| - | |||
| - | |||
| - | {{:마리오:11.jpg|}} | ||
| - | |||
| - | 축하한다. 콧수염 배관공이 하늘에서 떨어지는 것을 볼 수 있을 것이다.\\ | ||
| - | (현재의 모드는 매뉴얼 모드로 A키로 불꽃, S키로 점프를 할 수 있으며, 십자키로 콧수염 아저씨를 움직일 수 있다.) | ||
| - | |||
| - | =====5. AI 실행===== | ||
| - | |||
| - | AI를 적용하여 실행시키기 위해서는 뒤에 옵션을 추가로 정해주면 된다\\ | ||
| - | 다시 [Run] -> [Run Configurations]를 눌러 창을 연 다음\\ | ||
| - | 'Arguments' 탭을 열어 'Program arguments'에 다음을 추가해 보자 | ||
| - | '-ag ch.idsia.agents.controllers.ForwardJumpingAgent' | ||
| - | |||
| - | {{:마리오:12.jpg|}} | ||
| - | |||
| - | 그 뒤 'Run'을 누르게 되면, 자기 혼자서 달려나가는 콧수염 배관공 아저씨를 볼 수 있을 것이다. | ||
| - | (다른 컨트롤러를 사용해보고 싶다면 프로젝트 트리의 src->ch.idsia.agents.controllers 하위에 있는 컨트롤러로 바꿔보자.) | ||