User:Ngyikp

From Ricochet Wiki

Ricochet Infinity builds[edit | edit source]

Windows edition:

  • Ricochet Infinity Version 3 Build 62
  • Rebound Infinity Version 3 Build 68

Mac edition:

  • Ricochet Lost Worlds Version 3 Build 71

Catalog response[edit | edit source]

POST /gateway/catalog.php HTTP/1.1
User-Agent: Ricochet Infinity Version 3 Build 62
Host: ricochet.test:8000
Pragma: no-cache
Accept: */*
Accept-Encoding: gzip
Content-Length: 1566
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------5ec2b33a116d
HTTP/1.1 100 Continue
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Channel"

Reflexive
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="ChannelID"

0
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="UnlockCode"


------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Version"

3 Build 62
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="SessionID"

343882
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Player"

zcxzcxz
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="XP"

0
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Launch"

3
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Running"

1433
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Played"

0
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="PlayedMP"

0
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Demo"

0
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Language"

English
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="Program"

RicochetInfinity.exe
------------------------------5ec2b33a116d
Content-Disposition: form-data; name="CCatalogWebResponse"

1
------------------------------5ec2b33a116d--

SessionID can be returned by server and will be saved by the game

CCatalogWebResponse[edit | edit source]

CCatalogWebResponse
{
  Success=1
  SessionID=1068226
  Catalog URL=http://www.ricochetInfinity.com/gateway/catalog.php
  Download URL=http://www.ricochetInfinity.com/levels/download.php?File=downloads/raw/
  Submit URL=http://www.ricochetInfinity.com/levels/ri_submitform.php
  Image URL=http://www.ricochetInfinity.com/levels/
  Rate URL=http://www.ricochetInfinity.com/gateway/syncratings.php
  Can Test PreRelease Levels=
  Can Apply Star Tags=
  New Build Message=Go to www.RicochetInfinity.com to download an update for Ricochet Infinity
}
id,name,rounds,author,date,featured,gameversion,prerelease,required_build,imageurl,rating,downloads,description,tags,overall_rating,overall_ratings,fun_rating,fun_ratings,graphics_rating,graphics_ratings,also_like
1,Reflexive B Sides,26,Reflexive,2004-04-22,0,2,0,,images/ReflexiveBSides.jpg,4.10638,40542,Bonus rounds form the original creators of Ricochet Lost Worlds.,Classic Style;Strategy;Artistic;Bombs;Hard;Easy,11.1383,753,11.4466,652,11.2495,646,588;2189;4080;2327;2184;1921;5964;823;5722;457

If Success=0 is set, then it will show error message (from ErrorMessage=) to user and catalog will not update

If Can Apply Star Tags=1 is set, then * Featured * tag will be available to tag and unblocks the * character from being typed at the UI

Submission[edit | edit source]

POST /levels/ri_submitform.php HTTP/1.1
User-Agent: Ricochet Infinity Version 3 Build 62
Host: ricochet.test:8000
Pragma: no-cache
Accept: */*
Accept-Encoding: gzip
Content-Length: 169710
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------aed1e8ba8017
HTTP/1.1 100 Continue
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Channel"

Reflexive
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="ChannelID"

0
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="UnlockCode"


------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Version"

3 Build 62
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="SessionID"

343882
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Player"

sdfsdfsd
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="XP"

0
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Launch"

1
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Running"

3195
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Played"

0
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="PlayedMP"

0
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Demo"

0
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Language"

English
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="Program"

RicochetInfinity.exe
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="ispostback"

1
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="ResponseFormat"

Property
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="email"

343882
------------------------------aed1e8ba8017
Content-Disposition: form-data; name="file"; filename="Some rounds.RicochetI"
Content-Type: application/octet-stream

[binary]
------------------------------aed1e8ba8017--

Response (best guess that official is down)[edit | edit source]

CWebResponse
{
  SessionID=343882
  Success=1
  ErrorMessage=test
}

If Success=1, then Success dialog is shown with text "You have successfully submitted your levelset. Your levelset will be reviewed and made available to the public within two or three working days." ErrorMessage is ignored.

If Success=0, then ErrorMessage is shown.

Sync ratings[edit | edit source]

POST /gateway/syncratings.php HTTP/1.1
User-Agent: Ricochet Infinity Version 3 Build 62
Host: ricochet.test:8000
Pragma: no-cache
Accept: */*
Accept-Encoding: gzip
Content-Length: 481
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------f1f9e2e1e588
HTTP/1.1 100 Continue
------------------------------f1f9e2e1e588
Content-Disposition: form-data; name="action"

update
------------------------------f1f9e2e1e588
Content-Disposition: form-data; name="SessionID"

343882
------------------------------f1f9e2e1e588
Content-Disposition: form-data; name="ratings"

player_name,roundset_name,overall_rating,fun_rating,graphics_rating,tags,percent_complete
sdfsdfsd,Some rounds,14,11,8,Test;Hggfhfg,5

------------------------------f1f9e2e1e588--

Base game files[edit | edit source]

  • data.dat or Data folder
  • Data3.bin
  • Flash8.ocx
  • FlashPlayerControl.dll
  • libcurl.dll
  • RicochetInfinity.exe or ReboundInfinity.exe

Extras:

  • Data2.dat
  • Editor_Documentation.htm
  • readme_files/
  • readme.htm
  • rebounddata.red

Mac only:

  • Ricochet Infinity-Info.plist
  • RicochetInfinity.icns

Everything else is added by game distributor/DRM

  • channel.jpg
  • channelm.jpg

Extra files created[edit | edit source]

  • catalogx.bin
  • EditorOptions.txt
  • Levelsets.dat
  • Ricochet Editor.ini or Rebound Editor.ini
  • Ricochet Infinity.CFG or Rebound Infinity.CFG or Ricochet Lost Worlds.CFG (on Mac)
  • Rounds/
  • sort time.txt (no longer on Build 68)
  • Scrap Book.object.txt
  • Stats.dat

Save file location[edit | edit source]

Windows: Files are saved next to RicochetInfinity.exe

Mac: Most files should be placed at ~/Library/Application Support/RicochetInfinity/ however there are some mistakes:

  • catalogx.bin
  • EditorOptions.txt
  • Scrap Book.object.txt

Unlocking dev tools[edit | edit source]

On Build 62, having a RED file next to the EXE will unlock dev tools such as List Browser and Foo Editor

Starting from Build 68, the Data folder needs to be extracted to enable it