(08-04-2014, 01:52 PM)sum2012 Wrote: How to input data for "productids" in another way ?
(08-04-2014, 01:30 PM)AdamN Wrote: You can just change it to empty vector:
those vectors suppose to be a long list (more than 100 entries) extracted from database.db, i only put a few first entries as an example.Code:std::vector<db_crosslink> crosslinks; std::vector<db_productid> productids;
The crosslinks might be useful though, it's to allow players playing similar games with different regions to play together (i think)
Additionally you can create a function (ie. __AdhocServerInit) to push_back each entry (at proAdhocServer.cpp) and called that function inside __NetAdhocInit (at sceNetAdhoc.cpp)
You can open database.db using SQLiteStudio to copy paste the data if you wantCode:void __AdhocServerInit() { // Not sure which one of these push_back works on Android crosslinks.push_back({ "ULES01408", "ULUS10511" }); crosslinks.push_back(db_crosslink{ "NPJH50263", "ULUS10511" }); }gonna be lots of copy paste
Edit: you can pull request that commit to mine, i'll merge itdidn't know it was make file issue XD
The same way with crosslink, but it might be better to have a separate function to initialize each list (ie. __InitCrosslinks and __InitProductIds)
the productids isn't really important since you won't be seeing the game title other than in the log, coldbird server use it to show the title on his website instead of showing the product code (some games are still showing the product code/id on coldbird server because they're not in the database yet)
Here is the database.db filled with those list if the one you have is an empty database
PPSSPP Multiplayer Guide: https://github.com/hrydgard/ppsspp/wiki/How-to-play-multiplayer-games-with-PPSSPP


gonna be lots of copy paste
didn't know it was make file issue XD